requested changes from pr

This commit is contained in:
akemidx 2024-11-26 15:04:54 -05:00
parent 0d608552ef
commit 2727210c78
2 changed files with 1 additions and 2 deletions

View file

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

View file

@ -23,7 +23,6 @@ return [
'nothing_updated' => 'No fields were selected, so nothing was updated.', 'nothing_updated' => 'No fields were selected, so nothing was updated.',
'no_assets_selected' => 'No assets were selected, so nothing was updated.', 'no_assets_selected' => 'No assets were selected, so nothing was updated.',
'assets_do_not_exist_or_are_invalid' => 'Selected assets cannot be updated.', 'assets_do_not_exist_or_are_invalid' => 'Selected assets cannot be updated.',
'no_note' => 'Note field is empty',
], ],
'restore' => [ 'restore' => [