Loading composer.json +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ "unicaen/siham" : "6.2.0", "unicaen/mail" : "7.1.2", "unicaen/vue" : "6.3.3", "unicaen/bddadmin" : "1.4.0", "unicaen/bddadmin" : "1.4.3", "unicaen/signature" : "1.0.6", "connecteur-ose/actul" : "dev-master", "connecteur-ose/pegase" : "dev-master" Loading front/Paiement/DemandeMiseEnPaiementStructure.vue +17 −1 Original line number Diff line number Diff line Loading @@ -212,7 +212,8 @@ <div v-for="(fonction, codeFonction) in datas.fonctionsReferentiels"> <div class="cartridge gray bordered" style="padding-bottom: 5px"> <span>Référentiel</span> <span>{{codeFonction + ' - ' + fonction.libelle }}</span> <span>{{ fonction.libelle }}</span> <span>{{ this.substr(fonction.commentaires, 40) }}</span> </div> <div class="container"> <div class="row"> Loading Loading @@ -809,6 +810,21 @@ export default { return chaine; } }, substr(chaine, length = 20) { if (chaine === null) { return chaine; } if (chaine.length > length) { var substrChaine = chaine.substring(0, length) + "..."; return substrChaine; } else { return chaine; } }, btnState(id, state) { let btn = document.getElementById(id); Loading module/Paiement/src/Service/DemandesService.php +78 −77 Original line number Diff line number Diff line Loading @@ -176,12 +176,9 @@ class DemandesService extends AbstractService $parametreCentreCout = 'enseignement'; } if ($intervenantStructure instanceof Structure && $structure instanceof Structure) { if($parametreCentreCout == 'affectation') { //Cas ou c'est la composante d'affectation qui fait les demandes de mises en paiement if ($intervenantStructure->getId() == $structure->getId()) { if ($intervenantStructure instanceof Structure && $structure instanceof Structure) { if ($parametreCentreCout == 'affectation') { //Cas ou c'est la composante d'affectation qui fait les demandes de mises en paiement if ($intervenantStructure->getId() == $structure->getId()) { /*Si j'ai un role avec un périmètre composante et que ma structure d'affectation est la même que celle de l'intervenant j'accède à toutes les demandes de mise en paiement peu importe la structure de l'enseignement réalisé de l'intervenant on ne filtre pas les dmep*/ Loading Loading @@ -220,6 +217,7 @@ class DemandesService extends AbstractService MAX(fr.id) fonction_id, fr.code fonction_code, MAX(fr.libelle_long) fonction_libelle, MAX(sr.commentaires) fonction_commentaires, MAX(th.id) type_heure_id, CASE WHEN th.code = 'primes' THEN 'primes' Loading Loading @@ -282,6 +280,7 @@ class DemandesService extends AbstractService e.code, ep.code, fr.code, tp.service_referentiel_id, th.code, tp.mise_en_paiement_id ORDER BY Loading Loading @@ -461,16 +460,18 @@ class DemandesService extends AbstractService $ensCode++; } elseif ($value['TYPAGE'] == "referentiel") { //Partie référentiel $keyFonctionReferentiel = $value['FONCTION_CODE'] . $value['SERVICE_REFERENTIEL_ID']; $dmep[$value['STRUCTURE_CODE']]['code'] = $value['STRUCTURE_CODE']; $dmep[$value['STRUCTURE_CODE']]['id'] = $value['STRUCTURE_ID']; $dmep[$value['STRUCTURE_CODE']]['libelle'] = $value['STRUCTURE_LIBELLE']; $dmep[$value['STRUCTURE_CODE']]['libelleCourt'] = $value['STRUCTURE_LIBELLE_COURT']; $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']]['libelle'] = $value['FONCTION_LIBELLE']; if (!array_key_exists('heures', $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']])) { $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']]['heures'] = []; $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['libelle'] = $value['FONCTION_LIBELLE']; $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['commentaires'] = $value['FONCTION_COMMENTAIRES']; if (!array_key_exists('heures', $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel])) { $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['heures'] = []; } if (!empty($value['MEP_ID'])) { $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']]['heures']['mep_id_' . $value['MEP_ID']] = [ $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['heures']['mep_id_' . $value['MEP_ID']] = [ 'mepId' => $value['MEP_ID'], 'typeHeureId' => $value['TYPE_HEURE_ID'], 'typeHeureCode' => $value['TYPE_HEURE_CODE'], Loading Loading @@ -498,7 +499,7 @@ class DemandesService extends AbstractService ], ]; } else { $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']]['heures']['a_demander'] = [ $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['heures']['a_demander'] = [ 'mepId' => '', 'typeHeureId' => $value['TYPE_HEURE_ID'], 'typeHeureCode' => $value['TYPE_HEURE_CODE'], Loading public/dist/.vite/manifest.json +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "name": "vendor" }, "main.js": { "file": "assets/main-DRaWuXkR.js", "file": "assets/main-R43sWXLa.js", "name": "main", "src": "main.js", "isEntry": true, Loading public/dist/assets/main-DRaWuXkR.js→public/dist/assets/main-R43sWXLa.js +0 −0 File changed and moved.Preview size limit exceeded, changes collapsed. Show changes Loading
composer.json +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ "unicaen/siham" : "6.2.0", "unicaen/mail" : "7.1.2", "unicaen/vue" : "6.3.3", "unicaen/bddadmin" : "1.4.0", "unicaen/bddadmin" : "1.4.3", "unicaen/signature" : "1.0.6", "connecteur-ose/actul" : "dev-master", "connecteur-ose/pegase" : "dev-master" Loading
front/Paiement/DemandeMiseEnPaiementStructure.vue +17 −1 Original line number Diff line number Diff line Loading @@ -212,7 +212,8 @@ <div v-for="(fonction, codeFonction) in datas.fonctionsReferentiels"> <div class="cartridge gray bordered" style="padding-bottom: 5px"> <span>Référentiel</span> <span>{{codeFonction + ' - ' + fonction.libelle }}</span> <span>{{ fonction.libelle }}</span> <span>{{ this.substr(fonction.commentaires, 40) }}</span> </div> <div class="container"> <div class="row"> Loading Loading @@ -809,6 +810,21 @@ export default { return chaine; } }, substr(chaine, length = 20) { if (chaine === null) { return chaine; } if (chaine.length > length) { var substrChaine = chaine.substring(0, length) + "..."; return substrChaine; } else { return chaine; } }, btnState(id, state) { let btn = document.getElementById(id); Loading
module/Paiement/src/Service/DemandesService.php +78 −77 Original line number Diff line number Diff line Loading @@ -176,12 +176,9 @@ class DemandesService extends AbstractService $parametreCentreCout = 'enseignement'; } if ($intervenantStructure instanceof Structure && $structure instanceof Structure) { if($parametreCentreCout == 'affectation') { //Cas ou c'est la composante d'affectation qui fait les demandes de mises en paiement if ($intervenantStructure->getId() == $structure->getId()) { if ($intervenantStructure instanceof Structure && $structure instanceof Structure) { if ($parametreCentreCout == 'affectation') { //Cas ou c'est la composante d'affectation qui fait les demandes de mises en paiement if ($intervenantStructure->getId() == $structure->getId()) { /*Si j'ai un role avec un périmètre composante et que ma structure d'affectation est la même que celle de l'intervenant j'accède à toutes les demandes de mise en paiement peu importe la structure de l'enseignement réalisé de l'intervenant on ne filtre pas les dmep*/ Loading Loading @@ -220,6 +217,7 @@ class DemandesService extends AbstractService MAX(fr.id) fonction_id, fr.code fonction_code, MAX(fr.libelle_long) fonction_libelle, MAX(sr.commentaires) fonction_commentaires, MAX(th.id) type_heure_id, CASE WHEN th.code = 'primes' THEN 'primes' Loading Loading @@ -282,6 +280,7 @@ class DemandesService extends AbstractService e.code, ep.code, fr.code, tp.service_referentiel_id, th.code, tp.mise_en_paiement_id ORDER BY Loading Loading @@ -461,16 +460,18 @@ class DemandesService extends AbstractService $ensCode++; } elseif ($value['TYPAGE'] == "referentiel") { //Partie référentiel $keyFonctionReferentiel = $value['FONCTION_CODE'] . $value['SERVICE_REFERENTIEL_ID']; $dmep[$value['STRUCTURE_CODE']]['code'] = $value['STRUCTURE_CODE']; $dmep[$value['STRUCTURE_CODE']]['id'] = $value['STRUCTURE_ID']; $dmep[$value['STRUCTURE_CODE']]['libelle'] = $value['STRUCTURE_LIBELLE']; $dmep[$value['STRUCTURE_CODE']]['libelleCourt'] = $value['STRUCTURE_LIBELLE_COURT']; $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']]['libelle'] = $value['FONCTION_LIBELLE']; if (!array_key_exists('heures', $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']])) { $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']]['heures'] = []; $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['libelle'] = $value['FONCTION_LIBELLE']; $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['commentaires'] = $value['FONCTION_COMMENTAIRES']; if (!array_key_exists('heures', $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel])) { $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['heures'] = []; } if (!empty($value['MEP_ID'])) { $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']]['heures']['mep_id_' . $value['MEP_ID']] = [ $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['heures']['mep_id_' . $value['MEP_ID']] = [ 'mepId' => $value['MEP_ID'], 'typeHeureId' => $value['TYPE_HEURE_ID'], 'typeHeureCode' => $value['TYPE_HEURE_CODE'], Loading Loading @@ -498,7 +499,7 @@ class DemandesService extends AbstractService ], ]; } else { $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$value['FONCTION_CODE']]['heures']['a_demander'] = [ $dmep[$value['STRUCTURE_CODE']]['fonctionsReferentiels'][$keyFonctionReferentiel]['heures']['a_demander'] = [ 'mepId' => '', 'typeHeureId' => $value['TYPE_HEURE_ID'], 'typeHeureCode' => $value['TYPE_HEURE_CODE'], Loading
public/dist/.vite/manifest.json +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "name": "vendor" }, "main.js": { "file": "assets/main-DRaWuXkR.js", "file": "assets/main-R43sWXLa.js", "name": "main", "src": "main.js", "isEntry": true, Loading
public/dist/assets/main-DRaWuXkR.js→public/dist/assets/main-R43sWXLa.js +0 −0 File changed and moved.Preview size limit exceeded, changes collapsed. Show changes