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());