]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Исправление 002
authorAlexander Smirnov <fredeom@mail.ru>
Thu, 25 Jul 2024 15:16:42 +0000 (18:16 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Thu, 25 Jul 2024 15:16:42 +0000 (18:16 +0300)
erp24/services/MotivationService.php

index 73c294f78e3ec0be113a9aa01df6f0dae06bf9c7..595dc725ede234c74fadd32464a5e7d53a009421 100644 (file)
@@ -75,7 +75,7 @@ class MotivationService
                     }
                     /** @var $motivationCostsItems MotivationCostsItem[] */
                     if ($motivationCostsItems[$row[0]]->name != ($row[1] ?? 'NO_NAME')) {
-                        $error = "Не корректно название элемента " . ($row[1] ?? '') . "[$ind,1]";
+                        $error = "Не корректно название элемента '" . ($row[1] ?? '') . "' Ожидается: '" . $motivationCostsItems[$row[0]]->name . "' [$ind,1]";
                         break;
                     }
                     if (($row[2] ?? 'NO_NAME') == 'NO_NAME') {