update menu cateogry and myanmar font in xls
This commit is contained in:
@@ -205,7 +205,7 @@ class ReceiptBillA5Pdf < Prawn::Document
|
||||
price = item.unit_price
|
||||
product_name = item.product_name
|
||||
|
||||
if show_price.to_i>0
|
||||
if !show_price.nil? && show_price.value.to_i>0
|
||||
item_row(item,precision,delimiter,product_name,price,qty ,total_price)
|
||||
else
|
||||
if item.price != 0
|
||||
|
||||
Reference in New Issue
Block a user