57 lines
1.6 KiB
PHP
57 lines
1.6 KiB
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\DetailView;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\AccountState */
|
|
|
|
$this->title = $model->id_account_state;
|
|
$this->params['breadcrumbs'][] = ['label' => Yii::t('backend/account-state', 'Account States'), 'url' => ['index']];
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
?>
|
|
<div class="account-state-view">
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
|
|
<p>
|
|
<?= Html::a(Yii::t('backend/account-state', 'Update'), ['update', 'id' => $model->id_account_state], ['class' => 'btn btn-primary']) ?>
|
|
<?= Html::a(Yii::t('backend/account-state', 'Delete'), ['delete', 'id' => $model->id_account_state], [
|
|
'class' => 'btn btn-danger',
|
|
'data' => [
|
|
'confirm' => Yii::t('backend/account-state', 'Are you sure you want to delete this item?'),
|
|
'method' => 'post',
|
|
],
|
|
]) ?>
|
|
</p>
|
|
|
|
<?= DetailView::widget([
|
|
'model' => $model,
|
|
'attributes' => [
|
|
'id_account_state',
|
|
'id_account',
|
|
'type',
|
|
'money',
|
|
'banknote_5_ft',
|
|
'banknote_10_ft',
|
|
'banknote_20_ft',
|
|
'banknote_50_ft',
|
|
'banknote_100_ft',
|
|
'banknote_200_ft',
|
|
'banknote_500_ft',
|
|
'banknote_1000_ft',
|
|
'banknote_2000_ft',
|
|
'banknote_5000_ft',
|
|
'banknote_10000_ft',
|
|
'banknote_20000_ft',
|
|
'id_user',
|
|
'created_at',
|
|
'updated_at',
|
|
'comment',
|
|
'prev_state',
|
|
'prev_money',
|
|
],
|
|
]) ?>
|
|
|
|
</div>
|