Attendize/app/Http/Controllers/HelpDeskController.php

34 lines
548 B
PHP
Raw Normal View History

2020-04-30 08:34:51 +00:00
<?php
namespace App\Http\Controllers;
use App\Models\HelpTicketCategory;
class HelpDeskController extends Controller
{
public function show(){
}
/**
* Show the form for creating the help desk ticket
*/
public function create(){
$categories = HelpTicketCategory::where('active',1)
->get(['id','title_'.config('app.locale').' as title'])->dump();
$this->render('Pages.HelpDeskCreateForm',$categories);
}
public function store(){
}
public function comment(){
}
}