shop code
This commit is contained in:
@@ -24,9 +24,9 @@ authorize_resource :class => false
|
||||
end
|
||||
end
|
||||
|
||||
@lookup = Lookup.find_by_lookup_type('reprint_receipt')
|
||||
@lookup = Lookup.find_by_lookup_type_and_shop_code('reprint_receipt',@shop.shop_code)
|
||||
if @lookup.nil?
|
||||
@lookup = Lookup.create_reprint_receipt_lookup
|
||||
@lookup = Lookup.create_reprint_receipt_lookup(@shop.shop_code)
|
||||
end
|
||||
|
||||
payment_type = params[:payment_type]
|
||||
@@ -152,7 +152,7 @@ authorize_resource :class => false
|
||||
# else
|
||||
# table = DiningFacility.find(bookings[0].dining_facility_id)
|
||||
# end
|
||||
shift = ShiftSale.current_open_shift(current_user.id)
|
||||
shift = ShiftSale.current_open_shift(current_user)
|
||||
if !shift.nil?
|
||||
cashier_terminal = CashierTerminal.find(shift.cashier_terminal_id)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user