api for cashier app

This commit is contained in:
phyusin
2018-10-12 15:18:23 +06:30
parent 549a655bad
commit 11b4bdc804
11 changed files with 258 additions and 27 deletions

View File

@@ -166,7 +166,7 @@ class Origami::CustomersController < BaseOrigamiController
receipt_no = params[:receipt_no]
sale = Sale.find_by_receipt_no(receipt_no)
@out = []
action_by = current_user.id
action_by = current_user.name
membership_setting = MembershipSetting.find_by_membership_type("paypar_url")
if membership_setting.gateway_url
member_actions =MembershipAction.find_by_membership_type("get_account_balance")