{{ getLoginUserLanguage() == 'cn' ? 'Payment List' : __('messages.pdf.payment_list') }} |
{{ getLoginUserLanguage() == 'cn' ? 'Date' : __('messages.pdf.date') }} | {{ getLoginUserLanguage() == 'cn' ? 'Sale Reference' : __('messages.pdf.sale_reference') }} | {{ getLoginUserLanguage() == 'cn' ? 'Paid Amount' : __('messages.pdf.paid_amount') }} | {{ getLoginUserLanguage() == 'cn' ? 'Payment Type' : __('messages.pdf.payment_type') }} |
---|---|---|---|
{{$payment->payment_date}} | {{$payment->sale->reference_code}} | {{currencyAlignment(number_format((float)$payment->amount, 2))}} | @if($payment->payment_type == \App\Models\SalesPayment::CASH) Cash @elseif($payment->payment_type == \App\Models\SalesPayment::CHEQUE) Cheque @elseif($payment->payment_type == \App\Models\SalesPayment::BANK_TRANSFER) Bank Transfer @elseif($payment->payment_type == \App\Models\SalesPayment::OTHER) Other @else N/A @endif |