Style of page

This commit is contained in:
lalaina rasamoelina 2013-07-17 15:55:18 +02:00
parent 148abfbe72
commit dc3ccf6373
3 changed files with 1 additions and 4 deletions

View File

@ -339,7 +339,6 @@ if ($result)
while ($i < min($num,$limit))
{
$obj = $db->fetch_object($result);
if ($obj->statut == 0)
{

View File

@ -553,7 +553,7 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
print "</tr>";
$sql = "SELECT p.rowid, p.lastname, p.firstname, p.fk_pays, p.poste, p.phone, p.phone_mobile, p.fax, p.email, p.note ";
$sql = "SELECT p.rowid, p.lastname, p.firstname, p.fk_pays, p.poste, p.phone, p.phone_mobile, p.fax, p.email, p.statut ";
$sql .= " FROM ".MAIN_DB_PREFIX."socpeople as p";
$sql .= " WHERE p.fk_soc = ".$object->id;
$sql .= " ORDER by p.datec";
@ -572,7 +572,6 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
if($obj->statut == 0)
{
$var = !$var;
print "<tr ".$bc[$var].">";
print '<td>';

View File

@ -1583,7 +1583,6 @@ class Societe extends CommonObject
$sql = "SELECT rowid, email, statut, phone_mobile, lastname, firstname";
$sql.= " FROM ".MAIN_DB_PREFIX."socpeople";
$sql.= " WHERE fk_soc = '".$this->id."'";