mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-05 19:07:30 -08:00
un'required'ing the rule. not sure what's breaking here but looking
This commit is contained in:
parent
e00a1aec02
commit
0c84904bf9
|
@ -27,7 +27,7 @@ class AssetCheckinRequest extends Request
|
||||||
|
|
||||||
if($settings->require_checkinout_notes) {
|
if($settings->require_checkinout_notes) {
|
||||||
// dd($settings->require_checkinout_notes);
|
// dd($settings->require_checkinout_notes);
|
||||||
$rules['notes'] = 'required|string|nullable';
|
$rules['notes'] = 'string|nullable';
|
||||||
}
|
}
|
||||||
return $rules;
|
return $rules;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,12 +37,12 @@ class AssetCheckoutRequest extends Request
|
||||||
'nullable',
|
'nullable',
|
||||||
'date'
|
'date'
|
||||||
],
|
],
|
||||||
|
];
|
||||||
|
|
||||||
if($settings->require_checkinout_notes) {
|
if($settings->require_checkinout_notes) {
|
||||||
// dd($settings->require_checkinout_notes);
|
// dd($settings->require_checkinout_notes);
|
||||||
$rules['notes'] = 'required|string|nullable';
|
$rules['notes'] = 'string|nullable';
|
||||||
}
|
}
|
||||||
];
|
|
||||||
|
|
||||||
return $rules;
|
return $rules;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue