modif html

This commit is contained in:
Rodolphe Quiedeville 2003-07-08 20:09:16 +00:00
parent 3be02fe984
commit 790cc87f9f

View File

@ -89,9 +89,9 @@ if ( $soc->fetch($socid) )
print '-'; print '-';
} }
print '</td><td align="center">'; print '</td><td align="center">';
if ($soc->fournisseur) if ($soc->client)
{ {
print '<a href="'.DOL_URL_ROOT.'/compta/fiche.php3?socid='.$socid.'">Fiche fournisseur</a>'; print '<a href="'.DOL_URL_ROOT.'/compta/fiche.php3?socid='.$socid.'">Fiche compta</a>';
} }
else else
{ {
@ -132,9 +132,10 @@ if ( $soc->fetch($socid) )
$var=True; $var=True;
while ($i < $num) while ($i < $num)
{ {
$var = !$var;
$obj = $db->fetch_object( $i); $obj = $db->fetch_object( $i);
print '<tr><td>'.$obj->firstname . " ".$obj->name.'</td>'; print '<tr '.$bc[$var].'><td>'.$obj->firstname . " ".$obj->name.'</td>';
print '<td>'.$obj->titre.'</td>'; print '<td>'.$obj->titre.'</td>';
print '<td><a href="fiche.php?socid='.$socid.'&action=delete&actid='.$obj->rowid.'">Supprimer</a>'; print '<td><a href="fiche.php?socid='.$socid.'&action=delete&actid='.$obj->rowid.'">Supprimer</a>';
$i++; $i++;