Add transfer and account_state today view to reception
This commit is contained in:
32
frontend/views/transfer/today.php
Normal file
32
frontend/views/transfer/today.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
use yii\helpers\Html;
|
||||
use yii\grid\GridView;
|
||||
use yii\widgets\ListView;
|
||||
use yii\base\Widget;
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $searchModel common\models\TransferSearch */
|
||||
/* @var $dataProvider yii\data\ActiveDataProvider */
|
||||
$this->title = Yii::t('frontend/transfer', '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;
|
||||
}
|
||||
</style>
|
||||
<div class="transfer-index">
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
<?php echo $this->render('_search_today', ['model' => $searchModel]); ?>
|
||||
<?php echo ListView::widget([
|
||||
'dataProvider' => $dataProvider,
|
||||
'itemView' => '_view' ,
|
||||
'itemOptions' => ['class' => 'item-transfer']
|
||||
] )
|
||||
?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user