Added primary contact column to user view

This commit is contained in:
Karl Cordes 2013-06-27 00:12:29 +10:00
parent ff47f0a413
commit ef536a285b

View file

@ -7,6 +7,7 @@
<th><?php echo __('phone');?></th>
<th><?php echo __('fax');?></th>
<th><?php echo __('notes');?></th>
<th>Primary Contact</th>
<th class="actions"><?php __('Actions');?></th>
</tr>
<?php
@ -36,7 +37,12 @@
<td>
<?php echo $principleContact['PrincipleContact']['notes']; ?>
</td>
<td class="actions">
<td>
<?php if($principleContact['PrincipleContact']['primary_contact']) {
echo "Yes";
} ?>
</td>
<td class="actions">
<button id="<?=$principleContact['PrincipleContact']['id']?>" class="ViewEditButton">View/Edit</button>
</td>
@ -44,4 +50,4 @@
<?php endforeach; ?>
</table>
<span id="userType">principle</span>
<span id="userType">principle</span>