add transfer#list pdf download, fix helper#fixascii function
This commit is contained in:
66
backend/views/transfer/list_user_grouped.php
Normal file
66
backend/views/transfer/list_user_grouped.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
use yii\helpers\Html;
|
||||
use yii\grid\GridView;
|
||||
use yii\widgets\ListView;
|
||||
use yii\base\Widget;
|
||||
use common\components\RoleDefinition;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $searchModel backend\models\TransferListUserGroupedSearch */
|
||||
/* @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;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="transfer-index">
|
||||
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
<?php echo $this->render('_search_list_user_grouped', ['model' => $searchModel]); ?>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
foreach ($searchModel->ticketMoneyByUser as $user){
|
||||
echo "<h3>".$user['username']."</h3>";
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user