Eoxia / dolitemplate

Template de mail incluant le maximum de variables de substitution afin d'adapter les contenus des mails pour chaque objet
GNU General Public License v3.0
2 stars 9 forks source link

[NEW] récupération des variables de subtitutions de dolibarr dans les tickets #24

Open lmag opened 3 years ago

lmag commented 3 years ago

$substitutionarray['USER_SIGNATURE'] = $user->signature; $substitutionarray['TICKET_TRACKID'] = $object->track_id; $substitutionarray['TICKET_REF'] = $object->ref; $substitutionarray['TICKET_SUBJECT'] = $object->subject; $substitutionarray['TICKET_TYPE__'] = $object->type_code; $substitutionarray['TICKET_SEVERITY'] = $object->severity_code; $substitutionarray['__TICKET_CATEGORY'] = $object->category_code; // For backward compatibility $substitutionarray['TICKET_ANALYTIC_CODE'] = $object->category_code; $substitutionarray['TICKET_MESSAGE'] = $object->message; $substitutionarray['TICKET_PROGRESSION'] = $object->progress;

lmag commented 3 years ago

Rangement dans dolibarr et réaliser une PR

lmag commented 3 years ago

TICKET_TRACKID TICKET_REF TICKET_SUBJECT TICKET_TYPE TICKET_SEVERITY TICKET_CATEGORY TICKET_ANALYTIC_CODE TICKET_MESSAGE TICKET_PROGRESSION TICKET_USER_ASSIGN TICKET_USER_CREATE