git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605@95 97e9348a-65ac-dc4b-aefc-98561f571b83
56 lines
1.6 KiB
PHP
56 lines
1.6 KiB
PHP
<?php /* -*- mode:PHP -*- */ ?>
|
|
|
|
<div class="monetary-source view">
|
|
|
|
<?php
|
|
; // Editor alignment
|
|
|
|
/**********************************************************************
|
|
**********************************************************************
|
|
**********************************************************************
|
|
**********************************************************************
|
|
* MonetarySource Detail Main Section
|
|
*/
|
|
|
|
|
|
$type = $monetarySource['MonetaryType'];
|
|
$source = $monetarySource['MonetarySource'];
|
|
|
|
$rows = array(array('ID', $source['id']),
|
|
array('Name', $source['name']),
|
|
array('Type', $type['name']),
|
|
array('Tillable', $type['tillable'] ? 'Yes' : 'No'),
|
|
array('Comment', $source['comment']));
|
|
|
|
echo $this->element('table',
|
|
array('class' => 'item monetary-source detail',
|
|
'caption' => 'Monetary Source Detail',
|
|
'rows' => $rows,
|
|
'column_class' => array('field', 'value')));
|
|
|
|
|
|
/**********************************************************************
|
|
* MonetarySource Info Box
|
|
*/
|
|
|
|
?>
|
|
<DIV CLASS="infobox">
|
|
</DIV>
|
|
|
|
<DIV CLASS="detail supporting">
|
|
<?php
|
|
; // Editor alignment
|
|
|
|
/**********************************************************************
|
|
**********************************************************************
|
|
**********************************************************************
|
|
**********************************************************************
|
|
* Supporting Elements Section
|
|
*/
|
|
|
|
|
|
/* End "detail supporting" DIV */ ?>
|
|
</DIV>
|
|
|
|
</div>
|