@if (isset($pdf) && $pdf == 'pdf')
Emblem of India Logo Outside Azadi Ka Amrit Mahotsav
@endif
@php $counter = 0; @endphp @foreach ($FieldsArray as $key => $Fields) {{-- Start a new row for the first column or after every second column --}} @if ($counter % 2 == 0) @endif {{-- Add the data in two columns --}} {{-- Close the row after the second column --}} @if ($counter % 2 == 1) @endif {{-- Increment the counter --}} @php $counter++@endphp @endforeach {{-- Close the last row if it is not closed --}} @if ($counter % 2 != 0) @endif
Annexure A-4 (TO BE FILLED BY {{ strtoupper($ObserverType) }} )
{{ htmlspecialchars($Fields['fieldLabel']) }} {{ $Fields['fieldValue'] }}
@if (isset($travel) && !empty($travel))
@foreach ($travel as $row) @endforeach
(A) Travelling Details
Departure Arrival Mode of Distance Travel Type Air/Rail/Taxi Amount of Eligible Taxes File
Date Time From Date Time To Journey in Kms Receipt No Fare Paid (Air/Rail/Taxi) File
{{ isset($row['Departure Date']) ? date('d-m-Y', strtotime($row['Departure Date'])) : '' }} {{ isset($row['Departure Time']) ? date('H:i:s', strtotime($row['Departure Time'])) : '' }} {{ isset($row['Departure From']) ? $row['Departure From'] : '' }} {{ isset($row['Arrival Date']) ? date('d-m-Y', strtotime($row['Arrival Date'])) : '' }} {{ isset($row['Arrival Time']) ? date('H:i:s', strtotime($row['Arrival Time'])) : '' }} {{ isset($row['Arrival To']) ? $row['Arrival To'] : '' }} {{ isset($row['Mode Of Journey']) ? $row['Mode Of Journey'] : 'NA' }} {{ isset($row['Distance Of Journey']) ? $row['Distance Of Journey'] : 'NA' }} {{ isset($row['Travel Type']) ? ucfirst($row['Travel Type']) : 'NA' }} {{ isset($row['Receipt No']) ? $row['Receipt No'] : '' }} {{ isset($row['Amount']) ? number_format($row['Amount'], 2) : '' }} {{ isset($row['Approved Amount']) ? number_format($row['Approved Amount'], 2) : '' }} View

@endif @if (isset($hotel) && !empty($hotel)) @foreach ($hotel as $val) @endforeach
(B) Details of Hotel / Food Bill etc.
Name & Address of Hotel/Guest House with Phone No Nos. of days Bill No. Bill Date Room Rent Paid Food Charges Total Amount File
{{ $val['Hotel Name & Address'] ?? '' }} {{ isset($val['No of Days']) && is_numeric($val['No of Days']) ? number_format($val['No of Days'], 2, '.', '') : '' }} {{ $val['Hotel Bill No'] ?? '' }} {{ isset($val['Hotel Bill Date']) && !empty($val['Hotel Bill Date']) ? date('d-m-Y', strtotime($val['Hotel Bill Date'])) : '' }} {{ isset($val['Room Rent']) && is_numeric($val['Room Rent']) ? number_format($val['Room Rent'], 2, '.', '') : '' }} {{ isset($val['Food Charges']) && is_numeric($val['Food Charges']) ? number_format($val['Food Charges'], 2, '.', '') : '' }} {{ isset($val['Total Amount']) && is_numeric($val['Total Amount']) ? number_format($val['Total Amount'], 2, '.', '') : '' }} @if (isset($val['File Path']) && !empty($val['File Path'])) View @else @endif

