add reception account transfer/mixed
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<h3>Pénzmozgások</h3>
|
||||
<table class="table table-bordered table-striped table-summary">
|
||||
<table class="table table-bordered table-striped table-summary table-money-movements-detailed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Dátum</th>
|
||||
@@ -7,20 +6,20 @@
|
||||
<th>Felhasználó</th>
|
||||
<th>Név</th>
|
||||
<th>Típus</th>
|
||||
<th>Összeg</th>
|
||||
<th>Megjegyzés</th>
|
||||
<th>Összeg</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($model->moneyMovements as $p ){?>
|
||||
<tr>
|
||||
<td><?php echo $p['money_movement_created_at']?> </td>
|
||||
<td><?php echo $p['account_name']?> </td>
|
||||
<td><?php echo $p['user_name']?> </td>
|
||||
<td><?php echo $p['money_movement_name'] ?></td>
|
||||
<td><?php echo $p['money_movement_type_name'] ?></td>
|
||||
<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>
|
||||
<td><?php echo $p['money_movement_comment'] ?></td>
|
||||
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<table class="table table-bordered table-striped table-summary">
|
||||
<table class="table table-bordered table-striped table-summary total-medium-ticket">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Bérlet típus</th>
|
||||
|
||||
37
common/views/total/total_product_by_category.php
Normal file
37
common/views/total/total_product_by_category.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
$categories = $model->productMoneies;
|
||||
|
||||
?>
|
||||
|
||||
<table
|
||||
class="table table-bordered table-striped table-summary total-product-by-category">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Kategória</th>
|
||||
<th>Mennyiség</th>
|
||||
<th>Összeg</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ( $categories as $p){?>
|
||||
|
||||
<tr>
|
||||
<td class='name'><?php echo $p['category_name'] ?></td>
|
||||
<td class='count'><?php echo $p['category_count'] ?> Db</td>
|
||||
<td class='money'><?php echo \Yii::$app->formatter->asInteger( $p['product_money'])?> FT</td>
|
||||
</tr>
|
||||
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php
|
||||
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-right" style="text-decoration: underline;">
|
||||
Összesen:
|
||||
<?php
|
||||
echo \Yii::$app->formatter->asInteger( $model->productsByCategory ['total']);
|
||||
?> Ft
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user