NEW Survey - Add a clickable link in email send
This commit is contained in:
parent
5a87d94b3c
commit
4bb612650b
@ -1124,11 +1124,11 @@ while ($i < min($num, $limit)) {
|
|||||||
// Other type
|
// Other type
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<td class="nowrap">';
|
print '<td class="maxwidth100">';
|
||||||
|
|
||||||
print '<table class="nobordernopadding"><tr class="nocellnopadd">';
|
print '<table class="nobordernopadding"><tr class="nocellnopadd">';
|
||||||
// Picto + Ref
|
// Picto + Ref
|
||||||
print '<td class="nobordernopadding nowrap">';
|
print '<td class="nobordernopadding">';
|
||||||
|
|
||||||
if ($line->doc_type == 'customer_invoice' || $line->doc_type == 'supplier_invoice' || $line->doc_type == 'expense_report') {
|
if ($line->doc_type == 'customer_invoice' || $line->doc_type == 'supplier_invoice' || $line->doc_type == 'expense_report') {
|
||||||
print $objectstatic->getNomUrl(1, '', 0, 0, '', 0, -1, 1);
|
print $objectstatic->getNomUrl(1, '', 0, 0, '', 0, -1, 1);
|
||||||
|
|||||||
@ -198,6 +198,7 @@ function getUrlSondage($id, $admin = false)
|
|||||||
} else {
|
} else {
|
||||||
$url = get_server_name().'/public/studs.php?sondage='.$id;
|
$url = get_server_name().'/public/studs.php?sondage='.$id;
|
||||||
}
|
}
|
||||||
|
$url = '<a href="'.$url.'">'.$url.'</a>';
|
||||||
|
|
||||||
return $url;
|
return $url;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user