finished customer and join membership in crm

This commit is contained in:
Aung Myo
2017-06-07 16:38:24 +06:30
parent 9e3eaaf214
commit 387ffa996b
14 changed files with 248 additions and 92 deletions

View File

@@ -72,4 +72,14 @@ class Printer::ReceiptPrinter < Printer::PrinterWorker
pdf.render_file "tmp/receipt_bill.pdf"
self.print("tmp/receipt_bill.pdf")
end
#Bill Receipt Print
def print_crm_order(booking)
#Use CUPS service
#Generate PDF
#Print
pdf = CrmOrderPdf.new(booking)
pdf.render_file "tmp/print_crm_order.pdf"
self.print("tmp/print_crm_order.pdf")
end
end