@if($module === 'student-fees')
@csrf @if($edit) @method('PUT') @endif
@elseif($module === 'payments')
@csrf @if($edit) @method('PUT') @endif @if(!$edit)
@endif
@elseif($module === 'teacher-salaries')
@csrf @if($edit) @method('PUT') @endif
@foreach(['total_days' => 'Days', 'total_hours' => 'Hours', 'bonus' => 'Bonus', 'overtime' => 'Overtime', 'allowance' => 'Allowance', 'advance_deduction' => 'Advance Deduction', 'tax' => 'Tax', 'absence_deduction' => 'Absence', 'late_deduction' => 'Late', 'other_deductions' => 'Other Deductions'] as $field => $label)
@endforeach
@elseif($module === 'salary-advances')
@csrf @if($edit) @method('PUT') @endif
@if($edit)
@endif
@elseif($module === 'expenses')
@csrf @if($edit) @method('PUT') @endif
@elseif($module === 'assets')
@csrf @if($edit) @method('PUT') @endif
@elseif($module === 'exchange')
@csrf @if($edit) @method('PUT') @endif
@elseif($module === 'archive')
@csrf @if($edit) @method('PUT') @endif
@if($edit?->attachment_path)A file is already attached; upload a new one only to replace it.@endif
@endif