change paid amount 0

This commit is contained in:
phyusin
2017-12-15 15:15:29 +06:30
parent 909bde9798
commit 9a6c5fda13

View File

@@ -350,9 +350,9 @@ class SalePayment < ApplicationRecord
self.sale.save! self.sale.save!
table_update_status(sObj) table_update_status(sObj)
if paid_amount != "0.0" # if paid_amount != "0.0"
update_shift update_shift
end # end
end end
end end