amount_due >= 0 for grand total 0

This commit is contained in:
Yan
2017-11-24 10:40:52 +06:30
parent a5a33b269a
commit c4e9abbf19

View File

@@ -20,7 +20,7 @@ class SalePayment < ApplicationRecord
end
end
if (amount_due > 0)
if (amount_due >= 0)
payment_status = false
#route to payment type
case payment_method