@if($studioSetting && $studioSetting->logo_path)
Invoice {{ $invoice->invoice_number }}
@if($studioSetting)
{{ $studioSetting->studio_name }}
@endif
@if($invoice->status === 'paid')
Paid
@elseif($invoice->isOverdue())
Overdue
@else
{{ ucfirst($invoice->status) }}
@endif
Bill To
{{ $invoice->client->name }}
@if($invoice->client->email)
{{ $invoice->client->email }}
@endif
@if($invoice->client->phone)
{{ $invoice->client->phone }}
@endif
Invoice Date:
{{ $invoice->invoice_date->format('M d, Y') }}
@if($invoice->due_date)
Due Date:
{{ $invoice->due_date->format('M d, Y') }}
@endif
@if($invoice->line_items && count($invoice->line_items) > 0)
Services
| Description |
Amount |
@foreach($invoice->line_items as $item)
| {{ $item['description'] }} |
${{ number_format($item['amount'], 2) }} |
@endforeach
@endif
Subtotal
${{ number_format($invoice->subtotal, 2) }}
@if($invoice->tax_amount > 0)
Tax ({{ $invoice->tax_rate }}%)
${{ number_format($invoice->tax_amount, 2) }}
@endif
@if($invoice->tip_amount > 0)
Tip
${{ number_format($invoice->tip_amount, 2) }}
@endif
Total
${{ number_format($invoice->total_amount, 2) }}
@if($invoice->notes)
Notes
{{ $invoice->notes }}
@endif
@if($studioSetting && $studioSetting->invoice_terms)
Payment Terms
{{ $studioSetting->invoice_terms }}
@endif
@if($invoice->status !== 'paid')
Secure payment powered by Stripe
@endif
@if(session('success'))
@endif
@if(session('error'))
@endif
@if($studioSetting)
{{ $studioSetting->studio_name }}
@if($studioSetting->email)
{{ $studioSetting->email }}
@endif
@if($studioSetting->phone)
{{ $studioSetting->phone }}
@endif
@if($studioSetting->address)
{{ $studioSetting->address }}
@endif
@endif