add waste to invetory gui

This commit is contained in:
2017-05-01 22:04:05 +02:00
parent 010ff62506
commit 1a04a6e351
3 changed files with 10 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ class InventoryItemSearch extends InventoryItem
'coalesce(inventory_item.count_sold,0) as item_count_sold',
'coalesce(inventory_item.count,0) as item_count',
'coalesce(inventory_item.count_system,0) as item_count_system',
'coalesce(inventory_item.count_waste,0) as item_count_waste',
'inventory.created_at as inventory_created_at',
'inventory_prev.id_inventory as inventory_prev_id_inventory',
'inventory_prev.name as inventory_prev_name',
@@ -107,7 +108,7 @@ class InventoryItemSearch extends InventoryItem
['item_count_sold', 'item_count_sold'],
['item_count_in', 'item_count_in'],
['item_count', 'item_count'],
['item_count', 'item_count'],
['item_count_waste', 'item_count_waste'],
['item_difference', 'item_difference'],
['item_count_system', 'item_count_system'],
['inventory.id_inventory', 'inventory_id_inventory'],