diff --git a/controllers/customers_controller.php b/controllers/customers_controller.php
index 243c608f..16485909 100755
--- a/controllers/customers_controller.php
+++ b/controllers/customers_controller.php
@@ -30,6 +30,7 @@ class CustomersController extends AppController {
if (!empty($this->data)) {
+
if($this->Customer->saveAll($this->data, array('validate'=>'first')) ) {
$newcustomerid = $this->Customer->id;
$this->Session->setFlash(__('The Customer has been saved', true));
diff --git a/controllers/enquiries_controller.php b/controllers/enquiries_controller.php
index f0ba0001..f7d0ec86 100755
--- a/controllers/enquiries_controller.php
+++ b/controllers/enquiries_controller.php
@@ -115,7 +115,7 @@ class EnquiriesController extends AppController {
$principlecode_offset = array( 15 => 207, //ELMAC, AMAL
20 => 51, //T and B Electronic
25 => 2062, //ATEX,Brilex,Marston
- 35 => 2068, //Mid-West Instrument, DP
+ 35 => 2067, //Mid-West Instrument, DP
36 => 47, //Reading Technologies
37 => 2040, //Eldridge, Smart Measurement, Alia
65 => 2212, //Papenmeier, Herberts Industrieglas
diff --git a/views/contacts/add.ctp b/views/contacts/add.ctp
index 01b885b2..bb0f14fa 100755
--- a/views/contacts/add.ctp
+++ b/views/contacts/add.ctp
@@ -9,6 +9,7 @@
echo $form->input('last_name');
echo $form->input('email');
echo $form->input('phone');
+ echo $form->input('mobile');
echo $form->input('fax');
echo $form->input('notes');
?>
diff --git a/views/contacts/add_to_customer.ctp b/views/contacts/add_to_customer.ctp
index 64b768bd..3e10813c 100755
--- a/views/contacts/add_to_customer.ctp
+++ b/views/contacts/add_to_customer.ctp
@@ -8,6 +8,7 @@
echo $form->input('last_name', array('label' => 'Last Name', 'title'=>'The last name of this Contact'));
echo $form->input('email');
echo $form->input('phone');
+ echo $form->input('mobile');
echo $form->input('fax');
echo $form->input('notes');
?>
diff --git a/views/customers/add.ctp b/views/customers/add.ctp
index 072cd140..55e599bf 100755
--- a/views/customers/add.ctp
+++ b/views/customers/add.ctp
@@ -12,16 +12,18 @@
echo $form->input('Contact.0.last_name');
echo $form->input('Contact.0.email');
echo $form->input('Contact.0.phone');
+ echo $form->input('Contact.0.mobile');
echo $form->input('Contact.0.fax');
echo $form->input('Contact.0.notes');
- echo '
Add an Address for this Customer';
+ */
+ /*echo '
Add an Address for this Customer';
echo $form->input('Address.0.name', array('label'=>'Short Name', 'title' => 'Short Name for this Address. eg. \'Head Quarters\', \'Manufacturing Plant No 7\' '));
echo $form->input('Address.0.address');
echo $form->input('Address.0.city');
echo $form->input('Address.0.state_id');
echo $form->input('Address.0.country_id');
echo $form->input('Address.0.type', array('label' => 'Address Type (Billing,Shipping or Both)', 'options' => array('Billing','Shipping', 'Both Shipping and Billing')));
- */
+ */
echo $form->end('Submit');
?>
@@ -38,3 +40,4 @@