Added ability to sort on qty and remaining for consumables
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@@ -86,6 +86,9 @@ class ConsumablesController extends Controller
|
||||
case 'company':
|
||||
$consumables = $consumables->OrderCompany($order);
|
||||
break;
|
||||
case 'remaining':
|
||||
$consumables = $consumables->OrderRemaining($order);
|
||||
break;
|
||||
case 'supplier':
|
||||
$consumables = $consumables->OrderSupplier($order);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user