89 |
jpm |
1 |
<?php if (isset($messages)) : ?>
|
|
|
2 |
<?php foreach ($messages as $message) : ?>
|
48 |
jpm |
3 |
<p class="information"><?=$message;?></p>
|
89 |
jpm |
4 |
<?php endforeach; ?>
|
48 |
jpm |
5 |
<?php endif; ?>
|
89 |
jpm |
6 |
<?php if (isset($motifs)) : ?>
|
|
|
7 |
<form id="admin_absence_motif_editer" class="editer" name="admin_absence_motif_editer" action="index.php?action=admin-absence-motif_editer" method="post">
|
48 |
jpm |
8 |
<fieldset>
|
104 |
jpm |
9 |
<legend>Éditer un motif d'absence</legend>
|
48 |
jpm |
10 |
<ul>
|
|
|
11 |
<li>
|
75 |
jpm |
12 |
<label for="amsu_id">Motif d'absence :</label>
|
48 |
jpm |
13 |
<select id="amsu_id" name="amsu_id">
|
|
|
14 |
<?php foreach ($motifs as $motif) : ?>
|
|
|
15 |
<option value="<?=$motif['id'];?>"><?=$motif['libelle'];?></option>
|
|
|
16 |
<?php endforeach; ?>
|
|
|
17 |
</select>
|
|
|
18 |
</li>
|
104 |
jpm |
19 |
<li><input id="btn_absence_motif_supprimer" name="btn_absence_motif_supprimer" value="Supprimer" type="submit" onclick="javascript:return confirm('Êtes vous sûr de vouloir supprimer ce motif d\'abscence ?');"/></li>
|
89 |
jpm |
20 |
<li><input id="btn_absence_motif_modifier" name="btn_absence_motif_modifier" value="Modifier" type="submit" /></li>
|
48 |
jpm |
21 |
</ul>
|
|
|
22 |
</fieldset>
|
|
|
23 |
</form>
|
89 |
jpm |
24 |
<?php endif; ?>
|
|
|
25 |
<form id="admin_absence_motif_ajouter" name="admin_absence_motif_ajouter" action="<?=$form_url;?>" method="post">
|
75 |
jpm |
26 |
<fieldset>
|
89 |
jpm |
27 |
<legend><?=$form_legend;?></legend>
|
75 |
jpm |
28 |
<ul>
|
|
|
29 |
<li>
|
104 |
jpm |
30 |
<label for="amaj_libelle">Libellé :</label>
|
89 |
jpm |
31 |
<input size="30" id="amaj_libelle" name="amaj_libelle" type="text" value="<?=$AbsenceMotif->getLibelle();?>"/>
|
75 |
jpm |
32 |
<span class="symbole_obligatoire">*</span>
|
|
|
33 |
</li>
|
|
|
34 |
<li>
|
104 |
jpm |
35 |
<label for="amaj_mark_cp_diminuer">Diminue le nombre de congés payés :</label>
|
89 |
jpm |
36 |
<input id="amaj_mark_cp_diminuer" name="amaj_mark_cp_diminuer" type="checkbox" value="1" <?=($AbsenceMotif->getMarkCpDiminuer())?'checked="checked"':'';?>/>
|
|
|
37 |
</li>
|
|
|
38 |
<li>
|
104 |
jpm |
39 |
<label for="amaj_mark_hs_diminuer">Diminue le nombre d'heures suplémentaires :</label>
|
89 |
jpm |
40 |
<input id="amaj_mark_hs_diminuer" name="amaj_mark_hs_diminuer" type="checkbox" value="1" <?=($AbsenceMotif->getMarkHsDiminuer())?'checked="checked"':'';?>/>
|
|
|
41 |
</li>
|
|
|
42 |
<li>
|
|
|
43 |
<input name="amaj_id_absence_motif" type="hidden" value="<?=$AbsenceMotif->getIdAbsenceMotif();?>"/>
|
|
|
44 |
<input id="<?=$form_bouton_id;?>" name="<?=$form_bouton_id;?>" value="<?=$form_bouton_value;?>" type="submit" />
|
|
|
45 |
<input id="btn_utilisateur_annuler" name="btn_utilisateur_annuler" value="Annuler" type="submit" />
|
|
|
46 |
</li>
|
75 |
jpm |
47 |
<li><span class="symbole_obligatoire">*</span> =champs obligatoires</li>
|
|
|
48 |
</ul>
|
|
|
49 |
</fieldset>
|
|
|
50 |
</form>
|