update order

This commit is contained in:
Aung Myo
2018-05-31 17:42:33 +06:30
parent b99ca30342
commit 9bcae0807e

View File

@@ -389,7 +389,6 @@ 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