fitness-web/common/views/total/total_detailed_money_movement.php

42 lines
1.4 KiB
PHP

<table class="table table-bordered table-striped table-summary table-money-movements-detailed">
<thead>
<tr>
<th>Dátum</th>
<th>Kassza</th>
<th>Felhasználó</th>
<th>Név</th>
<th>Típus</th>
<th>Megjegyzés</th>
<th>Összeg</th>
</tr>
</thead>
<tbody>
<?php foreach ($model->moneyMovements as $p ){?>
<tr>
<td class="created-at"><?php echo $p['money_movement_created_at']?> </td>
<td class="account"><?php echo $p['account_name']?> </td>
<td class="username"><?php echo $p['user_name']?> </td>
<td class="name"><?php echo $p['money_movement_name'] ?></td>
<td class="type"><?php echo $p['money_movement_type_name'] ?></td>
<td class="comment"><?php echo $p['money_movement_comment'] ?></td>
<td class='money'><?php echo \Yii::$app->formatter->asInteger( $p['signed_money'])?> Ft</td>
</tr>
<?php } ?>
</tbody>
</table>
<?php if ( count($model->moneyMovements ) == 0 ) {
?>
Nincs találat
<?php
}else{?>
<div class="row">
<div class="col-md-12 text-right" style="text-decoration: underline;">
Összesen: <?php echo \Yii::$app->formatter->asInteger( $model->moneyMovementMoneis); ?> Ft
</div>
</div>
<?php
}
?>