check shift update data
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user