fitness-web/backend/views/transfer/list.php

102 lines
1.9 KiB
PHP

<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\ListView;
use yii\base\Widget;
use common\components\RoleDefinition;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $searchModel common\models\TransferListSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t ( 'frontend/transfer', 'Daily transfers' );
$this->params ['breadcrumbs'] [] = $this->title;
?>
<style>
.dl-transfer {
margin-bottom: 0px;
}
.item-transfer {
border: 1px solid #b4b4b4;
margin-top: 12px;
padding-top: 6px;
padding-bottom: 6px;
}
td.count, td.money{
text-align: right;
}
td.name{
width: 600px;
}
.table-category-product td.name{
width: 600px;
}
.table-category-product td.count{
text-align: right;
}
.table-category-product td.money{
text-align: right;
}
.btn-all{
margin-right: 6px;
}
</style>
<div class="transfer-index">
<h1><?= Html::encode($this->title) ?></h1>
<?php echo $this->render('_search_list', ['model' => $searchModel]); ?>
<?php
if ( isset($searchModel->currentUser) ){
?>
<table class='table table-striped'>
<tr>
<th>
Felhasználó:
</th>
<td>
<?php echo $searchModel->currentUser->username?>
</td>
</tr>
</table>
<?php
}
?>
<div>
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#easy"
aria-controls="easy" role="tab" data-toggle="tab">Egyszerű összesítő</a></li>
<li role="presentation"><a href="#medium" aria-controls="medium"
role="tab" data-toggle="tab">Közepes összesítő</a></li>
<li role="presentation"><a href="#detailed" aria-controls="detailed"
role="tab" data-toggle="tab">Részletes összesítő</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<?php echo $this->render('_total_content', ['searchModel' => $searchModel]); ?>
</div>
</div>
</div>