bug fixing

This commit is contained in:
Roland Schneider 2021-09-29 13:17:36 +02:00
parent b3b94cf126
commit 84dda1abe5

View File

@ -62,7 +62,7 @@ class InventoryItemSearch extends InventoryItem
'inventory_item.created_at as item_created_at',
new Expression('case when inventory_item.id_product is null then inventory_group.name else product.name end as item_name'),
'user.username as user_username',
'coalesce(inventory_item.count_prev ,0)as item_count_prev',
'coalesce(inventory_item.count_prev ,0) as item_count_prev',
'coalesce(inventory_item.count_in,0) as item_count_in',
'coalesce(inventory_item.count_sold,0) as item_count_sold',
'coalesce(inventory_item.count,0) as item_count',