public function actionCreate()
 {
     $model = new Osmotraktmat();
     $model->osmotraktmat_date = date('Y-m-d');
     if ($model->load(Yii::$app->request->post()) && $model->save()) {
         Proc::RemoveLastBreadcrumbsFromSession();
         // Удаляем последнюю хлебную крошку из сессии (Создать меняется на Обновить)
         return $this->redirect(['update', 'id' => $model->primaryKey]);
     } else {
         return $this->render('create', ['model' => $model]);
     }
 }