cehck mobile

This commit is contained in:
phyusin
2018-04-06 12:00:45 +06:30
parent 8217b7c2f2
commit 0b869ccb89
2 changed files with 20 additions and 10 deletions

View File

@@ -7,7 +7,6 @@ class Origami::HomeController < BaseOrigamiController
if check_mobile
@webview = true
end
@tables = Table.all.active.order('status desc')
@rooms = Room.all.active.order('status desc')
@complete = Sale.where("DATE_FORMAT(created_at,'%Y-%m-%d') = ? and sale_status != 'new'",DateTime.now.strftime('%Y-%m-%d'))