@lang('purchase::modules.vendor.accountDetails')

{{ $vendor->currency->currency_code }}

@lang('purchase::modules.vendor.billDetails')

@lang('app.date') @lang('app.bill') @lang('purchase::app.menu.purchaseOrder') @lang('purchase::modules.vendorPayment.billAmount') @lang('purchase::modules.vendorPayment.amountDue') @lang('app.payment') @forelse ($bills as $bill) {{ $bill->bill->bill_date ? $bill->bill->bill_date->timezone(company()->timezone)->format(company()->date_format) : '--' }} {{ $bill->bill->id }} {{ $bill->bill->order->purchase_order_number }} {{ currency_format($bill->bill->total, ($payment->vendor->currency ? $payment->vendor->currency->id : company()->currency->id )) }} @php $due = ($bill->bill->total) - ($billArray[$bill->id]); @endphp {{ currency_format($due, ($payment->vendor->currency ? $payment->vendor->currency->id : company()->currency->id )) }} @lang('purchase::modules.vendorPayment.payInFull') @empty @endforelse
@lang('modules.invoices.amountPaid') {{ $payment->received_payment }}
@lang('purchase::modules.vendorPayment.amountUsed') {{ $amountUsedSum }}
@lang('purchase::modules.vendorPayment.amountRefunded') 0.00
@lang('purchase::modules.vendorPayment.amountInExcess') {{ ($payment->received_payment) - ($amountUsedSum) }}
@lang('app.save') @lang('app.cancel')