company debug
This commit is contained in:
parent
ae993956ee
commit
df93c25693
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user