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

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2023-06-29 00:30:13 +07:00
parent 09b29628aa
commit abb61eff94

View File

@ -96,7 +96,8 @@ function filterWorker(?string $worker): string
global $arangodb; global $arangodb;
return match ((int) $worker) { 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) { default => (function () use ($worker, $arangodb) {
if ( if (
collection::init($arangodb->session, 'workers') collection::init($arangodb->session, 'workers')