check booking no
This commit is contained in:
@@ -118,9 +118,11 @@ class ReceiptBillA5Pdf < 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+5,:align => :left
|
||||
move_down line_move
|
||||
if latest_order_no.nil?
|
||||
move_down line_move
|
||||
text "Booking : #{ sale_data.bookings[0].booking_id }", :size => self.header_font_size+5,:align => :left
|
||||
move_down line_move
|
||||
end
|
||||
|
||||
move_down line_move
|
||||
if !latest_order_no.nil?
|
||||
|
||||
@@ -118,10 +118,11 @@ 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
|
||||
|
||||
if latest_order_no.nil?
|
||||
move_down line_move
|
||||
text "Booking : #{ sale_data.bookings[0].booking_id }", :size => self.header_font_size+2,:align => :left
|
||||
move_down line_move
|
||||
end
|
||||
move_down line_move
|
||||
if !latest_order_no.nil?
|
||||
move_down line_move
|
||||
|
||||
Reference in New Issue
Block a user