order item - alter name in myanmar font error fixed
This commit is contained in:
@@ -116,14 +116,14 @@ class OrderItemSlimCustomisePdf < Prawn::Document
|
||||
|
||||
end
|
||||
|
||||
# if alt_name
|
||||
# if order_item_slim.alt_name
|
||||
# move_down 1
|
||||
if alt_name
|
||||
if order_item_slim.alt_name
|
||||
move_down 1
|
||||
# font("public/fonts/NotoSansCJKtc-Regular.ttf") do
|
||||
# text "(#{order_item_slim.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true
|
||||
text "(#{order_item_slim.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true
|
||||
# end
|
||||
# end
|
||||
# end
|
||||
end
|
||||
end
|
||||
|
||||
if !options.empty?
|
||||
move_down 1
|
||||
|
||||
Reference in New Issue
Block a user