order reservation receipt
This commit is contained in:
@@ -269,6 +269,9 @@ For Food Court Settings On/Off
|
||||
4) settings/lookups => { type:customer_type, name: FoodCourt, value: FoodCourt }
|
||||
/* Tax Profile Group Types in lookups */
|
||||
|
||||
For Online Order Receip Setting
|
||||
1) settings/lookups => { type:order_reservation, name:ReceiptBill, value: {0 or 1} }
|
||||
|
||||
* ToDo list
|
||||
|
||||
1. Migration
|
||||
|
||||
@@ -5,6 +5,11 @@ class Origami::OrderReservationController < BaseOrigamiController
|
||||
@count_on_order = OrderReservation.get_count_on_order
|
||||
@count_on_completed = OrderReservation.get_count_on_completed
|
||||
@shop = Shop.find_by_id(1)
|
||||
receipt_bill = Lookup.collection_of("order_reservation")
|
||||
@receipt_bill = 0
|
||||
if !receipt_bill[0].nil?
|
||||
@receipt_bill = receipt_bill[0][1]
|
||||
end
|
||||
end
|
||||
|
||||
def update
|
||||
|
||||
Reference in New Issue
Block a user