public function index(Ticket $ticket)
 {
     //A FLAG USED TO IDENTIFY THE SOURCE AS "VIEWALL" IS SHARED BY MULTIPLE AND NEEDS TO SHOW OUTPUT BASED ON SOURCE
     $page_flag = "pending";
     $tickets = $ticket->pending()->latest()->get();
     $tickets_c = $ticket->completed()->latest()->get();
     return view('tickets.viewAll', compact('tickets', 'tickets_c', 'page_flag'));
 }