#28 - fix
This commit is contained in:
parent
daa1d8faa3
commit
476f29101b
@ -19,7 +19,8 @@ class HolidayRequest extends FormRequest
|
||||
"date" => ["required",
|
||||
"date_format:Y-m-d",
|
||||
Rule::unique("holidays", "date")->ignore($this->holiday),
|
||||
new YearPeriodExists(), ],
|
||||
new YearPeriodExists(),
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user