diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index a2438b3ae97..a625ef68264 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -413,7 +413,7 @@ else print ''.$langs->trans('AmountTTC').''; print ''.price($fac->total_ttc).''; - print ''.$langs->trans('Status').''.$fac->LibStatut($fac->paye,$fac->statut,4).''; + print ''.$langs->trans('Status').''.$fac->getLibStatut(4).''; print ''; print ''; print ''; @@ -566,7 +566,7 @@ else if (($fac->paye == 0) && ($fac->statut > 0) && $fac->date_echeance < (time() - $conf->facture->fournisseur->warning_delay)) print img_picto($langs->trans("Late"),"warning"); print ''; - print ''.$langs->trans('Status').''.$fac->LibStatut($fac->paye,$fac->statut,4).''; + print ''.$langs->trans('Status').''.$fac->getLibStatut(4).''; print ''.$langs->trans('AmountHT').''.price($fac->total_ht).''.$langs->trans('Currency'.$conf->monnaie).''; print ''.$langs->trans('AmountVAT').''.price($fac->total_tva).''.$langs->trans('Currency'.$conf->monnaie).'';