@if(!empty($logo=\App\Models\Setting::where('setting_key','company_logo')->first()->setting_value)) @else @endif |
Reference: {{$invoice->reference}} Bill Date: {{$invoice->date}} Due Date: {{$invoice->due_date}} @if($invoice->status==='paid') Status:Paid @endif @if($invoice->status==='partially_paid') Status:Partially Paid -Pay @endif @if($invoice->status==='unpaid') Status: Unpaid -Pay @endif |
|
{{\App\Models\Setting::where('setting_key','company_name')->first()->setting_value}}
|
Bill To
@if(!empty($invoice->patient))
{{$invoice->patient->name}}
@endif
|
Item | Quantity | Unit Cost | Tax | Total |
---|---|---|---|---|
{{$key->name}}
{{$key->description}} |
{{number_format($key->qty)}} | {{number_format($key->unit_cost,2)}} | {{number_format($key->tax_total,2)}} @if(!empty($key->taxRate)) ({{$key->taxRate->name}}) @endif | {{number_format($key->total,2)}} |
Sub Total | {{number_format($invoice->invoiceItems->sum('total'),2)}} | |||
Discount | {{number_format($invoice->discount_amount,2)}} @if($invoice->discount_type=='percentage') ({{$invoice->discount}}%) @endif | |||
Tax | {{number_format($invoice->tax_total,2)}} ({{$invoice->taxRate->name}}) | |||
Total | {{number_format($invoice->amount,2)}} | |||
Paid | {{number_format($invoice->invoicePayments->sum('amount'),2)}} | |||
Balance | {{number_format($invoice->balance,2)}} |
# | Payment Mode | Date | Amount |
---|---|---|---|
No Records | |||
{{$key->id}} | @if(!empty($key->paymentType)) {{$key->paymentType->name}} @endif | {{$key->date}} | {{number_format($key->amount)}} |