Refactor navigation icon declarations in various resources for consistency; enhance Group model with new relationships and fillable properties; update Hotel and Pilgrim models with fillable attributes; improve table configurations across resources.

This commit is contained in:
2025-09-03 19:10:21 +05:00
parent f9f4c476ce
commit e2b47eb73f
39 changed files with 634 additions and 53 deletions

View File

@@ -17,12 +17,15 @@ class GroupForm
->components([
DatePicker::make('start_date')
->label('Başlanýan senesi')
->native(false)
->required()
->live()
->afterStateUpdated(fn(Set $set, ?string $state) => $set('end_date', $state ? Carbon::parse($state)->addDays(14)->format('Y-m-d') : null)),
->afterStateUpdated(fn (Set $set, ?string $state) => $set('end_date', $state ? Carbon::parse($state)->addDays(14)->format('Y-m-d') : null))
->rules('unique:groups,start_date'),
DatePicker::make('end_date')
->label('Gutarýan senesi')
->native(false)
->required(),
Select::make('leader_teacher_id')