diff --git a/views/enquiries/do_search.ctp b/views/enquiries/do_search.ctp index 1c6ea713..b0e00b98 100644 --- a/views/enquiries/do_search.ctp +++ b/views/enquiries/do_search.ctp @@ -92,7 +92,7 @@ - link(__('View', true), array('action'=>'view', $custRes['Customer']['id'])); ?> + link(__('View', true), array('controller'=>'customers', 'action'=>'view', $custRes['Customer']['id'])); ?> @@ -117,7 +117,7 @@ link($contact['Customer']['name'], array('controller'=> 'customers', 'action'=>'view', $contact['Customer']['id'])); ?> - link(__('View', true), array('action'=>'view', $contact['Contact']['id'])); ?> + link(__('View', true), array('controller'=>'contacts', 'action'=>'view', $contact['Contact']['id'])); ?> diff --git a/views/enquiries/search.ctp b/views/enquiries/search.ctp index 8b86f738..17c70ccd 100644 --- a/views/enquiries/search.ctp +++ b/views/enquiries/search.ctp @@ -3,11 +3,11 @@
create('Enquiry', array('default'=>false)); - echo '

Quick Search'; + echo '

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

'; - - echo $form->input('Enquiry.search_string', array('Label'=>'Search for:', 'id'=>'searchString')); + echo "

Enter part of an Enquiry Number, Customer Name or Contact Name

"; + echo $form->input('Enquiry.search_string', array('label'=>'Search', 'id'=>'searchString')); //echo $form->input('Customer.id', array('type'=>'hidden'));