check before updated qty
This commit is contained in:
@@ -130,7 +130,7 @@ class OrderItemPdf < Prawn::Document
|
||||
|
||||
#add updated qty text
|
||||
def add_updated_qty_text(before_updated_qty, updated_qty, precision)
|
||||
if !before_updated_qty.nil?
|
||||
if before_updated_qty.to_i > 0 && !before_updated_qty.nil?
|
||||
move_down 5
|
||||
|
||||
# add option
|
||||
|
||||
Reference in New Issue
Block a user