From f31fde4926fed3784976768601f428aca3830373 Mon Sep 17 00:00:00 2001 From: marina Date: Wed, 21 Aug 2024 13:42:17 +0300 Subject: [PATCH] =?utf8?q?ERP-102=20=D0=9F=D1=80=D0=B8=D1=91=D0=BC=D0=BD?= =?utf8?q?=D0=B8=D0=BA=20=D0=B4=D0=BB=D1=8F=20=D1=8D=D0=BA=D1=81=D0=B5?= =?utf8?q?=D0=BB=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0=20(=D0=BA=D0=BE?= =?utf8?q?=D1=80=D1=80=D0=B5=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=BA?= =?utf8?q?=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 7dd71da1..707579be 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -238,11 +238,11 @@ class MotivationService $year = ((int)$row[2]) ?? -1; $month = ((int)$row[3]) ?? -1; if ($year > 2030 || $year < 2023) { - $error = "Не корректно указан год [2,0]"; + $error = "Некорректно указан год [2,0]"; break; } if ($month < 1 || $month > 12) { - $error = "Не корректно указан месяц [3,0]"; + $error = "Некорректно указан месяц [3,0]"; break; } @@ -263,7 +263,7 @@ class MotivationService } /** @var $motivationCostsItems MotivationCostsItem[] */ if ($motivationCostsItems[$row[0]]->name != ($row[1] ?? 'NO_NAME')) { - $error = "Не корректно название элемента '" . ($row[1] ?? '') . "' Ожидается: '" . $motivationCostsItems[$row[0]]->name . "' [$ind,1]"; + $error = "Некорректно название элемента '" . ($row[1] ?? '') . "' Ожидается: '" . $motivationCostsItems[$row[0]]->name . "' [$ind,1]"; break; } if (trim($row[2]) == '') { -- 2.39.5