@if (Route::currentRouteName() == 'purchase_payment.create') @endif @foreach ($payments as $key => $payment) @if (Route::currentRouteName() == 'purchase_payment.create') @endif @endforeach @if (Route::currentRouteName() == 'purchase_payment.create') @endif
@lang('Sl') @lang('Invoice No') @lang('Reference No') @lang('Payment Date') @lang('Payment Method') @lang('Account') @lang('Payment Information') @lang('Supplier') @lang('Amount') @lang('Created By') @lang('Created Date') @lang('Modify By') @lang('Modify Date')@lang('Action')
{{ $key + 1 }} {{ $payment->invoice_no }} {{ $payment->reference_no }} {{ dateformat($payment->payment_date) }} {{ Str::ucfirst($payment->payment_method) }} {{ $payment->account_name }}
    @foreach (paymentinfos($payment->id, 'purchase') as $paymentinfo)
  • {{ $paymentinfo->field_name }}: {{ $paymentinfo->information }}
  • @endforeach
{{ $payment->supplier }} {{ numberformat($payment->amount) }} {{ $payment->created_user }} {{ $payment->created_date }} {{ $payment->updated_user }} {{ $payment->updated_date }}
Total {{ numberFormat(calculateSubtotal($payments, 'amount')) }}