|
@php
$base64Image = base64_encode(file_get_contents(public_path('assets/images/tyres_logo.png')));
@endphp
Sales@tyresplanet.com.au |
ABN: 95 633 998 624 |
TAX INVOICETyres Planet PTY LTD209 Mcroyle St, Wacol 4076 CALL: 07 3144 3131 |
|
Cutomer Details
|
Statement details
|
Invoice
|
|
Name: {{ $user->name ?? $user->first_name . ' ' . $user->last_name }} Email: {{ $user->email }} Phone: {{ $user->phone ?? 'N/A' }} Address: {{ $user->address ?? '-' }} |
Total Outstanding: ${{ number_format($totalInvoiced - $totalPaid, 2) }} Statement Date: {{ now()->format('d/m/Y') }} Account Status: {{ ($totalInvoiced - $totalPaid) > 0 ? 'Outstanding' : 'Current' }} |
Statement Period: {{ now()->format('M Y') }} Reference Date: {{ $generated_date ?? now()->format('d-m-Y') }} Account: {{ strtoupper(substr($user->name ?? 'CUSTOMER', 0, 8)) }} |
|
@php
$base64Image = base64_encode(file_get_contents(public_path('assets/images/tyres_logo.png')));
@endphp
Sales@tyresplanet.com.au |
ABN: 95 633 998 624 |
TAX INVOICETyres Planet PTY LTD209 Mcroyle St, Wacol 4076 CALL: 07 3144 3131 |
|
Customer Details
|
Statement details
|
Invoice
|
|
Name: {{ $user->name ?? $user->first_name . ' ' . $user->last_name }} Email: {{ $user->email }} Phone: {{ $user->phone ?? 'N/A' }} Address: {{ $user->address ?? '-' }} |
Total Outstanding: ${{ number_format($totalInvoiced - $totalPaid, 2) }} Statement Date: {{ now()->format('d/m/Y') }} Account Status: {{ ($totalInvoiced - $totalPaid) > 0 ? 'Outstanding' : 'Current' }} |
Statement Period: {{ now()->format('M Y') }} Reference Date: {{ $generated_date ?? now()->format('d-m-Y') }} Account: {{ strtoupper(substr($user->name ?? 'CUSTOMER', 0, 8)) }} |
| Date | Document | Applied To | Description | Due Date | Amount | Outstanding |
|---|---|---|---|---|---|---|
| {{ $item['date']->format('d/m/Y') }} | {{ $item['document'] }} | {{ $item['applied_to'] }} | {{ $item['description'] }} | {{ $item['due_date']->format('d/m/Y') }} | @if($item['amount'] < 0) -${{ number_format(abs($item['amount']), 2) }} @else ${{ number_format($item['amount'], 2) }} @endif | @if($item['type'] == 'payment') $0.00 @else ${{ number_format($item['outstanding'], 2) }} @endif |
| No transactions found for this customer. | ||||||