fix order print format

This commit is contained in:
Yan
2017-07-25 12:56:11 +06:30
parent 00b164a001
commit 994e80b89e
2 changed files with 6 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ class OrderItemPdf < Prawn::Document
text "#{order_item.item_name}", :size => self.item_font_size,:align => :left
end
bounding_box([self.item_width-4,y_position], :width => self.qty_width) do
bounding_box([self.item_width,y_position], :width => self.qty_width) do
text "[#{number_with_precision(order_item.qty.to_i, :precision => precision.to_i)}]", :size => self.item_font_size,:align => :left
end