@lang("content.add")
@foreach($modelVariable['pagination'] as $j => $each) @if ($j >= ($currentPage - 1) * $perPage && $j < ($currentPage - 1) * $perPage + $perPage) @endif @endforeach
No Flight Type Airport From Airport To @lang("content.duration") (min) Distance (km) @lang("content.actions")
{{ $j + 1 }} {{ $each->flightType ? $each->flightType->type : "" }} {{ $each->fromAirport ? $each->fromAirport->iata : "" }} {{ $each->toAirport ? $each->toAirport->iata : "" }} {{ $each->duration }} {{ $each->distance }} id}/edit?s=".rand(100, 999)."&page={$currentPage}") }}" class="btn btn-warning btn-sm">@lang("content.edit") {!! Form::open([ 'method' => 'DELETE', 'class' => 'inline', 'url' => url("/flight-route/".$each->id) ]) !!} {!! Form::submit("Remove", ['class' => 'btn btn-danger btn-sm']) !!} {!! Form::close() !!}
@include('general.pager') {!! $modelVariable['pagination']->appends(request()->all())->render() !!}