diff options
| author | polo <ordipolo@gmx.fr> | 2026-10-21 10:36:47 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-10-21 10:36:47 +0200 |
| commit | 30b3819db6742a1851ca8af8b9763cbd17bffeca (patch) | |
| tree | c26dd58b09b2df2d14c7f270769ec629ea4eb411 /bin | |
| parent | f11d84c6a1017ed51bf7be1cecc1bffcd9084e47 (diff) | |
| download | AppliGestionPHP-30b3819db6742a1851ca8af8b9763cbd17bffeca.tar.gz AppliGestionPHP-30b3819db6742a1851ca8af8b9763cbd17bffeca.tar.bz2 AppliGestionPHP-30b3819db6742a1851ca8af8b9763cbd17bffeca.zip | |
mise en place de l'héritage 4, livre_recettes.php
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/livre_recettes.php | 8 |
1 files changed, 4 insertions, 4 deletions
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){ | |||
| 78 | . $presta->getModePaiement() . '|'; | 78 | . $presta->getModePaiement() . '|'; |
| 79 | 79 | ||
| 80 | if($presta->getTypePresta() === 'facture'){ | 80 | if($presta->getTypePresta() === 'facture'){ |
| 81 | $result .= $presta->getFacture()->getTotalPieces() . '|'; | 81 | $result .= $presta->getTotalPieces() . '|'; |
| 82 | $result .= $presta->getFacture()->getTotalHT() . '||'; | 82 | $result .= $presta->getTotalHT() . '||'; |
| 83 | } | 83 | } |
| 84 | elseif($presta->getTypePresta() === 'cesu'){ | 84 | elseif($presta->getTypePresta() === 'cesu'){ |
| 85 | $result .= '||' . $presta->getCESU()->getSalaire() . '|'; | 85 | $result .= '||' . $presta->getSalaire() . '|'; |
| 86 | } | 86 | } |
| 87 | elseif($presta->getTypePresta() === 'location'){ | 87 | elseif($presta->getTypePresta() === 'location'){ |
| 88 | $result .= '|' . (string)($presta->getLocation()->getLoyer() * (float)$presta->getLocation()->getLoyersPayes()) . '||'; | 88 | $result .= '|' . (string)($presta->getLoyer() * (float)$presta->getLoyersPayes()) . '||'; |
| 89 | } | 89 | } |
| 90 | $result .= $presta->getCodePresta() . "\n"; | 90 | $result .= $presta->getCodePresta() . "\n"; |
| 91 | } | 91 | } |
