From 3fdf6a03176c9b7b3ccabb1cb2c68b1cbe34a55b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 10 Oct 2003 13:53:26 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20de=20pr=E9sentation,=20uniformisation?= =?UTF-8?q?=20avec=20les=20autres=20espace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/index.php | 101 +++++++++++++++++++++------------------- 1 file changed, 53 insertions(+), 48 deletions(-) diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 73bb05a9003..74b97d9c812 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -60,11 +60,11 @@ if ($action == 'del_bookmark') * * */ -print_titre(translate("Accueil comptabilité")); +print_titre(translate("Espace comptabilité")); print ''; -print '"; print ''; print "'; -print "
'; +print '
'; /* * */ @@ -74,43 +74,22 @@ print "
Rechercher une facture
"; print 'Num. :  

"; - +print ""; /* - * Propales à facturer + * */ -if ($user->comm > 0 && $conf->commercial ) +print '
'; + + + /* * Factures brouillons */ @@ -223,25 +202,50 @@ if ( $db->query($sql) ) * * */ -print ''; +print ''; - -print '
'; /* * Factures impayées */ -$sql = "SELECT f.facnumber, f.rowid, s.nom, s.idp FROM llx_facture as f, llx_societe as s WHERE s.idp = f.fk_soc AND f.paye = 0 AND f.fk_statut > 0"; +$sql = "SELECT f.facnumber, f.rowid, s.nom, s.idp, f.total_ttc FROM llx_facture as f, llx_societe as s WHERE s.idp = f.fk_soc AND f.paye = 0 AND f.fk_statut > 0"; if ($socidp) { $sql .= " AND f.fk_soc = $socidp"; @@ -256,14 +260,15 @@ if ( $db->query($sql) ) { print ''; print ""; - print ''; + print ''; while ($i < $num) { $obj = $db->fetch_object( $i); $var=!$var; print ''; - print ''; + print ''; + print ''; $i++; } print "
Factures impayées
Factures impayées
'.$obj->facnumber.''.$obj->nom.'
'.$obj->nom.''.price($obj->total_ttc).'

"; @@ -343,7 +348,7 @@ if ($user->societe_id == 0) } } -print ' '; +print ''; print '';