Rebate Bug Fix
This commit is contained in:
@@ -314,7 +314,7 @@ class SalePayment < ApplicationRecord
|
||||
# overall_dis = SaleItem.get_overall_discount(sObj.id)
|
||||
overall_dis = sObj.total_discount
|
||||
|
||||
total_amount = rebate_prices - payparcost + overall_dis
|
||||
total_amount = rebate_prices - payparcost - overall_dis
|
||||
if total_amount > 0
|
||||
receipt_no = sObj.receipt_no
|
||||
membership = MembershipSetting.find_by_membership_type("paypar_url")
|
||||
|
||||
Reference in New Issue
Block a user