Subversion Repositories Applications.annuaire

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
296 aurelien 1
<?php if(!empty($cotisations)) { ?>
2
 
3
	<table class="liste">
4
		<tr>
5
			<th>Date</th>
6
			<th>Montant</th>
7
			<th>Mode</th>
8
			<th>Modifier</th>
9
			<th>Supprimer</th>
10
			<th>Voir le re&ccedil;u</th>
11
			<th>Envoyer le re&ccedil;u</th>
12
			<th>Date d'envoi du re&ccedil;u</th>
13
		</tr>
14
 
15
		<?php foreach ($cotisations as $cotisation) : ?>
16
			<tr>
17
				<td> <?= $cotisation['date_cotisation'] ?> </td>
18
				<td> <?= $cotisation['montant_cotisation'] ?> &euro;</td>
19
				<td> <?= $cotisation['mode_cotisation'] ?> </td>
20
				<td><a href="<?= $cotisation['url_formulaire_modification']; ?>">Modifer </a></td>
21
				<td><a href="<?= $cotisation['url_suppression']; ?>"> Supprimer</a></td>
22
				<td><a href="<?= $cotisation['url_voir_recu']; ?>">Voir le re&ccedil;u</a></td>
23
				<td><a href="<?= $cotisation['url_envoyer_recu']; ?>">Envoyer le re&ccedil;u</a></td>
24
				<?php if($cotisation['date_envoi_recu'] != 0) { ?>
25
				<td><?= $cotisation['date_envoi_recu'] ?></td>
26
				<?php } else { ?>
27
					<td class="recu_non_envoye" style="background-color:red;">Recu non envoy&eacute;</td>
28
				<?php } ?>
29
			</tr>
30
		<?php endforeach; ?>
31
	</table>
32
 
33
<? } ?>
34
 
35
<?php if(empty($cotisations)) { ?>
36
	<p class="attention">Aucune cotisation enregistr&eacute;e pour ce membre </p>
37
<? } ?>
38
 
39
	<p>
40
		<a href="<?= $url_formulaire_ajout_cotisation ?>"> Saisir une cotisation </a>
41
	</p>
42
 
43
 
44
 
45
<?php if(isset($message)) { ?>
46
	<p class="attention"> <?= $message ?> </p>
47
<?php } ?>