small fixes
This commit is contained in:
@@ -62,7 +62,7 @@ class WarehouseController extends Controller
|
||||
public function actionCreate()
|
||||
{
|
||||
$model = new Warehouse();
|
||||
|
||||
$model->status = Warehouse::STATUS_ACTIVE;
|
||||
if ($model->load(Yii::$app->request->post()) && $model->save()) {
|
||||
return $this->redirect(['view', 'id' => $model->id_warehouse]);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user