PluginProbe
Fluent Support – Helpdesk & Customer Support Ticket System / 2.4.0
Fluent Support – Helpdesk & Customer Support Ticket System v2.4.0
2.4.0 2.3.2 2.3.1 2.3.0 2.2.1 2.2.0 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.4.0 1.4.1 1.4.2 1.4.5 1.4.6 1.4.7 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 All 68 releases
← All changes | app/Services/Parser/ShortcodeParser.php +5 -1 1.4.62.4.0 View file →
@@ -67,9 +67,9 @@
67 67 if(empty($data[$dataKey])) {
68 68 return $matches[0];
69 69 }
70 70
71 - if ($dataKey == 'customer' || $dataKey == 'agent') {
71 + if ($dataKey == 'customer' || $dataKey == 'agent' || $dataKey == 'assigner') {
72 72 return $this->getPersonValue($data[$dataKey], $valueKey, $defaultValue);
73 73 }
74 74
75 75 if($dataKey == 'ticket') {
@@ -99,8 +99,12 @@
99 99 }
100 100
101 101 if($valueKey == 'admin_url') {
102 102 return Helper::getTicketAdminUrl($ticket);
103 + }
104 +
105 + if($valueKey == 'public_id') {
106 + return $ticket->display_ticket_number;
103 107 }
104 108
105 109 $accesors = ['id', 'title', 'content', 'priority', 'client_priority', 'status', 'created_at'];
106 110 if(in_array($valueKey, $accesors)) {