1,19 → 1,22 |
<div id="navigation"> |
<p>Navigation : <a href="<?=$url_mois_precedent;?>"><<</a> <?=$mois['mois'];?> <?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">>></a></p> |
</div> |
<?php if ($projets || $absences) : ?> |
<table id="tab_tps_w_mensuel_salarie" summary="Tableau du temps de travail mensuel par salariƩ."> |
<caption> |
<a href="<?=$url_mois_precedent;?>"><<</a> <?=$mois['mois'];?> <?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">>></a> |
</caption> |
<caption>Tableaux global - <?=$mois['mois'];?> <?=$mois['annee'];?></caption> |
<thead> |
<tr> |
<th>Projets</th> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
<th> |
<?=$utilisateur['prenom_nom']?> |
</th> |
<?php endforeach; ?> |
<?php endforeach; ?> |
</tr> |
</thead> |
<tbody> |
<?php $ligne = "impair"; ?> |
<?php if ($projets) : ?> |
<?foreach ($projets as $categorie => $pr):?> |
<tr class="categories"> |
<td class="categories_titre"><?=$categorie;?></td> |
29,8 → 32,9 |
<?php endforeach; ?> |
</tr> |
<?php endforeach; ?> |
<?php $ligne = "impair"; ?> |
<?php endforeach; ?> |
<?php endforeach; ?> |
<?php endif; ?> |
<?php if ($absences) : ?> |
<tr class="absences"> |
<td class="absences_titre">Absences</td> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
44,6 → 48,14 |
<td class="absence"><?= (isset($utilisateur['ab'][$ab_id])) ? $utilisateur['ab'][$ab_id] : " ";?></td> |
<?php endforeach; ?> |
</tr> |
<?php endforeach; ?> |
<?php endforeach; ?> |
<?php endif; ?> |
</tbody> |
</table> |
</table> |
<?php endif; ?> |
|
<?php if (isset($messages)) : ?> |
<?php foreach ($messages as $message) : ?> |
<p class="information"><?=$message;?></p> |
<?php endforeach; ?> |
<?php endif; ?> |