@if(count($payments) > 0)
| @lang('lang_v1.date') | @lang('lang_v1.pay_reference_no') | @lang('purchase.ref_no') | @lang('contact.contact') | @lang('sale.payment_method') | @lang('sale.amount') | |
|---|---|---|---|---|---|---|
| {{ @format_date($payment->paid_on) }} | {{ $payment->payment_ref_no }} | @if($payment->transaction_type == 'sell') {{ $payment->invoice_no }} @else {{ $payment->ref_no }} @endif |
@if(!empty($payment->supplier_business_name))
{{ $payment->supplier_business_name }} @endif {{ $payment->contact_name }} |
@if(isset($payment_types[$payment->method])) {{ $payment_types[$payment->method] }} @else {{ $payment->method }} @endif | @format_currency($payment->amount) | |
| @lang('sale.total'): | @format_currency($total) | |||||