Rev 514 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<form id="modification_cotisation" method="post" action="<?= $url_ajout_cotisation ?>">
<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; ?>
<tr>
<td> <input name="date_cotisation" id="date_cotisation" size="10" type=text class="calendrier" value="" /> </td>
<td> <input name="montant_cotisation" name="montant_cotisation" size="10" type=text value="30" /> €</td>
<td> <select id="mode_cotisation" name="mode_cotisation">
<?php foreach($modes_cotisation as $id_mode_cotisation => $mode_cotisation) : ?>
<option value="<?= $id_mode_cotisation; ?>" id="mode_cotisation_<?= $id_mode_cotisation; ?>"> <?= $mode_cotisation; ?> </option>
<?php endforeach; ?>
</select>
</td>
<td></td>
<td></td>
<td></td>
<td><input type="submit" value="OK" /></td>
<td><a href="<?= $url_liste_cotisations; ?>" > Annuler </a></td>
</tr>
</table>
<input type="hidden" name="id_cotisant" id="id_cotisant" value="<?= $id_cotisant; ?>" />
</form>