X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_payment.php;h=265fe536ed01b64f5db599382ae2f0aa220e147c;hb=7668c6e2035c3317399437e3ed762778b63d3faa;hp=ddc1bf437060b1419890b79987b50f77630e50f7;hpb=8440d01cf34fab02ef02e91e16ac983970e0c28e;p=fa-stable.git diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php index ddc1bf43..265fe536 100644 --- a/purchasing/supplier_payment.php +++ b/purchasing/supplier_payment.php @@ -140,7 +140,8 @@ function check_inputs() 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');