{{-- HEADER --}}
Jastip Management
Payment Receipt
Receipt No.
PAY-{{ str_pad($payment->id, 5, '0', STR_PAD_LEFT) }}
{{ \Carbon\Carbon::parse($payment->payment_date)->format('d F Y') }}
{{-- AMOUNT --}}
Payment Amount
Rp {{ number_format($payment->amount, 0, ',', '.') }}
Pembayaran untuk Jastip Fee
{{-- CUSTOMER + INVOICE --}}
Customer
{{ $payment->invoice?->customer?->name ?? '-' }}
@if($payment->invoice?->customer?->phone)
{{ $payment->invoice->customer->phone }}
@endif @if($payment->invoice?->customer?->address)
{{ $payment->invoice->customer->address }}
@endif
Invoice
Invoice Number {{ $payment->invoice?->invoice_number ?? '-' }}
Invoice Date {{ $payment->invoice?->invoice_date ? \Carbon\Carbon::parse($payment->invoice->invoice_date)->format('d F Y') : '-' }}
{{-- TRIP --}}
Trip
{{ $payment->invoice?->trip?->name ?? '-' }}
@if($payment->invoice?->trip) {{ \Carbon\Carbon::parse($payment->invoice->trip->start_date)->format('d M Y') }} — {{ \Carbon\Carbon::parse($payment->invoice->trip->end_date)->format('d M Y') }} @else - @endif
{{ $payment->invoice?->trip?->currency_code ?? 'JPY' }}
{{-- PAYMENT DETAILS --}}
Payment Details
@if($payment->notes) @endif
Payment Date {{ \Carbon\Carbon::parse($payment->payment_date)->format('d F Y') }}
Payment Method {{ $payment->payment_method ?: 'Tidak dicantumkan' }}
Notes {{ $payment->notes }}
{{-- SUMMARY --}}
Invoice Jastip Fee Rp {{ number_format($payment->invoice?->total_jastip_fee ?? 0, 0, ',', '.') }}
Total Payment
Amount received
Rp {{ number_format($payment->amount, 0, ',', '.') }}
{{-- THANK YOU --}}
Terima kasih atas pembayarannya.
Receipt ini merupakan bukti pembayaran untuk invoice terkait.
{{-- FOOTER --}}