Updated all the view.ctp files to use the new style infobox. I should probably create an element for it, but I'll hold off for now.

git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605@135 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-15 21:01:22 +00:00
parent 543e2daa43
commit 23f4a29fc7
9 changed files with 207 additions and 221 deletions

View File

@@ -1,9 +1,6 @@
<?php /* -*- mode:PHP -*- */ ?>
<?php /* -*- mode:PHP -*- */
<div class="lease view">
<?php
; // Editor alignment
echo '<div class="lease view">' . "\n";
/**********************************************************************
**********************************************************************
@@ -12,10 +9,10 @@
* Lease Detail Main Section
*/
$lease_type = $lease['LeaseType'];
$customer = $lease['Customer'];
$account = $lease['Account'];
$unit = $lease['Unit'];
$lease_type = $lease['LeaseType'];
$customer = $lease['Customer'];
$account = $lease['Account'];
$unit = $lease['Unit'];
if (isset($lease['Lease']))
$lease = $lease['Lease'];
@@ -59,20 +56,18 @@ echo $this->element('table',
* Account Info Box
*/
?>
echo '<div class="infobox">' . "\n";
$rows = array();
$rows[] = array('Security Deposit:', FormatHelper::currency($outstandingDeposit));
$rows[] = array('Balance:', FormatHelper::currency($outstandingBalance));
echo $this->element('table',
array('class' => 'summary',
'rows' => $rows,
'column_class' => array('field', 'value'),
'suppress_alternate_rows' => true,
));
echo '</div>' . "\n";
<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
/**********************************************************************
**********************************************************************
@@ -81,9 +76,11 @@ echo $this->element('table',
* Supporting Elements Section
*/
/* End "detail supporting" DIV */ ?>
</DIV>
echo '<div CLASS="detail supporting">' . "\n";
</div>
/* End "detail supporting" div */
echo '</div>' . "\n";
/* End page div */
echo '</div>' . "\n";