Invoice email variable fix
This commit is contained in:
parent
54b152689c
commit
c9473505ea
|
|
@ -655,7 +655,6 @@ class DocumentsController extends AppController {
|
||||||
$this->Email->attachments = $attachment_files;
|
$this->Email->attachments = $attachment_files;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$enquiry = $this->Document->getEnquiry($document);
|
$enquiry = $this->Document->getEnquiry($document);
|
||||||
|
|
||||||
$this->Email->to = $enquiry['Contact']['email'];
|
$this->Email->to = $enquiry['Contact']['email'];
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@ Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br />
|
||||||
<p>
|
<p>
|
||||||
Thank you for your Purchase Order # <?=$invoice['Job']['title']; ?>. Please see attached the Tax Invoice <?=$document['Invoice']['title']?> for your
|
Thank you for your Purchase Order # <?=$invoice['Job']['title']; ?>. Please see attached the Tax Invoice <?=$document['Invoice']['title']?> for your
|
||||||
processing. Please send us a copy of the remittance once payment has been made. Please include our
|
processing. Please send us a copy of the remittance once payment has been made. Please include our
|
||||||
invoice number <?=$document['Invoice']['title']?> as a reference with your payment.</p>
|
invoice number <?php echo $document['Invoice']['title']?> as a reference with your payment.</p>
|
||||||
|
|
||||||
|
|
||||||
<p>Should you have any questions regarding your Purchase Order, please reply to this email or reference
|
<p>Should you have any questions regarding your Purchase Order, please reply to this email or reference
|
||||||
<?=$document['Enquiry']['title']?> to expedite our response time.</p>
|
<?php echo $enquiry['Enquiry']['title']?> to expedite our response time.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue