Skip to content

Commit

Permalink
Merge pull request #33011 from homer8173/patch-44
Browse files Browse the repository at this point in the history
Update html.formmargin.class.php
  • Loading branch information
eldy authored Feb 10, 2025
2 parents 18179b8 + 0fbaad6 commit fe43393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/html.formmargin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function getMarginInfosArray($object, $force_price = false)
$line->pa_ht = $line->subprice * (1 - ($line->remise_percent / 100));
}

$pv = $line->total_ht;
$pv = (float) $line->total_ht;

// $line->pa_ht is always positive in database, so we guess the correct sign

Expand Down

0 comments on commit fe43393

Please sign in to comment.