Improve event assertions
This commit is contained in:
@@ -852,12 +852,9 @@ class AssetsController extends Controller
|
||||
}
|
||||
|
||||
$checkout_at = request('checkout_at', date('Y-m-d H:i:s'));
|
||||
// @todo: test this
|
||||
$expected_checkin = request('expected_checkin', null);
|
||||
// @todo: test this
|
||||
$note = request('note', null);
|
||||
// Using `->has` preserves the asset name if the name parameter was not included in request.
|
||||
// @todo: test this
|
||||
$asset_name = request()->has('name') ? request('name') : $asset->name;
|
||||
|
||||
// Set the location ID to the RTD location id if there is one
|
||||
|
||||
Reference in New Issue
Block a user