diff --git a/backend/modules/holiday/models/Holiday.php b/backend/modules/holiday/models/Holiday.php index cc0869f..4a491d0 100644 --- a/backend/modules/holiday/models/Holiday.php +++ b/backend/modules/holiday/models/Holiday.php @@ -4,8 +4,5 @@ namespace backend\modules\holiday\models; class Holiday extends \common\models\Holiday { - public function init() - { - parent::init(); - } + } \ No newline at end of file diff --git a/backend/modules/holiday/views/holiday/_search.php b/backend/modules/holiday/views/holiday/_search.php index eef4833..e61d56d 100644 --- a/backend/modules/holiday/views/holiday/_search.php +++ b/backend/modules/holiday/views/holiday/_search.php @@ -19,8 +19,8 @@ use yii\widgets\ActiveForm; field($model, 'dt_end') ?>
- 'btn btn-primary']) ?> - 'btn btn-default']) ?> + 'btn btn-primary']) ?> + 'btn btn-default']) ?>
diff --git a/console/migrations/m190715_124941_create_table_holiday.php b/console/migrations/m190715_124941_create_table_holiday.php index 6f6225f..66bccd2 100644 --- a/console/migrations/m190715_124941_create_table_holiday.php +++ b/console/migrations/m190715_124941_create_table_holiday.php @@ -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(), ]); }