56 lines
1.6 KiB
PHP
56 lines
1.6 KiB
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\ActiveForm;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\AccountState */
|
|
/* @var $form yii\widgets\ActiveForm */
|
|
?>
|
|
|
|
<div class="account-state-form">
|
|
|
|
<?php $form = ActiveForm::begin(); ?>
|
|
|
|
<?= $form->field($model, 'id_account')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'type')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'money')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_5_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_10_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_20_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_50_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_100_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_200_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_500_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_1000_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_2000_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_5000_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_10000_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'banknote_20000_ft')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'comment')->textInput(['maxlength' => true]) ?>
|
|
|
|
<?= $form->field($model, 'prev_state')->textInput() ?>
|
|
|
|
<div class="form-group">
|
|
<?= Html::submitButton($model->isNewRecord ? Yii::t('backend/account-state', 'Create') : Yii::t('backend/account-state', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
|
|
</div>
|
|
|
|
<?php ActiveForm::end(); ?>
|
|
|
|
</div>
|