Patch christophe pour éviter wrap sur ref produit
This commit is contained in:
parent
db6b851b91
commit
17297a2634
@ -139,13 +139,13 @@ if ($result)
|
|||||||
$objp = $db->fetch_object( $i);
|
$objp = $db->fetch_object( $i);
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
print "<td><a href=\"fiche.php?id=$objp->rowid\">";
|
print '<td nowrap="nowrap"><a href="fiche.php?id='.$objp->rowid.'">';
|
||||||
if ($objp->fk_product_type) print img_object($langs->trans("ShowService"),"service");
|
if ($objp->fk_product_type) print img_object($langs->trans("ShowService"),"service");
|
||||||
else print img_object($langs->trans("ShowProduct"),"product");
|
else print img_object($langs->trans("ShowProduct"),"product");
|
||||||
print "</a> <a href=\"fiche.php?id=$objp->rowid\">$objp->ref</a></td>\n";
|
print "</a> <a href=\"fiche.php?id=$objp->rowid\">$objp->ref</a></td>\n";
|
||||||
print "<td>$objp->label</td>";
|
print "<td>$objp->label</td>";
|
||||||
print "<td>".$typeprodser[$objp->fk_product_type]."</td>";
|
print "<td>".$typeprodser[$objp->fk_product_type]."</td>";
|
||||||
print '<td align="center">'.($objp->envente?$langs->trans("OnSell"):$langs->trans("NotOnSell"))."</td>";
|
print '<td align="center" nowrap="nowrap">'.($objp->envente?$langs->trans("OnSell"):$langs->trans("NotOnSell"))."</td>";
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user