mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 09:34:10 -08:00
42 lines
829 B
PHP
42 lines
829 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');
|
|
}
|
|
|
|
function category() {
|
|
return view('modals.category');
|
|
}
|
|
|
|
function manufacturer() {
|
|
return view('modals.manufacturer');
|
|
}
|
|
|
|
}
|