17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
$cats = new Membres\Categories;
$categorie = $cats->get($membre->id_categorie);
$tpl->assign('categorie', $categorie);
$cotisations = new Membres\Cotisations;
if (!empty($categorie->id_cotisation_obligatoire))
{
$tpl->assign('cotisation', $cotisations->isMemberUpToDate($membre->id, $categorie->id_cotisation_obligatoire));
}
else
{
$tpl->assign('cotisation', false);
}
$tpl->assign('nb_activites', $cotisations->countForMember($membre->id));
$tpl->assign('cotisations', $cotisations->listForMember($membre->id));
$tpl->assign('cotisations_membre', $cotisations->listSubscriptionsForMember($membre->id));
$tpl->assign('membre', $membre);
$tpl->display('admin/membres/cotisations.tpl');
|
<
<
<
<
<
<
<
<
<
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$cats = new Membres\Categories;
$categorie = $cats->get($membre->id_categorie);
$tpl->assign('categorie', $categorie);
$cotisations = new Membres\Cotisations;
$tpl->assign('nb_activites', $cotisations->countForMember($membre->id));
$tpl->assign('cotisations', $cotisations->listForMember($membre->id));
$tpl->assign('cotisations_membre', $cotisations->listSubscriptionsForMember($membre->id));
$tpl->assign('membre', $membre);
$tpl->display('admin/membres/cotisations.tpl');
|