From 44aff249a8ce902e647ec3ed20ce3529fedfacf7 Mon Sep 17 00:00:00 2001 From: Lucas Marcouiller <45882981+Hystepik@users.noreply.github.com> Date: Thu, 8 Feb 2024 01:28:06 +0100 Subject: [PATCH] New : displays sender email in ticket message from (#28023) Co-authored-by: Hystepik --- htdocs/core/class/html.formticket.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 23c2f0751f6..1da58f6d9d3 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -1492,6 +1492,12 @@ class FormTicket print ''; print ''; } + + // From + $from = getDolGlobalString('TICKET_NOTIFICATION_EMAIL_FROM'); + print ''.$langs->trans("MailFrom").''; + print ''.img_picto('', 'email', 'class="pictofixedwidth"').$from.''; + // Subject/topic $topic = ""; foreach ($formmail->lines_model as $line) {