Subversion Repositories Applications.annuaire

Rev

Rev 296 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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