@php $numberOfPerson=explode(',',$data->{'No_ of Person'}); $numberOfDays=explode(',',$data->{'No_ of Days'}); @endphp
@if (isset($pdf) && $pdf == 'pdf')
Emblem of India Logo Outside Azadi Ka Amrit Mahotsav
@endif
Centre No. City Centre Name With Address
{{ strlen($data->CenterNo) > 150 ? substr($data->CenterNo, 0, 150).'...' : $data->CenterNo }} {{ $data->{'Center City'} }} {{ substr($data->{'Center Address'}, 0, 150) }}...
Number of Candidates:
Allotted {{ $data->{'No_ of Candidate Alloted'} }} Present {{ $data->{'No_ of Candidate Present'} }} Absent {{ $data->{'No_ of Candidate Absent'} }}

@php $i=0; $k=0; @endphp @foreach($CentralizedRemuneration as $row) @php $deductionField = $row->{'Field_Name_Deduction'} ?? null; $mockDrillField = $row->{'MockDrillFiledName_Deduction'} ?? null; $deductionValue = '-'; if (isset($deductionField) && empty($deductionField)) { if (isset($data->{$mockDrillField}) && is_numeric($data->{$mockDrillField}) && ($data->{$mockDrillField} > 0)) { $deductionValue = number_format($data[$mockDrillField], 2); } } else { if (isset($data->{$deductionField}) && is_numeric($data->{$deductionField}) && ($data->{$deductionField} > 0)) { $deductionValue = number_format($data->{$deductionField}, 2); } } @endphp @if ($row->{'Remuneration Text'} != '' && $row->{'Mock Drill Text'} != '') @php $k++; @endphp @else @endif @php $k++ @endphp @endforeach
SI. No Category Remuneration and Conveyance Payable (Original Bills must be enclosed) No. of Persons No. of Duty Days Amount Deduction Amount
{{++$i }}. {{ $row->{'Source Name'} }} {{ $row->{'Remuneration Text'} }} {{ $numberOfPerson[$k]??''}} {{ $numberOfDays[$k]??''}} {{ isset($data->{$row->Field_Name}) ? number_format($data->{$row->Field_Name}, 0, '', '') : 0 }} @if(isset($data->{$row->Field_Name_Deduction}) && is_numeric($data->{$row->Field_Name_Deduction}) && ($data->{$row->Field_Name_Deduction} > 0)) {{ number_format($data->{$row->Field_Name_Deduction}, 2) }} @else {{ '-' }} @endif
{{ $row->{'Mock Drill Text'} }} {{ $numberOfPerson[$k]??''}} {{ $numberOfDays[$k]??''}} {{ isset($data->{$row->MockDrillFiledName}) ? number_format($data->{$row->MockDrillFiledName}, 0, '', '') : 0 }} @if(isset($data->{$row->MockDrillFiledName_Deduction}) && is_numeric($data->{$row->MockDrillFiledName_Deduction}) && ($data->{$row->MockDrillFiledName_Deduction} > 0)) {{ number_format($data->{$row->MockDrillFiledName_Deduction}, 2) }} @else {{ '-' }} @endif
{{++$i }}. {{ $row->{'Source Name'} }} {{ $row->{'Remuneration Text'} }} {{ $numberOfPerson[$k]??''}} {{ $numberOfDays[$k]??''}} {{ isset($data->{$row->Field_Name}) ? number_format($data->{$row->Field_Name}, 0, '', '') : 0 }}
@if($row->{'Source Code'} == 'MISCELLANEOUS CHARGE' && (!empty($data->{'File Path'} || $data->{'File Path'} != 'NA' || $data->{'File Path'} != 0))) View @endif
{{ $deductionValue }}
*Note: In the case of a City Coordinator and Centre Superintendent being the same, you pluck a bill for the staff cannot be submitted.
Total Expenditure {{ isset($data->{'Total Expenditure Amount'}) ? number_format($data->{'Total Expenditure Amount'}, 0, '', '') : 0 }}
TDS on Remuneration - {{ isset($data->{'TDS_Amount'}) ? number_format($data->{'TDS_Amount'}, 0, '', '') : 0 }}
Net Amount payable by NTA {{ isset($data->{'Net Amount Payable'}) ? number_format($data->{'Net Amount Payable'}, 0, '', '') : 0 }}

*This is computer generated hence, signature not required.

Bill Submitted Date: {{(isset($data->{'Created on'}) && !empty($data->{'Created on'})) ? date('d-m-Y', strtotime($data->{'Created on'})) : ''}}