Added document type email views

This commit is contained in:
Karl Cordes 2012-12-17 23:12:53 +11:00
parent e23f20548f
commit c2b6ce5590
7 changed files with 485 additions and 1 deletions

View file

@ -6,7 +6,11 @@
<div class="docButtons">
<button id="paymentReceived">Enter Payment Received</button>
<?=$html->link('Generate PDF of this Invoice', '/documents/pdf/'.$document['Document']['id']);?>
<?=$html->link('Email PDF to Customer', '/documents/email_pdf/'.$document['Document']['id']);?>
</div>
<div id="invoiceDetails" class="documentDetails">
<fieldset>
<? echo $form->create('Document',array('type'=>'post','action'=>'edit', 'default'=>false));

View file

@ -0,0 +1,122 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br />
<p>Thank you for your enquiry. Please see attached for our quotation as well as the product catalogue/s for
your review.</p>
<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>
Sincerely, <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 &amp; 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;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>Phone:</b>
+61 2 9669 4000<span style="font-size: 10pt;"><br>
</span>Alexandria, NSW, 2015<span style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>Fax:
</b>+61 2 9669 4111<span style="font-size: 10pt;"><br>
</span>AUSTRALIA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<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;">&nbsp;<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>

View file

@ -0,0 +1,122 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br />
<p>Thank you for your enquiry. Please see attached for our quotation as well as the product catalogue/s for
your review.</p>
<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>
Sincerely, <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 &amp; 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;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>Phone:</b>
+61 2 9669 4000<span style="font-size: 10pt;"><br>
</span>Alexandria, NSW, 2015<span style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>Fax:
</b>+61 2 9669 4111<span style="font-size: 10pt;"><br>
</span>AUSTRALIA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<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;">&nbsp;<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>

View file

@ -0,0 +1,122 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br />
<p>Thank you for your enquiry. Please see attached for our quotation as well as the product catalogue/s for
your review.</p>
<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>
Sincerely, <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 &amp; 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;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>Phone:</b>
+61 2 9669 4000<span style="font-size: 10pt;"><br>
</span>Alexandria, NSW, 2015<span style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b>Fax:
</b>+61 2 9669 4111<span style="font-size: 10pt;"><br>
</span>AUSTRALIA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<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;">&nbsp;<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>

View file

@ -0,0 +1,38 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>,
Thank you for your enquiry. Please see attached for our quotation as well as the product catalogue/s 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.
Sincerely,
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.
*****************************************************************************************

View file

@ -0,0 +1,38 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>,
Thank you for your enquiry. Please see attached for our quotation as well as the product catalogue/s 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.
Sincerely,
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.
*****************************************************************************************

View file

@ -0,0 +1,38 @@
Dear <?php echo $enquiry['Contact']['first_name']; ?>,
Thank you for your enquiry. Please see attached for our quotation as well as the product catalogue/s 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.
Sincerely,
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.
*****************************************************************************************