Rev 296 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php if(!empty($cotisations)) { ?><div>Cotisations pour <?= $infos_utilisateur['prenom'].' '.$infos_utilisateur['nom']; ?> </div><table class="liste"><tr><th>Date</th><th>Montant</th><th>Mode</th><th>Modifier</th><th>Supprimer</th><th>Voir le reçu</th><th>Envoyer le reçu</th><th>Date d'envoi du reçu</th></tr><?php foreach ($cotisations as $cotisation) : ?><tr><td> <?= $cotisation['date_cotisation'] ?> </td><td> <?= $cotisation['montant_cotisation'] ?> €</td><td> <?= $cotisation['mode_cotisation'] ?> </td><td><a href="<?= $cotisation['url_formulaire_modification']; ?>">Modifer </a></td><td><a href="<?= $cotisation['url_suppression']; ?>"> Supprimer</a></td><td><a href="<?= $cotisation['url_voir_recu']; ?>">Voir le reçu</a></td><td><a href="<?= $cotisation['url_envoyer_recu']; ?>">Envoyer le reçu</a></td><?php if($cotisation['date_envoi_recu'] != 0) { ?><td><?= $cotisation['date_envoi_recu'] ?></td><?php } else { ?><td class="recu_non_envoye" style="background-color:red;">Recu non envoyé</td><?php } ?></tr><?php endforeach; ?></table><? } ?><?php if(empty($cotisations)) { ?><p class="attention">Aucune cotisation enregistrée pour ce membre </p><? } ?><p><a href="<?= $url_formulaire_ajout_cotisation ?>"> Saisir une cotisation </a></p><?php if(isset($message)) { ?><p class="attention"> <?= $message ?> </p><?php } ?>