diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index b0109d69fe5..7f3865906c8 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -363,7 +363,8 @@ if ((!empty($conf->fournisseur->enabled) && empty($conf->global->MAIN_USE_NEW_SU } print ''.price($obj->total_ttc).''; print ''.dol_print_date($db->jdate($obj->tms), 'day').''; - print ''.$facstatic->getLibStatut(3).''; + $alreadypaid = $facstatic->getSommePaiement(); + print ''.$facstatic->getLibStatut(3, $alreadypaid).''; print ''; $total_ht += $obj->total_ht; $total_ttc += $obj->total_ttc;