{{ \App\Models\Setting::get('company_address', 'P.O Box 80058, Dar es Salaam') }}
Ph. {{ \App\Models\Setting::get('company_phone', '+255 763 586 306') }}
Email: {{ \App\Models\Setting::get('company_email', 'info@jointasoft.com') }}
TIN: 123-536-517
Bill To
{{ $invoice->client->company_name }}
@endif @if($invoice->client->tax_number)VRN: {{ $invoice->client->tax_number }}
@endif{{ $invoice->client->email }}
@if($invoice->client->phone){{ $invoice->client->phone }}
@endif @if($invoice->client->address){{ $invoice->client->address }}{{ $invoice->client->city ? ', '.$invoice->client->city : '' }}
@endifInvoice Date: {{ $invoice->invoice_date->format('d-m-Y') }}
Invoice Due Date: {{ $invoice->due_date->format('d-m-Y') }}
| # | Description | Product Price | Qty | Sub Total |
|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->description }} | {{ number_format($item->amount, 2) }} {{ $invoice->currency }} | 1.00 | {{ number_format($item->amount, 2) }} {{ $invoice->currency }} |
| Sub Total | {{ number_format($invoice->subtotal, 2) }} {{ $invoice->currency }} | |||
| Total Tax | {{ number_format($invoice->tax, 2) }} {{ $invoice->currency }} | |||
| Grand Total | {{ number_format($invoice->total, 2) }} {{ $invoice->currency }} | |||
Email: {{ \App\Models\Setting::get('company_email', 'info@jointasoft.com') }} | Website: {{ \App\Models\Setting::get('company_website', 'www.jointasoft.com') }}
This invoice was generated electronically by JointaSoft.
{{ \App\Models\Setting::get('terms_conditions', 'Payments should be made through bank Account') }}
Account number: {{ \App\Models\Setting::get('bank_account_number') }} | Account Name: {{ \App\Models\Setting::get('bank_account_name') }} | Branch: {{ \App\Models\Setting::get('bank_branch') }} | Bank: {{ \App\Models\Setting::get('bank_name') }} | SWIFT code: {{ \App\Models\Setting::get('bank_swift_code') }}
@if(\App\Models\Setting::get('bank_account_number_2'))Account number 2: {{ \App\Models\Setting::get('bank_account_number_2') }} | Account Name 2: {{ \App\Models\Setting::get('bank_account_name_2') }} | Branch 2: {{ \App\Models\Setting::get('bank_branch_2') }} | Bank 2: {{ \App\Models\Setting::get('bank_name_2') }} | SWIFT code 2: {{ \App\Models\Setting::get('bank_swift_code_2') }}
@endifNOTES
{{ $invoice->notes }}
No payments recorded yet.
| Date | Method | Reference | Amount | |
|---|---|---|---|---|
| {{ $payment->payment_date->format('d M Y') }} | {{ str_replace('_', ' ', $payment->payment_method) }} | {{ $payment->reference_number ?? '—' }} | {{ number_format($payment->amount, 2) }} {{ $payment->currency }} | |
| Total Paid | {{ number_format($invoice->payments->sum('amount'), 2) }} {{ $invoice->currency }} | |||
OUTSTANDING BALANCE
@php $balance = max(0, $invoice->total - $invoice->payments->sum('amount')); @endphp