add reception account state view and pdf export

This commit is contained in:
2016-01-08 14:06:55 +01:00
parent da29702a79
commit e8df61f123
30 changed files with 1190 additions and 288 deletions

View File

@@ -0,0 +1,27 @@
<table class="table table-bordered table-striped table-summary">
<thead>
<tr>
<th>Bérlet típus</th>
<th>Mennyiség</th>
<th>Összeg</th>
</tr>
</thead>
<tbody>
<?php
foreach ( $model->ticketStats as $ticketStat ) {
?>
<tr>
<td class="name"><?php echo $ticketStat['ticket_type_name'] ?></td>
<td class="count"><?php echo $ticketStat['ticket_count']?> Db</td>
<td class="money"><?php echo \Yii::$app->formatter->asInteger( $ticketStat['ticket_money'])?> FT</td>
</tr>
<?php } ?>
</tbody>
</table>
<div class="row">
<div class="col-md-12 text-right" style="text-decoration: underline;">
Összesen: <?php echo \Yii::$app->formatter->asInteger( $model->ticketMoney); ?> Ft
</div>
</div>