58 lines
2.9 KiB
Plaintext
58 lines
2.9 KiB
Plaintext
|
|
<div class="principleAddresses view">
|
||
|
|
<h2><?php __('PrincipleAddress');?></h2>
|
||
|
|
<dl><?php $i = 0; $class = ' class="altrow"';?>
|
||
|
|
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
|
||
|
|
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
||
|
|
<?php echo $principleAddress['PrincipleAddress']['id']; ?>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Address'); ?></dt>
|
||
|
|
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
||
|
|
<?php echo $principleAddress['PrincipleAddress']['address']; ?>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('City'); ?></dt>
|
||
|
|
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
||
|
|
<?php echo $principleAddress['PrincipleAddress']['city']; ?>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('State'); ?></dt>
|
||
|
|
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
||
|
|
<?php echo $principleAddress['PrincipleAddress']['state']; ?>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Country'); ?></dt>
|
||
|
|
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
||
|
|
<?php echo $html->link($principleAddress['Country']['name'], array('controller'=> 'countries', 'action'=>'view', $principleAddress['Country']['id'])); ?>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Principle Id'); ?></dt>
|
||
|
|
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
||
|
|
<?php echo $principleAddress['PrincipleAddress']['principle_id']; ?>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Type'); ?></dt>
|
||
|
|
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
||
|
|
<?php echo $principleAddress['PrincipleAddress']['type']; ?>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Postcode'); ?></dt>
|
||
|
|
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
||
|
|
<?php echo $principleAddress['PrincipleAddress']['postcode']; ?>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
</div>
|
||
|
|
<div class="actions">
|
||
|
|
<ul>
|
||
|
|
<li><?php echo $html->link(__('Edit PrincipleAddress', true), array('action'=>'edit', $principleAddress['PrincipleAddress']['id'])); ?> </li>
|
||
|
|
<li><?php echo $html->link(__('Delete PrincipleAddress', true), array('action'=>'delete', $principleAddress['PrincipleAddress']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $principleAddress['PrincipleAddress']['id'])); ?> </li>
|
||
|
|
<li><?php echo $html->link(__('List PrincipleAddresses', true), array('action'=>'index')); ?> </li>
|
||
|
|
<li><?php echo $html->link(__('New PrincipleAddress', true), array('action'=>'add')); ?> </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>
|