@php Fun::lang(); $branch = mainBranch(); @endphp
|
{{$branch->name}} |
---|
{{__('auth.no_')}} | {{__('auth.reference_number')}} | {{__('auth.customer')}} | {{__('auth.contact')}} | {{__('auth.total_collected')}} |
---|---|---|---|---|
{{$loop->iteration}} | {{$item->reference_number}} | {{$item->name}} | {{$item->contact}} | {{Fun::driverGetCodBySaleID($item->id).' '.currency($item->currency_id)->code}} |
{{__('auth.total_usd')}} | $ {{number_format($total_paid_usd,2)}} | |||
{{__('auth.total_riel')}} {{$total_paid_kh > 0 ? number_format($total_paid_kh,0).' / '.($total_avg_rate / $total_avg_qty) : ''}} | $ {{$total_paid_kh > 0 ? number_format($total_paid_kh / ($total_avg_rate / $total_avg_qty),2) : 0}} | |||
{{__('auth.grand_total')}} | $ {{number_format($total_paid,2)}} | {{-- {{number_format($total_paid_usd + ($total_paid_kh / ($total_avg_rate / $total_avg_qty)),2)}} --}}