From 3a1c9d746c7a8ae0822b008b67bd93803094cd80 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 10 Aug 2005 08:12:26 +0000 Subject: [PATCH] Ajout icone de statut sur les contrats --- htdocs/telephonie/client/fiche.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/telephonie/client/fiche.php b/htdocs/telephonie/client/fiche.php index 575b34a9e7d..11db1713ccb 100644 --- a/htdocs/telephonie/client/fiche.php +++ b/htdocs/telephonie/client/fiche.php @@ -85,9 +85,9 @@ if ($_GET["id"]) print ''; - /* Lignes */ + /* Contrats */ - $sql = "SELECT count(l.rowid) as cc, c.rowid, c.ref"; + $sql = "SELECT count(l.rowid) as cc, c.rowid, c.ref, c.statut"; $sql .= ", ss.nom as agence, ss.code_client, ss.ville"; $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne as l"; $sql .= " , ".MAIN_DB_PREFIX."telephonie_contrat as c"; @@ -120,6 +120,8 @@ if ($_GET["id"]) print "
"; + print ' '; + print ''; print img_file();