Исправление отмены

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2023-06-29 00:33:17 +07:00
parent 5387637e35
commit 0306f882c0

View File

@ -96,7 +96,8 @@ function filterWorker(?string $worker): string
global $arangodb;
return match ((int) $worker) {
'', 'Отмена', 'отмена', 0, 00, 000, 0000, 00000, 000000, 0000000, 00000000, 000000000, 0000000000 => '',
'Отмена', 'отмена', 'ОТМЕНА' => 'Отмена',
'', 0, 00, 000, 0000, 00000, 000000, 0000000, 00000000, 000000000, 0000000000 => '',
default => (function () use ($worker, $arangodb) {
if (
collection::init($arangodb->session, 'workers')