From 63aa06379631bf89c029d328084f84f52834b1fc Mon Sep 17 00:00:00 2001
From: Damien <damien.burel@maarch.org>
Date: Mon, 16 Mar 2020 14:13:45 +0100
Subject: [PATCH] FEAT #13568 TIME 0:20 Delete sva + svr attachments

---
 apps/maarch_entreprise/lang/en.php        |  6 ------
 apps/maarch_entreprise/lang/fr.php        |  6 ------
 apps/maarch_entreprise/lang/nl.php        |  2 --
 apps/maarch_entreprise/xml/entreprise.xml | 10 ----------
 src/core/lang/lang-en.php                 |  2 --
 src/core/lang/lang-fr.php                 |  2 --
 src/core/lang/lang-nl.php                 |  2 --
 7 files changed, 30 deletions(-)

diff --git a/apps/maarch_entreprise/lang/en.php b/apps/maarch_entreprise/lang/en.php
index 5567f9ed4c2..959b6391a81 100755
--- a/apps/maarch_entreprise/lang/en.php
+++ b/apps/maarch_entreprise/lang/en.php
@@ -29,12 +29,6 @@ if (!defined('_ID_TO_DISPLAY')) {
 } // value res_id || chrono_number
 
 /************** Administration **************/
-if (!defined('_SVR')) {
-    define('_SVR', 'SVR');
-}
-if (!defined('_SVA')) {
-    define('_SVA', 'SVA');
-}
 if (!defined('_ADDED')) {
     define('_ADDED', 'added');
 }
diff --git a/apps/maarch_entreprise/lang/fr.php b/apps/maarch_entreprise/lang/fr.php
index d305e2765ee..aba1d913553 100755
--- a/apps/maarch_entreprise/lang/fr.php
+++ b/apps/maarch_entreprise/lang/fr.php
@@ -18,12 +18,6 @@ if (!defined('_ID_TO_DISPLAY')) { // value res_id || chrono_number
     define('_ID_TO_DISPLAY', 'chrono_number');
 }
 /************** Administration **************/
-if (!defined('_SVR')) {
-    define('_SVR', 'SVR');
-}
-if (!defined('_SVA')) {
-    define('_SVA', 'SVA');
-}
 if (!defined('_ADDED')) {
     define('_ADDED', 'ajouté');
 }
diff --git a/apps/maarch_entreprise/lang/nl.php b/apps/maarch_entreprise/lang/nl.php
index 1b827201890..7b3f9311b92 100755
--- a/apps/maarch_entreprise/lang/nl.php
+++ b/apps/maarch_entreprise/lang/nl.php
@@ -12,8 +12,6 @@
 */
 if (!defined('_MEP_VERSION')) { define('_MEP_VERSION', 'Maarch v19.04');}
 if (!defined('_ID_TO_DISPLAY')) { define('_ID_TO_DISPLAY', 'chrono_number');}
-if (!defined('_SVR')) { define('_SVR', 'Stilzwijgende weigering');}
-if (!defined('_SVA')) { define('_SVA', 'Stilzwijgende aanvaarding');}
 if (!defined('_ADDED')) { define('_ADDED', 'toegevoegd');}
 if (!defined('_UPDATED')) { define('_UPDATED', 'gewijzigd');}
 if (!defined('_DELETED')) { define('_DELETED', 'verwijderd');}
diff --git a/apps/maarch_entreprise/xml/entreprise.xml b/apps/maarch_entreprise/xml/entreprise.xml
index c3f9df7a902..668cf00d15a 100755
--- a/apps/maarch_entreprise/xml/entreprise.xml
+++ b/apps/maarch_entreprise/xml/entreprise.xml
@@ -55,16 +55,6 @@
             <label>_PRINT_FOLDER</label>
             <process_mode/>
         </type>
-        <type show="true" with_chrono="false" icon="VA" sign="true">
-            <id>sva</id>
-            <label>_SVA</label>
-            <process_mode>SVA</process_mode>
-        </type>
-        <type show="true" with_chrono="false" icon="VR" sign="true">
-            <id>svr</id>
-            <label>_SVR</label>
-            <process_mode>SVR</process_mode>
-        </type>
     </attachment_types>
     <contact_check>
         <check_days_before>5</check_days_before>  <!-- 0 if you want to disabled -->
diff --git a/src/core/lang/lang-en.php b/src/core/lang/lang-en.php
index 761b0b11d45..5072153b9e3 100755
--- a/src/core/lang/lang-en.php
+++ b/src/core/lang/lang-en.php
@@ -308,8 +308,6 @@ define("_ROUTING", "Flow slip");
 define("_OUTGOING_MAIL", "Spontaneous start mail");
 define("_CONVERTED_PDF", "Converted PDF by the solution");
 define('_PRINT_FOLDER', 'Folder');
-define('_SVA', 'SVA');
-define('_SVR', 'SVR');
 define('_REDACTOR', 'Redactor');
 define('_ASSIGNEE', 'Assignee');
 define('_DOCUMENT_WITH_NOTES', 'Document with notes');
diff --git a/src/core/lang/lang-fr.php b/src/core/lang/lang-fr.php
index 7a0429b998b..f1d97048a31 100755
--- a/src/core/lang/lang-fr.php
+++ b/src/core/lang/lang-fr.php
@@ -309,8 +309,6 @@ define("_ROUTING", "Fiche de circulation");
 define("_OUTGOING_MAIL", "Courrier départ spontané");
 define("_CONVERTED_PDF", "PDF converti par la solution");
 define('_PRINT_FOLDER', 'Dossier');
-define('_SVA', 'SVA');
-define('_SVR', 'SVR');
 define('_REDACTOR', 'Rédacteur');
 define('_ASSIGNEE', 'Attributaire');
 define('_DOCUMENT_WITH_NOTES', 'Document annoté');
diff --git a/src/core/lang/lang-nl.php b/src/core/lang/lang-nl.php
index a88a4c45265..7726b9075ee 100755
--- a/src/core/lang/lang-nl.php
+++ b/src/core/lang/lang-nl.php
@@ -309,8 +309,6 @@ define('_ROUTING', 'Circulatiefiche');
 define('_OUTGOING_MAIL', 'Brief spontaan vertrek');
 define('_CONVERTED_PDF', 'PDF geconverteerd door de oplossing');
 define('_PRINT_FOLDER', 'Map');
-define('_SVA', 'Stilzwijgende aanvaarding');
-define('_SVR', 'Stilzwijgende weigering');
 define('_REDACTOR', 'Opsteller');
 define('_ASSIGNEE', 'Toegekende persoon');
 define('_DOCUMENT_WITH_NOTES', 'Document met opmerkingen');
-- 
GitLab