food court and Booking ID for order and receipt
This commit is contained in:
@@ -118,12 +118,17 @@ class ReceiptBillPdf < Prawn::Document
|
||||
end
|
||||
|
||||
def cashier_info(sale_data, customer_name, latest_order_no)
|
||||
move_down line_move
|
||||
text "Booking : #{ sale_data.bookings[0].booking_id }", :size => self.header_font_size+2,:align => :left
|
||||
move_down line_move
|
||||
|
||||
move_down line_move
|
||||
if !latest_order_no.nil?
|
||||
move_down line_move
|
||||
text "OrderNo : #{ latest_order_no }", :size => self.header_font_size,:align => :left
|
||||
text "OrderNo : #{ latest_order_no }", :size => self.header_font_size+2,:align => :left
|
||||
end
|
||||
move_down line_move
|
||||
|
||||
# move_down 2
|
||||
y_position = cursor
|
||||
bounding_box([0,y_position], :width =>self.description_width + self.price_num_width, :height => self.item_height) do
|
||||
|
||||
Reference in New Issue
Block a user