Added signature required OrderAck email templates
This commit is contained in:
parent
29f5206f93
commit
44179469d8
|
|
@ -669,6 +669,8 @@ class DocumentsController extends AppController {
|
|||
|
||||
$docType = $this->Document->getDocType($document);
|
||||
|
||||
$template = $docType.'_email';
|
||||
|
||||
switch($docType) {
|
||||
case 'quote':
|
||||
break;
|
||||
|
|
@ -680,10 +682,12 @@ class DocumentsController extends AppController {
|
|||
break;
|
||||
case 'orderAck':
|
||||
$this->set('job', $this->Document->OrderAcknowledgement->Job->find('first', array('conditions'=>array('Job.id'=>$document['OrderAcknowledgement']['job_id']))));
|
||||
if ($document['OrderAcknowledgement']['signature_required']) {
|
||||
$template = 'OrderAck_email_signature_required';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$template = $docType.'_email';
|
||||
$this->Email->template = $template;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br />
|
||||
|
||||
<p>Thank you for your Purchase Order # <?=$invoice['Job']['title']; ?>. Please find attached the Order Acknowledgement for your
|
||||
review. Once you have reviewed it, please send us a signed and dated copy so we can proceed with your
|
||||
order.
|
||||
<p>Thank you for your Purchase Order # <?=$invoice['Job']['title']; ?>.
|
||||
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
Thank you very much, looking forward to your reply, <br /><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
CMC Technologies<br />
|
||||
|
|
|
|||
123
app/views/elements/email/html/orderAck_signature_required_email.ctp
Executable file
123
app/views/elements/email/html/orderAck_signature_required_email.ctp
Executable file
|
|
@ -0,0 +1,123 @@
|
|||
Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br />
|
||||
|
||||
<p>Thank you for your Purchase Order # <?=$invoice['Job']['title']; ?>. Please find attached the Order Acknowledgement for your
|
||||
review. Once you have reviewed it, please send us a signed and dated copy so we can proceed with your
|
||||
order.
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
Thank you very much, looking forward to your reply, <br /><br />
|
||||
|
||||
|
||||
CMC Technologies<br />
|
||||
|
||||
<!--[if !mso]>
|
||||
<style>
|
||||
v\:* {behavior:url(#default#VML);}
|
||||
o\:* {behavior:url(#default#VML);}
|
||||
w\:* {behavior:url(#default#VML);}
|
||||
.shape {behavior:url(#default#VML);}
|
||||
</style>
|
||||
<![endif]-->
|
||||
<style>
|
||||
<!--
|
||||
/* Font Definitions */
|
||||
@font-face
|
||||
{font-family:Calibri;
|
||||
panose-1:2 15 5 2 2 2 4 3 2 4;}
|
||||
@font-face
|
||||
{font-family:"Rage Italic";
|
||||
panose-1:3 7 5 2 4 5 7 7 3 4;}
|
||||
/* Style Definitions */
|
||||
p.MsoNormal, li.MsoNormal, div.MsoNormal
|
||||
{margin:0cm;
|
||||
margin-bottom:.0001pt;
|
||||
font-size:11.0pt;
|
||||
font-family:"Calibri","sans-serif";}
|
||||
a:link, span.MsoHyperlink
|
||||
{mso-style-priority:99;
|
||||
color:blue;
|
||||
text-decoration:underline;}
|
||||
a:visited, span.MsoHyperlinkFollowed
|
||||
{mso-style-priority:99;
|
||||
color:purple;
|
||||
text-decoration:underline;}
|
||||
span.EmailStyle17
|
||||
{mso-style-type:personal-compose;
|
||||
font-family:"Calibri","sans-serif";
|
||||
color:windowtext;}
|
||||
.MsoChpDefault
|
||||
{mso-style-type:export-only;}
|
||||
@page Section1
|
||||
{size:612.0pt 792.0pt;
|
||||
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
|
||||
div.Section1
|
||||
{page:Section1;}
|
||||
-->
|
||||
</style><!--[if gte mso 9]><xml>
|
||||
<o:shapedefaults v:ext="edit" spidmax="1026" />
|
||||
</xml><![endif]--><!--[if gte mso 9]><xml>
|
||||
<o:shapelayout v:ext="edit">
|
||||
<o:idmap v:ext="edit" data="1" />
|
||||
</o:shapelayout></xml><![endif]-->
|
||||
<div>
|
||||
<div class="MsoNormal"><span style="font-size: 10pt;">
|
||||
<hr style="color: gray;" align="left" noshade="noshade" size="2"
|
||||
width="100%"></span></div>
|
||||
</div>
|
||||
<p class="MsoNormal"><b><span style="color: rgb(0, 0, 153);">CMC
|
||||
Technologies Pty Limited</span></b><span style="color: rgb(0, 0, 153);">
|
||||
</span><span style="font-size: 10pt;">- </span><span
|
||||
style="font-size: 7.5pt;">ACN: 085 991 224 , ABN: 47 085 991 224</span><span
|
||||
style="font-size: 10pt;"> <br>
|
||||
</span><span style="font-size: 10pt;">Engineering & Industrial
|
||||
Instrumentation</span><span style="font-size: 9pt;"> </span><span
|
||||
style="font-size: 10pt;"><br>
|
||||
<br>
|
||||
</span><o:p></o:p></p>
|
||||
<p class="MsoNormal">Unit 19, 77 Bourke Road<span
|
||||
style="font-size: 10pt;">
|
||||
|
||||
</span><b>Phone:</b>
|
||||
+61 2 9669 4000<span style="font-size: 10pt;"><br>
|
||||
</span>Alexandria, NSW, 2015<span style="font-size: 10pt;">
|
||||
|
||||
</span><b>Fax:
|
||||
</b>+61 2 9669 4111<span style="font-size: 10pt;"><br>
|
||||
</span>AUSTRALIA
|
||||
<b>Web:</b>
|
||||
<a href="http://www.cmctechnologies.com.au/"><b><span
|
||||
style="color: blue;">http://www.cmctechnologies.com.au</span></b></a><o:p></o:p></p>
|
||||
<p class="MsoNormal"><span style="font-size: 10pt;"> <o:p></o:p></span></p>
|
||||
<p class="MsoNormal">Specialising in <span
|
||||
style="color: rgb(148, 54, 52);">Fire and
|
||||
Explosion Prevention or Protection, Overpressure Protection</span>, <span
|
||||
style="color: rgb(49, 132, 155);">Vision in the Process</span><span
|
||||
style="color: teal;">, </span><span style="color: rgb(54, 95, 145);">Flow
|
||||
Measurement</span><span style="color: rgb(0, 176, 80);">,
|
||||
Pressure - Differential Pressure, and Temperature - Humidity
|
||||
Measurement/logging</span>, <span style="color: rgb(148, 138, 84);">On-Line
|
||||
Analysers</span><span style="font-size: 10pt;"><o:p></o:p></span></p>
|
||||
<div>
|
||||
<div class="MsoNormal"><span style="font-size: 10pt;">
|
||||
<hr style="color: gray;" align="left" noshade="noshade" size="2"
|
||||
width="100%"></span></div>
|
||||
</div>
|
||||
<p class="MsoNormal" style="margin-top: 6pt;"><span
|
||||
style="font-size: 10pt;">The
|
||||
information in this message is confidential and may be priveleged. If
|
||||
you are
|
||||
not the intended recipient then access, disclosure, copying or other
|
||||
dissemination of the contents of this message is unauthorised and may
|
||||
be
|
||||
priveledged. Please inform the sender immediately if you are not the
|
||||
intended
|
||||
addressee.All correspondence is subject to CMC Technologies' Terms and
|
||||
Conditions of Sale - July 1, 2006</span><span style="font-size: 8pt;"><o:p></o:p></span></p>
|
||||
<div>
|
||||
<div class="MsoNormal"><span style="font-size: 10pt;">
|
||||
<hr style="color: gray;" align="left" noshade="noshade" size="2"
|
||||
width="100%"></span></div>
|
||||
</div>
|
||||
|
||||
|
|
@ -1,13 +1,10 @@
|
|||
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. Once you have reviewed it, please send us a signed and dated copy so we can proceed with your
|
||||
order.
|
||||
Thank you for your Purchase Order # <?=$invoice['Job']['title']; ?>. 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
|
||||
reference <?php echo $enquiry['Enquiry']['title']; ?> to expedite our response time.
|
||||
|
||||
Thank you very much, looking forward to your reply,
|
||||
|
||||
|
||||
CMC Technologies
|
||||
|
|
|
|||
36
app/views/elements/email/text/orderAck_signature_required_email.ctp
Executable file
36
app/views/elements/email/text/orderAck_signature_required_email.ctp
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
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. Once you have reviewed it, please send us a signed and dated copy so we can proceed with your
|
||||
order.
|
||||
|
||||
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.
|
||||
|
||||
Thank you very much, looking forward to your reply,
|
||||
|
||||
|
||||
CMC Technologies
|
||||
|
||||
*****************************************************************************************
|
||||
CMC Technologies Pty Limited
|
||||
ACN: 085 991 224 , ABN: 47 085 991 224
|
||||
Engineering & Industrial Instrumentation
|
||||
Unit 19, 77 Bourke Road
|
||||
Alexandria, NSW, 2015
|
||||
AUSTRALIA
|
||||
phone: +61 2 9669 4000
|
||||
fax:+61 2 9669 4111
|
||||
web: http://www.cmctechnologies.com.au
|
||||
Specialising in Fire and Explosion Prevention or Protection, Overpressure
|
||||
Protection, Vision in the Process, Flow Measurement, Pressure - Differential Pressure, and Temperature - Humidity measurement/logging
|
||||
On-Line Analysers.
|
||||
*****************************************************************************************
|
||||
The information in this message is
|
||||
confidential and may be priveleged. If you are not the intended recipient then
|
||||
access, disclosure, copying or other dissemination of the contents of this
|
||||
message is unauthorised and may be priveledged. Please inform the sender
|
||||
immediately if you are not the intended addressee.All correspondence is subject
|
||||
to CMC Technologies' Terms and Conditions of Sale - July 1, 2006.
|
||||
*****************************************************************************************
|
||||
|
||||
Loading…
Reference in a new issue