From: Alexander Smirnov Date: Tue, 17 Dec 2024 11:59:03 +0000 (+0300) Subject: pagination = false X-Git-Tag: 1.7~157^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=5f529c33f4bf8e7d491ea29481235bb56354f460;p=erp24_rep%2Fyii-erp24%2F.git pagination = false --- diff --git a/erp24/controllers/WaybillIncomingController.php b/erp24/controllers/WaybillIncomingController.php index b727c2f8..97d79e7a 100644 --- a/erp24/controllers/WaybillIncomingController.php +++ b/erp24/controllers/WaybillIncomingController.php @@ -25,9 +25,7 @@ class WaybillIncomingController extends Controller $productsDataProvider = new \yii\data\ActiveDataProvider([ 'query' => WaybillIncomingProducts::find()->where(['waybill_incoming_id' => $model->id]), - 'pagination' => [ - 'pageSize' => 10, - ], + 'pagination' => false, ]); return $this->render('view', [ diff --git a/erp24/controllers/WaybillWriteOffsController.php b/erp24/controllers/WaybillWriteOffsController.php index 1e3b022f..3693ba38 100644 --- a/erp24/controllers/WaybillWriteOffsController.php +++ b/erp24/controllers/WaybillWriteOffsController.php @@ -31,9 +31,7 @@ class WaybillWriteOffsController extends \yii\web\Controller $productsDataProvider = new \yii\data\ActiveDataProvider([ 'query' => WaybillWriteOffsProducts::find()->where(['waybill_write_offs_id' => $model->id]), - 'pagination' => [ - 'pageSize' => 10, - ], + 'pagination' => false, ]); return $this->render('view', [