Skip to content
Snippets Groups Projects
Commit 49932e1f authored by CHEVALIER Noemy's avatar CHEVALIER Noemy
Browse files

Modification affichage barre prof

parent 1c4a1562
Branches
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ public class ShukanData ...@@ -14,7 +14,7 @@ public class ShukanData
/** Sort for teachers */ /** Sort for teachers */
private int[] tSort = new int[0]; private int[] tSort = new int[0];
/** Students */ /** Students */
private String[] students = {"Etu"}; private String[] students = {"Professeur"};
/** Sort for students */ /** Sort for students */
private int[] sSort = {0}; private int[] sSort = {0};
/** Scolar year (for displays) */ /** Scolar year (for displays) */
...@@ -359,10 +359,7 @@ public class ShukanData ...@@ -359,10 +359,7 @@ public class ShukanData
if (selLoad < 0) if (selLoad < 0)
for (int j = 0; j < curs.length; j++) for (int j = 0; j < curs.length; j++)
for (int i = 0; i < mod[j].length; i++) for (int i = 0; i < mod[j].length; i++)
load += mod[j][i].teacherLoad (tSort[selLoad + teachers.length], load += mod[j][i].teacherLoad (tSort[selLoad + teachers.length], week);
week);
else for (int i = 0; i < mod[selCur].length; i++)
load += mod[selCur][i].studentLoad (week);
return (load); return (load);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment