{{ $header ?? $vendor }}
Receipt

To: {{ $owner->stripeEmail() ?: $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($vendorVat)) {{ $vendorVat }}
@endif @if (isset($url)) {{ $url }} @endif

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

@if (isset($vat))

{{ $vat }}

@endif

@foreach ($invoice->invoiceItems() as $item) @endforeach @foreach ($invoice->subscriptions() as $subscription) @endforeach @if ($invoice->hasDiscount() || $invoice->tax_percent || $invoice->hasStartingBalance()) @endif @if ($invoice->hasDiscount()) @endif @if ($invoice->tax_percent) @endif @if ($invoice->hasStartingBalance()) @endif
Description Date Amount
{{ $item->description }} {{ $item->total() }}
Subscription ({{ $subscription->quantity }}) {{ $subscription->startDateAsCarbon()->formatLocalized('%B %e, %Y') }} - {{ $subscription->endDateAsCarbon()->formatLocalized('%B %e, %Y') }} {{ $subscription->total() }}
Subtotal {{ $invoice->subtotal() }}
@if ($invoice->discountIsPercentage()) {{ $invoice->coupon() }} ({{ $invoice->percentOff() }}% Off) @else {{ $invoice->coupon() }} ({{ $invoice->amountOff() }} Off) @endif -{{ $invoice->discount() }}
Tax ({{ $invoice->tax_percent }}%) {{ $invoice->tax() }}
Customer Balance {{ $invoice->startingBalance() }}
Total {{ $invoice->total() }}