@include('backend.inc.infopanel')
Origin
{{ $item->route->orig }}
Destination
{{ $item->route->dest }}
One Way Round Trip
Fare Type Operator Travel Class RLS Travel Class Start Cost 12 Mo. 24 Mo. Cost 12 Mo. 24 Mo. Route Status
{{ $item->fareType->title }} {{ $item->getTcAlias() }} {{ $item->travelClass->title }} {{ \Carbon\Carbon::parse($item->start_date)->format('d-m-Y')}} {{ $currencySymb }} {{ number_format($item->oneway_cost, 2, '.', '') }} {{ $currencySymb }} {{ number_format($item->oneway_cost_12, 2, '.', '') }} {{ $currencySymb }} {{ number_format($item->oneway_cost_24, 2, '.', '') }} {{ $currencySymb }} {{ number_format($item->round_cost, 2, '.', '') }} {{ $currencySymb }} {{ number_format($item->round_cost_12, 2, '.', '') }} {{ $currencySymb }} {{ number_format($item->round_cost_24, 2, '.', '') }} {{ $item->is_active ? 'Active' : 'Inactive' }}

Fare Details

{!! Form::select('fare_type_id', [''=>'Select One']+$ft , $item->fare_type_id, ['class' => 'b-field__select js-select form-control']) !!}
{!! Form::select('travel_class_id', [''=>'Select One']+$tc , $item->travel_class_id, ['class' => 'b-field__select js-select js-tc form-control']) !!}
{!! Form::select('type', [''=>'Select One']+$item::ROUTE_TYPES , $item->type, ['class' => 'b-field__select js-select form-control']) !!}
{!! Form::select('is_active', [''=>'Select One']+$item::STATUSES , $item->is_active, ['class' => 'b-field__select js-select form-control']) !!}
{!! Form::select('tc_alias_id', $tc_aliases , $item->tc_alias_id, ['class' => 'b-field__select js-select js-tc-alias form-control']) !!}
{{--
--}} {{----}} {{----}} {{--
--}}
@include('backend.inc/_form-controls', ['buttons' => ['submit' => ['title' => 'Save'], 'cancel' => ['url' => route('backend.operator.route.details', [$item->route->operator_id, $item->route->id])]]])