Subversion Repositories Applications.annuaire

Rev

Rev 492 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
296 aurelien 1
<?php if(!empty($cotisations)) { ?>
513 aurelien 2
 
3
	<div>Cotisations pour <?= $infos_utilisateur['prenom'].' '.$infos_utilisateur['nom']; ?> </div>
296 aurelien 4
 
5
	<table class="liste">
6
		<tr>
7
			<th>Date</th>
8
			<th>Montant</th>
9
			<th>Mode</th>
10
			<th>Voir 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
				<?php if($cotisation['date_envoi_recu'] != 0) { ?>
20
					<td><a href="<?= $cotisation['url_voir_recu']; ?>">Voir le re&ccedil;u</a></td>
21
					<td><?= $cotisation['date_envoi_recu'] ?></td>
22
				<?php } else { ?>
23
					<td></td>
24
					<td class="recu_non_envoye" style="background-color:red;">Recu non envoy&eacute;</td>
25
				<?php } ?>
26
			</tr>
27
		<?php endforeach; ?>
28
	</table>
29
<? } ?>
30
 
31
<?php if(empty($cotisations)) { ?>
32
	<p class="attention">Vous n'avez aucune cotisation enregistr&eacute;e </p>
33
<? } ?>
34
 
35
<?php if(isset($message)) { ?>
36
		<p class="attention"> <?= $message ?> </p>
37
<?php } ?>