58 lines
1.6 KiB
PHP
58 lines
1.6 KiB
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\ActiveForm;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\Log */
|
|
/* @var $form yii\widgets\ActiveForm */
|
|
?>
|
|
|
|
<div class="log-form">
|
|
|
|
<?php $form = ActiveForm::begin(); ?>
|
|
|
|
<?= $form->field($model, 'id_log')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'type')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'message')->textInput(['maxlength' => true]) ?>
|
|
|
|
<?= $form->field($model, 'url')->textarea(['rows' => 6]) ?>
|
|
|
|
<?= $form->field($model, 'app')->textInput(['maxlength' => true]) ?>
|
|
|
|
<?= $form->field($model, 'id_user')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_transfer')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_money_movement')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_ticket')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_sale')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_customer')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_account')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_account_state')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_key')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_product')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'id_door_log')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'created_at')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'updated_at')->textInput() ?>
|
|
|
|
<div class="form-group">
|
|
<?= Html::submitButton($model->isNewRecord ? Yii::t('common/log', 'Create') : Yii::t('common/log', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
|
|
</div>
|
|
|
|
<?php ActiveForm::end(); ?>
|
|
|
|
</div>
|