Report

@csrf
@if (count($CSReports) > 0) @foreach ($CSReports as $key => $CSReport) @php if ($CSReport->{'Bill Status'} == 0) { $Billstatus = 'Submitted'; } elseif ($CSReport->{'Bill Status'} == 1 || $CSReport->{'Bill Status'} == 2 || $CSReport->{'Bill Status'} == 4) { $Billstatus = 'In Process'; } elseif ($CSReport->{'Bill Status'} == 3) { $Billstatus = 'Sent for clarification'; } elseif ($CSReport->{'Bill Status'} == 5) { $Billstatus = 'Settled'; } else { $Billstatus = ' - '; } $remark = '-'; if ( $CSReport->{'Bill Status'} == 3 && isset($CSReport->{'Rejection Remark'}) && !empty($CSReport->{'Rejection Remark'}) ) { $remark = $CSReport->{'Rejection Remark'}; } elseif ( $CSReport->{'Bill Status'} == 5 && isset($CSReport->{'Remark'}) && !empty($CSReport->{'Remark'}) ) { $remark = $CSReport->{'Remark'}; } @endphp @endforeach @else @endif
S.No Reference No. Centre Number City Exam Details Total Amount Bill Date Status Remark
{{ $key + 1 }} {{ isset($CSReport->{'Reference No_'}) ? $CSReport->{'Reference No_'} : null }} {{ isset($CSReport->{'CenterNo'}) ? $CSReport->{'CenterNo'} : null }} {{ isset($CSReport->{'Center City'}) ? $CSReport->{'Center City'} : null }} {{ isset($CSReport->{'Exam Name'}) ? $CSReport->{'Exam Name'} : null }} {{ isset($CSReport->{'Net Amount Payable'}) ? number_format($CSReport->{'Net Amount Payable'}, 2) : null }} {{ isset($CSReport->{'Created on'}) ? date('d-m-Y', strtotime($CSReport->{'Created on'})) : 'NA' }} {{ $Billstatus }} {{ $remark }}
No Data Found !!
{!! $CSReports->withQueryString()->links('pagination::bootstrap-5') !!}