Skip to content

Commit

Permalink
[Ticket] fix: ticket creation mail template
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo David committed Jul 28, 2022
1 parent 28e4477 commit 578f4b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions langs/fr_FR/digiriskdolibarr.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1413,8 +1413,8 @@ TicketCreationMailSent = Le mail de création du ticket a été envoyé à %s
HowToSetupTicketCategories = Pour configurer les categories de ticket, veuillez cliquer sur ce lien :
ConfigTicketCategories = Congiguration des categories de ticket
NewTicketSubmitted = Un ticket a été soumis via l'interface publique


ANewTicketHasBeenSubmitted = Un nouveau ticket a été créé via l'interface publique
SeeTicketUrl = Voir le ticket :

# Ticket document

Expand Down
2 changes: 1 addition & 1 deletion sql/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ INSERT INTO llx_c_action_trigger (elementtype, code, label, description) VALUES
INSERT INTO llx_c_email_templates (entity,module,type_template,lang,private,fk_user,datec,label,position,enabled,active,topic,content,content_lines,joinfiles) VALUES (0,'digiriskdolibarr','preventionplan','',0,null,null,'(PreventionPlanSubject)',80,'$conf->digiriskdolibarr->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(PreventionPlanLabel)__ __REF__','__(Hello)__,<br><br>\n\n__(PreventionPlanContent)__<br><br>\n__(WithKindRegards)__,<br><br>\n\n__(QHSEService)__<br>__MYCOMPANY_NAME__<br>\n__MYCOMPANY_FULLADDRESS__<br>\n__MYCOMPANY_EMAIL__',null, 1);
INSERT INTO llx_c_email_templates (entity,module,type_template,lang,private,fk_user,datec,label,position,enabled,active,topic,content,content_lines,joinfiles) VALUES (0,'digiriskdolibarr','firepermit','',0,null,null,'(FirePermitSubject)',85,'$conf->digiriskdolibarr->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(FirePermitLabel)__ __REF__','__(Hello)__,<br><br>\n\n__(FirePermitContent)__<br><br>\n__(WithKindRegards)__,<br><br>\n\n__(QHSEService)__<br>__MYCOMPANY_NAME__<br>\n__MYCOMPANY_FULLADDRESS__<br>\n__MYCOMPANY_EMAIL__',null, 1);
INSERT INTO llx_c_email_templates (entity,module,type_template,lang,private,fk_user,datec,label,position,enabled,active,topic,content,content_lines,joinfiles) VALUES (0,'digiriskdolibarr','riskassessmentdocument','',0,null,null,'(RiskAssessmentDocumentSubject)',90,'$conf->digiriskdolibarr->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(RiskAssessmentDocumentLabel)__ __REF__','__(Hello)__,<br><br>\n\n__(RiskAssessmentDocumentContent)__<br><br>\n__(WithKindRegards)__,<br><br>\n\n__(QHSEService)__<br>__MYCOMPANY_NAME__<br>\n__MYCOMPANY_FULLADDRESS__<br>\n__MYCOMPANY_EMAIL__',null, 1);
INSERT INTO llx_c_email_templates (entity,module,type_template,lang,private,fk_user,datec,label,position,enabled,active,topic,content,content_lines,joinfiles) VALUES (0,'ticket','ticketcreation','',0,null,null,'(TicketCreationSubject)',95,'$conf->digiriskdolibarr->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(NewTicketSubmitted)__ __REF__','__(Hello)__,<br><br>\n\n__(ANewTicketHasBeenSubmitted)__<br><br>\n__(WithKindRegards)__,<br><br>\n\n__(QHSEService)__<br>__MYCOMPANY_NAME__<br>\n__MYCOMPANY_FULLADDRESS__<br>\n__MYCOMPANY_EMAIL__',null, 1);
INSERT INTO llx_c_email_templates (entity,module,type_template,lang,private,fk_user,datec,label,position,enabled,active,topic,content,content_lines,joinfiles) VALUES (0,'ticket','ticketcreation','',0,null,null,'(TicketCreationSubject)',95,'$conf->digiriskdolibarr->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(NewTicketSubmitted)__ __REF__','__(Hello)__,<br><br>\n\n__(ANewTicketHasBeenSubmitted)__<br>__(SeeTicketUrl)____DOL_MAIN_URL_ROOT__/ticket/card.php?id=__ID__<br>\n__(WithKindRegards)__,<br><br>\n\n__(QHSEService)__<br>__MYCOMPANY_NAME__<br>\n__MYCOMPANY_FULLADDRESS__<br>\n__MYCOMPANY_EMAIL__',null, 1);

INSERT INTO `llx_c_relative_location` (`rowid`, `entity`, `ref`, `label`, `description`, `active`) VALUES(1, 0, 'UsualWorkplace', 'UsualWorkplace', '', 1);
INSERT INTO `llx_c_relative_location` (`rowid`, `entity`, `ref`, `label`, `description`, `active`) VALUES(2, 0, 'OccasionalWorkplace', 'OccasionalWorkplace', '', 1);
Expand Down

0 comments on commit 578f4b6

Please sign in to comment.