@csrf @method('PUT')
تعديل الجزاء
@foreach(\App\Enums\Penalty\PenaltyType::labels() as $key => $label)
type?->value) == $key ? 'checked' : '' }}>
@endforeach

affects_salary) ? 'checked' : '' }}>
@foreach(\App\Enums\Penalty\CalculationType::labels() as $key => $label)
calculation_type?->value) == $key ? 'checked' : ($loop->first ? 'checked' : '') }}>
@endforeach
@foreach(['first','second','third','fourth','more_than_four_times'] as $time) @php $column = $time === 'more_than_four_times' ? $time : $time.'_time'; $descriptionColumn = $time === 'more_than_four_times' ? $time.'_description' : $time.'_time_description'; @endphp
@endforeach
تأكيد الحذف

هل أنت متأكد من حذف "{{ $record->name_ar }}"؟

هذا الإجراء لا يمكن التراجع عنه.

@csrf @method('DELETE')