change item_width in customise pdf

This commit is contained in:
EikhantMon
2018-06-01 17:13:40 +06:30
parent d14b75dea2
commit 767386e750
8 changed files with 11 additions and 11 deletions

View File

@@ -53,7 +53,7 @@ class OrderItemPdf < Prawn::Document
def order_info(order_no, order_by, order_at)
y_position = cursor
bounding_box([0,y_position], :width => self.item_width, :height => self.item_height) do
text "OrderNo: #{order_no} ", :size => self.item_font_size,:align => :left
text "OrderNo: #{order_no}", :size => self.item_font_size,:align => :left
end
move_down 2