From 4a85e07804182d0ba009bd886fbc1d5829314d4e Mon Sep 17 00:00:00 2001 From: SajjadMahmoody <117562560+SajjadMahmoody@users.noreply.github.com> Date: Sun, 31 May 2026 23:18:48 +0330 Subject: [PATCH] fix: patient form/view field order, sync nav visibility, and backup 504 --- app/Filament/Resources/PatientResource.php | 14 +++++++------- .../views/livewire/settings-dropdown.blade.php | 10 +++++++--- routes/web.php | 5 ++++- scripts/nginx/conf/nginx.conf | 10 ++++++++++ scripts/nginx/conf/nginx.conf.template | 10 ++++++++++ 5 files changed, 38 insertions(+), 11 deletions(-) diff --git a/app/Filament/Resources/PatientResource.php b/app/Filament/Resources/PatientResource.php index 1e17623..e4c0027 100644 --- a/app/Filament/Resources/PatientResource.php +++ b/app/Filament/Resources/PatientResource.php @@ -213,6 +213,10 @@ public static function form(Schema $schema): Schema ]) ->maxLength(50), + TextInput::make('home_phone') + ->label(__('patients.fields.home_phone')) + ->maxLength(50), + TextInput::make('age') ->label(__('patients.fields.age')) ->numeric() @@ -248,10 +252,6 @@ public static function form(Schema $schema): Schema ->label(__('patients.fields.job')) ->maxLength(50), - TextInput::make('home_phone') - ->label(__('patients.fields.home_phone')) - ->maxLength(50), - TextInput::make('work_phone') ->label(__('patients.fields.work_phone')) ->maxLength(50), @@ -543,6 +543,9 @@ public static function infolist(Schema $schema): Schema TextEntry::make('hand_phone') ->label(__('patients.fields.hand_phone')) ->placeholder('-'), + TextEntry::make('home_phone') + ->label(__('patients.fields.home_phone')) + ->placeholder('-'), TextEntry::make('age') ->label(__('patients.fields.age')) ->placeholder('-'), @@ -571,9 +574,6 @@ public static function infolist(Schema $schema): Schema TextEntry::make('job') ->label(__('patients.fields.job')) ->placeholder('-'), - TextEntry::make('home_phone') - ->label(__('patients.fields.home_phone')) - ->placeholder('-'), TextEntry::make('work_phone') ->label(__('patients.fields.work_phone')) ->placeholder('-'), diff --git a/resources/views/livewire/settings-dropdown.blade.php b/resources/views/livewire/settings-dropdown.blade.php index 715596b..1161187 100644 --- a/resources/views/livewire/settings-dropdown.blade.php +++ b/resources/views/livewire/settings-dropdown.blade.php @@ -1,6 +1,8 @@