oqs update

This commit is contained in:
Yan
2017-06-26 18:45:20 +06:30
parent e878275c1b
commit cb77c771b8
5 changed files with 23 additions and 14 deletions

View File

@@ -18,8 +18,8 @@ class OrderItemPdf < Prawn::Document
# font "public/fonts/#{font_name}".to_s + ".ttf".to_s
# font "public/fonts/Zawgyi-One.ttf"
# font "public/fonts/padauk.ttf"
self.header_font_size = 14
self.item_font_size = 12
self.header_font_size = 12
self.item_font_size = 10
text "#{ order_item.type + '-' + order_item.dining + print_status }", :size => self.header_font_size,:align => :center, :left_margin => -20
stroke_horizontal_rule