From 30b3819db6742a1851ca8af8b9763cbd17bffeca Mon Sep 17 00:00:00 2001 From: polo Date: Wed, 21 Oct 2026 10:36:47 +0200 Subject: =?UTF-8?q?mise=20en=20place=20de=20l'h=C3=A9ritage=204,=20livre?= =?UTF-8?q?=5Frecettes.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/livre_recettes.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/livre_recettes.php') diff --git a/bin/livre_recettes.php b/bin/livre_recettes.php index 656aef6..85e3265 100755 --- a/bin/livre_recettes.php +++ b/bin/livre_recettes.php @@ -78,14 +78,14 @@ foreach($years as $year){ . $presta->getModePaiement() . '|'; if($presta->getTypePresta() === 'facture'){ - $result .= $presta->getFacture()->getTotalPieces() . '|'; - $result .= $presta->getFacture()->getTotalHT() . '||'; + $result .= $presta->getTotalPieces() . '|'; + $result .= $presta->getTotalHT() . '||'; } elseif($presta->getTypePresta() === 'cesu'){ - $result .= '||' . $presta->getCESU()->getSalaire() . '|'; + $result .= '||' . $presta->getSalaire() . '|'; } elseif($presta->getTypePresta() === 'location'){ - $result .= '|' . (string)($presta->getLocation()->getLoyer() * (float)$presta->getLocation()->getLoyersPayes()) . '||'; + $result .= '|' . (string)($presta->getLoyer() * (float)$presta->getLoyersPayes()) . '||'; } $result .= $presta->getCodePresta() . "\n"; } -- cgit v1.2.3