Subversion Repositories Applications.annuaire

Rev

Rev 296 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 296 Rev 514
1
<form id="modification_cotisation" method="post" action="<?= $url_ajout_cotisation ?>">
1
<form id="modification_cotisation" method="post" action="<?= $url_ajout_cotisation ?>">
-
 
2
	
-
 
3
	<div>Cotisations pour <?= $infos_utilisateur['prenom'].' '.$infos_utilisateur['nom']; ?> </div>
-
 
4
	
2
	<table class="liste">
5
	<table class="liste">
3
		<tr>
6
		<tr>
4
			<th>Date</th>
7
			<th>Date</th>
5
			<th>Montant</th>
8
			<th>Montant</th>
6
			<th>Mode</th>
9
			<th>Mode</th>
7
			<th>Modifier</th>
10
			<th>Modifier</th>
8
			<th>Supprimer</th>
11
			<th>Supprimer</th>
9
			<th>Voir le re&ccedil;u</th>
12
			<th>Voir le re&ccedil;u</th>
10
			<th>Envoyer le re&ccedil;u</th>
13
			<th>Envoyer le re&ccedil;u</th>
11
			<th>Date d'envoi du re&ccedil;u</th>
14
			<th>Date d'envoi du re&ccedil;u</th>
12
		</tr>
15
		</tr>
13
		
16
		
14
		<?php foreach ($cotisations as $cotisation) : ?>
17
		<?php foreach ($cotisations as $cotisation) : ?>
15
			<tr>
18
			<tr>
16
				<td> <?= $cotisation['date_cotisation'] ?> </td>
19
				<td> <?= $cotisation['date_cotisation'] ?> </td>
17
				<td> <?= $cotisation['montant_cotisation'] ?> &euro;</td>
20
				<td> <?= $cotisation['montant_cotisation'] ?> &euro;</td>
18
				<td> <?= $cotisation['mode_cotisation'] ?> </td>
21
				<td> <?= $cotisation['mode_cotisation'] ?> </td>
19
				<td><a href="<?= $cotisation['url_formulaire_modification']; ?>">Modifer </a></td>
22
				<td><a href="<?= $cotisation['url_formulaire_modification']; ?>">Modifer </a></td>
20
				<td><a href="<?= $cotisation['url_suppression']; ?>"> Supprimer</a></td>
23
				<td><a href="<?= $cotisation['url_suppression']; ?>"> Supprimer</a></td>
21
				<td><a href="<?= $cotisation['url_voir_recu']; ?>">Voir le re&ccedil;u</a></td>
24
				<td><a href="<?= $cotisation['url_voir_recu']; ?>">Voir le re&ccedil;u</a></td>
22
				<td><a href="<?= $cotisation['url_envoyer_recu']; ?>">Envoyer le re&ccedil;u</a></td>
25
				<td><a href="<?= $cotisation['url_envoyer_recu']; ?>">Envoyer le re&ccedil;u</a></td>
23
				<?php if($cotisation['date_envoi_recu'] != 0) { ?>
26
				<?php if($cotisation['date_envoi_recu'] != 0) { ?>
24
				<td><?= $cotisation['date_envoi_recu'] ?></td>
27
				<td><?= $cotisation['date_envoi_recu'] ?></td>
25
				<?php } else { ?>
28
				<?php } else { ?>
26
					<td class="recu_non_envoye" style="background-color:red;">Recu non envoy&eacute;</td>
29
					<td class="recu_non_envoye" style="background-color:red;">Recu non envoy&eacute;</td>
27
				<?php } ?>
30
				<?php } ?>
28
			</tr>
31
			</tr>
29
		<?php endforeach; ?>
32
		<?php endforeach; ?>
30
			<tr>
33
			<tr>
31
				<td> <input name="date_cotisation" id="date_cotisation" size="10" type=text class="calendrier" value="" /> </td>
34
				<td> <input name="date_cotisation" id="date_cotisation" size="10" type=text class="calendrier" value="" /> </td>
32
				<td> <input name="montant_cotisation" name="montant_cotisation" size="10" type=text value="30" /> &euro;</td>
35
				<td> <input name="montant_cotisation" name="montant_cotisation" size="10" type=text value="30" /> &euro;</td>
33
				<td> <select id="mode_cotisation" name="mode_cotisation">
36
				<td> <select id="mode_cotisation" name="mode_cotisation">
34
						<?php foreach($modes_cotisation as $id_mode_cotisation => $mode_cotisation) : ?>
37
						<?php foreach($modes_cotisation as $id_mode_cotisation => $mode_cotisation) : ?>
35
							<option value="<?= $id_mode_cotisation; ?>" id="mode_cotisation_<?= $id_mode_cotisation; ?>"> <?= $mode_cotisation; ?> </option>
38
							<option value="<?= $id_mode_cotisation; ?>" id="mode_cotisation_<?= $id_mode_cotisation; ?>"> <?= $mode_cotisation; ?> </option>
36
						<?php endforeach; ?>
39
						<?php endforeach; ?>
37
					</select>
40
					</select>
38
				</td>
41
				</td>
39
				<td></td>
42
				<td></td>
40
				<td></td>
43
				<td></td>
41
				<td></td>
44
				<td></td>
42
				<td><input type="submit" value="OK" /></td>	
45
				<td><input type="submit" value="OK" /></td>	
43
				<td><a href="<?= $url_liste_cotisations; ?>" > Annuler </a></td>
46
				<td><a href="<?= $url_liste_cotisations; ?>" > Annuler </a></td>
44
			</tr>
47
			</tr>
45
	</table>
48
	</table>
46
	
49
	
47
	<input type="hidden" name="id_cotisant" id="id_cotisant" value="<?= $id_cotisant; ?>" />
50
	<input type="hidden" name="id_cotisant" id="id_cotisant" value="<?= $id_cotisant; ?>" />
48
</form>
51
</form>