File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 179
179
<tr>
180
180
<th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=ticket_number&o=<?php echo $ disp ; ?> ">Number</a></th>
181
181
<th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=ticket_subject&o=<?php echo $ disp ; ?> ">Subject</a></th>
182
+ <th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=contact_name&o=<?php echo $ disp ; ?> ">Contact</a></th>
182
183
<th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=client_name&o=<?php echo $ disp ; ?> ">Client</a></th>
183
184
<th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=ticket_priority&o=<?php echo $ disp ; ?> ">Priority</a></th>
184
185
<th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=ticket_status&o=<?php echo $ disp ; ?> ">Status</a>
248
249
$ ticket_assigned_to_display = $ row ['user_name ' ];
249
250
}
250
251
252
+ if (empty ($ contact_name )){
253
+ $ contact_display = "- " ;
254
+ }else {
255
+ $ contact_display = "$ contact_name<br><small class='text-secondary'> $ contact_email</small> " ;
256
+ }
257
+
251
258
?>
252
259
253
260
<tr>
254
261
<td><a href="ticket.php?ticket_id=<?php echo $ ticket_id ; ?> "><span class="badge badge-pill badge-secondary p-3"><?php echo "$ ticket_prefix$ ticket_number " ; ?> </span></a></td>
255
262
<td><a href="ticket.php?ticket_id=<?php echo $ ticket_id ; ?> "><?php echo $ ticket_subject ; ?> </a></td>
263
+ <td><?php echo $ contact_display ; ?> </td>
256
264
<td><a href="client.php?client_id=<?php echo $ client_id ; ?> &tab=tickets"><?php echo $ client_name ; ?> </a></td>
257
265
<td><?php echo $ ticket_priority_display ; ?> </td>
258
266
<td><?php echo $ ticket_status_display ; ?> </td>
You can’t perform that action at this time.
0 commit comments