projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 5740: On prepaid Sales Orders, Have a "Receive Customer Payment" option on...
[fa-stable.git]
/
sales
/
customer_invoice.php
diff --git
a/sales/customer_invoice.php
b/sales/customer_invoice.php
index 35cdc5baca42e319cd4e6e849c165f9e8b310885..e6ded2d3a4e025315f2adc6241c7c53145d0cf6d 100644
(file)
--- a/
sales/customer_invoice.php
+++ b/
sales/customer_invoice.php
@@
-205,7
+205,7
@@
function check_quantities()
} else {
$min = 0;
// Fixing floating point problem in PHP.
} else {
$min = 0;
// Fixing floating point problem in PHP.
- $max = round2($itm->quantity - $itm->qty_done, get_
unit
_dec($itm->stock_id));
+ $max = round2($itm->quantity - $itm->qty_done, get_
qty
_dec($itm->stock_id));
}
if (check_num('Line'.$line_no, $min, $max)) {
$_SESSION['Items']->line_items[$line_no]->qty_dispatched =
}
if (check_num('Line'.$line_no, $min, $max)) {
$_SESSION['Items']->line_items[$line_no]->qty_dispatched =