diff --git a/controllers/enquiries_controller.php b/controllers/enquiries_controller.php index f9292adb..8ed037ea 100755 --- a/controllers/enquiries_controller.php +++ b/controllers/enquiries_controller.php @@ -8,7 +8,7 @@ class EnquiriesController extends AppController { var $paginate = array( 'contain' => false, - 'limit' => 250, + 'limit' => 150, 'order'=>array('Enquiry.id' => 'desc') ); diff --git a/views/customers/find.ctp b/views/customers/find.ctp index 4a0146f8..9ea476d1 100755 --- a/views/customers/find.ctp +++ b/views/customers/find.ctp @@ -1,28 +1,27 @@ link('findcustomer'); ?>
-element('tipbox', array('tip' => "Start typing the Company name into the box, a list of results should appear. Select the Customer you're looking for and click 'View'")); ?> -create('Customer', array('action'=>'find')); - echo '

Find Customer'; - echo $html->image('system-search.png'); - echo '

'; - echo $form->input('Customer.name', array('Label'=>'Customer Name', 'id'=>'customerName')); + create('Customer', array('action'=>'find')); + echo '

Find Customer'; + echo $html->image('system-search.png'); + echo '

'; - //echo $form->input('Customer.id', array('type'=>'hidden')); + echo $form->input('Customer.name', array('Label'=>'Customer Name', 'id'=>'customerName')); - //echo $form->end('Find'); - -?> + //echo $form->input('Customer.id', array('type'=>'hidden')); + + //echo $form->end('Find'); + + ?>
- +
- +
- +
\ No newline at end of file