From c4f0537fffea4a3c69d0590b02986a08795fb116 Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Mon, 13 Jan 2020 22:28:05 +0100 Subject: [PATCH] Added cancelled as a request status --- api/src/Entity/Request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Entity/Request.php b/api/src/Entity/Request.php index 521a655b..ba3411f0 100644 --- a/api/src/Entity/Request.php +++ b/api/src/Entity/Request.php @@ -133,13 +133,13 @@ class Request * "type"="string", * "example"="incomplete", * "maxLength"="255", - * "enum"={"incomplete", "complete", "submitted", "processed"}, + * "enum"={"incomplete", "complete", "submitted", "processed","cancelled"}, * "default"="incomplete" * } * } * ) * - * @Assert\Choice({"incomplete", "complete", "submitted", "processed"}) + * @Assert\Choice({"incomplete", "complete", "submitted", "processed","cancelled"}) * @Assert\Length( * max = 255 * )