New: Yeh! Now all automatic actions are externalised in triggers. This make code so so much easier to understand and offer a lot of possible new features.

This commit is contained in:
Laurent Destailleur 2008-04-08 02:40:23 +00:00
parent fbb5f268ca
commit 8ecc7b5cf0

View File

@ -230,7 +230,7 @@ if ($resql)
print "<table class=\"noborder\" width=\"100%\">";
print '<tr class="liste_titre">';
print_liste_field_titre($langs->trans("Action"),$_SERVER["PHP_SELF"],"acode",$param,"","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Title"),$_SERVER["PHP_SELF"],"a.label",$param,"","",$sortfield,$sortorder);
//print_liste_field_titre($langs->trans("Title"),$_SERVER["PHP_SELF"],"a.label",$param,"","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("DatePlanShort"),$_SERVER["PHP_SELF"],"a.datep",$param,'','',$sortfield,$sortorder);
print_liste_field_titre($langs->trans("DateRealShort"),$_SERVER["PHP_SELF"],"a.datea2",$param,'','',$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Company"),$_SERVER["PHP_SELF"],"s.nom",$param,"","",$sortfield,$sortorder);
@ -256,14 +256,14 @@ if ($resql)
print '<td>';
$actionstatic->id=$obj->id;
$actionstatic->code=$obj->acode;
$actionstatic->libelle=$obj->libelle;
print $actionstatic->getNomUrl(1,4);
$actionstatic->libelle=$obj->label;
print $actionstatic->getNomUrl(1,12);
print '</td>';
// Titre
print '<td>';
print dolibarr_trunc($obj->label,12);
print '</td>';
//print '<td>';
//print dolibarr_trunc($obj->label,12);
//print '</td>';
print '<td align="center" nowrap="nowrap">';
print dolibarr_print_date($obj->dp,"day");