From 3af9f1a79934153a52fe82df4412f0845904f084 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Sun, 1 May 2016 13:20:44 +1000 Subject: [PATCH] I forgot how to do PHP apparently. --- app/controllers/documents_controller.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/documents_controller.php b/app/controllers/documents_controller.php index 426fe153..7c0a366b 100755 --- a/app/controllers/documents_controller.php +++ b/app/controllers/documents_controller.php @@ -673,18 +673,18 @@ class DocumentsController extends AppController { switch($docType) { case 'quote': - $subject .= " Quotation" + $subject .= " Quotation"; break; case 'invoice': $subject .= " Invoice" $this->set('invoice', $this->Document->Invoice->find('first', array('conditions'=>array('Invoice.id'=>$document['Invoice']['id'])))); break; case 'purchaseOrder': - $subject .= " Purchase Order" + $subject .= " Purchase Order"; $this->set('job', $this->Document->PurchaseOrder->Job->find('first', array('conditions'=>array('Job.id'=>$document['OrderAcknowledgement']['job_id'])))); break; case 'orderAck': - $subject .= " Order Acknowledgement" + $subject .= " Order Acknowledgement"; $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';