Subversion Repositories Applications.annuaire

Rev

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