From c2b6ce5590427d8097eae9c6d8e5a923b17dc886 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Mon, 17 Dec 2012 23:12:53 +1100 Subject: [PATCH] Added document type email views --- views/elements/document_invoice_view.ctp | 6 +- views/elements/email/html/invoice_email.ctp | 122 ++++++++++++++++++ views/elements/email/html/orderAck_email.ctp | 122 ++++++++++++++++++ .../email/html/purchaseOrder_email.ctp | 122 ++++++++++++++++++ views/elements/email/text/invoice_email.ctp | 38 ++++++ views/elements/email/text/orderAck_email.ctp | 38 ++++++ .../email/text/purchaseOrder_email.ctp | 38 ++++++ 7 files changed, 485 insertions(+), 1 deletion(-) create mode 100755 views/elements/email/html/invoice_email.ctp create mode 100755 views/elements/email/html/orderAck_email.ctp create mode 100755 views/elements/email/html/purchaseOrder_email.ctp create mode 100755 views/elements/email/text/invoice_email.ctp create mode 100755 views/elements/email/text/orderAck_email.ctp create mode 100755 views/elements/email/text/purchaseOrder_email.ctp diff --git a/views/elements/document_invoice_view.ctp b/views/elements/document_invoice_view.ctp index 9bb3b532..ec3beeda 100755 --- a/views/elements/document_invoice_view.ctp +++ b/views/elements/document_invoice_view.ctp @@ -6,7 +6,11 @@
link('Generate PDF of this Invoice', '/documents/pdf/'.$document['Document']['id']);?> + link('Email PDF to Customer', '/documents/email_pdf/'.$document['Document']['id']);?>
+ + +
create('Document',array('type'=>'post','action'=>'edit', 'default'=>false)); @@ -35,4 +39,4 @@ - \ No newline at end of file + diff --git a/views/elements/email/html/invoice_email.ctp b/views/elements/email/html/invoice_email.ctp new file mode 100755 index 00000000..47b2bd3e --- /dev/null +++ b/views/elements/email/html/invoice_email.ctp @@ -0,0 +1,122 @@ +Dear ,

+ +

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 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 +                               +Phone: ++61 2 9669 4000
+
Alexandria, NSW, 2015 +                                 +Fax: ++61 2 9669 4111
+
AUSTRALIA                               +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

+
+
+
+
+ diff --git a/views/elements/email/html/orderAck_email.ctp b/views/elements/email/html/orderAck_email.ctp new file mode 100755 index 00000000..47b2bd3e --- /dev/null +++ b/views/elements/email/html/orderAck_email.ctp @@ -0,0 +1,122 @@ +Dear ,

+ +

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 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 +                               +Phone: ++61 2 9669 4000
+
Alexandria, NSW, 2015 +                                 +Fax: ++61 2 9669 4111
+
AUSTRALIA                               +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

+
+
+
+
+ diff --git a/views/elements/email/html/purchaseOrder_email.ctp b/views/elements/email/html/purchaseOrder_email.ctp new file mode 100755 index 00000000..47b2bd3e --- /dev/null +++ b/views/elements/email/html/purchaseOrder_email.ctp @@ -0,0 +1,122 @@ +Dear ,

+ +

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 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 +                               +Phone: ++61 2 9669 4000
+
Alexandria, NSW, 2015 +                                 +Fax: ++61 2 9669 4111
+
AUSTRALIA                               +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

+
+
+
+
+ diff --git a/views/elements/email/text/invoice_email.ctp b/views/elements/email/text/invoice_email.ctp new file mode 100755 index 00000000..163e4a26 --- /dev/null +++ b/views/elements/email/text/invoice_email.ctp @@ -0,0 +1,38 @@ +Dear , + +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 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. +***************************************************************************************** + diff --git a/views/elements/email/text/orderAck_email.ctp b/views/elements/email/text/orderAck_email.ctp new file mode 100755 index 00000000..163e4a26 --- /dev/null +++ b/views/elements/email/text/orderAck_email.ctp @@ -0,0 +1,38 @@ +Dear , + +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 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. +***************************************************************************************** + diff --git a/views/elements/email/text/purchaseOrder_email.ctp b/views/elements/email/text/purchaseOrder_email.ctp new file mode 100755 index 00000000..163e4a26 --- /dev/null +++ b/views/elements/email/text/purchaseOrder_email.ctp @@ -0,0 +1,38 @@ +Dear , + +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 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. +***************************************************************************************** +