@extends('layouts.default') {{-- @section('htmlheader_title') {{ trans('blocks.title') }} @endsection --}} @section('title', 'Расписание') @section('content')

Расписание квотируемых рейсов

@foreach($schedules as $schedule) @endforeach {!! $schedules->appends(\Request::except('page'))->render() !!}
@sortablelink('departure_at', 'Откуда') @sortablelink('arrival_at', 'Куда') @sortablelink('flights', 'Рейс') @sortablelink('period_begin_at', 'Период с') @sortablelink('period_end_at', 'Период по') @sortablelink('time_departure_at', 'Время вылета') @sortablelink('time_ arrival_transfer_at', 'Время прибытия') @sortablelink('is_transplantation', 'Пересадка') @sortablelink(' airlines_id', 'Авиакомпания') Дни недели
@foreach($cities as $city) @if($city->id == $schedule->departure_at) {{ $city->name_ru}} @endif @endforeach @foreach($cities as $city) @if($city->id == $schedule->arrival_at) {{ $city->name_ru}} @endif @endforeach {{$schedule->flights}} {{$schedule->period_begin_at}} {{$schedule->period_end_at}} {{$schedule->time_departure_at}} {{$schedule->time_arrival_at}} @if($schedule->is_transplantation > 0) Да @else Нет @endif @foreach($airlines as $airline) @if($airline->id == $schedule->airlines_id) {{ $airline->short_aviacompany_name_ru}} @endif @endforeach @if($schedule->monday > 0) Понедельник @else @endif @if($schedule->tuesday > 0) Вторник @else @endif @if($schedule->wednesday > 0) Среда @else @endif @if($schedule->thursday > 0) Четверг @else @endif @if($schedule->friday > 0) Пятница @else @endif @if($schedule->saturday > 0) Суббота @else @endif @if($schedule->sunday > 0) Воскресенье @else @endif Редактировать расписание
Откуда Куда Рейс Период с Период по Время вылета Время прибытия Пересадка Авиакомпания Дни недели
@endsection