{{-- Author By : zulfazdliabuas@gmail.com | Date : 2026 --}}
@php $seller = config('einvoice.seller', []); $sellerAddress = $seller['address'] ?? []; $taxRate = (float) (config('einvoice.tax.rate') ?? 0); $grossAmount = (float) ($request->amount ?? 0); $netAmount = $taxRate > 0 ? round($grossAmount / (1 + $taxRate), 2) : $grossAmount; $taxAmount = round($grossAmount - $netAmount, 2); $grandTotal = $grossAmount; $showTaxBreakdown = (bool) ($showTaxBreakdown ?? false); $logoPath = public_path('images/subs_logo.jpeg'); $logoData = null; if (is_file($logoPath)) { $logoData = 'data:image/png;base64,' . base64_encode(file_get_contents($logoPath)); } $period = $request->invoice_cycle_month ? \Carbon\Carbon::parse($request->invoice_cycle_month)->format('m/Y') : '-'; $deadline = $request->request_window_ends_at ? \Carbon\Carbon::parse($request->request_window_ends_at)->format('d/m/Y') : null; @endphp {{-- HEADER --}}|
@if($logoData)
|
PAYMENT RECEIPT
|
PAID
Receipt No: {{ $request->receipt_no ?? '-' }}
Payment Date: {{ optional($request->payment_date)->format('d/m/Y') ?? '-' }}
|
|
CUSTOMER
Customer ID : {{ $request->customer_id ?? $request->ic_passport ?? '-' }}
Customer : {{ $request->name ?? '-' }}
@if(!empty($request->email))
{{ $request->email }}
@endif
Contact : {{ $request->phone ?? '-' }}
|
{{-- DETAILS --}}
DETAILS
Invoice No : {{ $request->invoice_no ?? '-' }}
Invoice Date : {{ optional($request->txn_date)->format('d/m/Y') ?? '-' }}
Receipt No : {{ $request->receipt_no ?? '-' }}
Payment Method : {{ $request->payment_method ?? '-' }}
Reference : {{ $request->payment_reference ?? '-' }}
|
| No | Car Plate | Site | Period | Description | Amount |
|---|---|---|---|---|---|
| 1 | {{ $request->car_plate ?? '-' }} | {{ $request->site->name ?? '-' }} | {{ $period }} | Parking Subscription - {{ $request->site->name ?? '-' }} | RM {{ number_format($grossAmount, 2) }} |
|
| Service Tax Summary | Amount(RM) | Tax(RM) |
|---|---|---|
| * {{ number_format($taxRate * 100, 2) }}% | {{ number_format($netAmount, 2) }} | {{ number_format($taxAmount, 2) }} |
| ** Nil | 0.00 | - |
|
E-Invoice Request
If you require an e-invoice, please scan the QR code or click the link below to submit your request
@if($deadline)
before {{ $deadline }}.
@else
within the allowed request window.
@endif
|
@if(!empty($qrDataUri))
Scan to request e-invoice
|