mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
b6b93550fe
* Cleanup model bulk-edit Use the general partials where appropriate, as well as display a list of what models we are editing in the bulk edit. * Use new api based fetch/display for modal select2. This is just copy/pasting the code currently because I'm not entirely sure how the two pieces of code interact. * Remove old helper functions that are no longer necessary with our populating of select2 dropdowns via ajax.
40 lines
704 B
PHP
40 lines
704 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');
|
|
}
|
|
|
|
}
|