Allowance Details
@if($fromDate || $endDate || $search || $for_bank)
Reset
@endif
Export Excel
@foreach ($allowances as $index => $allowance) @scope('cell_id', $allowance) {{ $loop->iteration }} @endscope @scope('cell_tieups.name', $allowance) {{ $allowance->tieups->name ?? '-' }} @endscope @scope('cell_invigilators.name', $allowance) {{ $allowance->invigilators->name ?? '-' }} @endscope @scope('cell_from_date', $allowance) @if($allowance->from_date) @php $dateList = array_filter(array_map('trim', preg_split('/[,&]/', $allowance->from_date))); @endphp
@foreach($dateList as $d) {{ $d }} @endforeach
@else - @endif @endscope @scope('cell_total_amount', $allowance) {{ number_format((float)$allowance->calculated_total, 2) }} @endscope @scope('cell_invigilators.account_holder_name', $allowance) {{ $allowance->invigilators->account_holder_name ?: '-' }} @endscope @scope('cell_invigilators.account_no', $allowance) {{ $allowance->invigilators->account_no ?: '-' }} @endscope @scope('cell_invigilators.bank_name', $allowance) {{ $allowance->invigilators->bank_name ?: '-' }} @endscope @scope('cell_invigilators.ifsc', $allowance) {{ $allowance->invigilators->ifsc ?: '-' }} @endscope @scope('cell_invigilators.branch_name', $allowance) {{ $allowance->invigilators->branch_name ?: '-' }} @endscope @scope('cell_created_at', $allowance) {{ $allowance->created_at ? \Carbon\Carbon::parse($allowance->created_at)->format('d-m-Y') : ($allowance->added_on ? \Carbon\Carbon::parse($allowance->added_on)->format('d-m-Y') : '-') }} @endscope @scope('cell_updated_at', $allowance) {{ $allowance->updated_at ? \Carbon\Carbon::parse($allowance->updated_at)->format('d-m-Y') : ($allowance->updated_on ? \Carbon\Carbon::parse($allowance->updated_on)->format('d-m-Y') : '-') }} @endscope @scope('cell_actions', $allowance)
@endscope @endforeach
Click 'Confirm' to permanently delete the payments.