Loading data/ddl/view/V_CONTRAT_MAIN.sql +2 Changes for data/ddl/view/V_CONTRAT_MAIN.sql: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ SELECT ct.annee_id, 'Exemplaire à retourner' || ct."exemplaire2" "exemplaire2", ct."totalDiviseParDix", ct."serviceTotal", ct."serviceTotalPaye", ct."legendeAutresHeures", ct."enteteAutresHeures", ct."missionNom", Loading Loading @@ -137,6 +138,7 @@ FROM ( SELECT c.*, ELSE '' END "exemplaire2", REPLACE(ltrim(to_char(COALESCE(hs."serviceTotal", 0), '999999.00')), '.', ',') "serviceTotal", REPLACE(ltrim(to_char(COALESCE(hs."serviceTotal"/10, 0), '999999.00')), '.', ',') "totalDiviseParDix", REPLACE(ltrim(to_char(COALESCE(hs."serviceTotal"+(hs."serviceTotal"/10), 0), '999999.00')), '.', ',') "serviceTotalPaye", CASE WHEN la.autre_libelles IS NOT NULL THEN '*Dont type(s) intervention(s) : ' || la.autre_libelles END "legendeAutresHeures", Loading module/Indicateur/src/Service/IndicateurService.php +17 −2 Changes for module/Indicateur/src/Service/IndicateurService.php: 17 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ class IndicateurService extends AbstractService 'annee' => $annee->getId(), ]; if ($onlyCount) { $select = "COUNT(DISTINCT i.id) NB"; $select = "COUNT(DISTINCT indic.intervenant_id) NB"; $orderBy = ""; } else { $select = " Loading @@ -72,6 +72,19 @@ class IndicateurService extends AbstractService $orderBy = " ORDER BY si.prioritaire_indicateurs DESC, s.libelle_court, i.nom_usuel, i.prenom"; } if ($indicateur->isSpecial()){ $sql = "SELECT $select FROM ($viewDef) indic LEFT JOIN intervenant i ON 1 = 0 LEFT JOIN statut si ON 1 = 0 LEFT JOIN intervenant_dossier d ON 1 = 0 LEFT JOIN structure s ON s.id = indic.structure_id WHERE 1=1 "; }else{ $sql = "SELECT $select FROM Loading @@ -83,7 +96,9 @@ class IndicateurService extends AbstractService WHERE i.annee_id = :annee "; if (!$indicateur->isIrrecevables()) { } if (!$indicateur->isSpecial() && !$indicateur->isIrrecevables()) { $sql .= ' AND i.irrecevable = 0'; } if ($structure) { Loading module/Mission/src/Form/MissionForm.php +1 Changes for module/Mission/src/Form/MissionForm.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -74,6 +74,7 @@ class MissionForm extends AbstractForm 'libelleMission' => 'Libelle mission', 'etudiantsSuivis' => 'Noms des étudiants suivis', 'heuresFormation' => 'Heures de formation prévues', 'heures' => 'Heures', ]); $this->addSubmit(); Loading Loading
data/ddl/view/V_CONTRAT_MAIN.sql +2 Changes for data/ddl/view/V_CONTRAT_MAIN.sql: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ SELECT ct.annee_id, 'Exemplaire à retourner' || ct."exemplaire2" "exemplaire2", ct."totalDiviseParDix", ct."serviceTotal", ct."serviceTotalPaye", ct."legendeAutresHeures", ct."enteteAutresHeures", ct."missionNom", Loading Loading @@ -137,6 +138,7 @@ FROM ( SELECT c.*, ELSE '' END "exemplaire2", REPLACE(ltrim(to_char(COALESCE(hs."serviceTotal", 0), '999999.00')), '.', ',') "serviceTotal", REPLACE(ltrim(to_char(COALESCE(hs."serviceTotal"/10, 0), '999999.00')), '.', ',') "totalDiviseParDix", REPLACE(ltrim(to_char(COALESCE(hs."serviceTotal"+(hs."serviceTotal"/10), 0), '999999.00')), '.', ',') "serviceTotalPaye", CASE WHEN la.autre_libelles IS NOT NULL THEN '*Dont type(s) intervention(s) : ' || la.autre_libelles END "legendeAutresHeures", Loading
module/Indicateur/src/Service/IndicateurService.php +17 −2 Changes for module/Indicateur/src/Service/IndicateurService.php: 17 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ class IndicateurService extends AbstractService 'annee' => $annee->getId(), ]; if ($onlyCount) { $select = "COUNT(DISTINCT i.id) NB"; $select = "COUNT(DISTINCT indic.intervenant_id) NB"; $orderBy = ""; } else { $select = " Loading @@ -72,6 +72,19 @@ class IndicateurService extends AbstractService $orderBy = " ORDER BY si.prioritaire_indicateurs DESC, s.libelle_court, i.nom_usuel, i.prenom"; } if ($indicateur->isSpecial()){ $sql = "SELECT $select FROM ($viewDef) indic LEFT JOIN intervenant i ON 1 = 0 LEFT JOIN statut si ON 1 = 0 LEFT JOIN intervenant_dossier d ON 1 = 0 LEFT JOIN structure s ON s.id = indic.structure_id WHERE 1=1 "; }else{ $sql = "SELECT $select FROM Loading @@ -83,7 +96,9 @@ class IndicateurService extends AbstractService WHERE i.annee_id = :annee "; if (!$indicateur->isIrrecevables()) { } if (!$indicateur->isSpecial() && !$indicateur->isIrrecevables()) { $sql .= ' AND i.irrecevable = 0'; } if ($structure) { Loading
module/Mission/src/Form/MissionForm.php +1 Changes for module/Mission/src/Form/MissionForm.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -74,6 +74,7 @@ class MissionForm extends AbstractForm 'libelleMission' => 'Libelle mission', 'etudiantsSuivis' => 'Noms des étudiants suivis', 'heuresFormation' => 'Heures de formation prévues', 'heures' => 'Heures', ]); $this->addSubmit(); Loading