bill channel for request bill and creditnote payment duoble amt

This commit is contained in:
phyusin
2018-04-04 16:37:10 +06:30
parent 5c21d914ae
commit 2e81de1ea7
2 changed files with 4 additions and 2 deletions

View File

@@ -472,7 +472,7 @@ class SalePayment < ApplicationRecord
elsif paid_amount.to_f > 0 #|| paid_amount != "0.0"
table_update_status(sObj)
update_shift
elsif method_status && paid_amount.to_f == 0
elsif method_status && paid_amount.to_f == 0 && is_credit == 0
table_update_status(sObj)
update_shift
end