Skip to content

Commit

Permalink
FIX: invoice: revenue stamp wrongly converted to int (#31840)
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-dll authored Nov 15, 2024
1 parent cd7a6e6 commit 7e9919e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/facture/class/facture.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2511,7 +2511,7 @@ public function update(User $user, $notrigger = 0)
$sql .= " localtax2=".(isset($this->total_localtax2) ? (float) $this->total_localtax2 : "null").",";
$sql .= " total_ht=".(isset($this->total_ht) ? (float) $this->total_ht : "null").",";
$sql .= " total_ttc=".(isset($this->total_ttc) ? (float) $this->total_ttc : "null").",";
$sql .= " revenuestamp=".((isset($this->revenuestamp) && $this->revenuestamp != '') ? (int) $this->revenuestamp : "null").",";
$sql .= " revenuestamp=".((isset($this->revenuestamp) && $this->revenuestamp != '') ? (float) $this->revenuestamp : "null").",";
$sql .= " fk_statut=".(isset($this->status) ? (int) $this->status : "null").",";
$sql .= " fk_user_valid=".(isset($this->fk_user_valid) ? (int) $this->fk_user_valid : "null").",";
$sql .= " fk_facture_source=".(isset($this->fk_facture_source) ? (int) $this->fk_facture_source : "null").",";
Expand Down

0 comments on commit 7e9919e

Please sign in to comment.