ajout bouton générer

FossilOrigin-Name: c4ee1e2f9ebe9c1a99adb825034569a4274d92e953df1a30475210c08bc3aa28
This commit is contained in:
engel 2022-04-24 12:07:36 +00:00
parent 78f6a982a4
commit bbfba688c6
5 changed files with 187 additions and 61 deletions

View file

@ -8,28 +8,28 @@ namespace Garradin\Plugin\RecusFiscaux;
class Personne
{
public $id;
public $rang; // par ordre alpha de nomPrenom ; sert aux tris
public $nomPrenom;
public $adresse;
public $codePostal;
public $ville;
public $courriel;
public $versements; // versements par taux de réduction
public function __construct(
$id,
$rang,
$nomPrenom,
$adresse,
$codePostal,
$ville,
$courriel = ""
$ville
)
{
$this->id = $id;
$this->rang = $rang;
$this->nomPrenom = $nomPrenom;
$this->adresse = $adresse;
$this->codePostal = $codePostal;
$this->ville = $ville;
$this->courriel = $courriel;
$this->versements = array(); // clé = tarif, valeur = montant
}
@ -40,11 +40,11 @@ class Personne
{
return new Personne(
$this->id,
$this->rang,
$this->nomPrenom,
$this->adresse,
$this->codePostal,
$this->ville,
$this->courriel);
$this->ville);
}
/**