mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
33 lines
674 B
PHP
33 lines
674 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Controllers;
|
||
|
|
||
|
use Illuminate\Http\Request;
|
||
|
|
||
|
use App\Helpers\Helper;
|
||
|
|
||
|
class ModalController extends Controller
|
||
|
{
|
||
|
function location() {
|
||
|
return view('modals.location');
|
||
|
}
|
||
|
|
||
|
function model() {
|
||
|
return view('modals.model')
|
||
|
->with('manufacturer', Helper::manufacturerList())
|
||
|
->with('category', Helper::categoryList('asset'));
|
||
|
}
|
||
|
|
||
|
function statuslabel() {
|
||
|
return view('modals.statuslabel')->with('statuslabel_types', Helper::statusTypeList());
|
||
|
}
|
||
|
|
||
|
function supplier() {
|
||
|
return view('modals.supplier');
|
||
|
}
|
||
|
|
||
|
function user() {
|
||
|
return view('modals.user');
|
||
|
}
|
||
|
}
|