New : displays sender email in ticket message from (#28023)

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
This commit is contained in:
Lucas Marcouiller 2024-02-08 01:28:06 +01:00 committed by GitHub
parent 038fcbab3d
commit 44aff249a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1492,6 +1492,12 @@ class FormTicket
print '<input type="submit" class="button" value="'.$langs->trans('Apply').'" name="modelselected" id="modelselected">';
print '</div></td>';
}
// From
$from = getDolGlobalString('TICKET_NOTIFICATION_EMAIL_FROM');
print '<tr class="email_line"><td><span class="">'.$langs->trans("MailFrom").'</span></td>';
print '<td><span class="">'.img_picto('', 'email', 'class="pictofixedwidth"').$from.'</span></td></tr>';
// Subject/topic
$topic = "";
foreach ($formmail->lines_model as $line) {