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