Derp. Copypasta

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-01-18 15:44:28 -08:00
parent 0c39c7a53d
commit 378dc968b7

View file

@ -191,7 +191,7 @@ class AssetsController extends Controller
}
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'))) : '';