@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'} != '')
{{++$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
|
@php $k++; @endphp
{{ $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
|
@else
{{++$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 }} |
@endif
@php $k++ @endphp
@endforeach
*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 }} |
|