From 49c2064bca1d6f70544335059e8d1e84eb1c25fe Mon Sep 17 00:00:00 2001
From: Armand Bahi <armand.bahi@veremes.com>
Date: Wed, 2 Jan 2019 15:01:18 +0100
Subject: [PATCH] Ajout en insertion

---
 ..._business_object_vmap_business_object.json | 54 +++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/src/module_vmap/module/forms/vmap_business_object/vmap_business_object_vmap_business_object.json b/src/module_vmap/module/forms/vmap_business_object/vmap_business_object_vmap_business_object.json
index 2b133422..35a3fd4f 100644
--- a/src/module_vmap/module/forms/vmap_business_object/vmap_business_object_vmap_business_object.json
+++ b/src/module_vmap/module/forms/vmap_business_object/vmap_business_object_vmap_business_object.json
@@ -1004,6 +1004,60 @@
                         "nb_cols": 6
                     }
                 ]
+            }, {
+                "fields": [
+                    {
+                        "type": "radio",
+                        "options": {
+                            "choices": [
+                                {
+                                    "label": "Oui",
+                                    "value": true
+                                },
+                                {
+                                    "label": "Non",
+                                    "value": false
+                                }
+                            ]
+                        },
+                        "name": "enable_location",
+                        "label": "FORM_LOCATABLE_VMAP_BUSINESS_OBJECT",
+                        "tooltip": {
+                            "title": "",
+                            "content": "FORM_LOCATABLE_VMAP_BUSINESS_OBJECT_TOOLTIP",
+                            "container": "body"
+                        },
+                        "disabled": false,
+                        "required": true,
+                        "nb_cols": 12,
+                        "default_value": true
+                    }, {
+                        "type": "radio",
+                        "options": {
+                            "choices": [
+                                {
+                                    "label": "Oui",
+                                    "value": true
+                                },
+                                {
+                                    "label": "Non",
+                                    "value": false
+                                }
+                            ]
+                        },
+                        "name": "enable_selection",
+                        "label": "FORM_SELECTABLE_VMAP_BUSINESS_OBJECT",
+                        "tooltip": {
+                            "title": "",
+                            "content": "FORM_SELECTABLE_VMAP_BUSINESS_OBJECT_TOOLTIP",
+                            "container": "body"
+                        },
+                        "disabled": false,
+                        "required": true,
+                        "nb_cols": 12,
+                        "default_value": true
+                    }
+                ]
             },
             {
                 "fields": [
-- 
GitLab