New: Personalisation des sociétés par picto.

This commit is contained in:
Laurent Destailleur 2005-02-01 21:33:08 +00:00
parent e538910fee
commit 2769ecde3b

View File

@ -208,7 +208,7 @@ if ( $db->query($sql) )
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print "<tr class=\"liste_titre\">"; print "<tr class=\"liste_titre\">";
print "<td colspan=\"2\">".$langs->trans("Bookmark")."</td>"; print "<td colspan=\"2\">".$langs->trans("Bookmarks")."</td>";
print "</tr>\n"; print "</tr>\n";
while ($i < $num) while ($i < $num)
@ -261,8 +261,8 @@ if ( $db->query($sql) )
print "<tr $bc[$var]>"; print "<tr $bc[$var]>";
print "<td><a href=\"action/fiche.php?id=$obj->id\">".img_file()."</a>&nbsp;"; print "<td><a href=\"action/fiche.php?id=$obj->id\">".img_file()."</a>&nbsp;";
print "<a href=\"action/fiche.php?id=$obj->id\">$obj->libelle $obj->label</a></td>"; print "<a href=\"action/fiche.php?id=$obj->id\">$obj->libelle $obj->label</a></td>";
print "<td>".strftime("%d %b %Y",$obj->da)."</td>"; print "<td>".dolibarr_print_date($obj->da)."</td>";
print '<td><a href="fiche.php?socid='.$obj->idp.'">'.$obj->sname.'</a></td>'; print '<td><a href="fiche.php?socid='.$obj->idp.'">'.img_object($langs->trans("ShowCustomer"),"company").' '.$obj->sname.'</a></td>';
$i++; $i++;
} }
// TODO Ajouter rappel pour "il y a des contrats à mettre en service" // TODO Ajouter rappel pour "il y a des contrats à mettre en service"
@ -313,11 +313,11 @@ if ( $db->query($sql) )
print '<td>'. strftime("%d %b %Y",$obj->da); print '<td>'. strftime("%d %b %Y",$obj->da);
if (date("U",$obj->da) < time()) if (date("U",$obj->da) < time())
{ {
print img_warning(); print img_warning("Late");
} }
print "</td>"; print "</td>";
print '<td><a href="fiche.php?socid='.$obj->idp.'">'.$obj->sname.'</a></td>'; print '<td><a href="fiche.php?socid='.$obj->idp.'">'.img_object($langs->trans("ShowCustomer"),"company").' '.$obj->sname.'</a></td>';
$i++; $i++;
} }
// TODO Ajouter rappel pour "il y a des contrats à mettre en service" // TODO Ajouter rappel pour "il y a des contrats à mettre en service"