From 49932e1f69974660ae30ee6baec3499118fda311 Mon Sep 17 00:00:00 2001
From: CHEVALIER Noemy <noemy.chevalier7@etu.univ-lorraine.fr>
Date: Wed, 31 May 2023 15:43:43 +0000
Subject: [PATCH] Modification affichage barre prof

---
 shukan/ShukanData.java | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/shukan/ShukanData.java b/shukan/ShukanData.java
index f67b27b..be6f33f 100644
--- a/shukan/ShukanData.java
+++ b/shukan/ShukanData.java
@@ -14,7 +14,7 @@ public class ShukanData
   /** Sort for teachers */
   private int[] tSort = new int[0];
   /** Students */
-  private String[] students = {"Etu"};
+  private String[] students = {"Professeur"};
   /** Sort for students */
   private int[] sSort = {0};
   /** Scolar year (for displays) */
@@ -359,10 +359,7 @@ public class ShukanData
     if (selLoad < 0)
       for (int j = 0; j < curs.length; j++)
         for (int i = 0; i < mod[j].length; i++)
-          load += mod[j][i].teacherLoad (tSort[selLoad + teachers.length],
-                                         week);
-    else for (int i = 0; i < mod[selCur].length; i++)
-      load += mod[selCur][i].studentLoad (week);
+          load += mod[j][i].teacherLoad (tSort[selLoad + teachers.length], week);
     return (load);
   }
 
-- 
GitLab