Customer Sales & Balance
Route:{{ $route->name ?? '' }}
From : {{ $fromDate ? date('d-m-Y', strtotime($fromDate)) : '' }} To : {{ $toDate ? date('d-m-Y', strtotime($toDate)) : '' }}
SN
Party
Sales
Balance
@foreach ($accountingVouchers as $key => $item)
{{$loop->iteration }}
{{ $item->debitLedger->name }}
{{ $item->total }}
{{ $item->closing_balance }} {{ $item->dr_or_cr }}
@endforeach
@php $totalSales = $accountingVouchers->sum('total'); @endphp
Total
{{ $totalSales }}