add frontend collection
This commit is contained in:
17
common/views/common/_account_total.php
Normal file
17
common/views/common/_account_total.php
Normal 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>
|
||||
Reference in New Issue
Block a user