Commit 46064bfe authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Correction de bug : Le modèle de contrat est désormais téléchargeable

parent e5f47205
......@@ -11,6 +11,12 @@ author: Laurent Lécluse - DSI - Unicaen
## Notes de mise à jour
#OSE 7.0.3
## Corrections de bugs
Le modèle de contrat est désormais téléchargeable depuis l'interface d'administration.
#OSE 7.0.2
## Corrections de bugs
......
......@@ -34,13 +34,9 @@ echo $this->inlinescript()->appendFile($this->basePath() . '/vendor/unicaen/impo
<?php foreach ($modeles as $modele): ?>
<tr>
<td><?php
if ($modele->getFichier()) {
echo $this->tag('a', [
'href' => $this->url('contrat/modeles/telecharger', ['modeleContrat' => $modele->getId()]),
])->text($modele->getLibelle());
} else {
echo $modele->getLibelle();
}
echo $this->tag('a', [
'href' => $this->url('contrat/modeles/telecharger', ['modeleContrat' => $modele->getId()]),
])->text($modele->getLibelle());
?></td>
<td><?= $modele->getStructure() ?></td>
<td><?= $modele->getStatutIntervenant() ?></td>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment