From dde2b44be3212ee853a2b98e245430b76395c0e2 Mon Sep 17 00:00:00 2001 From: Myat Zin Wai Maw Date: Thu, 7 May 2020 15:10:26 +0630 Subject: [PATCH] creditnote --- app/controllers/origami/payments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/origami/payments_controller.rb b/app/controllers/origami/payments_controller.rb index 0d464b09..8693e6be 100755 --- a/app/controllers/origami/payments_controller.rb +++ b/app/controllers/origami/payments_controller.rb @@ -98,7 +98,7 @@ class Origami::PaymentsController < BaseOrigamiController Rails.logger.info '################ CASH PAYMENT #################' sale_payment = SalePayment.new if path.include? ("credit_payment") - sale_payment.process_payment(saleObj, current_user, cash, "creditnote", nil, true) + sale_payment.process_payment(saleObj, current_user, cash, "cash", nil, true) else sale_payment.process_payment(saleObj, current_user, cash, "cash") end