296 |
aurelien |
1 |
<?php if(!empty($cotisations)) { ?>
|
|
|
2 |
|
514 |
aurelien |
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çu</th>
|
|
|
13 |
<th>Envoyer le reçu</th>
|
|
|
14 |
<th>Date d'envoi du reçu</th>
|
|
|
15 |
</tr>
|
|
|
16 |
|
|
|
17 |
<?php foreach ($cotisations as $cotisation) : ?>
|
|
|
18 |
<tr>
|
|
|
19 |
<td> <?= $cotisation['date_cotisation'] ?> </td>
|
|
|
20 |
<td> <?= $cotisation['montant_cotisation'] ?> €</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çu</a></td>
|
|
|
25 |
<td><a href="<?= $cotisation['url_envoyer_recu']; ?>">Envoyer le reç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é</td>
|
|
|
30 |
<?php } ?>
|
|
|
31 |
</tr>
|
|
|
32 |
<?php endforeach; ?>
|
|
|
33 |
</table>
|
|
|
34 |
|
|
|
35 |
<? } ?>
|
|
|
36 |
|
|
|
37 |
<?php if(empty($cotisations)) { ?>
|
|
|
38 |
<p class="attention">Aucune cotisation enregistrée pour ce membre </p>
|
|
|
39 |
<? } ?>
|
|
|
40 |
|
|
|
41 |
<p>
|
|
|
42 |
<a href="<?= $url_formulaire_ajout_cotisation ?>"> Saisir une cotisation </a>
|
|
|
43 |
</p>
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
<?php if(isset($message)) { ?>
|
|
|
48 |
<p class="attention"> <?= $message ?> </p>
|
|
|
49 |
<?php } ?>
|