To: {{ $owner->company_name }}
{{$owner->address}} https://{{ $owner->website }}
{{$owner->company_email}}
@if(!is_null($logo)) @endif
{{ $vendor }}
{!! $global->address !!}
{{ $global->website }}
{{ $global->company_email }}
Date: {{ $invoice->date()->toFormattedDateString()}}
​ ​ ​
@lang('app.invoice') / Receipt {{ 6000 + array_sum(str_split($invoice->date())) }}
@lang('app.invoice') / Receipt
​ @foreach ($invoice->invoiceItems() as $item) @endforeach ​ @foreach ($invoice->subscriptions() as $subscription) @endforeach ​ @if ($invoice->hasDiscount()) @if ($invoice->discountIsPercentage()) @else @endif @endif ​ @if ($invoice->tax_percent) @endif ​ ​
Description Date Amount
{{ $item->description }} {{ $item->total() }}
{{ $subscription->plan->nickname }} {{ $subscription->startDateAsCarbon()->formatLocalized('%B %e, %Y') }} - {{ $subscription->endDateAsCarbon()->formatLocalized('%B %e, %Y') }} {{ $subscription->total() }}
{{ $invoice->coupon() }} ({{ $invoice->percentOff() }}% Off){{ $invoice->coupon() }} ({{ $invoice->amountOff() }} Off)  -{{ $invoice->discount() }}
Tax ({{ $invoice->tax_percent }}%)   {{ Laravel\Cashier\Cashier::formatAmount($invoice->tax) }}
  Total {{ $invoice->total() }}