- {config_data_edit_mode && String(config_data_edit_mode) === "1" &&
-
Point de configuration
-
-
(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");
- } else {
- setp_detail_config_point("");
- setConfig_data_changed("1");
- }
-
- }}
-
- renderInput={(params) =>
- }
- />
-
-
-
-
- }
- {String(config_data_edit_mode) !== "1" &&
-
Point de configuration
+
+
Point de configuration
{
/>
-
-
-
}
+
{String(config_data_edit_mode) === "1" &&
Valeur de configuration
{
/*if (newSelectionModel.length === 1)
handleClick_edit_config_From_Line(newSelectionModel);*/
if (newSelectionModel.length !== 1) {
- setp_detail_quotation_config_valeur();
- setConfig_quotation_data_changed();
- setp_detail_quotation_config_point();
- setconfig_quotation_data_edit_mode();
- setdisplay_detail_quotation_config();
+ setp_detail_quotation_config_valeur("");
+ setConfig_quotation_data_changed("");
+ setp_detail_quotation_config_point("");
+ setconfig_quotation_data_edit_mode("");
+ setdisplay_detail_quotation_config("");
+ setp_detail_quotation_config_related_collection("");
}
}}
@@ -4963,6 +4958,7 @@ const Partner_Configuration_Technique = (props) => {
_id: JSON.parse(item)._id,
config_name: JSON.parse(item).config_name,
config_value: JSON.parse(item).config_value,
+ related_collection: JSON.parse(item).related_collection,
}
))}
@@ -4972,6 +4968,7 @@ const Partner_Configuration_Technique = (props) => {
onRowDoubleClick={(newSelectionModel) => {
setgridline_quotation_id(newSelectionModel.row.id);
+ setselected_row__id(newSelectionModel.row._id)
handleClick_edit_config_quotation_From_Line(newSelectionModel.row.id);
}}
@@ -5053,45 +5050,25 @@ const Partner_Configuration_Technique = (props) => {
{display_detail_quotation_config && String(display_detail_quotation_config) === "1" &&
- {config_quotation_data_edit_mode && String(config_quotation_data_edit_mode) === "1" &&
- New_Config_Quotation_Point &&
-
Point de configuration
-
(data).value === String(p_detail_quotation_config_point))[0].label}
- options={New_Config_Quotation_Point}
- onChange={(event, value) => {
+ Cible
+
+
- } else {
- setp_detail_quotation_config_point("");
- setConfig_quotation_data_changed("1");
- }
-
- }}
-
- renderInput={(params) =>
- }
- />
-
-
-
-
- }
-
- {String(config_quotation_data_edit_mode) !== "1" &&
-
Point de configuration
+
Point de configuration
{
/>
-
}
+
+
{String(config_quotation_data_edit_mode) === "1" && String(p_detail_quotation_config_point) !== "frequence_relance_auto" &&
Valeur de configuration
{