{{ $bill->bill_date ? $bill->bill_date->timezone(company()->timezone)->format(company()->date_format) : '--' }}
|
{{ $bill->id }}
|
{{ $bill->order->purchase_order_number }}
|
{{ currency_format($bill->total, ($vendor->currency ? $vendor->currency->id : company()->currency->id )) }}
|
@php
if($bill->status == 'partially_paid'){
$due = ($bill->total) - ($billArray[$bill->id]);
}
@endphp
@if($bill->status == 'partially_paid')
{{ currency_format($due, ($vendor->currency ? $vendor->currency->id : company()->currency->id)) }}
@else
{{currency_format($bill->total, ($vendor->currency ? $vendor->currency->id : company()->currency->id ))}}
@endif
|
@if($bill->status == 'partially_paid')
@else
@endif
@if($bill->status == 'partially_paid')
@lang('purchase::modules.vendorPayment.payInFull')
@else
@lang('purchase::modules.vendorPayment.payInFull')
@endif
|
@empty