diff --git a/htdocs/compta/facture/apercu.php b/htdocs/compta/facture/apercu.php index c92ceab49e8..b302162dca0 100644 --- a/htdocs/compta/facture/apercu.php +++ b/htdocs/compta/facture/apercu.php @@ -37,6 +37,10 @@ if (!$user->rights->facture->lire) $langs->load("bills"); + +$warning_delay=31*24*60*60; // Delai affichage warning retard (si retard paiement facture > delai) + + require_once(DOL_DOCUMENT_ROOT."/facture.class.php"); if ($conf->projet->enabled) { require_once(DOL_DOCUMENT_ROOT."/project.class.php");