git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605/site@77 97e9348a-65ac-dc4b-aefc-98561f571b83
80 lines
2.2 KiB
PHP
80 lines
2.2 KiB
PHP
<?php /* -*- mode:PHP -*- */ ?>
|
|
|
|
<div class="customer view">
|
|
|
|
<?php
|
|
; // Editor alignment
|
|
|
|
/**********************************************************************
|
|
**********************************************************************
|
|
**********************************************************************
|
|
**********************************************************************
|
|
* Customer Detail Main Section
|
|
*/
|
|
|
|
$rows = array(array('Name', $customer['Customer']['name']),
|
|
array('Comment', $customer['Customer']['comment']));
|
|
|
|
echo $this->element('table',
|
|
array('class' => 'item customer detail',
|
|
'caption' => 'Tenant Info',
|
|
'rows' => $rows,
|
|
'column_class' => array('field', 'value')));
|
|
|
|
|
|
/**********************************************************************
|
|
* Customer Info Box
|
|
*/
|
|
|
|
?>
|
|
<DIV CLASS="infobox">
|
|
<DIV CLASS="summary grand deposit">
|
|
Security Deposit: <?php echo FormatHelper::currency($outstandingDeposit); ?>
|
|
</DIV>
|
|
<DIV CLASS="summary grand balance">
|
|
Balance: <?php echo FormatHelper::currency($outstandingBalance); ?>
|
|
</DIV>
|
|
</DIV>
|
|
|
|
<DIV CLASS="detail supporting">
|
|
<?php
|
|
; // Editor alignment
|
|
|
|
/**********************************************************************
|
|
**********************************************************************
|
|
**********************************************************************
|
|
**********************************************************************
|
|
* Supporting Elements Section
|
|
*/
|
|
|
|
|
|
/**********************************************************************
|
|
* Contacts
|
|
*/
|
|
echo $this->element('contacts',
|
|
array('caption' => 'Customer Contacts',
|
|
'contacts' => $customer['Contact']));
|
|
|
|
|
|
/**********************************************************************
|
|
* Lease History
|
|
*/
|
|
echo $this->element('leases',
|
|
array('caption' => 'Lease History',
|
|
'leases' => $customer['Lease']));
|
|
|
|
|
|
/**********************************************************************
|
|
* Account
|
|
*/
|
|
|
|
echo $this->element('accounts',
|
|
array('caption' => 'Account',
|
|
'accounts' => array($customer['Account'])));
|
|
|
|
|
|
/* End "detail supporting" DIV */ ?>
|
|
</DIV>
|
|
|
|
</div>
|