883e8786e0
* Fix For Issue #952 / Admin Pirep Display Removed unnecessary div tags to fix the broken display problem, defined the div class with a php code * Fix and Update for Admin Pirep Index Fixed the page width problem and search error , added the ability to also search for Rejected and Accepted pireps.
20 lines
974 B
PHP
20 lines
974 B
PHP
@extends('admin.app')
|
|
|
|
@section('title', 'Pilot Reports')
|
|
@section('actions')
|
|
<li><a href="{{ route('admin.pirepfields.index') }}"><i class="ti-menu-alt"></i>PIREP Fields</a></li>
|
|
<li><a href="{{ route('admin.pireps.index') }}?search=state:{{ \App\Models\Enums\PirepState::PENDING }}"><i class="ti-plus"></i>Pending</a></li>
|
|
<li><a href="{{ route('admin.pireps.index') }}?search=state:{{ \App\Models\Enums\PirepState::REJECTED }}"><i class="ti-plus"></i>Rejected</a></li>
|
|
<li><a href="{{ route('admin.pireps.index') }}?search=state:{{ \App\Models\Enums\PirepState::ACCEPTED }}"><i class="ti-plus"></i>Accepted</a></li>
|
|
<li><a href="{{ route('admin.pireps.index') }}"><i class="ti-plus"></i>View All</a></li>
|
|
@endsection
|
|
@section('content')
|
|
<div class="row" style="width: 100%">
|
|
@include('admin.pireps.table')
|
|
</div>
|
|
<div class="row text-center" style="width: 100%">
|
|
{{ $pireps->links('admin.pagination.default') }}
|
|
</div>
|
|
@endsection
|
|
@include('admin.pireps.scripts')
|