Skip to content
Snippets Groups Projects
Commit d44a22ba authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files
parent 9f96f2e5
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,12 @@ title: "Changements intervenus sur OSE"
author: Laurent Lécluse - DSI - Unicaen
---
# OSE 8.1.2 (à venir)
## Corrections de bugs
* Depuis l'offre de formation, lorsqu'un élément a plusieurs centres de coûts associés, les historiques ne sont plus pris en compte
# OSE 8.1.1
## Corrections de bugs
......
......@@ -151,7 +151,7 @@ class ElementPedagogique implements HistoriqueAwareInterface, AnneeAwareInterfac
public function __toString()
{
return $this->getSourceCode() . ' - ' . $this->getLibelle();
return $this->getCode() . ' - ' . $this->getLibelle();
}
......@@ -739,7 +739,7 @@ class ElementPedagogique implements HistoriqueAwareInterface, AnneeAwareInterfac
}
$f = function (CentreCoutEp $ccEp) use ($th) {
return $ccEp->getTypeHeures() === $th;
return ($ccEp->getTypeHeures() === $th) && empty($ccEp->getHistoDestruction());
};
$slice = $this->centreCoutEp->filter($f);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment