price 0 print

This commit is contained in:
Yan
2017-11-23 12:53:07 +06:30
parent 502b92fb98
commit 8f0b44ca7b
3 changed files with 10 additions and 10 deletions

View File

@@ -104,7 +104,7 @@ class OrderSummaryPdf < Prawn::Document
order_item.each do|odi|
# check for item not to show
if odi.price != 0
# if odi.price != 0
y_position = cursor
bounding_box([0,y_position], :width => self.item_width) do
@@ -148,7 +148,7 @@ class OrderSummaryPdf < Prawn::Document
dash(1, :space => 1, :phase => 1)
stroke_horizontal_line 0, (self.page_width - self.margin)
move_down 5
end
# end
end
end
end