print format update

This commit is contained in:
Yan
2017-06-12 18:19:30 +06:30
parent 7122fb4c81
commit 423776cadd
7 changed files with 99 additions and 90 deletions

View File

@@ -12,6 +12,7 @@ class Origami::HomeController < BaseOrigamiController
@selected_item_type="Order"
end
end
puts params[:booking_id]
@completed_orders = Order.get_completed_order()
@booking_orders = Order.get_booking_order_table()

View File

@@ -30,7 +30,7 @@ class Origami::RequestBillsController < BaseOrigamiController
printer = Printer::ReceiptPrinter.new(print_settings)
printer.print_receipt_bill(print_settings,@sale_items,@sale_data,customer.name, food_total, beverage_total)
redirect_to origami_path(sale_order.sale_id)
redirect_to origami_path(@sale_data.sale_id)
end
end