@if(!$applications->isEmpty())
@foreach ($applications AS $application_key => $application_value)
@php
$page_charge=$application_value->page*page_charge($page_charges,$application_value->app_type,$application_value->actual_del_dt);
$amount_expense=(($application_value->no_of_copy*$page_charge)+$application_value->moc+$application_value->reg_amt);
$amount_receive=$application_value->rec_amt + $application_value->post_amt+$application_value->sum_further_amt + $application_value->sum_fur_amt_post;
@endphp
{{$list_from}}
|
{{$application_value->app_no}}/{{$application_value->app_year}}
|
{{$application_value->applicant}} |
@php
$case_type= substr($application_value->fil_no,2,3);
echo find_casetype($case_types,$case_type)."/".substr($application_value->fil_no,5,5)."/".substr($application_value->fil_no,10,4);
@endphp
|
{{YYYYMMDDtoDateFormat($application_value->rec_dt)}} |
{{YYYYMMDDtoDateFormat($application_value->actual_del_dt)}} |
{{amount_format($amount_expense)}}
|
{{amount_format($amount_receive) }} |
@if($amount_receive-$amount_expense < 0)
0
@else
{{amount_format($amount_receive-$amount_expense)}}
@endif
|
@if($amount_expense-$amount_receive < 0)
0
@else
{{amount_format($amount_expense-$amount_receive)}}
@endif
|
@if(!isNullOrEmpty($application_value->acc_def))
- {!!($application_value->acc_def == "Default") ? "" : ""!!}{{$application_value->acc_def}}
@endif
@if(!isNullOrEmpty($application_value->digitized_attachment))
- Digitization
{{YYYYMMDDHistoDateFormat($application_value->digitized_attachment_date)}}
@else
- Digitization
@endif
@if(($application_value->is_mail_sent))
- Mail
@else
- Mail
@endif
@if(!isNullOrEmpty($application_value->actual_del_dt))
- Delivery
@else
- Delivery
@endif
|
Counter |
{{YYYYMMDDtoDateFormat($application_value->ready_on_dt)}} |
@if(is_null($application_value->withdraw_dt))
@if(!isNullOrEmpty($application_value->digitized_attachment))
@endif
@if(!isNullOrEmpty($application_value->final_amt))
@if(($application_value->final_amt-($application_value->rec_amt+ $application_value->post_amt)) > 0 )
@endif
@endif
@endif
|
@php
$list_from++;
@endphp
@endforeach
@else