@if(count($due_bills) !== 0) @endif @foreach($paid_bills as $key => $item) @endforeach @if(count($due_bills)+count($paid_bills) === 0) @endif
# গ্রাহক যোগাযোগ বিলের মাস মোট বিল ক্রিয়া
1 {{ $due_bills[0]->client_id }}
{{ $due_bills[0]->client->client_name }}
{{ $due_bills[0]->client->village->bn_village_name }}
{{ $due_bills[0]->client->phone }}
@if(count($due_bills) > 1) {{ NumToBnMonth($due_bills[0]->bill_month) }} {{ $due_bills[0]->bill_year }}
-
{{ NumToBnMonth($due_bills[count($due_bills) - 1]->bill_month) }} {{ $due_bills[count($due_bills) - 1]->bill_year }} @else {{ NumToBnMonth($due_bills[0]->bill_month) }} {{ $due_bills[0]->bill_year }} @endif
{{ $due_bills->sum('final_total') }}
{{ ($paid_bills->currentpage()-1) * $paid_bills->perpage() + $key + count($due_bills) !== 0 ? 2 : 1 }} {{ $item->client_id }}
{{ $item->client->client_name }}
{{ $item->client->village->bn_village_name }}
{{ $item->client->phone }}
{!! nl2br(str_replace('-', '
-
', $item->from_to_month)) !!}
{{ $item->total_pay_bill }}
Data not found!