fitness-web/frontend/views/account-state/close.php

30 lines
781 B
PHP

<?php
use yii\helpers\Html;
use frontend\assets\AccountStateAsset;
/* @var $this yii\web\View */
/* @var $model common\models\AccountState */
$this->title = Yii::t('frontend/account-state', 'Close Account State');
$this->params['breadcrumbs'][] = ['label' => Yii::t('frontend/account-state', 'Account States'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
AccountStateAsset::register($this);
$options = [];
$this->registerJs ( 'new AccountState( '. json_encode($options).');' );
?>
<div class="account-state-create">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form_close', [
'model' => $model,
'accounts' => $accounts,
'account' => $account,
'lastCassaState' => $lastCassaState,
]) ?>
</div>