diff --git a/controllers/OrderController.php b/controllers/OrderController.php index 0808aef..46a6c06 100755 --- a/controllers/OrderController.php +++ b/controllers/OrderController.php @@ -9,7 +9,7 @@ use artbox\order\labels\models\Label; use artbox\order\models\OrderProduct; use artbox\order\labels\models\Payment; - use backend\components\Incust; + use backend\incust\components\Incust; use Yii; use artbox\order\models\Order; use yii\web\Controller; @@ -217,7 +217,11 @@ * @param integer $id * * @return mixed + * @throws \GuzzleHttp\Exception\GuzzleException + * @throws \backend\incust\components\IncustErrorLoginException + * @throws \backend\incust\components\IncustException * @throws \yii\base\InvalidConfigException + * @throws \yii\web\NotFoundHttpException */ public function actionUpdate($id) { @@ -229,11 +233,10 @@ 'OrderProduct' ) )) { - //print_r(\Yii::$app->request->post('OrderProduct')); die(); OrderProduct::saveItems(\Yii::$app->request->post('OrderProduct'), $id); if ($model->paid and class_exists(Incust::className())) { /** - * @var \backend\components\Incust $incust; + * @var \backend\incust\components\Incust $incust; */ $incust = \Yii::$app->get('incust'); $check = $incust->generateCheck($model); diff --git a/models/Order.php b/models/Order.php index 03e1583..afc5df5 100755 --- a/models/Order.php +++ b/models/Order.php @@ -34,6 +34,7 @@ */ class Order extends ActiveRecord { + public $fast; /** * @inheritdoc */ -- libgit2 0.21.4