change item_width in customise pdf
This commit is contained in:
@@ -98,7 +98,7 @@ class OrderItemSlimCustomisePdf < Prawn::Document
|
||||
text "#{order_item_slim.item_name}", :size => self.item_font_size,:align => :left
|
||||
end
|
||||
|
||||
bounding_box([self.item_width,y_position], :width => self.qty_width) do
|
||||
bounding_box([self.item_width - 5,y_position], :width => self.qty_width) do
|
||||
text "[#{number_with_precision(order_item_slim.qty.to_i, :precision => precision.to_i)}]", :size => self.item_font_size,:align => :left
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user