amount_due >= 0 for grand total 0

This commit is contained in:
Yan
2017-11-24 10:41:21 +06:30
parent ca93f50fdf
commit 7c977e8423

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