Subversion Repositories Applications.annuaire

Compare Revisions

Ignore whitespace Rev 295 → Rev 296

/trunk/composants/cotisation/squelettes/formulaire_ajout_cotisation.tpl.html
New file
0,0 → 1,48
<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&ccedil;u</th>
<th>Envoyer le re&ccedil;u</th>
<th>Date d'envoi du re&ccedil;u</th>
</tr>
<?php foreach ($cotisations as $cotisation) : ?>
<tr>
<td> <?= $cotisation['date_cotisation'] ?> </td>
<td> <?= $cotisation['montant_cotisation'] ?> &euro;</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&ccedil;u</a></td>
<td><a href="<?= $cotisation['url_envoyer_recu']; ?>">Envoyer le re&ccedil;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&eacute;</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" /> &euro;</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>