mobile order print
This commit is contained in:
@@ -42,7 +42,12 @@ class ReceiptBillA5Pdf < Prawn::Document
|
||||
# font "public/fonts/padauk.ttf"
|
||||
|
||||
header(shop_details)
|
||||
|
||||
if sale_data.orders[0].source =='app'
|
||||
text "Mobile Order", :size => self.header_font_size,:align => :left
|
||||
move_down 1
|
||||
text "Customer Ph : #{sale_data.customer.contact_no}", :size => self.header_font_size,:align => :left
|
||||
move_down 1
|
||||
end
|
||||
stroke_horizontal_rule
|
||||
|
||||
cashier_info(sale_data, customer_name, latest_order_no)
|
||||
|
||||
Reference in New Issue
Block a user