add frontend collection

This commit is contained in:
2015-11-04 12:33:45 +01:00
parent ed9c1e77cd
commit 48a00e4bdc
17 changed files with 370 additions and 194 deletions

View File

@@ -0,0 +1,17 @@
<div class="panel <?=$model->panelType ?>">
<div class="panel-heading"><?php echo $model->panelHeading?></div>
<div class="panel-body">
<dl class="dl-horizontal dl-totals">
<?php
foreach ($model->statistic['accounts'] as $acc ){
?>
<dt><?php echo $acc['label'] ?></dt>
<dd class="text-right"><?php echo $acc['money'] ?></dd>
<?php
}
?>
<dt><?php echo $model->totalHeading ?></dt>
<dd class="text-right"><?php echo $model->statistic['total'] ?></dd>
</dl>
</div>
</div>