Fix Invoice and OrderAck e mail template

Closes #50
This commit is contained in:
Karl Cordes 2022-07-07 21:46:36 +10:00
parent 4e1dbbbc2f
commit 58c032f989
5 changed files with 7 additions and 5 deletions

View file

@ -983,8 +983,10 @@ EOT;
if ($document['OrderAcknowledgement']['signature_required']) { if ($document['OrderAcknowledgement']['signature_required']) {
$template = 'orderAck_email_signature_required'; $template = 'orderAck_email_signature_required';
} }
break;
case 'packingList': case 'packingList':
$subject .= "Packing List"; $subject = "Packing List: ".$enquiry['Enquiry']['title'];
break;
} }

View file

@ -1,7 +1,7 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br /> Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br />
<p> <p>
Thank you for your Purchase Order # <?=$job['Job']['title']; ?>. Please see attached the Tax Invoice <?=$document['Invoice']['title']?> for your Thank you for your Purchase Order #<?=$job['Job']['customer_order_number']; ?>. 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 <?php echo $document['Invoice']['title']?> as a reference with your payment.</p> invoice number <?php echo $document['Invoice']['title']?> as a reference with your payment.</p>

View file

@ -1,6 +1,6 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br /> Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br />
<p>Thank you for your Purchase Order # <?=$job['Job']['customer_order_number']; ?>. <p>Thank you for your Purchase Order #<?=$job['Job']['customer_order_number']; ?>.</p>
<p>Should you have any questions regarding your enquiry or quotation, please reply to this email or <p>Should you have any questions regarding your enquiry or quotation, please reply to this email or

View file

@ -1,6 +1,6 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>, Dear <?php echo $enquiry['Contact']['first_name']; ?>,
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 #<?=$job['Job']['customer_order_number']; ?>. 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 <?php echo $document['Invoice']['title']?> as a reference with your payment. invoice number <?php echo $document['Invoice']['title']?> as a reference with your payment.

View file

@ -1,6 +1,6 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>, Dear <?php echo $enquiry['Contact']['first_name']; ?>,
Thank you for your Purchase Order # <?=$invoice['Job']['title']; ?>. Please find attached the Order Acknowledgement for your review. Thank you for your Purchase Order # <?=$job['Job']['customer_order_number']; ?>. Please find attached the Order Acknowledgement for your review.
Should you have any questions regarding your enquiry or quotation, please reply to this email or Should you have any questions regarding your enquiry or quotation, please reply to this email or
reference <?php echo $enquiry['Enquiry']['title']; ?> to expedite our response time. reference <?php echo $enquiry['Enquiry']['title']; ?> to expedite our response time.