mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Derp. Copypasta
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
0c39c7a53d
commit
378dc968b7
|
@ -191,7 +191,7 @@ class AssetsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->filled('byod')) {
|
if ($request->filled('byod')) {
|
||||||
$assets->ByDepreciationId($request->input('byod'));
|
$assets->where('assets.byod', '=', $request->input('byod'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$request->filled('order_number') ? $assets = $assets->where('assets.order_number', '=', e($request->get('order_number'))) : '';
|
$request->filled('order_number') ? $assets = $assets->where('assets.order_number', '=', e($request->get('order_number'))) : '';
|
||||||
|
|
Loading…
Reference in a new issue