amount_due >= 0 for grand total 0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user