help desk create view
This commit is contained in:
parent
19e403a8a0
commit
58513d5740
|
|
@ -19,7 +19,10 @@ class HelpDeskController extends Controller
|
|||
public function create(){
|
||||
|
||||
$categories = HelpTicketCategory::where('active',1)
|
||||
->get(['id','title_'.config('app.locale').' as title'])->dump();
|
||||
->select(['id','title_'.config('app.locale').' as title'])
|
||||
->pluck('title','id');
|
||||
dump($categories);
|
||||
|
||||
$this->render('Pages.HelpDeskCreateForm',$categories);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue