forked from aslan/applicant-site
65 lines
1.5 KiB
PHP
65 lines
1.5 KiB
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Http\Requests\StoreReceptionScreenRequest;
|
|
use App\Http\Requests\UpdateReceptionScreenRequest;
|
|
use App\Models\ReceptionScreen;
|
|
use Illuminate\Contracts\View\Factory;
|
|
use Illuminate\Contracts\View\View;
|
|
use Illuminate\Foundation\Application;
|
|
use Illuminate\Support\Facades\Auth;
|
|
|
|
class ReceptionScreenController extends Controller
|
|
{
|
|
public function index(): View|Application|Factory|\Illuminate\Contracts\Foundation\Application
|
|
{
|
|
$onlineDocuments = ReceptionScreen::all()->sortBy('position');
|
|
return view('admin-reception-screen.index', compact('onlineDocuments'));
|
|
}
|
|
|
|
public function create(): View
|
|
{
|
|
if (Auth::guest()) {
|
|
abort(403);
|
|
}
|
|
return view('admin-reception-screen.create');
|
|
}
|
|
|
|
public function store(StoreReceptionScreenRequest $request)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Display the specified resource.
|
|
*/
|
|
public function show(ReceptionScreen $doceumentsOnline)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Show the form for editing the specified resource.
|
|
*/
|
|
public function edit(ReceptionScreen $doceumentsOnline)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Update the specified resource in storage.
|
|
*/
|
|
public function update(UpdateReceptionScreenRequest $request, ReceptionScreen $doceumentsOnline)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Remove the specified resource from storage.
|
|
*/
|
|
public function destroy(ReceptionScreen $doceumentsOnline)
|
|
{
|
|
//
|
|
}
|
|
}
|