Fix add both public id and ref in topic
This commit is contained in:
parent
69bd616e73
commit
2b3cc0d048
@ -253,7 +253,7 @@ TicketPublicDesc=You can create a support ticket or check from an existing ID.
|
|||||||
YourTicketSuccessfullySaved=Ticket has been successfully saved!
|
YourTicketSuccessfullySaved=Ticket has been successfully saved!
|
||||||
MesgInfosPublicTicketCreatedWithTrackId=A new ticket has been created with ID %s and Ref %s.
|
MesgInfosPublicTicketCreatedWithTrackId=A new ticket has been created with ID %s and Ref %s.
|
||||||
PleaseRememberThisId=Please keep the tracking number that we might ask you later.
|
PleaseRememberThisId=Please keep the tracking number that we might ask you later.
|
||||||
TicketNewEmailSubject=Ticket creation confirmation - Ref %s
|
TicketNewEmailSubject=Ticket creation confirmation - Ref %s (public ticket ID %s)
|
||||||
TicketNewEmailSubjectCustomer=New support ticket
|
TicketNewEmailSubjectCustomer=New support ticket
|
||||||
TicketNewEmailBody=This is an automatic email to confirm you have registered a new ticket.
|
TicketNewEmailBody=This is an automatic email to confirm you have registered a new ticket.
|
||||||
TicketNewEmailBodyCustomer=This is an automatic email to confirm a new ticket has just been created into your account.
|
TicketNewEmailBodyCustomer=This is an automatic email to confirm a new ticket has just been created into your account.
|
||||||
@ -272,7 +272,7 @@ Subject=Subject
|
|||||||
ViewTicket=View ticket
|
ViewTicket=View ticket
|
||||||
ViewMyTicketList=View my ticket list
|
ViewMyTicketList=View my ticket list
|
||||||
ErrorEmailMustExistToCreateTicket=Error: email address not found in our database
|
ErrorEmailMustExistToCreateTicket=Error: email address not found in our database
|
||||||
TicketNewEmailSubjectAdmin=New ticket created - Ref %s
|
TicketNewEmailSubjectAdmin=New ticket created - Ref %s (public ticket ID %s)
|
||||||
TicketNewEmailBodyAdmin=<p>Ticket has just been created with ID #%s, see information:</p>
|
TicketNewEmailBodyAdmin=<p>Ticket has just been created with ID #%s, see information:</p>
|
||||||
SeeThisTicketIntomanagementInterface=See ticket in management interface
|
SeeThisTicketIntomanagementInterface=See ticket in management interface
|
||||||
TicketPublicInterfaceForbidden=The public interface for the tickets was not enabled
|
TicketPublicInterfaceForbidden=The public interface for the tickets was not enabled
|
||||||
|
|||||||
@ -205,7 +205,7 @@ if ($action == 'create_ticket' && GETPOST('add', 'alpha')) {
|
|||||||
|
|
||||||
// Send email to customer
|
// Send email to customer
|
||||||
|
|
||||||
$subject = '['.$conf->global->MAIN_INFO_SOCIETE_NOM.'] '.$langs->transnoentities('TicketNewEmailSubject', $object->ref);
|
$subject = '['.$conf->global->MAIN_INFO_SOCIETE_NOM.'] '.$langs->transnoentities('TicketNewEmailSubject', $object->ref, $object->track_id);
|
||||||
$message .= ($conf->global->TICKET_MESSAGE_MAIL_NEW ? $conf->global->TICKET_MESSAGE_MAIL_NEW : $langs->transnoentities('TicketNewEmailBody'))."\n\n";
|
$message .= ($conf->global->TICKET_MESSAGE_MAIL_NEW ? $conf->global->TICKET_MESSAGE_MAIL_NEW : $langs->transnoentities('TicketNewEmailBody'))."\n\n";
|
||||||
$message .= $langs->transnoentities('TicketNewEmailBodyInfosTicket')."\n";
|
$message .= $langs->transnoentities('TicketNewEmailBodyInfosTicket')."\n";
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ if ($action == 'create_ticket' && GETPOST('add', 'alpha')) {
|
|||||||
|
|
||||||
if ($sendto)
|
if ($sendto)
|
||||||
{
|
{
|
||||||
$subject = '['.$conf->global->MAIN_INFO_SOCIETE_NOM.'] '.$langs->transnoentities('TicketNewEmailSubjectAdmin', $object->ref);
|
$subject = '['.$conf->global->MAIN_INFO_SOCIETE_NOM.'] '.$langs->transnoentities('TicketNewEmailSubjectAdmin', $object->ref, $object->track_id);
|
||||||
$message_admin = $langs->transnoentities('TicketNewEmailBodyAdmin', $object->track_id)."\n\n";
|
$message_admin = $langs->transnoentities('TicketNewEmailBodyAdmin', $object->track_id)."\n\n";
|
||||||
$message_admin .= '<ul><li>'.$langs->trans('Title').' : '.$object->subject.'</li>';
|
$message_admin .= '<ul><li>'.$langs->trans('Title').' : '.$object->subject.'</li>';
|
||||||
$message_admin .= '<li>'.$langs->trans('Type').' : '.$object->type_label.'</li>';
|
$message_admin .= '<li>'.$langs->trans('Type').' : '.$object->type_label.'</li>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user