route changes

This commit is contained in:
San Wai Lwin
2018-03-13 14:51:07 +06:30
parent 694feb9c06
commit 9228168ebc
49 changed files with 1906 additions and 707 deletions

View File

@@ -356,10 +356,10 @@ class SalePayment < ApplicationRecord
self.sale.save!
table_update_status(sObj)
if check_foc
update_shift
elsif paid_amount != "0.0"
elsif paid_amount.to_f > 0 #|| paid_amount != "0.0"
update_shift
end
end