28 lines
842 B
PHP
Executable file
28 lines
842 B
PHP
Executable file
|
|
<?php echo $javascript->link('findcustomer'); ?>
|
|
<div class="customers form">
|
|
<?php echo $this->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'")); ?>
|
|
<?php echo $form->create('Customer', array('action'=>'find'));
|
|
echo '<h2>Find Customer';
|
|
echo $html->image('system-search.png');
|
|
echo '</h2>';
|
|
|
|
echo $form->input('Customer.name', array('Label'=>'Customer Name', 'id'=>'customerName'));
|
|
|
|
//echo $form->input('Customer.id', array('type'=>'hidden'));
|
|
|
|
//echo $form->end('Find');
|
|
|
|
?>
|
|
<div class ="ui-widget">
|
|
<button id="findButton">Find Customer</button>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div id="dialog" title="Search Results">
|
|
<ul id="similarCustList">
|
|
|
|
</ul>
|
|
</div>
|