From 38a3556dbd058a92fdf1d0d566f0d8fbd0d989b5 Mon Sep 17 00:00:00 2001 From: engel <> Date: Fri, 18 Feb 2022 09:37:39 +0000 Subject: [PATCH] =?UTF-8?q?v=C3=A9rification=20s=C3=A9lections=20cases=20e?= =?UTF-8?q?t=20radios?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: ba0d1089be4acbc5c7cfba5ab180a19e6a66bb1b466e8ed238337c239d326a49 --- lib/Personne.php | 12 +++++-- templates/index.tpl | 12 +++---- www/admin/script.js | 79 +++++++++++++++++++++++++++++++++------------ 3 files changed, 75 insertions(+), 28 deletions(-) diff --git a/lib/Personne.php b/lib/Personne.php index 2497586..02c73ec 100644 --- a/lib/Personne.php +++ b/lib/Personne.php @@ -32,6 +32,10 @@ class Personne $this->versements = array(); } + /** + * return copie d'une personne + * @param $p + */ public static function copier($p) { return new Personne( @@ -44,8 +48,12 @@ class Personne } - /* - * ajouter un versement pour une activité et un tarif donnés + /** + * ajouter un versement + * @param $idActivite + * @param $idTarif + * @param $montant + * @param $tauxReduction */ public function ajouterVersement( $idActivite, diff --git a/templates/index.tpl b/templates/index.tpl index c7df99a..92a8be0 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -2,7 +2,7 @@ {include file="%s/templates/_nav.tpl"|args:$plugin_root current_nav="index"}