mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
5f3a0bdea5
add accessories and consumables tables add selectlist api to: app\Http\Controllers\Api\AccessoriesController.php app\Http\Controllers\Api\ConsumablesController.php app\Http\Controllers\Api\LicensesController.php templates for selectlist apply kit to user works
55 lines
1,021 B
PHP
55 lines
1,021 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');
|
|
}
|
|
|
|
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');
|
|
}
|
|
|
|
function kitModel() {
|
|
return view('modals.kit-model');
|
|
}
|
|
|
|
function kitLicense() {
|
|
return view('modals.kit-license');
|
|
}
|
|
|
|
function kitConsumable() {
|
|
return view('modals.kit-consumable');
|
|
}
|
|
|
|
function kitAccessory() {
|
|
return view('modals.kit-accessory');
|
|
}
|
|
}
|