fix cashier page height & breadcrumb helper
This commit is contained in:
@@ -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 }
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user