From 382671678a1e5755872a027356cd9665b5f6b73d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 18 Jun 2005 14:35:58 +0000 Subject: [PATCH] New: Ajout icone warning sur facture en retard. --- htdocs/compta/facture.php | 18 ++++++++++------ htdocs/compta/index.php | 25 +++++++++++----------- htdocs/includes/boxes/box_factures_imp.php | 8 +++---- htdocs/includes/boxes/modules_boxes.php | 9 +++++++- 4 files changed, 36 insertions(+), 24 deletions(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 6fed032334f..0d28b8f7cf3 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -38,6 +38,10 @@ accessforbidden(); $langs->load("bills"); + +$warning_delay=31*24*60*60; // Delai affichage warning retard (si retard paiement facture > delai) + + require_once "../facture.class.php"; require_once "../paiement.class.php"; if ($conf->projet->enabled) require_once "../project.class.php"; @@ -512,7 +516,7 @@ if ($_GET["action"] == 'create') print ''.$langs->trans("Author").' :'.$user->fullname.''; print ''; - print '