qsdq
parent
16827de662
commit
10fb098757
|
@ -2220,7 +2220,7 @@ const Config_Documents = (props) => {
|
|||
|
||||
}
|
||||
else {
|
||||
alert(" Vous devez les champs : Nom, Type et Sujet");
|
||||
alert(" Les champs : 'Nom', 'Type' et 'Sujet' doivent faire plus de 10 caractères");
|
||||
}
|
||||
}}
|
||||
className="bton_enreg_dialog">Dupliquer</Button>
|
||||
|
@ -2946,7 +2946,7 @@ const Config_Documents = (props) => {
|
|||
{p_detail_joint_pdf === true && String(document_principal_ou_corp_mail) === "2" &&
|
||||
<div style={{ "width": "98%", "marginLeft": "1%", "marginRight": "1%", "float": "left" }}>
|
||||
|
||||
<div className="titre_training_text"> Coprs du mail </div>
|
||||
<div className="titre_training_text"> Corps du mail </div>
|
||||
<Editor
|
||||
id="corps_mail_content"
|
||||
name="corps_mail_content"
|
||||
|
@ -3030,7 +3030,7 @@ const Config_Documents = (props) => {
|
|||
{p_detail_joint_pdf === true && String(document_principal_ou_corp_mail) === "2" &&
|
||||
<div style={{ "width": "98%", "marginLeft": "1%", "marginRight": "1%", "float": "left" }}>
|
||||
|
||||
<div className="titre_training_text"> Modifier le Coprs du mail </div>
|
||||
<div className="titre_training_text"> Modifier le Corps du mail </div>
|
||||
<Editor
|
||||
id="corps_mail_content"
|
||||
name="corps_mail_content"
|
||||
|
@ -3406,7 +3406,7 @@ const Config_Documents = (props) => {
|
|||
{p_detail_joint_pdf === true && String(document_principal_ou_corp_mail) === "2" &&
|
||||
<div style={{ "width": "98%", "marginLeft": "1%", "marginRight": "1%", "float": "left" }}>
|
||||
|
||||
<div className="titre_training_text"> Créer le Coprs du mail </div>
|
||||
<div className="titre_training_text"> Créer le Corps du mail </div>
|
||||
<Editor
|
||||
id="one_corps_contente"
|
||||
name="one_corps_contente"
|
||||
|
|
|
@ -286,9 +286,16 @@ const DisplayPartnerSession = (props) => {
|
|||
{ field: 'published', headerName: 'publié', minWidth: datagrid_columns_size_model1, align: "center", hide: true, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
|
||||
{ field: 'site_formation_id', headerName: 'site_formation_id', with: 0, align: "center", hide: true, },
|
||||
|
||||
|
||||
{ field: 'qty_in_quotation', headerName: 'Place Non validé ', with: 150, align: "center", hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'qty_in_quotation_list_quotation', headerName: 'List Devis ', with: 150, align: "center", hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
|
||||
|
||||
{ field: 'site_formation_nom', headerName: 'Site Ftion', with: 150, align: "center", hide: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
|
||||
|
||||
|
||||
{
|
||||
field: 'invoiced_statut', headerName: 'Facturé', minWidth: 100, flex: 1, maxWidth: 150, hide: false, editable: false,
|
||||
valueFormatter: (params) => {
|
||||
|
@ -13019,6 +13026,11 @@ const DisplayPartnerSession = (props) => {
|
|||
site_formation_id: JSON.parse(item).site_formation_id,
|
||||
site_formation_nom: JSON.parse(item).site_formation_code,
|
||||
invoiced_statut: JSON.parse(item).invoiced_statut,
|
||||
|
||||
qty_in_quotation: JSON.parse(item).qty_in_quotation,
|
||||
qty_in_quotation_list_quotation: JSON.parse(item).qty_in_quotation_list_quotation,
|
||||
|
||||
|
||||
}
|
||||
))}
|
||||
|
||||
|
|
|
@ -2531,6 +2531,8 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
const [New_Get_Inscrit_List_Evaluation_Par_UE_result, setNew_Get_Inscrit_List_Evaluation_Par_UE_result] = useState([]);
|
||||
const [tab_inscrit_evaluation_ue_id, settab_inscrit_evaluation_ue_id] = useState([]);
|
||||
|
||||
const [tab_inscrit_evaluation_ue_id_V2, settab_inscrit_evaluation_ue_id_V2] = useState([]);
|
||||
|
||||
const [Get_Inscrit_List_Evaluation_Par_UE_api, setGet_Inscrit_List_Evaluation_Par_UE_api] = useState();
|
||||
const [Get_Inscrit_List_Evaluation_Par_UE_message, setGet_Inscrit_List_Evaluation_Par_UE_message] = useState();
|
||||
const [Get_Inscrit_List_Evaluation_Par_UE_result, setGet_Inscrit_List_Evaluation_Par_UE_result] = useState();
|
||||
|
@ -2552,13 +2554,14 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
|
||||
if (String(res.data.status) === String("true")) {
|
||||
//console.log(" In Get_Inscrit_List_Evaluation_Par_UE res.data.status = " + res.data.status);
|
||||
console.log(" In Get_Inscrit_List_Evaluation_Par_UE res.data.message r_class = " + res.data.message);
|
||||
//console.log(" In Get_Inscrit_List_Evaluation_Par_UE res.data.message r_class = " + res.data.message);
|
||||
setGet_Inscrit_List_Evaluation_Par_UE_api("true");
|
||||
setGet_Inscrit_List_Evaluation_Par_UE_result(res.data.message);
|
||||
|
||||
var new_data2 = [];
|
||||
|
||||
var tab_tmp = []
|
||||
var tab_tmp_V2 = []
|
||||
const new_data = res.data.message.map((x) => {
|
||||
|
||||
//---
|
||||
|
@ -2573,6 +2576,8 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
|
||||
tab_tmp.push(local_type_eval__id);
|
||||
|
||||
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": local_id,
|
||||
|
@ -2609,6 +2614,8 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
setNew_Get_Inscrit_List_Evaluation_Par_UE_result(new_data2);
|
||||
settab_inscrit_evaluation_ue_id(tab_tmp);
|
||||
|
||||
//console.log(" ### settab_inscrit_evaluation_ue_id = ", tab_tmp);
|
||||
|
||||
if (New_Get_List_UE_From_Class_Id_result && New_Get_List_UE_From_Class_Id_result.length > 0) {
|
||||
|
||||
var local_defaultValue = New_Get_List_UE_From_Class_Id_result.filter((data) => {
|
||||
|
@ -2619,6 +2626,8 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
});
|
||||
|
||||
setinscription_list_ue(local_defaultValue);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -2710,7 +2719,7 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
});
|
||||
|
||||
//---
|
||||
var node = {
|
||||
/* var node = {
|
||||
"_id": "",
|
||||
"id": "",
|
||||
"label": "",
|
||||
|
@ -2720,11 +2729,11 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
"internal_url": "",
|
||||
|
||||
};
|
||||
new_data2.push(node);
|
||||
new_data2.push(node);*/
|
||||
|
||||
if (new_data2.length > 0) {
|
||||
setNew_Get_List_UE_From_Class_Id_result(new_data2);
|
||||
// console.log(new_data2);
|
||||
// console.log("### setNew_Get_List_UE_From_Class_Id_result = ", new_data2);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -2804,7 +2813,7 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
});
|
||||
|
||||
//---
|
||||
var node = {
|
||||
/* var node = {
|
||||
"_id": "",
|
||||
"id": "",
|
||||
"label": "",
|
||||
|
@ -2816,10 +2825,13 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
"max_note": "",
|
||||
|
||||
};
|
||||
new_data2.push(node);
|
||||
new_data2.push(node);*/
|
||||
|
||||
if (new_data2.length > 0)
|
||||
if (new_data2.length > 0) {
|
||||
setNew_Getall_Class_List_Evalution_result(new_data2);
|
||||
//console.log(" setNew_Getall_Class_List_Evalution_result = ", new_data2);
|
||||
|
||||
}
|
||||
}
|
||||
else {
|
||||
setGetall_Class_List_Evalution_api("false");
|
||||
|
@ -6758,40 +6770,7 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
<DialogTitle>MySy Information</DialogTitle>
|
||||
<DialogContent className="DialogContent_width" style={{ "minHeight": "30rem" }}>
|
||||
|
||||
{/*<div className="session_caract_Dialog" > Choisir une convention <b>Individuelle </b>
|
||||
<TextField
|
||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
|
||||
|
||||
name="event_dialog_version_convention"
|
||||
id="event_dialog_version_convention"
|
||||
|
||||
select
|
||||
fullWidth
|
||||
|
||||
value={selected_convention_id}
|
||||
onChange={(e) => {
|
||||
setselected_convention_id(e.target.value);
|
||||
var result2 = Get_List_Stagiaire_Conventions_result.filter((local_mymanager) => JSON.parse(local_mymanager)._id === String(e.target.value))
|
||||
setselected_convention_type(JSON.parse(result2).type_doc);
|
||||
settab_convention_pieces_jointes_result([]);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
>
|
||||
{Get_List_Stagiaire_Conventions_result &&
|
||||
Get_List_Stagiaire_Conventions_result.map((myclient) => (
|
||||
<MenuItem key={JSON.parse(myclient)._id} value={JSON.parse(myclient)._id}
|
||||
style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }}>
|
||||
{JSON.parse(myclient).nom} <b>{JSON.parse(myclient).type_doc} </b>
|
||||
|
||||
</MenuItem>
|
||||
))}
|
||||
|
||||
|
||||
</TextField>
|
||||
|
||||
</div> */}
|
||||
|
||||
<div className="session_caract_Dialog" > Choisir une convention <b>Individuelle </b>
|
||||
<Autocomplete
|
||||
|
@ -7101,6 +7080,7 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
|
||||
{ /**** FIN Dialog Convention */}
|
||||
<h3> Vos stagiaires </h3>
|
||||
|
||||
<div className="div_row">
|
||||
<div className="titre1"> Utilisez les filtres !</div>
|
||||
<div className="div_row" style={{ "marginBottom": "5px" }}>
|
||||
|
@ -10221,9 +10201,6 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
disableCloseOnSelect
|
||||
getOptionLabel={(option) => option.label}
|
||||
|
||||
|
||||
//className="disabled_style enable_style"
|
||||
//options={New_Getall_Partner_List_UE_result}
|
||||
options={New_Get_List_UE_From_Class_Id_result}
|
||||
defaultValue={New_Get_List_UE_From_Class_Id_result.filter((data) => {
|
||||
if (tab_inscrit_ue_id.includes(String(data._id))) {
|
||||
|
@ -10274,21 +10251,20 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
disableCloseOnSelect
|
||||
getOptionLabel={(option) => option.label}
|
||||
|
||||
|
||||
//className="disabled_style enable_style"
|
||||
//options={New_Getall_Partner_List_UE_result}
|
||||
options={New_Getall_Class_List_Evalution_result}
|
||||
defaultValue={New_Getall_Class_List_Evalution_result.filter((data) => {
|
||||
if (tab_inscrit_evaluation_ue_id.includes(String(data.type_evaluation_id))
|
||||
|
||||
il a un bug ici, je dois rajouter une condition pour prendre en compte le class_eu_id
|
||||
|
||||
// important : le retour de l'API pour recuperer les données en base est bon
|
||||
for (let i = 0; i < New_Get_Inscrit_List_Evaluation_Par_UE_result.length; i++) {
|
||||
//console.log(" lecture de New_Get_Inscrit_List_Evaluation_Par_UE_result[i] = ", New_Get_Inscrit_List_Evaluation_Par_UE_result[i])
|
||||
|
||||
if (data.class_ue_id && String(data.class_ue_id) !== "" && data.class_ue_id === New_Get_Inscrit_List_Evaluation_Par_UE_result[i].class_eu_id &&
|
||||
data.type_evaluation_id === New_Get_Inscrit_List_Evaluation_Par_UE_result[i].type_eval__id
|
||||
) {
|
||||
|
||||
//console.log(" GAGNEEEE ");
|
||||
return data;
|
||||
}
|
||||
}
|
||||
})}
|
||||
|
||||
renderOption={(props, option, { selected }) => (
|
||||
|
@ -10309,7 +10285,6 @@ const DisplayPartnerStagiaires = (props) => {
|
|||
setinscription_list_ue_eval(value)
|
||||
setueChanged("1");
|
||||
|
||||
|
||||
}}
|
||||
|
||||
renderInput={(params) => <TextField {...params} label="" placeholder="Choisir un type d'évaluation "
|
||||
|
|
|
@ -3580,8 +3580,9 @@ const Materiel_Salle = (props) => {
|
|||
{String(submenu) === "detail_materiel" && String(add_One_Materiel) === "1" && <div className="div_row">
|
||||
<div className="div_row">
|
||||
<Button variant="outlined" onClick={submenu_detail_materiel} className="detail_class_submenu" id='detail_materiel' name='detail_materiel'>Détail Salle</Button>
|
||||
<Button variant="outlined" onClick={submenu_affectation} className="detail_class_submenu" id='affectation' name='affectation'>Affectation </Button>
|
||||
{/* <Button variant="outlined" onClick={submenu_affectation} className="detail_class_submenu" id='affectation' name='affectation'>Affectation </Button>
|
||||
<Button variant="outlined" onClick={submenu_ressource_associe} className="detail_class_submenu" id='ressource_associe' name='affectation'>Ressources Associées </Button>
|
||||
*/}
|
||||
</div>
|
||||
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600" }}> Ajouter un nouveau materiel </nav>
|
||||
<div className="session_data" >
|
||||
|
|
|
@ -3306,8 +3306,9 @@ const Materiels = (props) => {
|
|||
{String(submenu) === "detail_materiel" && String(add_One_Materiel) === "1" && <div className="div_row">
|
||||
<div className="div_row">
|
||||
<Button variant="outlined" onClick={submenu_detail_materiel} className="detail_class_submenu" id='detail_materiel' name='detail_materiel'> Détail Materiel</Button>
|
||||
<Button variant="outlined" onClick={submenu_affectation} className="detail_class_submenu" id='affectation' name='affectation'>Affectation </Button>
|
||||
{/*<Button variant="outlined" onClick={submenu_affectation} className="detail_class_submenu" id='affectation' name='affectation'>Affectation </Button>
|
||||
<Button variant="outlined" onClick={submenu_ressource_associe} className="detail_class_submenu" id='ressource_associe' name='affectation'>Ressources Associées </Button>
|
||||
*/}
|
||||
</div>
|
||||
<nav style={{ "border": "None", "fontSize": "22px", "fontWeight": "600" }}> Ajouter un nouveau materiel </nav>
|
||||
<div className="session_data" >
|
||||
|
|
|
@ -304,7 +304,7 @@ const Partner_Client = (props) => {
|
|||
|
||||
axios.post(myurl, form).then(res => {
|
||||
//console.log(" In Get_List_Partner_Clients res.data.status = " + res.data.status);
|
||||
console.log(" In Get_List_Partner_Clients res.data.message r_class = " + res.data.message);
|
||||
//console.log(" In Get_List_Partner_Clients res.data.message r_class = " + res.data.message);
|
||||
|
||||
if (String(res.data.status) === String("true")) {
|
||||
setGet_List_Partner_Clients_api("true");
|
||||
|
|
|
@ -619,6 +619,7 @@ const Partner_Commande = (props) => {
|
|||
|
||||
if (new_data2.length > 0) {
|
||||
setNew_GetCurrentPartnerClass_result(new_data2);
|
||||
//console.log(" ### setNew_GetCurrentPartnerClass_result = ", New_GetCurrentPartnerClass_result);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1467,7 +1468,7 @@ const Partner_Commande = (props) => {
|
|||
if (new_data2.length > 0) {
|
||||
setNew_Getall_TrainingSession_result(new_data2);
|
||||
|
||||
console.log(" ### new_data2 = ", new_data2);
|
||||
console.log(" ### setNew_Getall_TrainingSession_result = ", new_data2);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1516,7 +1517,7 @@ const Partner_Commande = (props) => {
|
|||
|
||||
if (point_config_tva.config_value) {
|
||||
setpartner_taux_tva(point_config_tva.config_value);
|
||||
console.log(" GGG TVA PART = ", point_config_tva.config_value);
|
||||
//console.log(" GGG TVA PART = ", point_config_tva.config_value);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@ -3052,8 +3053,7 @@ const Partner_Commande = (props) => {
|
|||
|
||||
|
||||
|
||||
console.log(" ### qty = ", qty, " ### unit_price = ", unit_price, " ### total_base1 = ", total_base1, " ### total_reduction = ",
|
||||
total_reduction, " ### reduct_value = ", reduct_value);
|
||||
//console.log(" ### qty = ", qty, " ### unit_price = ", unit_price, " ### total_base1 = ", total_base1, " ### total_reduction = ", total_reduction, " ### reduct_value = ", reduct_value);
|
||||
|
||||
var montant_taxe_tva = ((total_base1 - total_reduction) * [parseFloat(String(partner_taux_tva)) / 100]).toFixed(3);
|
||||
var montant_ttc = ((total_base1 - total_reduction) * (1 + [parseFloat(String(partner_taux_tva)) / 100])).toFixed(3); //(total_base2 + montant_taxe_tva).toFixed(2);
|
||||
|
@ -3064,7 +3064,7 @@ const Partner_Commande = (props) => {
|
|||
setp_add_line_item_taxe_amount(String(montant_taxe_tva));
|
||||
setp_add_line_item_total_amount_ttc(String(montant_ttc));
|
||||
|
||||
console.log(" ### montant tva = ", String(montant_taxe_tva), " ### montant TTC = ", String(montant_ttc));
|
||||
//console.log(" ### montant tva = ", String(montant_taxe_tva), " ### montant TTC = ", String(montant_ttc));
|
||||
}
|
||||
|
||||
|
||||
|
@ -3786,7 +3786,6 @@ const Partner_Commande = (props) => {
|
|||
|
||||
|
||||
|
||||
// zzzz
|
||||
return (
|
||||
|
||||
<div className="partner_commande">
|
||||
|
@ -3910,7 +3909,7 @@ const Partner_Commande = (props) => {
|
|||
</Dialog>
|
||||
|
||||
|
||||
|
||||
{/****** Dialog pour la gestion d'un article */}
|
||||
<Dialog
|
||||
open={Dialog_Detail_Article_open}
|
||||
onClose={Dialog_1_handleClose}
|
||||
|
@ -3924,6 +3923,8 @@ const Partner_Commande = (props) => {
|
|||
|
||||
{New_GetCurrentPartnerClass_result && New_GetCurrentPartnerClass_result.length > 0 &&
|
||||
(p_add_line_item || String(p_add_line_item) === "") && String(p_detail_header_statut_label).toLowerCase() !== "facturé" && <div className="session_caract_Dialog" > Formation
|
||||
|
||||
|
||||
<Autocomplete
|
||||
disablePortal
|
||||
name="ref_article"
|
||||
|
@ -3962,12 +3963,14 @@ const Partner_Commande = (props) => {
|
|||
|
||||
{(p_add_line_item || String(p_add_line_item) === "") && String(p_detail_header_statut_label).toLowerCase() !== "facturé"
|
||||
&& New_Getall_TrainingSession_result && New_Getall_TrainingSession_result.length > 0 && <div className="session_caract_Dialog" > Session
|
||||
|
||||
|
||||
<Autocomplete
|
||||
disablePortal
|
||||
name="ref_session"
|
||||
id="ref_session"
|
||||
fullWidth
|
||||
options={New_Getall_TrainingSession_result.filter((data) => (data).class_internal_url === String(p_add_line_item_internal_url))
|
||||
options={New_Getall_TrainingSession_result.filter((data) => (data).class_internal_url === String(p_add_line_item))
|
||||
}
|
||||
|
||||
value={New_Getall_TrainingSession_result.filter((data) => (data)._id === String(p_add_line_session_id))[0].label}
|
||||
|
@ -4278,25 +4281,6 @@ const Partner_Commande = (props) => {
|
|||
|
||||
</div>
|
||||
|
||||
{/* <div className="session_caract" style={{ "width": "100%", "height": "5rem" }}> Total HT
|
||||
|
||||
<TextField
|
||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
|
||||
required
|
||||
name="ref_article_total_amount_ht"
|
||||
id="ref_article_total_amount_ht"
|
||||
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
disabled={true}
|
||||
fullWidth
|
||||
className="disabled_style_Dialog"
|
||||
value={p_add_line_item_total_amount_ht}
|
||||
/>
|
||||
</div>*/}
|
||||
|
||||
|
||||
|
||||
|
||||
</DialogContent>
|
||||
|
@ -4326,6 +4310,11 @@ const Partner_Commande = (props) => {
|
|||
</Dialog>
|
||||
|
||||
|
||||
{/****** FIN Dialog pour la gestion d'un article */}
|
||||
|
||||
|
||||
|
||||
{/********** Dialog pour une entete de commande/devis */}
|
||||
<Dialog
|
||||
open={Dialog_Detail_Commande_open}
|
||||
onClose={Dialog_Order_handleClose}
|
||||
|
@ -4631,6 +4620,7 @@ const Partner_Commande = (props) => {
|
|||
</Dialog>
|
||||
|
||||
|
||||
|
||||
<h3> Vos Commandes et Devis </h3>
|
||||
<div className="div_row">
|
||||
<div className="titre1"> Utilisez les filtres !</div>
|
||||
|
@ -4650,7 +4640,8 @@ const Partner_Commande = (props) => {
|
|||
<MenuItem value="ref_interne" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Ref. Interne </MenuItem>
|
||||
<MenuItem value="ref_externe" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Ref. Externe (chez le client) </MenuItem>
|
||||
<MenuItem value="client_nom" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Nom Client </MenuItem>
|
||||
<MenuItem value="formation" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Lié a la Formation (code externe) </MenuItem>
|
||||
<MenuItem value="formation" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Lié à la Formation (code externe) </MenuItem>
|
||||
<MenuItem value="code_session" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Lié à la session (code session) </MenuItem>
|
||||
|
||||
|
||||
</TextField>
|
||||
|
@ -4731,7 +4722,7 @@ const Partner_Commande = (props) => {
|
|||
<MenuItem value="ref_externe" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Ref. Externe (chez le client) </MenuItem>
|
||||
<MenuItem value="client_nom" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Nom Client </MenuItem>
|
||||
<MenuItem value="formation" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Lié a la Formation (code externe) </MenuItem>
|
||||
|
||||
<MenuItem value="code_session" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Lié à la session (code session) </MenuItem>
|
||||
|
||||
</TextField>
|
||||
</div>
|
||||
|
@ -4811,7 +4802,7 @@ const Partner_Commande = (props) => {
|
|||
<MenuItem value="ref_externe" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Ref. Externe (chez le client) </MenuItem>
|
||||
<MenuItem value="client_nom" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Nom Client </MenuItem>
|
||||
<MenuItem value="formation" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Lié a la Formation (code externe) </MenuItem>
|
||||
|
||||
<MenuItem value="code_session" style={{ "paddingLeft": "5px", "textAlign": "left", "width": "100%" }} >Lié à la session (code session) </MenuItem>
|
||||
|
||||
</TextField>
|
||||
</div>
|
||||
|
|
|
@ -692,6 +692,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
if (sequence_from === undefined || String(sequence_from) === ""
|
||||
|| sequence_to === undefined || String(sequence_to) === "") {
|
||||
console.log(" Les heures du Lundi sont incorrectes");
|
||||
alert("Les heures du Lundi sont incorrectes");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -701,6 +702,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
|
||||
if (work_sequence_from >= work_sequence_to) {
|
||||
console.log(" Les heures du Lundi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
alert(" Les heures du Lundi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -751,6 +753,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
if (sequence_from === undefined || String(sequence_from) === ""
|
||||
|| sequence_to === undefined || String(sequence_to) === "") {
|
||||
console.log(" Les heures du mardi sont incorrectes");
|
||||
alert(" Les heures du mardi sont incorrectes");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -760,6 +763,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
|
||||
if (work_sequence_from >= work_sequence_to) {
|
||||
console.log(" Les heures du mardi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
alert(" Les heures du mardi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -802,6 +806,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
if (sequence_from === undefined || String(sequence_from) === ""
|
||||
|| sequence_to === undefined || String(sequence_to) === "") {
|
||||
console.log(" Les heures du mercredi sont incorrectes");
|
||||
alert(" Les heures du mercredi sont incorrectes");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -811,6 +816,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
|
||||
if (work_sequence_from >= work_sequence_to) {
|
||||
console.log(" Les heures du mercredi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
alert(" Les heures du mercredi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -858,6 +864,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
if (sequence_from === undefined || String(sequence_from) === ""
|
||||
|| sequence_to === undefined || String(sequence_to) === "") {
|
||||
console.log(" Les heures du jeudi sont incorrectes");
|
||||
alert(" Les heures du jeudi sont incorrectes");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -867,6 +874,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
|
||||
if (work_sequence_from >= work_sequence_to) {
|
||||
console.log(" Les heures du jeudi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
alert(" Les heures du jeudi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -915,6 +923,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
if (sequence_from === undefined || String(sequence_from) === ""
|
||||
|| sequence_to === undefined || String(sequence_to) === "") {
|
||||
console.log(" Les heures du vendredi sont incorrectes");
|
||||
alert(" Les heures du vendredi sont incorrectes");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -924,6 +933,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
|
||||
if (work_sequence_from >= work_sequence_to) {
|
||||
console.log(" Les heures du vendredi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
alert(" Les heures du vendredi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -972,6 +982,8 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
if (sequence_from === undefined || String(sequence_from) === ""
|
||||
|| sequence_to === undefined || String(sequence_to) === "") {
|
||||
console.log(" Les heures du samedi sont incorrectes");
|
||||
|
||||
alert(" Les heures du samedi sont incorrectes");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -981,6 +993,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
|
||||
if (work_sequence_from >= work_sequence_to) {
|
||||
console.log(" Les heures du samedi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
alert(" Les heures du samedi sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1027,6 +1040,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
if (sequence_from === undefined || String(sequence_from) === ""
|
||||
|| sequence_to === undefined || String(sequence_to) === "") {
|
||||
console.log(" Les heures du dimanche sont incorrectes");
|
||||
alert(" Les heures du dimanche sont incorrectes");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1036,6 +1050,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
|
||||
if (work_sequence_from >= work_sequence_to) {
|
||||
console.log(" Les heures du dimanche sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
alert(" Les heures du dimanche sont incorrectes. L'heure de fin de séquence doit être antérieure à l'heure de début de séquence");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1915,7 +1930,7 @@ const Partner_Configuration_Jours_Travail = (props) => {
|
|||
)}
|
||||
</Popup>
|
||||
|
||||
data_chanded = {data_chanded}
|
||||
|
||||
{/*<Button variant="contained" className="bton_enreg" onClick={Get_working_Setup}>test affichage
|
||||
</Button>*/}
|
||||
|
||||
|
|
|
@ -562,7 +562,7 @@ const Partner_Facture = (props) => {
|
|||
|
||||
if (new_data2.length > 0) {
|
||||
setNew_Getall_Invoice_Paiement_Payed_Remain_Amounts_result(new_data2);
|
||||
console.log(" ### new_data2 = ", new_data2)
|
||||
// console.log(" ### new_data2 = ", new_data2)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -153,6 +153,7 @@
|
|||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
width: 100%;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -768,7 +769,7 @@
|
|||
margin-right: 1rem;
|
||||
padding: 0.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
width: 11rem;
|
||||
width: 12rem;
|
||||
text-align: center;
|
||||
border: 1px solid #9cf;
|
||||
color: #3b3e40;
|
||||
|
@ -776,6 +777,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -1446,7 +1448,7 @@
|
|||
margin-right: 1rem;
|
||||
padding: 0.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
width: 11rem;
|
||||
width: 12rem;
|
||||
text-align: center;
|
||||
border: 1px solid #9cf;
|
||||
color: #3b3e40;
|
||||
|
@ -1454,6 +1456,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -2012,7 +2015,7 @@
|
|||
margin-right: 1rem;
|
||||
padding: 0.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
min-width: 12rem;
|
||||
min-width: 15rem;
|
||||
text-align: center;
|
||||
border: 1px solid #9cf;
|
||||
color: #3b3e40;
|
||||
|
@ -2020,6 +2023,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
|
|
@ -111,6 +111,7 @@
|
|||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
width: 100%;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -655,7 +656,7 @@
|
|||
margin-right: 1rem;
|
||||
padding: 0.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
width: 11rem;
|
||||
width: 12rem;
|
||||
text-align: center;
|
||||
border: 1px solid #9cf;
|
||||
color: #3b3e40;
|
||||
|
@ -664,6 +665,7 @@
|
|||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
width: auto;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -1269,7 +1271,7 @@
|
|||
margin-right: 1rem;
|
||||
padding: 0.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
width: 11rem;
|
||||
width: 12rem;
|
||||
text-align: center;
|
||||
border: 1px solid #9cf;
|
||||
color: #3b3e40;
|
||||
|
@ -1278,6 +1280,7 @@
|
|||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
width: auto;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -1738,7 +1741,7 @@
|
|||
margin-right: 1rem;
|
||||
padding: 0.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
min-width: 12rem;
|
||||
min-width: 15rem;
|
||||
text-align: center;
|
||||
border: 1px solid #9cf;
|
||||
color: #3b3e40;
|
||||
|
@ -1747,6 +1750,7 @@
|
|||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
width: auto;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
|
|
@ -146,6 +146,7 @@
|
|||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
width: 100%;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -713,7 +714,7 @@
|
|||
margin-right: 1rem;
|
||||
padding: 0.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
width: 11rem;
|
||||
width: 12rem;
|
||||
text-align: center;
|
||||
border: 1px solid #9cf;
|
||||
color: #3b3e40;
|
||||
|
@ -721,6 +722,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -1346,7 +1348,7 @@
|
|||
margin-right: 1rem;
|
||||
padding: 0.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
width: 11rem;
|
||||
width: 12rem;
|
||||
text-align: center;
|
||||
border: 1px solid #9cf;
|
||||
color: #3b3e40;
|
||||
|
@ -1354,6 +1356,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -1849,7 +1852,7 @@
|
|||
margin-right: 1rem;
|
||||
padding: 0.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
min-width: 12rem;
|
||||
min-width: 15rem;
|
||||
text-align: center;
|
||||
border: 1px solid #9cf;
|
||||
color: #3b3e40;
|
||||
|
@ -1857,6 +1860,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
|
|
@ -121,6 +121,7 @@
|
|||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
width: 100%;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -667,6 +668,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -1273,6 +1275,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -1742,6 +1745,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
|
|
@ -112,6 +112,7 @@
|
|||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
width: 100%;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -658,6 +659,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -1264,6 +1266,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
@ -1733,6 +1736,7 @@
|
|||
font-size: small;
|
||||
letter-spacing: 0.1rem;
|
||||
font-weight: normal;
|
||||
height: 2rem !important;
|
||||
}
|
||||
|
||||
.detail_class_submenu:hover:active,
|
||||
|
|
Loading…
Reference in New Issue