From e26c37eb0ed58f92df495ee3b44c8664d56885f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr>
Date: Tue, 10 Nov 2020 15:15:49 +0100
Subject: [PATCH] Refactoring manquant.

---
 .../application/intervenant/voir-heures-comp.phtml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/module/Application/view/application/intervenant/voir-heures-comp.phtml b/module/Application/view/application/intervenant/voir-heures-comp.phtml
index ad1339401a..337d44da14 100755
--- a/module/Application/view/application/intervenant/voir-heures-comp.phtml
+++ b/module/Application/view/application/intervenant/voir-heures-comp.phtml
@@ -42,11 +42,11 @@ $this->intervenant($intervenant)->renderTitle('Calcul HETD');
 
 ?>
 
-<style>
-    th {
-        background-color: #eee
-    }
-</style>
+    <style>
+        th {
+            background-color: #eee
+        }
+    </style>
 <?= $this->form()->openTag($form->prepare()); ?>
     <div class="row">
         <div class="col-sm-4"><?= $this->formControlGroup($form->get('type-volume-horaire')); ?></div>
@@ -91,7 +91,7 @@ $this->intervenant($intervenant)->renderTitle('Calcul HETD');
 <?php endif; ?>
 
 
-<h2>Heures effectives d'enseignement</h2>
+    <h2>Heures effectives d'enseignement</h2>
 <?php if (count($data['s']) > 0): ?>
     <table class="table table-bordered table-condensed table-extra-condensed">
         <tr>
@@ -268,7 +268,7 @@ if ($canPutInTest) {
     echo $this->tag('a', [
         'class' => 'btn btn-default',
         'href'  => $this->url('formule-calcul/test/creer-from-reel', [
-            'intervenant'       => $intervenant->getRouteParam(),
+            'intervenant'       => $intervenant->getId(),
             'typeVolumeHoraire' => $form->get('type-volume-horaire')->getValue(),
             'etatVolumeHoraire' => $form->get('etat-volume-horaire')->getValue(),
         ]),
-- 
GitLab