mobile order print
This commit is contained in:
@@ -36,9 +36,9 @@ class OrderItemPdf < Prawn::Document
|
||||
# font "public/fonts/padauk.ttf"
|
||||
#font "public/fonts/Chinese.ttf"
|
||||
if order_item.source =='app'
|
||||
text "Mobile Order", :size => self.header_font_size,:align => :center
|
||||
text "Mobile Order", :size => self.header_font_size,:align => :left
|
||||
move_down 1
|
||||
text "Customer Ph : #{order_item.contact_no}", :size => self.header_font_size,:align => :center
|
||||
text "Customer Ph : #{order_item.contact_no}", :size => self.header_font_size,:align => :left
|
||||
move_down 1
|
||||
end
|
||||
if !order_item.dining.nil?
|
||||
|
||||
Reference in New Issue
Block a user