Files
pmgr/site/views/monetary_sources/view.ctp
2009-06-10 21:24:05 +00:00

58 lines
1.6 KiB
PHP

<?php /* -*- mode:PHP -*- */ ?>
<div class="monetary-source view">
<?php
; // Editor alignment
/**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
* MonetarySource Detail Main Section
*/
$javascript->link(array('jquery'), false);
$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>