check shop note

This commit is contained in:
phyusin
2018-08-31 16:01:08 +06:30
parent 94ff846872
commit 1125d0d2f8

View File

@@ -93,7 +93,7 @@ class ReceiptBillPdf < Prawn::Document
sign(sale_data)
if shop_details.note != nil
if shop_details.note && !shop_details.note.nil?
shop_note(shop_details)
end