From f782772f7cf1ce897004a0e7365fa5c12cfa9575 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 8 Jun 2006 21:03:20 +0000 Subject: [PATCH] Fix: Appel fonction picto statut --- htdocs/fourn/facture/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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).'';