28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
|
|
<div class="principleAddresses form">
|
||
|
|
<?php echo $form->create('PrincipleAddress');?>
|
||
|
|
<fieldset>
|
||
|
|
<legend><?php __('Add Address to Principle: '.$principle['Principle']['name']);?></legend>
|
||
|
|
<?php
|
||
|
|
echo $form->input('principle_id', array('type'=>'hidden', 'value'=>$principle['Principle']['id']));
|
||
|
|
echo $form->input('address');
|
||
|
|
echo $form->input('city');
|
||
|
|
echo $form->input('state');
|
||
|
|
echo $form->input('postcode');
|
||
|
|
echo $form->input('country_id');
|
||
|
|
|
||
|
|
echo $form->input('type', array('label' => 'Address Type (Billing,Shipping or Both)', 'options' => array('Billing','Shipping', 'Both Shipping and Billing', 'Other')));
|
||
|
|
|
||
|
|
?>
|
||
|
|
</fieldset>
|
||
|
|
<?php echo $form->end('Submit');?>
|
||
|
|
</div>
|
||
|
|
<div class="actions">
|
||
|
|
<ul>
|
||
|
|
<li><?php echo $html->link(__('List PrincipleAddresses', true), array('action'=>'index'));?></li>
|
||
|
|
<li><?php echo $html->link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?> </li>
|
||
|
|
<li><?php echo $html->link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?> </li>
|
||
|
|
<li><?php echo $html->link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?> </li>
|
||
|
|
<li><?php echo $html->link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?> </li>
|
||
|
|
</ul>
|
||
|
|
</div>
|