forked from aslan/applicant-site
fix lint
This commit is contained in:
parent
83a398c5bc
commit
52d3d7af09
|
@ -7,7 +7,6 @@ use App\Http\Requests\admin\StoreDocumentRequest;
|
||||||
use App\Http\Requests\admin\UpdateDocumentRequest;
|
use App\Http\Requests\admin\UpdateDocumentRequest;
|
||||||
use App\Models\Admission;
|
use App\Models\Admission;
|
||||||
use App\Models\Document;
|
use App\Models\Document;
|
||||||
|
|
||||||
use Illuminate\Contracts\View\Factory;
|
use Illuminate\Contracts\View\Factory;
|
||||||
use Illuminate\Contracts\View\View;
|
use Illuminate\Contracts\View\View;
|
||||||
use Illuminate\Foundation\Application;
|
use Illuminate\Foundation\Application;
|
||||||
|
|
|
@ -1,19 +1,18 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers\admin;
|
||||||
|
|
||||||
use App\Models\ReceptionScreen;
|
use App\Http\Controllers\Controller;
|
||||||
|
use App\Models\Admission;
|
||||||
use Illuminate\Contracts\View\Factory;
|
use Illuminate\Contracts\View\Factory;
|
||||||
use Illuminate\Contracts\View\View;
|
use Illuminate\Contracts\View\View;
|
||||||
use Illuminate\Foundation\Application;
|
use Illuminate\Foundation\Application;
|
||||||
use Illuminate\Http\Request;
|
|
||||||
use Illuminate\Support\Facades\Auth;
|
|
||||||
|
|
||||||
class PageController extends Controller
|
class PageController extends Controller
|
||||||
{
|
{
|
||||||
public function index(): View|Application|Factory|\Illuminate\Contracts\Foundation\Application
|
public function index(): View|Application|Factory|\Illuminate\Contracts\Foundation\Application
|
||||||
{
|
{
|
||||||
$receptionScreens = ReceptionScreen::all()->sortBy('position');
|
$admissions = Admission::all()->sortBy('position');
|
||||||
return view('menu.reception-screen', compact('receptionScreens'));
|
return view('menu.reception-screen', compact('admissions'));
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue