This commit is contained in:
SoHardKI 2019-07-16 12:16:13 +03:00
parent c708dd902a
commit 3d915d77bc
3 changed files with 5 additions and 8 deletions

View File

@ -4,8 +4,5 @@ namespace backend\modules\holiday\models;
class Holiday extends \common\models\Holiday
{
public function init()
{
parent::init();
}
}

View File

@ -19,8 +19,8 @@ use yii\widgets\ActiveForm;
<?= $form->field($model, 'dt_end') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
<?= Html::submitButton('Поиск', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Сбросить', ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>

View File

@ -15,8 +15,8 @@ class m190715_124941_create_table_holiday extends Migration
$this->createTable('holiday',[
'id' => $this->primaryKey(),
'card_id' => $this->integer(11)->notNull(),
'dt_start' => $this->integer(15)->notNull(),
'dt_end' => $this->integer(15)->notNull(),
'dt_start' => $this->integer(11)->notNull(),
'dt_end' => $this->integer(11)->notNull(),
]);
}