Credit note can be posted without customer selected when search customer List is...
[fa-stable.git] / sales / customer_delivery.php
index 603ba1d74220e2c7ebee0c478c79adaa3b984a61..c634a94e75109bf06a1fee1d597c014e29cb1db0 100644 (file)
@@ -252,10 +252,8 @@ function check_quantities()
                                $min = $itm->qty_done;
                                $max = $itm->quantity;
                        } else {
-                               global $path_to_root;
                                $min = 0;
                                // Fixing floating point problem in PHP.
-                               include_once($path_to_root . "/inventory/includes/db/items_units_db.inc"); 
                                $max = round2($itm->quantity - $itm->qty_done, get_unit_dec($itm->stock_id));
                        }