Skip to content

Commit

Permalink
fix: fatal error php 8, invoice situation
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Dec 8, 2024
1 parent 9ee57f3 commit c7329a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/facture/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,7 @@
// Invoice situation
if (getDolGlobalInt('INVOICE_USE_SITUATION') == 2) {
$previousprogress = $line->get_allprev_progress($line->fk_facture);
$fullprogress = price2num(GETPOST('progress', 'alpha'), 'MU');
$fullprogress = price2num(GETPOST('progress', 'alpha'), 2);

if ($fullprogress < $previousprogress) {
$error++;
Expand Down

0 comments on commit c7329a7

Please sign in to comment.