diff options
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 | } |
