@extends('backend.layouts.app') @section('title', 'Schedule Management | Edit Schedule') @section('breadcrumb-links') @endsection @section('after-styles') {{Html::style('css/bootstrap-datepicker.min.css')}} @endsection @section('content') {{ Form::model($schedule, ['route' => ['admin.schedule.update', $schedule->id], 'class' => 'form-horizontal scheduleForm', 'role' => 'form', 'method' => 'PUT']) }}

Schedule Management Edit Schedule

{{ Form::label('flight_type', 'Flight Type', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('flight_date', 'Flight Date', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('airline', 'Airline', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('flight_number', 'Flight Number', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('origin', 'Origin/Destination', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('STA', 'STA/STD', ['class' => 'col-lg-2 control-label']) }} @php $sta = $schedule->sta; $sta_array = explode(':', $sta); $sta_hh = $sta_array[0]; $sta_mm = $sta_array[1]; @endphp
(hh:mm)
{{ Form::label('ETA', 'ETA/ETD', ['class' => 'col-lg-2 control-label']) }} @php $eta = $schedule->eta; $eta_array = explode(':', $eta); $eta_hh = $eta_array[0]; $eta_mm = $eta_array[1]; @endphp
(hh:mm)
{{ Form::label('flight_status', 'Flight Status', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('status', 'Status', ['class' => 'col-lg-2 control-label']) }}
{{ link_to_route('admin.schedule.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-xs']) }}
{{ Form::submit(trans('buttons.general.crud.create'), ['class' => 'btn btn-success btn-xs']) }}
@endsection @section('after-scripts') @endsection