Skip to content

Commit

Permalink
Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
kreaweb.be committed Mar 22, 2024
1 parent 6c66ad9 commit 4a15ec1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 200 deletions.
4 changes: 2 additions & 2 deletions app/Livewire/Forms/People/DeathForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ public function rules()
'yod' => [
'nullable',
'date_format:Y',
// new YodValid, To Do : not working
new YodValid,
],
'dod' => [
'nullable',
'date',
'date_format:Y-m-d',
'before_or_equal:today',
// new DodValid, To Do : not working
new DodValid,
],
'pod' => ['nullable', 'string', 'max:255'],
'cemetery_location_name' => ['nullable', 'string', 'max:255'],
Expand Down
4 changes: 2 additions & 2 deletions app/Livewire/Forms/People/PersonForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ public function rules()
'yob' => [
'nullable',
'date_format:Y',
// new YobValid, To Do : not working
new YobValid,
],
'dob' => [
'nullable',
'date',
'date_format:Y-m-d',
'before_or_equal:today',
// new DobValid, To Do : not working
new DobValid,
],
'pob' => ['nullable', 'string', 'max:255'],

Expand Down
168 changes: 0 additions & 168 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4a15ec1

Please sign in to comment.