Fixed principle address table. Closes #59

This commit is contained in:
Karl Cordes 2013-03-29 19:08:08 +11:00
parent 58d473729e
commit c2ef8ce55e

View file

@ -57,7 +57,8 @@
<div class="related"> <div class="related">
<h3><?php __('Addresses');?> <?php echo $html->image('x-office-address-book.png'); ?></h3> <h3><?php __('Addresses');?> <?php echo $html->image('x-office-address-book.png'); ?></h3>
<?php if (!empty($principle['PrincipleAddress'])):?> <?php if (!empty($addresses)):?>
<? echo $this->element('principle_address_table', $addresses); ?> <? echo $this->element('principle_address_table', $addresses); ?>
<?php endif; ?> <?php endif; ?>
<div class="actions"> <div class="actions">
@ -129,4 +130,4 @@
<span class="principle_id" id="<?=$principle['Principle']['id'];?>"></span> <span class="principle_id" id="<?=$principle['Principle']['id'];?>"></span>
<?php debug($principle); ?> <?php debug($principle); ?>