74 lines
1.8 KiB
PHP
74 lines
1.8 KiB
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $searchModel backend\models\TransferSearch */
|
|
/* @var $dataProvider yii\data\ActiveDataProvider */
|
|
|
|
$this->title = Yii::t('frontend/transfer', 'Transfers Summary');
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
?>
|
|
<style>
|
|
.table-summary th
|
|
{
|
|
width: 200px;
|
|
}
|
|
</style>
|
|
|
|
<div class="transfer-index">
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
<?php echo $this->render('_search_summary', ['model' => $searchModel, 'accounts' => $accounts,'users' => $users,]); ?>
|
|
|
|
|
|
|
|
<h2>Bérletek összesen</h2>
|
|
<table class="table-bordered table-striped table-summary">
|
|
<tbody>
|
|
<tr>
|
|
<th >Bérletek</th>
|
|
<td><?php echo $searchModel->ticketMoney?> FT</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2>Termékek összesen</h2>
|
|
<table class="table-bordered table-striped table-summary">
|
|
<thead>
|
|
<tr>
|
|
<th>Termék kategória</th>
|
|
<th>Összeg</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<?php
|
|
foreach ($searchModel->productMoneies as $pm ){
|
|
?>
|
|
<th ><?php echo $pm['category_name'] ?></th>
|
|
<td><?php echo $pm['product_money']?> FT</td>
|
|
<?php } ?>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2>Pénzmozgások összesen</h2>
|
|
<table class="table-bordered table-striped table-summary">
|
|
<tbody>
|
|
<tr>
|
|
<th >Pénzmozgások</th>
|
|
<td><?php echo $searchModel->moneyMovementMoneis['money_movement_money']?> FT</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2>Bevétel összesen</h2>
|
|
<table class="table-bordered table-striped table-summary">
|
|
<tbody>
|
|
<tr>
|
|
<th >Bérletek</th>
|
|
<td><span style='border-bottom: 1px solid black'><?php echo $searchModel->total?> FT</span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|