This commit is contained in:
@@ -47,12 +47,11 @@ class ReceiptBillPdf < Prawn::Document
|
||||
|
||||
header(shop_details)
|
||||
if sale_data.orders[0].source =='app'
|
||||
move_down 3
|
||||
y_position = cursor
|
||||
move_down 2
|
||||
text "Mobile Order", :size => self.header_font_size,:align => :center, :style=>:bold
|
||||
move_down 2
|
||||
y_position = cursor
|
||||
bounding_box([0,y_position], :width =>self.item_description_width, :height => self.item_height) do
|
||||
bounding_box([0,y_position], :width =>self.item_description_width) do
|
||||
text "#{sale_data.customer.contact_no}", :size => self.header_font_size,:align => :left
|
||||
end
|
||||
if !sale_data.bookings[0].dining_facility.nil?
|
||||
|
||||
Reference in New Issue
Block a user