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="ledger-entry view">
<?php
; // Editor alignment
echo '<div class="ledger-entry view">' . "\n";
/**********************************************************************
**********************************************************************
@@ -12,11 +9,11 @@
* LedgerEntry Detail Main Section
*/
$transaction = $entry['Transaction'];
$debit_ledger = $entry['DebitLedger'];
$credit_ledger = $entry['CreditLedger'];
$source = $entry['MonetarySource'];
$entry = $entry['LedgerEntry'];
$transaction = $entry['Transaction'];
$debit_ledger = $entry['DebitLedger'];
$credit_ledger = $entry['CreditLedger'];
$source = $entry['MonetarySource'];
$entry = $entry['LedgerEntry'];
$rows = array(array('ID', $entry['id']),
array('Transaction', $html->link('#'.$transaction['id'],
@@ -67,13 +64,16 @@ echo $this->element('table',
* LedgerEntry Info Box
*/
?>
<DIV CLASS="infobox">
</DIV>
echo '<div class="infobox">' . "\n";
$rows = array();
echo $this->element('table',
array('class' => 'summary',
'rows' => $rows,
'column_class' => array('field', 'value'),
'suppress_alternate_rows' => true,
));
echo '</div>' . "\n";
<DIV CLASS="detail supporting">
<?php
; // Editor alignment
/**********************************************************************
**********************************************************************
@@ -82,8 +82,11 @@ echo $this->element('table',
* Supporting Elements Section
*/
echo '<div CLASS="detail supporting">' . "\n";
/* End "detail supporting" DIV */ ?>
</DIV>
</div>
/* End "detail supporting" div */
echo '</div>' . "\n";
/* End page div */
echo '</div>' . "\n";