void
This commit is contained in:
@@ -9,7 +9,7 @@ class Origami::RequestBillsController < ApplicationController
|
||||
# Print Request Bill and add to sale tables
|
||||
def print
|
||||
@shop = Shop.current_shop
|
||||
if !ShiftSale.current_shift(@shop.shop_code).nil?
|
||||
if !ShiftSale.current_shift.nil?
|
||||
order_id = params[:id] # order_id
|
||||
order = Order.find(order_id)
|
||||
booking = order.booking
|
||||
@@ -46,7 +46,7 @@ class Origami::RequestBillsController < ApplicationController
|
||||
sale_audit = SaleAudit.record_audit_sale(sale_data.sale_id,remark,action_by,type )
|
||||
|
||||
# Promotion Activation
|
||||
Promotion.promo_activate(sale_data,@shop.shop_code)
|
||||
Promotion.promo_activate(sale_data)
|
||||
|
||||
#bill channel
|
||||
if ENV["SERVER_MODE"] == 'cloud'
|
||||
|
||||
Reference in New Issue
Block a user