{{ $count }} |
{{ $sells[$key_sch]->product_name }} |
{{ $sells[$key_sch]->customer_name }} |
{{ $transaction->date_format($sells[$key_sch]->booking_date) }} |
@if(isset($schedule))
@foreach($td_head as $key => $td)
@php
$check_array = [];
@endphp
@foreach($schedule as $key_sch_sub => $value)
@php
$month_year = $value->month.'-'.$value->year;
@endphp
@if($td == $month_year)
@php
array_push($check_array,$month_year);
@endphp
@if(isset($schedule1[$key_sch][$key_sch_sub]))
@if($value->schedule_id != $schedules[$key_sch][$key_sch_sub]->schedule_id)
{{ number_format($value->payable_amount) }} |
@php
$payable_count[$month_year] += $schedule[$key_sch_sub]->payable_amount;
@endphp
@else
0 |
@endif
@else
{{ number_format($value->payable_amount) }} |
@php
$payable_count[$month_year] += $schedule[$key_sch_sub]->payable_amount;
@endphp
@endif
@else
@php
continue;
@endphp
@endif
@endforeach
@if (count($check_array) === 0)
0 |
@endif
@endforeach
@else
0 |
@endif
@php
++$count;
@endphp
@endforeach