From 8a07f6f0abcf54f94719b079353d7ace2b06e29f Mon Sep 17 00:00:00 2001
From: Damien Burel <damien.burel@maarch.org>
Date: Mon, 4 Apr 2016 10:31:25 +0000
Subject: [PATCH] FEAT #3666 Add new actions

---
 core/trunk/core/xml/actions_pages.xml | 22 ++++++++++++++++++++++
 core/trunk/sql/data_fr.sql            |  2 ++
 2 files changed, 24 insertions(+)

diff --git a/core/trunk/core/xml/actions_pages.xml b/core/trunk/core/xml/actions_pages.xml
index 4076e1f21e2..d00133bb3bb 100644
--- a/core/trunk/core/xml/actions_pages.xml
+++ b/core/trunk/core/xml/actions_pages.xml
@@ -213,6 +213,28 @@ An action page is described in a ACTIONPAGE tag :
         <COLLECTIONS>
             <COLL_ID>letterbox_coll</COLL_ID>
         </COLLECTIONS>
+    </ACTIONPAGE>
+    <ACTIONPAGE>
+        <ID>rejection_visa_redactor</ID>
+        <LABEL>_REJECTION_WORKFLOW_REDACTOR</LABEL>
+        <NAME>rejection_visa_redactor</NAME>
+        <ORIGIN>module</ORIGIN>
+        <MODULE>visa</MODULE>
+        <FLAG_CREATE>false</FLAG_CREATE>
+        <COLLECTIONS>
+            <COLL_ID>letterbox_coll</COLL_ID>
+        </COLLECTIONS>
+    </ACTIONPAGE>
+    <ACTIONPAGE>
+        <ID>rejection_visa_previous</ID>
+        <LABEL>_REJECTION_WORKFLOW_PREVIOUS</LABEL>
+        <NAME>rejection_visa_previous</NAME>
+        <ORIGIN>module</ORIGIN>
+        <MODULE>visa</MODULE>
+        <FLAG_CREATE>false</FLAG_CREATE>
+        <COLLECTIONS>
+            <COLL_ID>letterbox_coll</COLL_ID>
+        </COLLECTIONS>
     </ACTIONPAGE>
 	<ACTIONPAGE>
         <ID>send_to_visa</ID>
diff --git a/core/trunk/sql/data_fr.sql b/core/trunk/sql/data_fr.sql
index 02466d8d6fb..a245badd703 100644
--- a/core/trunk/sql/data_fr.sql
+++ b/core/trunk/sql/data_fr.sql
@@ -1210,6 +1210,8 @@ INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename,
 INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES ('PVAL', 'Projet de réponse à valider', 'N', 'N', 'fm-letter-status-aval', 'apps', 'Y', 'Y');
 INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES ('CVAL', 'Circuit de visa à valider', 'N', 'N', 'fm-file-cycle-policy', 'apps', 'Y', 'Y');
 INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES ('WAIT', 'En attente  de la réponse signée', 'N', 'N', 'fm-letter-status-wait', 'apps', 'Y', 'Y');
+INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES ('AREV', 'À réviser', 'N', 'N', 'fm-letter-internal', 'apps', 'Y', 'Y');
+INSERT INTO status (id, label_status, is_system, is_folder_status, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES ('AREVVI', 'À réviser (circuit)', 'N', 'N', 'fm-letter-internal', 'apps', 'Y', 'Y');
 
 -- AJOUT DES ACTIONS
 INSERT INTO actions (id, keyword, label_action, id_status, is_system, enabled, action_page, history, origin, create_id) VALUES (400, '', 'Envoyer le projet de réponse', 'PVAL', 'N', 'Y', '', 'Y', 'apps', 'N');
-- 
GitLab