company debug

This commit is contained in:
Kavalar 2024-05-26 12:40:40 +03:00
parent ae993956ee
commit df93c25693

View File

@ -2,6 +2,7 @@
namespace frontend\modules\company\controllers;
use common\classes\Debug;
use common\services\CompanyService;
use frontend\modules\company\models\Company;
use frontend\modules\company\models\CompanySearch;
@ -107,6 +108,7 @@ class CompanyController extends Controller
if ($model->load($this->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->id]);
}
Debug::prn($model);
} else {
$model->loadDefaultValues();
}