update menu cateogry and myanmar font in xls

This commit is contained in:
Aung Myo
2018-05-21 15:30:15 +06:30
parent 073e054666
commit f5ad727c08
18 changed files with 139 additions and 23 deletions

View File

@@ -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