@lang("app.billedTo"): @if(isset($owner->company_name))

{{ $owner->company_name }}

@endif @if(isset($owner->email))

{{ $owner->email }}

@endif @if(isset($owner->address))
{{ $owner->address }}
@endif @if(isset($owner->website))
{{ $owner->website }}
@endif
@lang("app.generatedBy"):

{{ $vendor }}

@if(isset($street))
{{ $street }}
@endif @if (isset($location))
{{ $location }}
@endif @if (isset($phone))
{{ $phone }}
@endif @if (isset($vendorVat))
{{ $vendorVat }}
@endif @if (isset($url)) {{ $url }} @endif

{{ (isset($invoice->id)) ?: $invoice->id }}

Issue Date: {{ $invoice->date()->toFormattedDateString() }}
@php $sr = 1; @endphp @foreach ($invoice->invoiceItems() as $key => $item) @php $sr = $sr +1 @endphp @endforeach @foreach ($invoice->subscriptions() as $key => $subscription) @php $sr = $sr +1 @endphp @endforeach @if ($invoice->hasDiscount()) @php $sr = $sr +1 @endphp @if ($invoice->discountIsPercentage()) @else @endif @endif @if ($invoice->tax_percent) @php $sr = $sr +1 @endphp @endif
# @lang("app.description") @lang("app.amount")
{{$sr}} Starting Balance {{ $invoice->startingBalance() }}
{{ $sr }} {{ $item->description }} {{ $item->total() }}
{{ $sr }} Subscription ({{ $subscription->quantity }}) - {{ $subscription->startDateAsCarbon()->formatLocalized('%B %e, %Y') }} - {{ $subscription->endDateAsCarbon()->formatLocalized('%B %e, %Y') }} {{ $subscription->total() }}
{{ $sr }}{{ $invoice->coupon() }} ({{ $invoice->percentOff() }}% Off){{ $invoice->coupon() }} ({{ $invoice->amountOff() }} Off)-{{ $invoice->discount() }}
{{ $sr }} Tax ({{ $invoice->tax_percent }}%) -- {{ Laravel\Cashier\Cashier::formatAmount($invoice->tax) }}
@lang("app.total") {{ $invoice->total() }}