From: marina Date: Fri, 28 Mar 2025 11:57:13 +0000 (+0300) Subject: ERP-299 Изменить подсчёт продаж в личном кабинете сотрудника X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=77a63f1953c0a1baa85d1f181527f822d127395c;p=erp24_rep%2Fyii-erp24%2F.git ERP-299 Изменить подсчёт продаж в личном кабинете сотрудника --- diff --git a/erp24/helpers/SalaryHelper.php b/erp24/helpers/SalaryHelper.php index 541c65c9..2d7cc885 100755 --- a/erp24/helpers/SalaryHelper.php +++ b/erp24/helpers/SalaryHelper.php @@ -192,7 +192,7 @@ class SalaryHelper ] ); - if ($dateFrom >= '2025-01-01') { + if ($dateFrom >= '2025-03-01') { $command = $connection->createCommand(" SELECT sales.id, diff --git a/erp24/services/SalesService.php b/erp24/services/SalesService.php index 33b037f2..aa1f367a 100755 --- a/erp24/services/SalesService.php +++ b/erp24/services/SalesService.php @@ -1125,7 +1125,7 @@ class SalesService $connection = Yii::$app->getDb(); if ($dateFrom > '2022-12-07') { - if ($dateFrom >= '2025-01-01') { + if ($dateFrom >= '2025-03-01') { $command = $connection->createCommand(" SELECT DISTINCT (sales.id), @@ -1503,7 +1503,7 @@ class SalesService ] ); - if ($dateFrom >= '2025-01-01') { + if ($dateFrom >= '2025-03-01') { $command = $connection->createCommand(" SELECT DISTINCT (sales.id),