delete shop scope in model
This commit is contained in:
@@ -275,7 +275,7 @@ class Origami::PaymentsController < BaseOrigamiController
|
||||
@pdf_view = @lookup_pdf.value
|
||||
end
|
||||
|
||||
amount = SalePayment.get_kbz_pay_amount(sale_id, current_user, current_shop)
|
||||
amount = SalePayment.get_kbz_pay_amount(sale_id, current_user)
|
||||
@kbz_pay_amount += amount.to_f
|
||||
|
||||
#for changable on/off
|
||||
|
||||
Reference in New Issue
Block a user