edit oqs data

This commit is contained in:
phyusin
2018-09-11 13:22:48 +06:30
parent 287fe7f0af
commit 70143033e7

View File

@@ -36,7 +36,7 @@ class Oqs::EditController < BaseOqsController
order_item.remark = remarks
order_item.save
if ENV["SERVER_MODE"] != "cloud" && order.source == 'cashier' #no print in cloud server
if ENV["SERVER_MODE"] != "cloud" #&& order.source == 'cashier' #no print in cloud server
# print
assigned_item = AssignedOrderItem.find_by_instance_code_and_order_id(order_item.item_instance_code, order_item.order_id)
assigned_items = nil