39 lines
992 B
PHP
39 lines
992 B
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\grid\GridView;
|
|
use yii\widgets\ListView;
|
|
use yii\base\Widget;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $searchModel frontend\models\AccountstateSearch */
|
|
/* @var $dataProvider yii\data\ActiveDataProvider */
|
|
|
|
$this->title = Yii::t('frontend/account-state', 'Account States');
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
?>
|
|
|
|
<style>
|
|
.notes-view table thead th,
|
|
.notes-view table td{
|
|
text-align: right;
|
|
}
|
|
|
|
</style>
|
|
<div class="account-state-index">
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
<?php echo $this->render('_search', ['model' => $searchModel]); ?>
|
|
|
|
<p>
|
|
<?= Html::a(Yii::t('frontend/account-state', 'Open Account State'), ['open'], ['class' => 'btn btn-success']) ?>
|
|
<?= Html::a(Yii::t('frontend/account-state', 'Close Account State'), ['close'], ['class' => 'btn btn-success']) ?>
|
|
</p>
|
|
|
|
<?php echo ListView::widget([
|
|
'dataProvider' => $dataProvider,
|
|
'itemView' => '_item_view'
|
|
])?>
|
|
|
|
</div>
|