SQA urgent issues
This commit is contained in:
2
app/pdf/order_set_item_pdf.rb
Normal file → Executable file
2
app/pdf/order_set_item_pdf.rb
Normal file → Executable file
@@ -37,7 +37,7 @@ class OrderSetItemPdf < Prawn::Document
|
||||
# font "public/fonts/Zawgyi-One.ttf"
|
||||
# font "public/fonts/padauk.ttf"
|
||||
#font "public/fonts/Chinese.ttf"
|
||||
if order_set_item.dining.to_i > 0
|
||||
if !order_set_item.dining.nil?
|
||||
text "#{ order_set_item.type + '-' + order_set_item.dining + print_status }", :size => self.header_font_size,:align => :center, :left_margin => -20
|
||||
else
|
||||
text "#{ print_status }", :size => self.header_font_size,:align => :center, :left_margin => -20
|
||||
|
||||
Reference in New Issue
Block a user