diff options
Diffstat (limited to 'src/model/Locations.php')
| -rw-r--r-- | src/model/Locations.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/model/Locations.php b/src/model/Locations.php index 8ebf757..149c1f1 100644 --- a/src/model/Locations.php +++ b/src/model/Locations.php | |||
| @@ -54,10 +54,9 @@ class Locations extends Model | |||
| 54 | $this->etat_des_lieux_fin = $value; | 54 | $this->etat_des_lieux_fin = $value; |
| 55 | return($this); | 55 | return($this); |
| 56 | } | 56 | } |
| 57 | public function setDureeLocation($value) | 57 | public function setDureeLocation(string $value) |
| 58 | { | 58 | { |
| 59 | $value = str_replace(',', '.', $value); | 59 | $this->duree_location = $value; |
| 60 | $this->duree_location = (float) $value; | ||
| 61 | return($this); | 60 | return($this); |
| 62 | } | 61 | } |
| 63 | public function setLoyerMensuel($value) | 62 | public function setLoyerMensuel($value) |
