add kitchen role for oqs

This commit is contained in:
Aung Myo
2018-04-07 15:53:24 +06:30
parent 7b28d56738
commit 14b33a6f8d
6 changed files with 92 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
class Oqs::EditController < BaseOqsController
authorize_resource :class => false
def index
assigned_item_id = params[:id]
@link_type = params[:type]

View File

@@ -1,8 +1,6 @@
class Oqs::HomeController < BaseOqsController
authorize_resource :class => false
def index
# Query for OQS with delivery status false
# @queue_items_details = queue_items_query(false)

View File

@@ -1,4 +1,5 @@
class Oqs::PrintController < ApplicationController
authorize_resource :class => false
# Print Order Item
def print
if ENV["SERVER_MODE"] != "cloud" #no print in cloud server