This commit is contained in:
Myat Zin Wai Maw
2020-02-27 16:47:22 +06:30
parent 4bffd640a0
commit 75e9a63c50
18 changed files with 68 additions and 68 deletions

View File

@@ -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?