Email sending works. Would like to work on sending it in the background though
This commit is contained in:
parent
1cc37a5f1e
commit
f8f59d0a39
|
|
@ -10,6 +10,7 @@ class EnquiriesController extends AppController {
|
|||
'limit' => 250,
|
||||
'order'=>array('Enquiry.id' => 'desc'));
|
||||
|
||||
var $components = array('Email');
|
||||
|
||||
function index() {
|
||||
$this->Enquiry->recursive = 0;
|
||||
|
|
@ -34,8 +35,8 @@ class EnquiriesController extends AppController {
|
|||
$countries = $this->Enquiry->Country->find('list');
|
||||
$principles = $this->Enquiry->Principle->find('list', array('order' => 'Principle.name asc'));
|
||||
$statuses = $this->Enquiry->Status->find('list');
|
||||
$user_id = $this->Auth->user('id');
|
||||
$this->set(compact('user_id','users', 'customers', 'states', 'countries', 'principles', 'statuses'));
|
||||
$users = $this->Enquiry->User->find('list', array('fields' => array('User.id', 'User.username')));
|
||||
$this->set(compact('users', 'customers', 'states', 'countries', 'principles', 'statuses'));
|
||||
|
||||
|
||||
if(empty($this->data)) {
|
||||
|
|
@ -54,8 +55,7 @@ class EnquiriesController extends AppController {
|
|||
$this->redirect(array('action'=>'add'));
|
||||
}
|
||||
$this->set('step',2);
|
||||
$user_id = $this->Auth->user('id');
|
||||
$this->set('user_id', $user_id);
|
||||
|
||||
$this->set('contacts', $contacts);
|
||||
|
||||
$customerAddresses = $this->Enquiry->BillingAddress->find('all', array('conditions'=>array('BillingAddress.customer_id' => $customer['Customer']['id'])));
|
||||
|
|
@ -189,8 +189,8 @@ class EnquiriesController extends AppController {
|
|||
}
|
||||
|
||||
if ($this->Enquiry->save($this->data)) {
|
||||
$this->Session->setFlash(__('The Enquiry has been saved', true));
|
||||
$this->redirect(array('action'=>'index'));
|
||||
$id = $this->Enquiry->id;
|
||||
$this->__sendNewEnquiryEmail($id);
|
||||
} else {
|
||||
$this->Session->setFlash(__('The Enquiry could not be saved. Please, try again.', true));
|
||||
}
|
||||
|
|
@ -211,6 +211,37 @@ class EnquiriesController extends AppController {
|
|||
}
|
||||
|
||||
|
||||
function __sendNewEnquiryEmail($id) {
|
||||
|
||||
//Setup the SMTP Options
|
||||
$this->Email->smtpOptions = array(
|
||||
'port' => '25',
|
||||
'timeout' => '15',
|
||||
'host' => '192.168.0.6');
|
||||
$this->Email->delivery = 'smtp';
|
||||
|
||||
$enquiry = $this->Enquiry->read(null, $id);
|
||||
$this->Email->to = $enquiry['Contact']['email'];
|
||||
//$this->Email->bcc = array('carpis@cmctechnologies.com.au');
|
||||
$this->Email->subject = $enquiry['Enquiry']['title'].' - Your Enquiry has been Entered in our System - CMC Technologies';
|
||||
$this->Email->replyTo = $enquiry['User']['email'];
|
||||
$this->Email->from = 'CMC Technologies - Sales <sales@cmctechnologies.com.au>';
|
||||
$this->Email->template = 'enquiry_added';
|
||||
$this->Email->sendAs = 'html';
|
||||
$this->set('enquiry', $enquiry);
|
||||
if($this->Email->send()) {
|
||||
$this->Session->setFlash(__('The Enquiry has been added and the Contact has been emailed', true));
|
||||
$this->redirect(array('action'=>'view/'.$id), null, false);
|
||||
}
|
||||
else {
|
||||
$this->Session->setFlash(__('The Enquiry has been added abut email to the contact has NOT been sent. Something went wrong.', true));
|
||||
$this->redirect(array('action'=>'view/'.$id), null, false);
|
||||
$this->set('smtp-errors', $this->Email->smtpError);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
function edit($id = null) {
|
||||
if (!$id && empty($this->data)) {
|
||||
$this->Session->setFlash(__('Invalid Enquiry', true));
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ class Contact extends AppModel {
|
|||
'email' => array(
|
||||
'rule' => array('email'),
|
||||
'message' => 'Please a valid Email Address for the Contact',
|
||||
'required' => false,
|
||||
'allowEmpty' => true
|
||||
'required' => true,
|
||||
'allowEmpty' => false
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
|||
2
tmp/cache/models/cake_model_default_acos
vendored
2
tmp/cache/models/cake_model_default_acos
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:7:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:7:"primary";}s:9:"parent_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:5:"model";a:4:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:255;}s:11:"foreign_key";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:5:"alias";a:4:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:255;}s:3:"lft";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:4:"rght";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:8:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:7:"address";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"city";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:8:"state_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"country_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:11:"customer_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:4:"type";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:8:"postcode";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:50;}}
|
||||
|
|
|
|||
2
tmp/cache/models/cake_model_default_aros
vendored
2
tmp/cache/models/cake_model_default_aros
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:7:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:7:"primary";}s:9:"parent_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:5:"model";a:4:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:255;}s:11:"foreign_key";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:5:"alias";a:4:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:255;}s:3:"lft";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:4:"rght";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:7:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:7:"primary";}s:6:"aro_id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:5:"index";}s:6:"aco_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;}s:7:"_create";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:2;}s:5:"_read";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:2;}s:7:"_update";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:2;}s:7:"_delete";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:2;}}
|
||||
|
|
|
|||
2
tmp/cache/models/cake_model_default_contacts
vendored
2
tmp/cache/models/cake_model_default_contacts
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:10:{s:11:"customer_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:10:"first_name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:9:"last_name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"email";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"phone";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:3:"fax";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"notes";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:6:"mobile";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:3:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:11:"currency_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:4:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:6:"symbol";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:5;}s:7:"iso4217";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:4:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:3:"abn";a:4:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:255;}s:7:"created";a:4:{s:4:"type";s:8:"datetime";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:16:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:7:"created";a:4:{s:4:"type";s:8:"datetime";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:5:"title";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:7:"user_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:11:"customer_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"contact_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:8:"state_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"country_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:12:"principle_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:9:"status_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:8:"comments";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"principle_code";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}s:3:"gst";a:4:{s:4:"type";s:7:"boolean";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:1;}s:18:"billing_address_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:11;}s:19:"shipping_address_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:11;}s:6:"posted";a:4:{s:4:"type";s:7:"boolean";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:1;}}
|
||||
|
|
|
|||
2
tmp/cache/models/cake_model_default_groups
vendored
2
tmp/cache/models/cake_model_default_groups
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:2:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:8:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:4:"code";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:7:"address";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"city";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"state";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:10:"country_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:11:"currency_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:5:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:10:"product_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:5:"title";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:11:"description";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:10:"cost_price";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}}
|
||||
|
|
|
|||
2
tmp/cache/models/cake_model_default_products
vendored
2
tmp/cache/models/cake_model_default_products
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:14:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:12:"principle_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:5:"title";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:11:"description";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:21:"principle_part_number";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:15:"cmc_part_number";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:14:"costprice_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"our_discount";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"packing_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:20:"shipping_weight_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:18:"shipping_cost_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"duty";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:9:"target_gp";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"sellprice_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:31:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:10:"itemnumber";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}s:6:"option";a:4:{s:4:"type";s:7:"boolean";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:1;}s:8:"quantity";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:9:"costprice";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:11:"currency_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}s:11:"ourdiscount";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:7:"packing";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"shippingweight";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"shippingcost";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"exchangerate";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"duty";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:7:"finance";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"misc";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"grosssellprice";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"grossgpdollars";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:17:"grossgppercentage";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"netgpdollars";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"netgppercent";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:8:"targetgp";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:5:"title";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:500;}s:11:"description";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:17:"total_landed_cost";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:20:"fob_countryof_export";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:8:"quote_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"product_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:8:"discount";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"discountamount";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:18:"grosssellpriceeach";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:16:"netsellpriceeach";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"netsellprice";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:23:{i:0;s:4:"acos";i:1;s:9:"addresses";i:2;s:4:"aros";i:3;s:9:"aros_acos";i:4;s:13:"cake_sessions";i:5;s:8:"contacts";i:6;s:9:"countries";i:7;s:10:"currencies";i:8;s:9:"customers";i:9;s:9:"enquiries";i:10;s:6:"groups";i:11;s:12:"job_products";i:12;s:4:"jobs";i:13;s:9:"jobstatus";i:14;s:18:"principle_contacts";i:15;s:10:"principles";i:16;s:15:"product_options";i:17;s:8:"products";i:18;s:14:"quote_products";i:19;s:6:"quotes";i:20;s:6:"states";i:21;s:8:"statuses";i:22;s:5:"users";}
|
||||
|
|
|
|||
2
tmp/cache/models/cake_model_default_quotes
vendored
2
tmp/cache/models/cake_model_default_quotes
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:11:{s:7:"created";a:4:{s:4:"type";s:8:"datetime";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:8:"modified";a:4:{s:4:"type";s:8:"datetime";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:10:"enquiry_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:50;}s:8:"revision";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"first_page";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:11:"attachments";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:13:"delivery_time";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:400;}s:13:"payment_terms";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:400;}s:10:"days_valid";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:5;}s:11:"date_issued";a:4:{s:4:"type";s:4:"date";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}}
|
||||
|
|
|
|||
2
tmp/cache/models/cake_model_default_states
vendored
2
tmp/cache/models/cake_model_default_states
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:4:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:9:"shortform";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:7:"enqform";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}}
|
||||
|
|
|
|||
2
tmp/cache/models/cake_model_default_statuses
vendored
2
tmp/cache/models/cake_model_default_statuses
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:2:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}}
|
||||
|
|
|
|||
2
tmp/cache/models/cake_model_default_users
vendored
2
tmp/cache/models/cake_model_default_users
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:8:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:8:"username";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:50;}s:8:"password";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:60;}s:10:"first_name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:9:"last_name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"email";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:9:"job_title";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:8:"group_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}}
|
||||
|
|
|
|||
2
tmp/cache/persistent/cake_core_core_paths
vendored
2
tmp/cache/persistent/cake_core_core_paths
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:10:{s:4:"libs";a:1:{i:0;s:31:"/var/www/quotenik1.2/cake/libs/";}s:5:"model";a:1:{i:0;s:37:"/var/www/quotenik1.2/cake/libs/model/";}s:8:"behavior";a:1:{i:0;s:47:"/var/www/quotenik1.2/cake/libs/model/behaviors/";}s:10:"controller";a:1:{i:0;s:42:"/var/www/quotenik1.2/cake/libs/controller/";}s:9:"component";a:1:{i:0;s:53:"/var/www/quotenik1.2/cake/libs/controller/components/";}s:4:"view";a:1:{i:0;s:36:"/var/www/quotenik1.2/cake/libs/view/";}s:6:"helper";a:1:{i:0;s:44:"/var/www/quotenik1.2/cake/libs/view/helpers/";}s:4:"cake";a:1:{i:0;s:26:"/var/www/quotenik1.2/cake/";}s:6:"vendor";a:1:{i:0;s:29:"/var/www/quotenik1.2/vendors/";}s:5:"shell";a:1:{i:0;s:39:"/var/www/quotenik1.2/cake/console/libs/";}}
|
||||
|
|
|
|||
2
tmp/cache/persistent/cake_core_default_en_us
vendored
2
tmp/cache/persistent/cake_core_default_en_us
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432092
|
||||
a:1:{s:11:"LC_MESSAGES";a:2:{s:0:"";a:1:{s:7:"default";a:0:{}}s:5:"en-us";a:1:{s:7:"default";a:0:{}}}}
|
||||
|
|
|
|||
2
tmp/cache/persistent/cake_core_dir_map
vendored
2
tmp/cache/persistent/cake_core_dir_map
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
1232432101
|
||||
a:12:{s:30:"/var/www/quotenik1.2/cake/libs";a:24:{i:0;s:30:"/var/www/quotenik1.2/cake/libs";i:1;s:41:"/var/www/quotenik1.2/cake/libs/controller";i:2;s:52:"/var/www/quotenik1.2/cake/libs/controller/components";i:3;s:36:"/var/www/quotenik1.2/cake/libs/cache";i:4;s:36:"/var/www/quotenik1.2/cake/libs/model";i:5;s:46:"/var/www/quotenik1.2/cake/libs/model/behaviors";i:6;s:48:"/var/www/quotenik1.2/cake/libs/model/datasources";i:7;s:52:"/var/www/quotenik1.2/cake/libs/model/datasources/dbo";i:8;s:35:"/var/www/quotenik1.2/cake/libs/view";i:9;s:42:"/var/www/quotenik1.2/cake/libs/view/errors";i:10;s:41:"/var/www/quotenik1.2/cake/libs/view/pages";i:11;s:44:"/var/www/quotenik1.2/cake/libs/view/elements";i:12;s:50:"/var/www/quotenik1.2/cake/libs/view/elements/email";i:13;s:55:"/var/www/quotenik1.2/cake/libs/view/elements/email/text";i:14;s:55:"/var/www/quotenik1.2/cake/libs/view/elements/email/html";i:15;s:43:"/var/www/quotenik1.2/cake/libs/view/layouts";i:16;s:47:"/var/www/quotenik1.2/cake/libs/view/layouts/xml";i:17;s:46:"/var/www/quotenik1.2/cake/libs/view/layouts/js";i:18;s:49:"/var/www/quotenik1.2/cake/libs/view/layouts/email";i:19;s:54:"/var/www/quotenik1.2/cake/libs/view/layouts/email/text";i:20;s:54:"/var/www/quotenik1.2/cake/libs/view/layouts/email/html";i:21;s:47:"/var/www/quotenik1.2/cake/libs/view/layouts/rss";i:22;s:45:"/var/www/quotenik1.2/cake/libs/view/scaffolds";i:23;s:43:"/var/www/quotenik1.2/cake/libs/view/helpers";}s:36:"/var/www/quotenik1.2/cake/libs/model";a:4:{i:0;s:36:"/var/www/quotenik1.2/cake/libs/model";i:1;s:46:"/var/www/quotenik1.2/cake/libs/model/behaviors";i:2;s:48:"/var/www/quotenik1.2/cake/libs/model/datasources";i:3;s:52:"/var/www/quotenik1.2/cake/libs/model/datasources/dbo";}s:46:"/var/www/quotenik1.2/cake/libs/model/behaviors";a:1:{i:0;s:46:"/var/www/quotenik1.2/cake/libs/model/behaviors";}s:41:"/var/www/quotenik1.2/cake/libs/controller";a:2:{i:0;s:41:"/var/www/quotenik1.2/cake/libs/controller";i:1;s:52:"/var/www/quotenik1.2/cake/libs/controller/components";}s:52:"/var/www/quotenik1.2/cake/libs/controller/components";a:1:{i:0;s:52:"/var/www/quotenik1.2/cake/libs/controller/components";}s:35:"/var/www/quotenik1.2/cake/libs/view";a:16:{i:0;s:35:"/var/www/quotenik1.2/cake/libs/view";i:1;s:42:"/var/www/quotenik1.2/cake/libs/view/errors";i:2;s:41:"/var/www/quotenik1.2/cake/libs/view/pages";i:3;s:44:"/var/www/quotenik1.2/cake/libs/view/elements";i:4;s:50:"/var/www/quotenik1.2/cake/libs/view/elements/email";i:5;s:55:"/var/www/quotenik1.2/cake/libs/view/elements/email/text";i:6;s:55:"/var/www/quotenik1.2/cake/libs/view/elements/email/html";i:7;s:43:"/var/www/quotenik1.2/cake/libs/view/layouts";i:8;s:47:"/var/www/quotenik1.2/cake/libs/view/layouts/xml";i:9;s:46:"/var/www/quotenik1.2/cake/libs/view/layouts/js";i:10;s:49:"/var/www/quotenik1.2/cake/libs/view/layouts/email";i:11;s:54:"/var/www/quotenik1.2/cake/libs/view/layouts/email/text";i:12;s:54:"/var/www/quotenik1.2/cake/libs/view/layouts/email/html";i:13;s:47:"/var/www/quotenik1.2/cake/libs/view/layouts/rss";i:14;s:45:"/var/www/quotenik1.2/cake/libs/view/scaffolds";i:15;s:43:"/var/www/quotenik1.2/cake/libs/view/helpers";}s:43:"/var/www/quotenik1.2/cake/libs/view/helpers";a:1:{i:0;s:43:"/var/www/quotenik1.2/cake/libs/view/helpers";}s:36:"/var/www/quotenik1.2/app/controllers";a:2:{i:0;s:36:"/var/www/quotenik1.2/app/controllers";i:1;s:47:"/var/www/quotenik1.2/app/controllers/components";}s:47:"/var/www/quotenik1.2/app/controllers/components";a:1:{i:0;s:47:"/var/www/quotenik1.2/app/controllers/components";}s:31:"/var/www/quotenik1.2/app/models";a:3:{i:0;s:31:"/var/www/quotenik1.2/app/models";i:1;s:41:"/var/www/quotenik1.2/app/models/behaviors";i:2;s:43:"/var/www/quotenik1.2/app/models/datasources";}s:41:"/var/www/quotenik1.2/app/models/behaviors";a:1:{i:0;s:41:"/var/www/quotenik1.2/app/models/behaviors";}s:38:"/var/www/quotenik1.2/app/views/helpers";a:1:{i:0;s:38:"/var/www/quotenik1.2/app/views/helpers";}}
|
||||
|
|
|
|||
4
tmp/cache/persistent/cake_core_file_map
vendored
4
tmp/cache/persistent/cake_core_file_map
vendored
|
|
@ -1,2 +1,2 @@
|
|||
1232425285
|
||||
a:6:{s:4:"Core";a:16:{s:6:"Router";s:41:"/var/www/quotenik1.2/cake/libs/router.php";s:9:"Component";s:55:"/var/www/quotenik1.2/cake/libs/controller/component.php";s:12:"Overloadable";s:47:"/var/www/quotenik1.2/cake/libs/overloadable.php";s:6:"Helper";s:46:"/var/www/quotenik1.2/cake/libs/view/helper.php";s:13:"ClassRegistry";s:49:"/var/www/quotenik1.2/cake/libs/class_registry.php";s:4:"View";s:44:"/var/www/quotenik1.2/cake/libs/view/view.php";s:10:"Controller";s:56:"/var/www/quotenik1.2/cake/libs/controller/controller.php";s:10:"Dispatcher";s:40:"/var/www/quotenik1.2/cake/dispatcher.php";s:17:"ConnectionManager";s:59:"/var/www/quotenik1.2/cake/libs/model/connection_manager.php";s:10:"Validation";s:45:"/var/www/quotenik1.2/cake/libs/validation.php";s:8:"Behavior";s:49:"/var/www/quotenik1.2/cake/libs/model/behavior.php";s:6:"String";s:41:"/var/www/quotenik1.2/cake/libs/string.php";s:5:"Model";s:46:"/var/www/quotenik1.2/cake/libs/model/model.php";s:4:"l10n";s:39:"/var/www/quotenik1.2/cake/libs/l10n.php";s:4:"i18n";s:39:"/var/www/quotenik1.2/cake/libs/i18n.php";s:8:"Sanitize";s:43:"/var/www/quotenik1.2/cake/libs/sanitize.php";}s:10:"Controller";a:3:{s:13:"AppController";s:60:"/var/www/quotenik1.2/cake/libs/controller/app_controller.php";s:19:"CustomersController";s:61:"/var/www/quotenik1.2/app/controllers/customers_controller.php";s:19:"EnquiriesController";s:61:"/var/www/quotenik1.2/app/controllers/enquiries_controller.php";}s:9:"Component";a:3:{s:16:"SessionComponent";s:64:"/var/www/quotenik1.2/cake/libs/controller/components/session.php";s:13:"AuthComponent";s:61:"/var/www/quotenik1.2/cake/libs/controller/components/auth.php";s:23:"RequestHandlerComponent";s:72:"/var/www/quotenik1.2/cake/libs/controller/components/request_handler.php";}s:5:"Model";a:16:{s:8:"AppModel";s:50:"/var/www/quotenik1.2/cake/libs/model/app_model.php";s:8:"Customer";s:44:"/var/www/quotenik1.2/app/models/customer.php";s:7:"Address";s:43:"/var/www/quotenik1.2/app/models/address.php";s:5:"State";s:41:"/var/www/quotenik1.2/app/models/state.php";s:7:"Enquiry";s:43:"/var/www/quotenik1.2/app/models/enquiry.php";s:4:"User";s:40:"/var/www/quotenik1.2/app/models/user.php";s:5:"Group";s:41:"/var/www/quotenik1.2/app/models/group.php";s:7:"Contact";s:43:"/var/www/quotenik1.2/app/models/contact.php";s:7:"Country";s:43:"/var/www/quotenik1.2/app/models/country.php";s:8:"Currency";s:44:"/var/www/quotenik1.2/app/models/currency.php";s:9:"Principle";s:45:"/var/www/quotenik1.2/app/models/principle.php";s:7:"Product";s:43:"/var/www/quotenik1.2/app/models/product.php";s:13:"ProductOption";s:50:"/var/www/quotenik1.2/app/models/product_option.php";s:12:"QuoteProduct";s:49:"/var/www/quotenik1.2/app/models/quote_product.php";s:5:"Quote";s:41:"/var/www/quotenik1.2/app/models/quote.php";s:6:"Status";s:42:"/var/www/quotenik1.2/app/models/status.php";}s:8:"Behavior";a:2:{s:11:"AclBehavior";s:54:"/var/www/quotenik1.2/cake/libs/model/behaviors/acl.php";s:12:"TreeBehavior";s:55:"/var/www/quotenik1.2/cake/libs/model/behaviors/tree.php";}s:6:"Helper";a:8:{s:9:"AppHelper";s:58:"/var/www/quotenik1.2/cake/libs/view/helpers/app_helper.php";s:10:"HtmlHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/html.php";s:10:"FormHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/form.php";s:10:"TimeHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/time.php";s:16:"JavascriptHelper";s:58:"/var/www/quotenik1.2/cake/libs/view/helpers/javascript.php";s:15:"PaginatorHelper";s:57:"/var/www/quotenik1.2/cake/libs/view/helpers/paginator.php";s:10:"AjaxHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/ajax.php";s:13:"SessionHelper";s:55:"/var/www/quotenik1.2/cake/libs/view/helpers/session.php";}}
|
||||
1232432101
|
||||
a:6:{s:4:"Core";a:17:{s:6:"Router";s:41:"/var/www/quotenik1.2/cake/libs/router.php";s:9:"Component";s:55:"/var/www/quotenik1.2/cake/libs/controller/component.php";s:12:"Overloadable";s:47:"/var/www/quotenik1.2/cake/libs/overloadable.php";s:6:"Helper";s:46:"/var/www/quotenik1.2/cake/libs/view/helper.php";s:13:"ClassRegistry";s:49:"/var/www/quotenik1.2/cake/libs/class_registry.php";s:4:"View";s:44:"/var/www/quotenik1.2/cake/libs/view/view.php";s:10:"Controller";s:56:"/var/www/quotenik1.2/cake/libs/controller/controller.php";s:10:"Dispatcher";s:40:"/var/www/quotenik1.2/cake/dispatcher.php";s:8:"Sanitize";s:43:"/var/www/quotenik1.2/cake/libs/sanitize.php";s:17:"ConnectionManager";s:59:"/var/www/quotenik1.2/cake/libs/model/connection_manager.php";s:9:"Multibyte";s:44:"/var/www/quotenik1.2/cake/libs/multibyte.php";s:10:"Validation";s:45:"/var/www/quotenik1.2/cake/libs/validation.php";s:8:"Behavior";s:49:"/var/www/quotenik1.2/cake/libs/model/behavior.php";s:6:"String";s:41:"/var/www/quotenik1.2/cake/libs/string.php";s:5:"Model";s:46:"/var/www/quotenik1.2/cake/libs/model/model.php";s:4:"l10n";s:39:"/var/www/quotenik1.2/cake/libs/l10n.php";s:4:"i18n";s:39:"/var/www/quotenik1.2/cake/libs/i18n.php";}s:10:"Controller";a:2:{s:13:"AppController";s:60:"/var/www/quotenik1.2/cake/libs/controller/app_controller.php";s:19:"EnquiriesController";s:61:"/var/www/quotenik1.2/app/controllers/enquiries_controller.php";}s:9:"Component";a:4:{s:16:"SessionComponent";s:64:"/var/www/quotenik1.2/cake/libs/controller/components/session.php";s:14:"EmailComponent";s:62:"/var/www/quotenik1.2/cake/libs/controller/components/email.php";s:13:"AuthComponent";s:61:"/var/www/quotenik1.2/cake/libs/controller/components/auth.php";s:23:"RequestHandlerComponent";s:72:"/var/www/quotenik1.2/cake/libs/controller/components/request_handler.php";}s:5:"Model";a:16:{s:8:"AppModel";s:50:"/var/www/quotenik1.2/cake/libs/model/app_model.php";s:7:"Enquiry";s:43:"/var/www/quotenik1.2/app/models/enquiry.php";s:4:"User";s:40:"/var/www/quotenik1.2/app/models/user.php";s:5:"Group";s:41:"/var/www/quotenik1.2/app/models/group.php";s:8:"Customer";s:44:"/var/www/quotenik1.2/app/models/customer.php";s:7:"Address";s:43:"/var/www/quotenik1.2/app/models/address.php";s:5:"State";s:41:"/var/www/quotenik1.2/app/models/state.php";s:7:"Country";s:43:"/var/www/quotenik1.2/app/models/country.php";s:8:"Currency";s:44:"/var/www/quotenik1.2/app/models/currency.php";s:9:"Principle";s:45:"/var/www/quotenik1.2/app/models/principle.php";s:7:"Product";s:43:"/var/www/quotenik1.2/app/models/product.php";s:13:"ProductOption";s:50:"/var/www/quotenik1.2/app/models/product_option.php";s:12:"QuoteProduct";s:49:"/var/www/quotenik1.2/app/models/quote_product.php";s:5:"Quote";s:41:"/var/www/quotenik1.2/app/models/quote.php";s:7:"Contact";s:43:"/var/www/quotenik1.2/app/models/contact.php";s:6:"Status";s:42:"/var/www/quotenik1.2/app/models/status.php";}s:8:"Behavior";a:2:{s:11:"AclBehavior";s:54:"/var/www/quotenik1.2/cake/libs/model/behaviors/acl.php";s:12:"TreeBehavior";s:55:"/var/www/quotenik1.2/cake/libs/model/behaviors/tree.php";}s:6:"Helper";a:8:{s:9:"AppHelper";s:58:"/var/www/quotenik1.2/cake/libs/view/helpers/app_helper.php";s:10:"HtmlHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/html.php";s:10:"FormHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/form.php";s:16:"JavascriptHelper";s:58:"/var/www/quotenik1.2/cake/libs/view/helpers/javascript.php";s:10:"TimeHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/time.php";s:10:"AjaxHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/ajax.php";s:13:"SessionHelper";s:55:"/var/www/quotenik1.2/cake/libs/view/helpers/session.php";s:15:"PaginatorHelper";s:57:"/var/www/quotenik1.2/cake/libs/view/helpers/paginator.php";}}
|
||||
|
|
|
|||
|
|
@ -506,3 +506,5 @@
|
|||
2009-01-20 14:45:43 Notice: Notice (8): Undefined variable: billing_addresses_list in [APP/views/enquiries/edit.ctp, line 14]
|
||||
2009-01-20 14:45:43 Notice: Notice (8): Undefined variable: radioOptions in [CORE/cake/libs/view/helpers/form.php, line 765]
|
||||
2009-01-20 14:45:43 Notice: Notice (8): Undefined variable: shipping_addresses_list in [APP/views/enquiries/edit.ctp, line 15]
|
||||
2009-01-20 16:59:10 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 31]
|
||||
2009-01-20 16:59:29 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 31]
|
||||
|
|
|
|||
|
|
@ -448,3 +448,4 @@
|
|||
2009-01-12 11:30:38 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 615]
|
||||
2009-01-20 14:45:16 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 897]
|
||||
2009-01-20 14:45:43 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 897]
|
||||
2009-01-20 16:59:10 Warning: Warning (512): Method FormHelper::inpput does not exist in [CORE/cake/libs/view/helper.php, line 143]
|
||||
|
|
|
|||
40
views/elements/email/html/enquiry_added.ctp
Normal file
40
views/elements/email/html/enquiry_added.ctp
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
Dear <?php echo $enquiry['Contact']['first_name']; ?>,<br /><br />
|
||||
|
||||
Thank you for your enquiry. It has been registered in our system and will be actioned for you by <?php echo $html->link($enquiry['User']['first_name'].' '.$enquiry['User']['last_name'], 'mailto:'.$enquiry['User']['email'].'?subject='.$enquiry['Enquiry']['title']); ?>.<br />
|
||||
The reference number assigned to this enquiry is: <b><?php echo $enquiry['Enquiry']['title']; ?></b><br />
|
||||
<br />
|
||||
|
||||
Depending on the nature of your request, sometimes we may need input from our manufacturers overseas. This may take up to 24 or 48 hours. <br /><br />
|
||||
|
||||
Sincerely, <br /><br />
|
||||
|
||||
CMC Technologies<br />
|
||||
|
||||
<size=-1>*****************************************************************************************</FONT><BR><FONT
|
||||
size=2><FONT color=#000099> <B>CMC Technologies Pty Limited</B> </FONT>-
|
||||
<FONT size=1>ACN: 085 991 224 , ABN: 47 085 991 224</FONT> <BR><FONT
|
||||
face="Times New Roman TUR"> Engineering & Industrial
|
||||
Instrumentation</FONT> <BR><FONT face="Times New Roman TUR"> Unit 19, 77
|
||||
Bourke Road</FONT> <BR><FONT face="Times New Roman TUR"> Alexandria, NSW,
|
||||
2015</FONT> <BR><FONT face="Times New Roman TUR"> AUSTRALIA</FONT>
|
||||
<BR><FONT face="Times New Roman TUR"> phone: +61 2 9669 4000</FONT>
|
||||
<BR><FONT face="Times New Roman TUR"> fax : +61 2
|
||||
9669 4111</FONT> <BR><FONT face="Times New Roman TUR"> web :
|
||||
<B><U><A
|
||||
href="http://www.cmctechnologies.com.au">http://www.cmctechnologies.com.au</A></U></B></FONT></FONT>
|
||||
</P>
|
||||
<P><FONT size=2><FONT face="Times New Roman TUR">Specialising in <FONT
|
||||
color=#800000>Fire and Explosion Prevention or Protection, Overpressure
|
||||
Protection</FONT>, <FONT color=#008080>Vision in the Process,</FONT><BR><FONT
|
||||
color=#0000ff>Flow Measurement,</FONT> <FONT color=#008000>Pressure -
|
||||
Differential Pressure, and Temperature - Humidity measurement/logging</FONT>,
|
||||
<FONT color=#808000>On-Line Analysers.</FONT></FONT><BR></FONT><FONT
|
||||
face="Times New Roman TUR">*****************************************************************************************</FONT><BR><FONT
|
||||
face="Times New Roman TUR" size=2>The information in this message is
|
||||
confidential and may be priveleged. If you are not the intended recipient then
|
||||
access, disclosure, <br>copying or other dissemination of the contents of this
|
||||
message is unauthorised and may be priveledged. <br>Please inform the sender
|
||||
immediately if you are not the intended addressee.<br>All correspondence is subject
|
||||
to CMC Technologies' Terms and Conditions of Sale - July 1, 2006.</FONT><br>
|
||||
*****************************************************************************************</P>
|
||||
|
||||
|
|
@ -34,7 +34,18 @@ foreach ($enquiries as $enquiry):
|
|||
else if($enquiry['Status']['id'] == 4) {
|
||||
$class = ' class="joblost"';
|
||||
}
|
||||
|
||||
else if($enquiry['Status']['id'] == 8) {
|
||||
$class = ' class="joblost"';
|
||||
}
|
||||
else if($enquiry['Status']['id'] == 9) {
|
||||
$class = ' class="joblost"';
|
||||
}
|
||||
else if($enquiry['Status']['id'] == 10) {
|
||||
$class = ' class="joblost"';
|
||||
}
|
||||
else if($enquiry['Status']['id'] == 6) {
|
||||
$class = ' class="information"';
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
else {
|
||||
//echo $form->select('Contact.id', array(), null, array('id'=>'contacts'));
|
||||
echo $form->input('Customer.name', array('readonly'=>'readonly', 'value'=>$customer['Customer']['name']));
|
||||
echo $form->input('user_id', array('label' =>'Assigned to User'), $users);
|
||||
echo $form->input('contact_id');
|
||||
echo $form->input('state_id');
|
||||
echo $form->input('country_id');
|
||||
|
|
@ -27,7 +28,7 @@
|
|||
echo $form->input('comments');
|
||||
echo $form->input('customer_id', array('type'=>'hidden', 'value' => $customer['Customer']['id']));
|
||||
echo $form->input('finished', array('type' => 'hidden', 'value' => 'true'));
|
||||
echo $form->input('user_id', array('type' => 'hidden', 'value' => $user_id));
|
||||
|
||||
echo $form->input('step', array('type'=>'hidden', 'value' => $step));
|
||||
echo $form->input('billing_address_id', array('div' => 'addressradio', 'legend' => 'Billing Address', 'options' => $billing_addresses_list, 'type' => 'radio'));
|
||||
echo $form->input('shipping_address_id', array('div' => 'addressradio','legend' => 'Shipping Address', 'options' => $shipping_addresses_list, 'type' => 'radio'));
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ table.mer tr.altrow td {
|
|||
background: #f4f4f4;
|
||||
}
|
||||
table.mer tr.joblost td {
|
||||
background: #BFBFBF;
|
||||
background: #FFC0CB;
|
||||
}
|
||||
table.mer tr.jobwon td {
|
||||
background: #FFEC35;
|
||||
|
|
|
|||
BIN
webroot/img/contact-new.png
Normal file
BIN
webroot/img/contact-new.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
webroot/img/system-users.png
Normal file
BIN
webroot/img/system-users.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
Loading…
Reference in a new issue