gestion affichage si plusieurs réductions
FossilOrigin-Name: 34367b01dc439cf6979ad81ed4735787c167d106a197d3172f5519fdd53fde3f
This commit is contained in:
parent
7b426d3e32
commit
f7aca72950
5 changed files with 54 additions and 23 deletions
|
|
@ -13,7 +13,7 @@ class Personne
|
|||
public $ville;
|
||||
public $codePostal;
|
||||
public $courriel;
|
||||
public $versements;
|
||||
public $versements; // tableau des versements totaux par activité/tarif
|
||||
|
||||
public function __construct(
|
||||
$id,
|
||||
|
|
@ -33,20 +33,18 @@ class Personne
|
|||
}
|
||||
|
||||
/*
|
||||
* ajouter un versement
|
||||
* ajouter un versement pour une activité et un tarif donnés
|
||||
*/
|
||||
public function ajouterVersement(
|
||||
$idActivite,
|
||||
$idTarif,
|
||||
$montant
|
||||
) {
|
||||
// var_dump($this);
|
||||
$this->versements[] =
|
||||
new Versement(
|
||||
$idActivite,
|
||||
$idTarif,
|
||||
$montant
|
||||
);
|
||||
// var_dump($this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue