Update index.php - client ticket summary

add logic for client side open ticket view