From ad3aecf329e57871ab28e44db8ffaaa39ddc47d9 Mon Sep 17 00:00:00 2001
From: Marlene Simondant <msimondant@grandlyon.com>
Date: Tue, 18 Mar 2025 09:04:14 +0100
Subject: [PATCH] Change status

---
 .../orientation-form-view/orientation-form-view.component.ts    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/form/orientation-form-view/orientation-form-view.component.ts b/src/app/form/orientation-form-view/orientation-form-view.component.ts
index 8cb0a93be..cf34bd0de 100644
--- a/src/app/form/orientation-form-view/orientation-form-view.component.ts
+++ b/src/app/form/orientation-form-view/orientation-form-view.component.ts
@@ -538,7 +538,7 @@ export class OrientationFormViewComponent implements OnInit, AfterContentChecked
       comments: formValue.comments || formValue.details || null,
       orientator: this.profile?._id ?? null,
       structureOrientator: formValue.structureOrientator?.structureId || formValue.structureOrientator || null,
-      status: 'pending',
+      status: 'new',
       action: this.getInitialAction(accompanimentTypeKey),
     };
   }
-- 
GitLab