fixes
This commit is contained in:
parent
c708dd902a
commit
3d915d77bc
@ -4,8 +4,5 @@ namespace backend\modules\holiday\models;
|
|||||||
|
|
||||||
class Holiday extends \common\models\Holiday
|
class Holiday extends \common\models\Holiday
|
||||||
{
|
{
|
||||||
public function init()
|
|
||||||
{
|
|
||||||
parent::init();
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -19,8 +19,8 @@ use yii\widgets\ActiveForm;
|
|||||||
<?= $form->field($model, 'dt_end') ?>
|
<?= $form->field($model, 'dt_end') ?>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
|
<?= Html::submitButton('Поиск', ['class' => 'btn btn-primary']) ?>
|
||||||
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
|
<?= Html::resetButton('Сбросить', ['class' => 'btn btn-default']) ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php ActiveForm::end(); ?>
|
<?php ActiveForm::end(); ?>
|
||||||
|
@ -15,8 +15,8 @@ class m190715_124941_create_table_holiday extends Migration
|
|||||||
$this->createTable('holiday',[
|
$this->createTable('holiday',[
|
||||||
'id' => $this->primaryKey(),
|
'id' => $this->primaryKey(),
|
||||||
'card_id' => $this->integer(11)->notNull(),
|
'card_id' => $this->integer(11)->notNull(),
|
||||||
'dt_start' => $this->integer(15)->notNull(),
|
'dt_start' => $this->integer(11)->notNull(),
|
||||||
'dt_end' => $this->integer(15)->notNull(),
|
'dt_end' => $this->integer(11)->notNull(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user