diff --git a/site/views/ledger_entries/view.ctp b/site/views/ledger_entries/view.ctp
index f516848..ceddf47 100644
--- a/site/views/ledger_entries/view.ctp
+++ b/site/views/ledger_entries/view.ctp
@@ -97,27 +97,28 @@ echo $this->element('table',
*/
echo '
' . "\n";
-$rows = array();
foreach ($ledgers AS $type => $ledger) {
//pr($ledger);
if (!$ledger['Account']['trackable'])
continue;
- $applied_caption = "Transfers applied to {$ledger['Account']['name']} entry";
- $remaining_caption = "{$ledger['Account']['name']} entry unapplied amount";
+ $applied_caption = "Transfers applied";
+ $remaining_caption = "Unapplied amount";
+ $rows = array();
$rows[] = array($applied_caption,
FormatHelper::currency($stats[$type]['amount_reconciled']));
$rows[] = array($remaining_caption,
FormatHelper::currency($stats[$type]['amount_remaining']));
+ echo $this->element('table',
+ array('class' => 'item summary',
+ 'caption' => "{$ledger['Account']['name']} Ledger Entry",
+ 'rows' => $rows,
+ 'column_class' => array('field', 'value'),
+ //'suppress_alternate_rows' => true,
+ ));
}
-echo $this->element('table',
- array('class' => 'summary',
- 'rows' => $rows,
- 'column_class' => array('field', 'value'),
- 'suppress_alternate_rows' => true,
- ));
echo '
' . "\n";
echo ('' . "\n");
diff --git a/site/webroot/css/layout.css b/site/webroot/css/layout.css
index 41de1e0..ba93892 100644
--- a/site/webroot/css/layout.css
+++ b/site/webroot/css/layout.css
@@ -127,21 +127,26 @@ div.detail.supporting { clear : both;
div.infobox { float: right;
width: 39%;
- margin-top: 1.5em;
+ margin-top: 2.0em;
margin-right: 0.5em;
}
table.summary {
margin-left:auto;
margin-right:0.5em;
- color: #993;
+ color: #339;
font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
font-size: 125%;
text-align: right;
- margin-top: 0.5em;
- margin-bottom: 0.2em;
+ margin-bottom: 1.5em;
}
+table.summary caption {
+ font-size: 100%;
+ text-align: right;
+ margin-right: 0.6em;
+ }
+
table.summary td {
padding-left:0.5em;
}