Update html.formmargin.class.php

This commit is contained in:
Laurent Destailleur 2025-02-10 21:39:55 +01:00 committed by GitHub
parent a7a2014215
commit 0fbaad635a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,7 @@ class FormMargin
$line->pa_ht = $line->subprice * (1 - ($line->remise_percent / 100));
}
$pv = (float)$line->total_ht;
$pv = (float) $line->total_ht;
// $line->pa_ht is always positive in database, so we guess the correct sign