fix cashier page height & breadcrumb helper

This commit is contained in:
Zin Moe
2020-01-27 16:30:58 +06:30
parent c8ff92975e
commit bca6fabaaf
142 changed files with 266 additions and 1207 deletions

View File

@@ -23,6 +23,7 @@ class Transactions::BookingsController < ApplicationController
@receipt_no = filter
@from = from
@to = to
@food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")
respond_to do |format|
format.html # index.html.erb
format.json { render json: @bookings }

View File

@@ -21,8 +21,9 @@ class Transactions::OrdersController < ApplicationController
end
@receipt_no = filter
@from = from
@to = to
@from = from
@to = to
@food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")
respond_to do |format|
format.html

View File

@@ -35,6 +35,7 @@ class Transactions::SalesController < ApplicationController
@receipt_no = receipt_no
@from = from
@to = to
@food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")
if @shift.present?
@shift_from = @shift.shift_started_at.nil? ? '-' : @shift.shift_started_at.utc.getlocal.strftime("%e %b %I:%M%p")