| @@ -101,8 +101,12 @@ | ||
| 101 | 101 | if($valueKey == 'admin_url') { |
| 102 | 102 | return Helper::getTicketAdminUrl($ticket); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | + if($valueKey == 'public_id') { | |
| 106 | + return $ticket->display_ticket_number; | |
| 107 | + } | |
| 108 | + | |
| 105 | 109 | $accesors = ['id', 'title', 'content', 'priority', 'client_priority', 'status', 'created_at']; |
| 106 | 110 | if(in_array($valueKey, $accesors)) { |
| 107 | 111 | return $ticket->{$valueKey}; |
| 108 | 112 | } |