File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 179179 <tr>
180180 <th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=ticket_number&o=<?php echo $ disp ; ?> ">Number</a></th>
181181 <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>
182183 <th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=client_name&o=<?php echo $ disp ; ?> ">Client</a></th>
183184 <th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=ticket_priority&o=<?php echo $ disp ; ?> ">Priority</a></th>
184185 <th><a class="text-dark" href="?<?php echo $ url_query_strings_sb ; ?> &sb=ticket_status&o=<?php echo $ disp ; ?> ">Status</a>
248249 $ ticket_assigned_to_display = $ row ['user_name ' ];
249250 }
250251
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+
251258 ?>
252259
253260 <tr>
254261 <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>
255262 <td><a href="ticket.php?ticket_id=<?php echo $ ticket_id ; ?> "><?php echo $ ticket_subject ; ?> </a></td>
263+ <td><?php echo $ contact_display ; ?> </td>
256264 <td><a href="client.php?client_id=<?php echo $ client_id ; ?> &tab=tickets"><?php echo $ client_name ; ?> </a></td>
257265 <td><?php echo $ ticket_priority_display ; ?> </td>
258266 <td><?php echo $ ticket_status_display ; ?> </td>
You can’t perform that action at this time.
0 commit comments