@endif
@if (isset($RemunerationFieldsArray) && !empty($RemunerationFieldsArray)) @php $i = 0;@endphp @foreach ($RemunerationFieldsArray as $k => $Remuneration) @if ($Remuneration['Remuneration Text'] != '' && $Remuneration['Mock Drill Text'] != '') {{-- --}} @elseif ($Remuneration['Remuneration Text'] != '' && $Remuneration['Mock Drill Text'] == '') @if ( $Remuneration['Source Code'] != 'ADVANCEPAYMENT' && $Remuneration['Source Code'] != 'TDS WITH LABEL' && $Remuneration['Source Code'] != 'MISCELLANEOUS CHARGE') {{-- --}} @else @endif @elseif ($Remuneration['Remuneration Text'] == '' && $Remuneration['Mock Drill Text'] != '') @if ( $Remuneration['Source Code'] != 'ADVANCEPAYMENT' && $Remuneration['Source Code'] != 'TDS WITH LABEL' && $Remuneration['Source Code'] != 'MISCELLANEOUS CHARGE') @else @endif @else @if ( $Remuneration['Source Code'] != 'ADVANCEPAYMENT' && $Remuneration['Source Code'] != 'TDS WITH LABEL' && $Remuneration['Source Code'] != 'MISCELLANEOUS CHARGE') @else @endif @endif @endforeach @if (isset($travel) && !empty($travel)) @endif @if (isset($hotel) && !empty($hotel)) @endif @endif
Details of Remuneration and Other Expenses
S.No Details Dates Duty Days Amount Deduction Amount
{{++$i}} {{ $Remuneration['Remuneration Text'] }} @if (( $Remuneration['Source Code'] == 'MISCELLANEOUS CHARGE' ) && $Remuneration['FieldValue'] > 0){ } @else @if (!empty($dutydays) && is_array($dutydays)) {!! str_replace(',', '
', implode(',', $dutydays)) !!} @else {{' '}} @endif @endif
@if($Remuneration['Source Code'] == 'MOCKDRILL' || $Remuneration['Source Code'] == 'MOCKDRILL CONVEYANCE') {{ 1 }} @else {{ $BillData->Dutydays ?? '' }} @endif {{ $BillData->Dutydays }}{{ isset($Remuneration['FieldValue']) && is_numeric($Remuneration['FieldValue']) ? number_format($Remuneration['FieldValue'], 2) : '' }} @if (( $Remuneration['Source Code'] == 'MISCELLANEOUS CHARGE' ) && $Remuneration['FieldValue'] > 0) @if (isset($UserDataToArray['File Path']) && !empty($UserDataToArray['File Path'])) View @endif @endif -
{{++$i}} {{ $Remuneration['Remuneration Text'] }} @if($Remuneration['No_ of Days'] <= 0) {{ ' ' }} @elseif($Remuneration['Source Code'] == 'MOCKDRILL' || $Remuneration['Source Code'] == 'MOCKDRILL CONVEYANCE') {{ ' ' }} @else {!! !empty($dutydays) && is_array($dutydays) ? str_replace(',', '
', implode(',', $dutydays)) : '' !!} @endif
{{ $BillData->Dutydays }} @if($Remuneration['No_ of Days'] <= 0) {{ ' ' }} @elseif($Remuneration['Source Code'] == 'MOCKDRILL' || $Remuneration['Source Code'] == 'MOCKDRILL CONVEYANCE') {{ 1 }} @else {{ $BillData->Dutydays ?? '' }} @endif {{ isset($Remuneration['FieldValue']) && is_numeric($Remuneration['FieldValue']) ? number_format($Remuneration['FieldValue'], 2) : '0.00' }} @if (( $Remuneration['Source Code'] == 'MISCELLANEOUS CHARGE' ) && $Remuneration['FieldValue'] > 0) @if (isset($UserDataToArray['File Path']) && !empty($UserDataToArray['File Path'])) View @endif @endif -
{{++$i}} {{ $Remuneration['Mock Drill Text'] }} {!! !empty($dutydays) && is_array($dutydays) ? str_replace(',', '
', implode(',', $dutydays)) : '' !!}
{{ $BillData->Dutydays }} {{ isset($Remuneration['MockDrillFieldValue']) && is_numeric($Remuneration['MockDrillFieldValue']) ? number_format($Remuneration['MockDrillFieldValue'], 2) : '' }} @if (( $Remuneration['Source Code'] == 'MISCELLANEOUS CHARGE' ) && $Remuneration['FieldValue'] > 0) @if (isset($UserDataToArray['File Path']) && !empty($UserDataToArray['File Path'])) View @endif @endif -
{{++$i}}  {{ str_replace(',', '
', implode(',', $dutydays)) ?? '' }}
{{ $BillData->Dutydays }} {{ isset($Remuneration['FieldValue']) && is_numeric($Remuneration['FieldValue']) ? number_format($Remuneration['FieldValue'], 2) : '' }} -
{{++$i}} Travelling Expenses - {{ $travelExpenseTotal ?? ''}} {{ $travelDeductionAmount ?? '' }}
{{++$i}} Hotel / Food Bill etc Expenses - {{ $hotelExpenseTotal ?? ''}} {{ $hotelDeductionAmount ?? '' }}
{{++$i}} TOTAL AMOUNT CLAIMED {{ isset($UserDataToArray['Net Payable Amount']) && is_numeric($UserDataToArray['Net Payable Amount']) ? number_format($UserDataToArray['Net Payable Amount'], 2) :'' }}
*No receipt to be attached for Food expense. Please mention if you are special observer.
*Payment shall be released by NTA post verification of the submitted bill.
Bill Submitted Date: {{(isset($UserDataToArray['CreatedDate']) && !empty($UserDataToArray['CreatedDate'])) ? date('d-m-Y', strtotime($UserDataToArray['CreatedDate'])) : ''}}