Ajout icone de statut sur les contrats
This commit is contained in:
parent
5d35dd22db
commit
3a1c9d746c
@ -85,9 +85,9 @@ if ($_GET["id"])
|
|||||||
|
|
||||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
|
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
|
||||||
|
|
||||||
/* 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 .= ", ss.nom as agence, ss.code_client, ss.ville";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne as l";
|
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne as l";
|
||||||
$sql .= " , ".MAIN_DB_PREFIX."telephonie_contrat as c";
|
$sql .= " , ".MAIN_DB_PREFIX."telephonie_contrat as c";
|
||||||
@ -120,6 +120,8 @@ if ($_GET["id"])
|
|||||||
|
|
||||||
print "<tr $bc[$var]><td>";
|
print "<tr $bc[$var]><td>";
|
||||||
|
|
||||||
|
print '<img src="../contrat/statut'.$obj->statut.'.png"> ';
|
||||||
|
|
||||||
print '<a href="'.DOL_URL_ROOT.'/telephonie/contrat/fiche.php?id='.$obj->rowid.'">';
|
print '<a href="'.DOL_URL_ROOT.'/telephonie/contrat/fiche.php?id='.$obj->rowid.'">';
|
||||||
print img_file();
|
print img_file();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user