From 56bd4978e995906ba3dc358fb4b9eb41fbd87270 Mon Sep 17 00:00:00 2001 From: Gloomy Date: Fri, 22 Aug 2025 10:20:14 +0000 Subject: [PATCH] update for Warranty plugin --- hesabixCore/src/Controller/StoreroomController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hesabixCore/src/Controller/StoreroomController.php b/hesabixCore/src/Controller/StoreroomController.php index a1e2f2d..bf5f976 100644 --- a/hesabixCore/src/Controller/StoreroomController.php +++ b/hesabixCore/src/Controller/StoreroomController.php @@ -1063,7 +1063,7 @@ class StoreroomController extends AbstractController } continue; } - $warrantySerialEntity->setStatus(PlugWarrantySerial::STATUS_ALLOCATED); + $warrantySerialEntity->setStatus(PlugWarrantySerial::STATUS_CONSUMED); $warrantySerialEntity->setAllocatedToDocumentId($ticket->getId()); $warrantySerialEntity->setActivationTicketCode($ticket->getCode()); $warrantySerialEntity->setActivationTicketSecret($ticket->getActivationCode());