// Fixed merge..

This commit is contained in:
bMancone committed 2012-02-28 13:20:24 +00:00
1 parent 362258ede6
commit 499b5a24f5
1 file changed
+1 -1
@@ -2029,7 +2029,7 @@ class AdminSupplyOrdersControllerCore extends AdminController
{ {
$diff = (int)$threshold; $diff = (int)$threshold;
if ($supply_order->is_template != 0) if ($supply_order->is_template != 1)
{ {
$real_quantity = (int)$manager->getProductRealQuantities($item['id_product'], $item['id_product_attribute'], $supply_order->id_warehouse, true); $real_quantity = (int)$manager->getProductRealQuantities($item['id_product'], $item['id_product_attribute'], $supply_order->id_warehouse, true);
$diff = (int)$threshold - (int)$real_quantity; $diff = (int)$threshold - (int)$real_quantity;