From 2ef4972b84af47bbdcc5ea11aa6d0fda1caaa0ed Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 15 Dec 2005 10:13:21 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20infos=20affich=E9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/ventilation/index.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/htdocs/compta/ventilation/index.php b/htdocs/compta/ventilation/index.php index 507f8c23984..ddf829c0086 100644 --- a/htdocs/compta/ventilation/index.php +++ b/htdocs/compta/ventilation/index.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2005 Rodolphe Quiedeville * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -21,10 +21,10 @@ */ /** - \file htdocs/compta/ventilation/index.php - \ingroup compta - \brief Page accueil ventilation - \version $Revision$ + \file htdocs/compta/ventilation/index.php + \ingroup compta + \brief Page accueil ventilation + \version $Revision$ */ require("./pre.inc.php"); @@ -77,9 +77,9 @@ print "\n"; print ''; print ''; -print ''; +print ''; -$sql = "SELECT count(*), ccg.intitule FROM ".MAIN_DB_PREFIX."facturedet as fd"; +$sql = "SELECT count(*), ccg.intitule, ccg.rowid,ccg.numero FROM ".MAIN_DB_PREFIX."facturedet as fd"; $sql.= " ,".MAIN_DB_PREFIX."compta_compte_generaux as ccg"; $sql.= " WHERE fd.fk_code_ventilation = ccg.rowid"; $sql.= " GROUP BY ccg.rowid"; @@ -96,7 +96,8 @@ if ($resql) $row = $db->fetch_row($resql); $var=!$var; - print ''; + print ''; + print ''; $i++; } $db->free($resql);
TypeNb de lignes
TypeNb de lignesNumeroID
'.$row[1].''.$row[0].'
'.$row[1].''.$row[0].''.$row[3].''.$row[2].'