26/03/2024 - 21h30
parent
5052653db8
commit
da5e13a043
|
@ -2684,7 +2684,7 @@ const AddParnerClient = (props) => {
|
||||||
formData.append("file_business_object", p_detail_one_file_to_download_type_name);
|
formData.append("file_business_object", p_detail_one_file_to_download_type_name);
|
||||||
formData.append("file_name", file_1_name.name);
|
formData.append("file_name", file_1_name.name);
|
||||||
formData.append("status", "0");
|
formData.append("status", "0");
|
||||||
formData.append("object_owner_collection", "ressource_humaine");
|
formData.append("object_owner_collection", "partner_client");
|
||||||
formData.append("object_owner_id", props.client_id);
|
formData.append("object_owner_id", props.client_id);
|
||||||
|
|
||||||
//formData.append("class_internal_url", internal_url);
|
//formData.append("class_internal_url", internal_url);
|
||||||
|
@ -2797,7 +2797,7 @@ const AddParnerClient = (props) => {
|
||||||
const stored_cookie = getCookie('tokenmysypart');
|
const stored_cookie = getCookie('tokenmysypart');
|
||||||
|
|
||||||
formData.append("token", stored_cookie);
|
formData.append("token", stored_cookie);
|
||||||
formData.append("object_owner_collection", "ressource_humaine");
|
formData.append("object_owner_collection", "partner_client");
|
||||||
formData.append("object_owner_id", local_employee_id);
|
formData.append("object_owner_id", local_employee_id);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -987,14 +987,19 @@ const Module_Attestation_Formation = (props) => {
|
||||||
backgroundColor: 'rgba(235, 235, 235, .7)',
|
backgroundColor: 'rgba(235, 235, 235, .7)',
|
||||||
color: 'black',
|
color: 'black',
|
||||||
},
|
},
|
||||||
'& .line--statut--impair': {
|
|
||||||
backgroundColor: '#FFFFFF',
|
|
||||||
color: 'black',
|
[`& .${gridClasses.cell}`]: {
|
||||||
}, [`& .${gridClasses.cell}`]: {
|
|
||||||
py: 1,
|
py: 1,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'& .line--attestion_envoye': {
|
||||||
|
backgroundColor: '#ccffcc',
|
||||||
|
color: 'black',
|
||||||
|
fontWeight: '600',
|
||||||
|
},
|
||||||
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<DataGrid
|
<DataGrid
|
||||||
checkboxSelection
|
checkboxSelection
|
||||||
|
@ -1043,9 +1048,6 @@ const Module_Attestation_Formation = (props) => {
|
||||||
//sx={datagridSx}
|
//sx={datagridSx}
|
||||||
getCellClassName={(params) => {
|
getCellClassName={(params) => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Pour la gestion de la couleur de zone double cliquée
|
// Pour la gestion de la couleur de zone double cliquée
|
||||||
if (String(params.row.id) === String(gridline_id)) {
|
if (String(params.row.id) === String(gridline_id)) {
|
||||||
return 'line--statut--selected';
|
return 'line--statut--selected';
|
||||||
|
@ -1060,6 +1062,12 @@ const Module_Attestation_Formation = (props) => {
|
||||||
}}
|
}}
|
||||||
|
|
||||||
getRowClassName={(params) => {
|
getRowClassName={(params) => {
|
||||||
|
|
||||||
|
|
||||||
|
if (String(params.row.status) === "1") {
|
||||||
|
|
||||||
|
return 'line--attestion_envoye';
|
||||||
|
}
|
||||||
|
|
||||||
// Pour la gestion de la couleur de zone double cliquée
|
// Pour la gestion de la couleur de zone double cliquée
|
||||||
if (String(params.row.id) === String(gridline_id)) {
|
if (String(params.row.id) === String(gridline_id)) {
|
||||||
|
|
Loading…
Reference in New Issue