fix(facture): when updating, subtype should not be trimmed as it is an int not a string

This commit is contained in:
Irvine Fleith 2024-12-19 08:40:56 +01:00
parent aa2af316e5
commit 4aba65eaeb

View file

@ -2451,9 +2451,6 @@ class Facture extends CommonInvoice
if (empty($this->type)) {
$this->type = self::TYPE_STANDARD;
}
if (isset($this->subtype)) {
$this->subtype = trim($this->subtype);
}
if (isset($this->ref)) {
$this->ref = trim($this->ref);
}