diff --git a/src/components/Crm_Opportunite.js b/src/components/Crm_Opportunite.js index 8e61448..dc8f767 100644 --- a/src/components/Crm_Opportunite.js +++ b/src/components/Crm_Opportunite.js @@ -747,6 +747,8 @@ const CRM_Opportunite = (props) => { const [p_detail_contact_email, setp_detail_contact_email] = useState(); const [p_detail_contact_telephone, setp_detail_contact_telephone] = useState(); + + const [p_detail_commentaire, setp_detail_commentaire] = useState(); const [p_detail_vendeur_id, setp_detail_vendeur_id] = useState(''); const [p_detail_statut, setp_detail_statut] = useState(""); @@ -1828,6 +1830,11 @@ const CRM_Opportunite = (props) => { + + + + +
Lundi
-
@@ -1845,9 +1966,12 @@ const Partner_Configuration_Jours_Travail = (props) => {
| Mardi
-
| Mercredi
-
| Jeudi
-
| vendredi
-
| Samedi
-
| Dimanche
- {
+ setdata_chanded("1");
+ }}>
+
+
+
diff --git a/src/components/Partner_Config_Technique.js b/src/components/Partner_Config_Technique.js
index 6a6f2aa..bf27b53 100644
--- a/src/components/Partner_Config_Technique.js
+++ b/src/components/Partner_Config_Technique.js
@@ -1430,7 +1430,7 @@ const Partner_Configuration_Technique = (props) => {
}
-
+
const [handleClick_delete_CRM_Opport_api, sethandleClick_delete_CRM_Opport_api] = useState();
const [handleClick_delete_CRM_Opport_message, sethandleClick_delete_CRM_Opport_message] = useState();
const [handleClick_delete_CRM_Opport_result, sethandleClick_delete_CRM_Opport_result] = useState();
@@ -1488,6 +1488,7 @@ const Partner_Configuration_Technique = (props) => {
{ "id": "partner_smtp", "label": "partner_smtp", "value": "partner_smtp" },
{ "id": "partner_jour_heure", "label": "partner_jour_heure", "value": "partner_jour_heure" },
{ "id": "partner_devise", "label": "partner_devise", "value": "partner_devise" },
+ { "id": "signature_digital", "label": "signature_digital", "value": "signature_digital" },
{ "id": "", "label": "", "value": "" },
]
@@ -1584,7 +1585,7 @@ const Partner_Configuration_Technique = (props) => {
form.append("code", p_detail_crm_opport_code);
form.append("description", p_detail_crm_opport_description);
form.append("rang", p_detail_crm_opport_rang);
-
+
} else {
// Il s'agit d'une creation
myurl = process.env.REACT_APP_API_URL + "myclass/api/Add_CRM_Opportunite_Etape/";
@@ -2462,6 +2463,11 @@ const Partner_Configuration_Technique = (props) => {
value={New_Config_Point.filter((data) => (data).label === String(p_detail_config_point))[0].label}
options={New_Config_Point}
onChange={(event, value) => {
+
+ if (value && value.value && value.value === "signature_digital") {
+ alert(" Vos droits d'accès ne vous permettent pas modifier la configuration : 'signature_digital'");
+ return;
+ }
if (value && value.value) {
setp_detail_config_point(value.value);
setConfig_data_changed("1");
@@ -2516,8 +2522,10 @@ const Partner_Configuration_Technique = (props) => {
className="disabled_style"
value={p_detail_config_valeur}
onChange={(e) => {
- setp_detail_config_valeur(e.target.value);
- setConfig_data_changed("1");
+ if (String(p_detail_config_point) !== "signature_digital") {
+ setp_detail_config_valeur(e.target.value);
+ setConfig_data_changed("1");
+ }
}
}
/>
|