From 0d0e16e4b41fc6b56b7542c362da4548fd9c4dab Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Thu, 31 May 2018 17:42:55 +0630 Subject: [PATCH] update order --- app/models/order.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/order.rb b/app/models/order.rb index f48c9e12..571c549c 100755 --- a/app/models/order.rb +++ b/app/models/order.rb @@ -389,6 +389,7 @@ class Order < ApplicationRecord .where("dining_facilities.type=? and orders.order_type=? and dining_facilities.is_active=?",DiningFacility::ROOM_TYPE,"dine_in",true) .group("orders.order_id") end + #Origami: Cashier : to view orders def self.get_orders from = Time.now.beginning_of_day.utc