Update bookkeeping.class.php

This commit is contained in:
Laurent Destailleur 2024-01-23 19:14:47 +01:00 committed by GitHub
parent cfee83bc95
commit 265aaf36cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1366,7 +1366,7 @@ class BookKeeping extends CommonObject
$this->debit = (float) price2num($this->debit, 'MT');
$this->credit = (float) price2num($this->credit, 'MT');
$this->montant = price2num($this->montant, 'MT');
$this->montant = (float) price2num($this->montant, 'MT');
// Check parameters
// Put here code to add a control on parameters values