added routes for the help desk in preparation for service
This commit is contained in:
@@ -36,7 +36,7 @@ class HelpDeskController extends Controller
|
||||
*/
|
||||
public function displayMyTickets() {
|
||||
//Get the active tickets from the database
|
||||
$tickets = HelpDeskTicket::where(['user_id' => auth()->user()->character_id, 'active' => 1])->get();
|
||||
$tickets = HelpDeskTicket::where(['user_id' => auth()->user()->character_id])->get();
|
||||
|
||||
//Return the view with the tickets variable
|
||||
return view('helpdesk.mytickets')->with('tickets', $tickets);
|
||||
|
||||
Reference in New Issue
Block a user