Style of page
This commit is contained in:
parent
148abfbe72
commit
dc3ccf6373
@ -339,7 +339,6 @@ if ($result)
|
|||||||
while ($i < min($num,$limit))
|
while ($i < min($num,$limit))
|
||||||
{
|
{
|
||||||
$obj = $db->fetch_object($result);
|
$obj = $db->fetch_object($result);
|
||||||
|
|
||||||
|
|
||||||
if ($obj->statut == 0)
|
if ($obj->statut == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -553,7 +553,7 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
print "</tr>";
|
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 .= " FROM ".MAIN_DB_PREFIX."socpeople as p";
|
||||||
$sql .= " WHERE p.fk_soc = ".$object->id;
|
$sql .= " WHERE p.fk_soc = ".$object->id;
|
||||||
$sql .= " ORDER by p.datec";
|
$sql .= " ORDER by p.datec";
|
||||||
@ -572,7 +572,6 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
if($obj->statut == 0)
|
if($obj->statut == 0)
|
||||||
{
|
{
|
||||||
$var = !$var;
|
$var = !$var;
|
||||||
|
|
||||||
print "<tr ".$bc[$var].">";
|
print "<tr ".$bc[$var].">";
|
||||||
|
|
||||||
print '<td>';
|
print '<td>';
|
||||||
|
|||||||
@ -1583,7 +1583,6 @@ class Societe extends CommonObject
|
|||||||
|
|
||||||
|
|
||||||
$sql = "SELECT rowid, email, statut, phone_mobile, lastname, firstname";
|
$sql = "SELECT rowid, email, statut, phone_mobile, lastname, firstname";
|
||||||
|
|
||||||
$sql.= " FROM ".MAIN_DB_PREFIX."socpeople";
|
$sql.= " FROM ".MAIN_DB_PREFIX."socpeople";
|
||||||
$sql.= " WHERE fk_soc = '".$this->id."'";
|
$sql.= " WHERE fk_soc = '".$this->id."'";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user