From c9473505ea06b056e95a63c2b1a9ca0ce6c3019c Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Mon, 17 Dec 2012 23:25:56 +1100 Subject: [PATCH] Invoice email variable fix --- controllers/documents_controller.php | 1 - views/elements/email/html/invoice_email.ctp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/controllers/documents_controller.php b/controllers/documents_controller.php index 31a0ff17..939eb846 100755 --- a/controllers/documents_controller.php +++ b/controllers/documents_controller.php @@ -655,7 +655,6 @@ class DocumentsController extends AppController { $this->Email->attachments = $attachment_files; } - $enquiry = $this->Document->getEnquiry($document); $this->Email->to = $enquiry['Contact']['email']; diff --git a/views/elements/email/html/invoice_email.ctp b/views/elements/email/html/invoice_email.ctp index 5d8233e1..8e5d72f0 100755 --- a/views/elements/email/html/invoice_email.ctp +++ b/views/elements/email/html/invoice_email.ctp @@ -3,11 +3,11 @@ Dear ,

Thank you for your Purchase Order # . Please see attached the Tax Invoice for your processing. Please send us a copy of the remittance once payment has been made. Please include our -invoice number as a reference with your payment.

+invoice number as a reference with your payment.

Should you have any questions regarding your Purchase Order, please reply to this email or reference - to expedite our response time.

+ to expedite our response time.