Subversion Repositories Applications.annuaire

Rev

Rev 296 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 296 Rev 514
1
<?php if(!empty($cotisations)) { ?>
1
<?php if(!empty($cotisations)) { ?>
-
 
2
 
-
 
3
	<div>Cotisations pour <?= $infos_utilisateur['prenom'].' '.$infos_utilisateur['nom']; ?> </div>
2
 
4
 
3
	<table class="liste">
5
	<table class="liste">
4
		<tr>
6
		<tr>
5
			<th>Date</th>
7
			<th>Date</th>
6
			<th>Montant</th>
8
			<th>Montant</th>
7
			<th>Mode</th>
9
			<th>Mode</th>
8
			<th>Modifier</th>
10
			<th>Modifier</th>
9
			<th>Supprimer</th>
11
			<th>Supprimer</th>
10
			<th>Voir le re&ccedil;u</th>
12
			<th>Voir le re&ccedil;u</th>
11
			<th>Envoyer le re&ccedil;u</th>
13
			<th>Envoyer le re&ccedil;u</th>
12
			<th>Date d'envoi du re&ccedil;u</th>
14
			<th>Date d'envoi du re&ccedil;u</th>
13
		</tr>
15
		</tr>
14
		
16
		
15
		<?php foreach ($cotisations as $cotisation) : ?>
17
		<?php foreach ($cotisations as $cotisation) : ?>
16
			<tr>
18
			<tr>
17
				<td> <?= $cotisation['date_cotisation'] ?> </td>
19
				<td> <?= $cotisation['date_cotisation'] ?> </td>
18
				<td> <?= $cotisation['montant_cotisation'] ?> &euro;</td>
20
				<td> <?= $cotisation['montant_cotisation'] ?> &euro;</td>
19
				<td> <?= $cotisation['mode_cotisation'] ?> </td>
21
				<td> <?= $cotisation['mode_cotisation'] ?> </td>
20
				<td><a href="<?= $cotisation['url_formulaire_modification']; ?>">Modifer </a></td>
22
				<td><a href="<?= $cotisation['url_formulaire_modification']; ?>">Modifer </a></td>
21
				<td><a href="<?= $cotisation['url_suppression']; ?>"> Supprimer</a></td>
23
				<td><a href="<?= $cotisation['url_suppression']; ?>"> Supprimer</a></td>
22
				<td><a href="<?= $cotisation['url_voir_recu']; ?>">Voir le re&ccedil;u</a></td>
24
				<td><a href="<?= $cotisation['url_voir_recu']; ?>">Voir le re&ccedil;u</a></td>
23
				<td><a href="<?= $cotisation['url_envoyer_recu']; ?>">Envoyer le re&ccedil;u</a></td>
25
				<td><a href="<?= $cotisation['url_envoyer_recu']; ?>">Envoyer le re&ccedil;u</a></td>
24
				<?php if($cotisation['date_envoi_recu'] != 0) { ?>
26
				<?php if($cotisation['date_envoi_recu'] != 0) { ?>
25
				<td><?= $cotisation['date_envoi_recu'] ?></td>
27
				<td><?= $cotisation['date_envoi_recu'] ?></td>
26
				<?php } else { ?>
28
				<?php } else { ?>
27
					<td class="recu_non_envoye" style="background-color:red;">Recu non envoy&eacute;</td>
29
					<td class="recu_non_envoye" style="background-color:red;">Recu non envoy&eacute;</td>
28
				<?php } ?>
30
				<?php } ?>
29
			</tr>
31
			</tr>
30
		<?php endforeach; ?>
32
		<?php endforeach; ?>
31
	</table>
33
	</table>
32
	
34
	
33
<? } ?>	
35
<? } ?>	
34
 
36
 
35
<?php if(empty($cotisations)) { ?>
37
<?php if(empty($cotisations)) { ?>
36
	<p class="attention">Aucune cotisation enregistr&eacute;e pour ce membre </p>
38
	<p class="attention">Aucune cotisation enregistr&eacute;e pour ce membre </p>
37
<? } ?>
39
<? } ?>
38
 
40
 
39
	<p>
41
	<p>
40
		<a href="<?= $url_formulaire_ajout_cotisation ?>"> Saisir une cotisation </a>
42
		<a href="<?= $url_formulaire_ajout_cotisation ?>"> Saisir une cotisation </a>
41
	</p>
43
	</p>
42
	
44
	
43
 
45
 
44
	
46
	
45
<?php if(isset($message)) { ?>
47
<?php if(isset($message)) { ?>
46
	<p class="attention"> <?= $message ?> </p>
48
	<p class="attention"> <?= $message ?> </p>
47
<?php } ?>	
49
<?php } ?>