un'required'ing the rule. not sure what's breaking here but looking

This commit is contained in:
akemidx 2024-10-02 18:56:41 -04:00
parent e00a1aec02
commit 0c84904bf9
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ class AssetCheckinRequest extends Request
if($settings->require_checkinout_notes) {
// dd($settings->require_checkinout_notes);
$rules['notes'] = 'required|string|nullable';
$rules['notes'] = 'string|nullable';
}
return $rules;
}

View file

@ -37,12 +37,12 @@ class AssetCheckoutRequest extends Request
'nullable',
'date'
],
];
if($settings->require_checkinout_notes) {
// dd($settings->require_checkinout_notes);
$rules['notes'] = 'required|string|nullable';
$rules['notes'] = 'string|nullable';
}
];
return $rules;
}