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>Voir le re&ccedil;u</th>
9
			<th>Date d'envoi du re&ccedil;u</th>
10
		</tr>
11
 
12
		<?php foreach ($cotisations as $cotisation) : ?>
13
			<tr>
14
				<td> <?= $cotisation['date_cotisation'] ?> </td>
15
				<td> <?= $cotisation['montant_cotisation'] ?> &euro;</td>
16
				<td> <?= $cotisation['mode_cotisation'] ?> </td>
17
				<?php if($cotisation['date_envoi_recu'] != 0) { ?>
18
					<td><a href="<?= $cotisation['url_voir_recu']; ?>">Voir le re&ccedil;u</a></td>
19
					<td><?= $cotisation['date_envoi_recu'] ?></td>
20
				<?php } else { ?>
21
					<td></td>
22
					<td class="recu_non_envoye" style="background-color:red;">Recu non envoy&eacute;</td>
23
				<?php } ?>
24
			</tr>
25
		<?php endforeach; ?>
26
	</table>
27
<? } ?>
28
 
29
<?php if(empty($cotisations)) { ?>
30
	<p class="attention">Vous n'avez aucune cotisation enregistr&eacute;e </p>
31
<? } ?>
32
 
33
<?php if(isset($message)) { ?>
34
		<p class="attention"> <?= $message ?> </p>
35
<?php } ?>