[0000225] Supplier Payment Report showing paid invoices (rounding problem)
[fa-stable.git] / purchasing / supplier_payment.php
index ddc1bf437060b1419890b79987b50f77630e50f7..265fe536ed01b64f5db599382ae2f0aa220e147c 100644 (file)
@@ -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');