From 93cffc96405f1357c5b86b0fe0551732c60c6722 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 16 Mar 2007 19:41:09 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20indicateurs=20remise=20ch=E8ques=20sur?= =?UTF-8?q?=20tableau=20de=20bord?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/index.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/htdocs/index.php b/htdocs/index.php index 928a4028866..74d7904c3e7 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -455,6 +455,32 @@ if ($conf->global->MAIN_SHOW_WORKBOARD == 1) print "\n"; } + // Nbre ecritures à rapprocher + if ($conf->banque->enabled && $user->rights->banque->lire && ! $user->societe_id) + { + $langs->load("banks"); + + include_once(DOL_DOCUMENT_ROOT."/compta/paiement/cheque/remisecheque.class.php"); + $board=new RemiseCheque($db); + $board->load_board($user); + + $var=!$var; + print ''.img_object($langs->trans("MenuChequeDeposits"),"payment").''.$langs->trans("MenuChequeDeposits").''; + print ''.$board->nbtodo.''; + print ''; + print ''; + print $board->nbtodolate; + print ''; + print ' (>'.ceil($conf->bank->cheque->warning_delay/60/60/24).' '.$langs->trans("days").')'; + print ''; + print ''; + if ($board->nbtodolate > 0) print img_picto($langs->trans("Late"),"warning"); + else print ' '; + print ''; + print ''; + print "\n"; + } + // Nbre adhérent valides (attente cotisation) if ($conf->adherent->enabled && $user->rights->adherent->lire && ! $user->societe_id) {