mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
note
This commit is contained in:
parent
c3492f1699
commit
d794608a09
|
@ -545,7 +545,7 @@ class AssetsController extends Controller
|
|||
$asset->user_id = Auth::id();
|
||||
// @todo: verify eol is working as expected - move to request? or do I want this at all?
|
||||
// might just remove this and then use the method from here https://github.com/snipe/snipe-it/pull/13846
|
||||
$asset->asset_eol_date = $request->validated()['asset_eol_date'] ?? $asset->present()->eol_date();
|
||||
$asset->asset_eol_date = $request->validated()['asset_eol_date'] ?? $asset->present()->eol_date(); // so this isn't really necessary, because it's happening on the observer - but that might change?
|
||||
$asset->archived = '0';
|
||||
$asset->physical = '1';
|
||||
$asset->depreciate = '0';
|
||||
|
|
Loading…
Reference in a new issue