Subversion Repositories Applications.gtt

Rev

Rev 142 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 142 Rev 167
Line 1... Line 1...
1
<?php if (isset($projets) || isset($absences)) : ?>
1
<?php if (isset($projets) || isset($absences)) : ?>
2
Projets	<?php foreach ($elements as $jour) : ?><?=$jour['jour_nom']?> <?=$jour['jour']?>	<?php endforeach; ?>Total
2
Projets	<?php foreach ($elements as $jour) : ?><?=$jour['jour_nom']?> <?=$jour['jour']?>	<?php endforeach; ?>Total
3
<?php if (isset($projets)) : ?>
3
<?php if (isset($projets)) : ?>
4
Travail	<?php foreach ($elements as $jour) : ?><?=(!empty($jour['travail'])) ? $jour['travail'] : ' ';?>	<?php endforeach; ?><?=$total_w;?>
4
Travail	<?php foreach ($elements as $jour) : ?><?=(!empty($jour['travail'])) ? $jour['travail'] : ' ';?>	<?php endforeach; ?><?=$total_w;?>
5
<?foreach ($projets as $categorie => $pr):?>
5
<?php foreach ($projets as $categorie => $pr):?>
Line 6... Line 6...
6
 
6
 
Line 7... Line 7...
7
<?=$categorie;?> [<?=$categories[$categorie]['abreviation'];?>]	<?php foreach ($elements as $jour_id => $jour) : ?><?=(isset($categories[$categorie][$jour_id])) ? $categories[$categorie][$jour_id] : ' ';?>	<?php endforeach; ?><?=$categories[$categorie]['total'];?>
7
<?=$categorie;?> [<?=$categories[$categorie]['abreviation'];?>]	<?php foreach ($elements as $jour_id => $jour) : ?><?=(isset($categories[$categorie][$jour_id])) ? $categories[$categorie][$jour_id] : ' ';?>	<?php endforeach; ?><?=$categories[$categorie]['total'];?>
8
 
8
 
Line 9... Line 9...
9
<?foreach ($pr as $id => $projet):?>
9
<?php foreach ($pr as $id => $projet):?>
Line 10... Line 10...
10
<?=$projet['nom'];?>	<?php foreach ($elements as $jour_id => $jour) : ?><?=(isset($projet['duree'][$jour_id])) ? $projet['duree'][$jour_id] : ' ';?>	<?php endforeach; ?><?=(isset($projet['total'])) ? $projet['total'] : ' ';?>
10
<?=$projet['nom'];?>	<?php foreach ($elements as $jour_id => $jour) : ?><?=(isset($projet['duree'][$jour_id])) ? $projet['duree'][$jour_id] : ' ';?>	<?php endforeach; ?><?=(isset($projet['total'])) ? $projet['total'] : ' ';?>
Line 17... Line 17...
17
<?php foreach ($absences as $ab_id => $absence) : ?>
17
<?php foreach ($absences as $ab_id => $absence) : ?>
18
<?=$absence['nom'];?>	<?php foreach ($elements as $jour_id => $jour) : ?><?= (isset($ab[$ab_id][$jour_id])) ? $ab[$ab_id][$jour_id] : ' ';?>	<?php endforeach; ?><?=(!empty($absence['total'])) ? $absence['total'] : '' ;?>
18
<?=$absence['nom'];?>	<?php foreach ($elements as $jour_id => $jour) : ?><?= (isset($ab[$ab_id][$jour_id])) ? $ab[$ab_id][$jour_id] : ' ';?>	<?php endforeach; ?><?=(!empty($absence['total'])) ? $absence['total'] : '' ;?>
Line 19... Line 19...
19
 
19
 
20
<?php endforeach; ?><?php endif; ?>
20
<?php endforeach; ?><?php endif; ?>
21
Total	<?php foreach ($elements as $jour) : ?><?=(!empty($jour['w_et_a'])) ? $jour['w_et_a'] : ' ';?>	<?php endforeach; ?><?=$total;?>
-
 
22
<?php endif; ?>
21
Total	<?php foreach ($elements as $jour) : ?><?=(!empty($jour['w_et_a'])) ? $jour['w_et_a'] : ' ';?>	<?php endforeach; ?><?=$total;?>
-
 
22
<?php endif; ?>