code logo

{{ $bname }}

Privite Limited

SUPPLIER PROFILE

NAME # {{ $supplier->name }}

DATE {{ date('Y-M-D') }}

DETAILS To

{{ $supplier->name }}

{{ $supplier->address }}
{{ $supplier->phone }}
TOTAL PURCHASE INVOICES
@foreach ($currencies as $row)

{{ $loop->iteration }}

{{ $row->title_en . ' ' . $bills->where('currency_id', $row->id)->sum('grand_total') }}

@endforeach
TOTAL PAYMENT
@foreach ($currencies as $row)

{{ $loop->iteration }}

{{ $row->title_en . ' ' . $payments->where('currency_id', $row->id)->sum('amount') }}

@endforeach
TOTAL ADVANCE PAYMENTS
@foreach ($currencies as $row)

{{ $loop->iteration }}

{{ $row->title_en . ' ' . $advance->where('currency_id', $row->id)->sum('amount') }}

@endforeach
BALANCE
@foreach ($currencies as $row)

{{ $loop->iteration }}

{{ $row->title_en }} {{ $bills->where('currency_id',$row->id)->sum('grand_total') - ($advance->where('currency_id', $row->id)->sum('amount')+$payments->where('currency_id', $row->id)->sum('amount')) }}

@endforeach