Skip to content

Commit

Permalink
Update bookkeeping.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy authored Jan 23, 2024
1 parent cfee83b commit 265aaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/accountancy/class/bookkeeping.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ public function update(User $user, $notrigger = 0, $mode = '')

$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
Expand Down

0 comments on commit 265aaf3

Please sign in to comment.