| ';
+ if ($obj->id > 0)
+ {
+ $contactstatic->id=$obj->id;
+ $contactstatic->lastname=$obj->lastname;
+ $contactstatic->firstname=$obj->firstname;
+ print $contactstatic->getNomUrl(1);
+ print $obj->email?' <'.$obj->email.'>':$langs->trans("NoMail");
+ }
+ else
+ {
+ print $obj->email;
+ }
print ' | ';
print '';
$label=($langs->trans("Notify_".$obj->code)!="Notify_".$obj->code?$langs->trans("Notify_".$obj->code):$obj->label);
print $label;
print ' | ';
- // TODO Add link to object here
+ print '';
+ if ($obj->type == 'email') print $langs->trans("Email");
+ if ($obj->type == 'sms') print $langs->trans("Sms");
+ print ' | ';
+ // TODO Add link to object here for other types
+ /*print '';
+ if ($obj->object_type == 'order')
+ {
+ $orderstatic->id=$obj->object_id;
+ $orderstatic->ref=...
+ print $orderstatic->getNomUrl(1);
+ }
+ print ' | ';*/
// print
print''.dol_print_date($db->jdate($obj->daten), 'dayhour').' | ';
print '
';
@@ -427,7 +446,7 @@ if ($result > 0)
}
else dol_print_error('','RecordNotFound');
-$db->close();
llxFooter();
+$db->close();