This commit is contained in:
@@ -61,7 +61,7 @@ class OrderSummarySlimPdf < Prawn::Document
|
||||
# Write Order Information to PDF
|
||||
def order_info(order_no, order_by, order_at)
|
||||
#booking ID
|
||||
booking_id = get_booking_id(order_no)
|
||||
booking_id = Order.find_by_order_id(order_no).booking.booking_id
|
||||
|
||||
y_position = cursor
|
||||
bounding_box([0,y_position], :width => self.item_width, :height => self.item_height) do
|
||||
|
||||
Reference in New Issue
Block a user