receipt update
This commit is contained in:
17
app/pdf/order_summary_pdf.rb
Normal file
17
app/pdf/order_summary_pdf.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
class OrderSummaryPdf < Prawn::Document
|
||||
|
||||
def initialize(order, print_settings)
|
||||
super(:margin => [10, 5, 30, 5], :page_size => [200,400])
|
||||
|
||||
# font "public/fonts/#{font_name}".to_s + ".ttf".to_s
|
||||
# font "public/fonts/Zawgyi-One.ttf"
|
||||
# font "public/fonts/padauk.ttf"
|
||||
|
||||
|
||||
font_size 9
|
||||
text "#{"table_name"}", :size => 15
|
||||
stroke_horizontal_rule
|
||||
move_down 5
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user