2009-01-12 21:13:18 -08:00
|
|
|
<div class="customers form">
|
|
|
|
|
<?php echo $form->create('Customer');?>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<legend><?php __('Edit Customer');?></legend>
|
|
|
|
|
<?php
|
|
|
|
|
echo $form->input('id');
|
|
|
|
|
echo $form->input('name');
|
|
|
|
|
echo $form->input('abn');
|
2009-02-03 21:28:46 -08:00
|
|
|
echo $this->element('payment_terms_box');
|
|
|
|
|
echo $form->input('discount_pricing_policies', array('label'=>'Discount and Pricing Policies'));
|
2009-02-02 19:01:34 -08:00
|
|
|
echo $form->input('notes');
|
2009-02-11 20:02:05 -08:00
|
|
|
echo '<div class="input select">';
|
|
|
|
|
echo $form->label('Customer.customer_category_id', 'Customer Category');
|
2009-02-26 16:58:33 -08:00
|
|
|
echo $form->select('customer_category_id', $customer_categories, $this->data['Customer']['customer_category_id'], array('label'=>'Customer Category'), false);
|
2009-02-11 20:02:05 -08:00
|
|
|
echo '</div>';
|
2009-07-06 19:11:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $form->input('Industry.Industry', array('multiple'=>'checkbox', 'showParents'=>false, 'options' => $industries));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
2009-01-12 21:13:18 -08:00
|
|
|
</fieldset>
|
|
|
|
|
<?php echo $form->end('Submit');?>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="actions">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><?php echo $html->link(__('List Customers', true), array('action'=>'index'));?></li>
|
|
|
|
|
<li><?php echo $html->link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?> </li>
|
|
|
|
|
<li><?php echo $html->link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?> </li>
|
|
|
|
|
<li><?php echo $html->link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?> </li>
|
|
|
|
|
<li><?php echo $html->link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?> </li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2009-07-06 19:11:10 -07:00
|
|
|
|