projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0000227] Fixed sessio cookie naming to support multiply FA instances on same server.
[fa-stable.git]
/
purchasing
/
supplier_payment.php
diff --git
a/purchasing/supplier_payment.php
b/purchasing/supplier_payment.php
index ddc1bf437060b1419890b79987b50f77630e50f7..265fe536ed01b64f5db599382ae2f0aa220e147c 100644
(file)
--- a/
purchasing/supplier_payment.php
+++ b/
purchasing/supplier_payment.php
@@
-140,7
+140,8
@@
function check_inputs()
return false;
}
return false;
}
- if (input_num('amount') - input_num('discount') <= 0)
+ //if (input_num('amount') - input_num('discount') <= 0)
+ if (input_num('amount') <= 0)
{
display_error(_("The total of the amount and the discount is zero or negative. Please enter positive values."));
set_focus('amount');
{
display_error(_("The total of the amount and the discount is zero or negative. Please enter positive values."));
set_focus('amount');