<?php //$katao_member_group = $form->getObject() ?>
<div class="content-add01">
  <div class="heading01"><h1>Adh&eacute;sions</h1></div>
</div>

<table class="admin-list">
	<tfoot>
		<a href="">Ajouter une ann&eacute;e</a>
	</tfoot>
	<thead>
		<th>Année</th>
		<th>Montant</th>
		<th>Moyen de paiement</th>
		<th>Nouvelle adhésion</th>
		<th>Actions</th>
	</thead>
	<tbody>
	<?php foreach($list_objet as $obj): ?>
		<tr>
			<td>
				<?php $year = getdate($obj->getYear()); echo $year[year]; ?>
			</td>
			<td>
				<?php echo $obj->getAmount()." €" ?>
			</td>
			<td>
				<?php echo KataoMemberAdhesionPeer::$HASH_TABLE['payment_kind'][$obj->getPaymentKind()] ?>
			</td>
			<td>
				<?php echo KataoMemberAdhesionPeer::$HASH_TABLE['type'][$obj->getType()] ?>
			</td>
			<td>
				<a href='<?php echo url_for('@katao_member_adhesion_edit?id='.$obj->getId()) ?>'><?php echo image_tag('actions/edit.png') ?></a>
				<a href='<?php echo url_for('@katao_member_adhesion_delete?userid='.$userid.'&id='.$obj->getId()) ?>'><?php echo image_tag('actions/delete.png')?> </a>
			</td>
		</tr>
	<?php endforeach ?>
	</tbody>
</table>