{{ $header or $vendor }}
Receipt

To: {{ $owner->email ?: $owner->name }}
Date: {{ $invoice->date()->toFormattedDateString() }}
{{ $vendor }}
@if (isset($street)) {{ $street }}
@endif @if (isset($location)) {{ $location }}
@endif @if (isset($phone)) T {{ $phone }}
@endif @if (isset($url)) {{ $url }} @endif

Product: {{ $product }}
Invoice Number: {{ $invoice->id }}

@if (isset($vat))

{{ $vat }}

@endif

@if ($invoice->hasAddOn()) @endif @if ($invoice->hasDiscount()) @endif
Description Amount
@if ($invoice->planId) Subscription To "{{ $invoice->planId }}" @elseif (isset($invoice->customFields['description'])) {{ $invoice->customFields['description'] }} @else Charge @endif {{ $invoice->subtotal() }}
Add-Ons ({{ implode(', ', $invoice->addOns()) }}) {{ $invoice->addOn() }}
Discounts ({{ implode(', ', $invoice->coupons()) }}) -{{ $invoice->discount() }}
Total {{ $invoice->total() }}