From 9de51754f0c6b4096e87f551b3d63829bf1af325 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 6 Apr 2004 07:27:40 +0000 Subject: [PATCH] Ajout affichage de la date de valeur --- htdocs/compta/bank/account.php | 42 ++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index f7d951e3f04..f35f3114b84 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2004 Rodolphe Quiedeville * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur * @@ -215,7 +215,7 @@ if ($account > 0) print ''; } print ''; - print 'DateTypeDescription'; + print 'Date OpeValeurTypeDescription'; print 'DébitCréditSolde'; print 'Relevé'; @@ -227,7 +227,7 @@ if ($account > 0) * select sum(amount) from solde ; */ - $sql = "SELECT b.rowid,".$db->pdate("b.dateo")." as do, b.amount, b.label, b.rappro, b.num_releve, b.num_chq, b.fk_type"; + $sql = "SELECT b.rowid,".$db->pdate("b.dateo")." as do,".$db->pdate("b.datev")." as dv, b.amount, b.label, b.rappro, b.num_releve, b.num_chq, b.fk_type"; $sql .= " FROM ".MAIN_DB_PREFIX."bank as b "; $sql .= " WHERE fk_account=".$acct->id; @@ -267,11 +267,11 @@ if ($account > 0) */ if ($user->rights->banque->modifier) { - print " \n"; - print ""; - print "Saisie d'une transaction hors facture"; - print ''; - print ''; + print " \n"; + print ""; + print "Saisie d'une transaction hors facture"; + print ''; + print ''; print ''; print ''; - print ''; + print ''; + print ''; print ''; - print ''; - print ''; + + print ''; + print ''; print ""; print ""; - print ""; - print ''; - print ''; - print 'YYYY MMDD Description0000.000000.00'; - print ''; - print ''; - } + print ''; + print ''; + print 'YYYY MMDD Description0000.000000.00'; + print ''; + print ''; + } + print ""; if ($user->rights->banque->modifier) { @@ -340,7 +341,8 @@ Function _print_lines($db,$sql,$acct) } print ""; - print "".strftime("%d %b %y",$objp->do)."\n"; + print "".strftime("%d %b %y",$objp->do)."\n"; + print "".strftime("%d/%m/%y",$objp->dv)."\n"; print "".$objp->fk_type." ".($objp->num_chq?$objp->num_chq:"")."\n"; // if ($objp->num_chq)