attempt to add warranty to api controller

This commit is contained in:
Godfrey M 2023-06-13 11:20:55 -07:00
parent fc86530c94
commit ee50906e44

View file

@ -71,7 +71,8 @@ class AssetMaintenancesController extends Controller
'asset_tag',
'asset_name',
'user_id',
'supplier'
'supplier',
'is_warranty',
];
$order = $request->input('order') === 'asc' ? 'asc' : 'desc';
$sort = in_array($request->input('sort'), $allowed_columns) ? e($request->input('sort')) : 'created_at';