@extends('admin.layouts.layout', ['title' => $module]) @section('css') @endsection @section('main')
@if($id) {!! Form::model($data, [ 'method' => 'PATCH', 'route' => [$form['route'], $id], 'class' => 'form-horizontal', 'id'=> 'form_tour', 'enctype'=>'multipart/form-data' ]) !!} @else {!! Form::open(array('route' => $form['route'],'method'=>'POST', 'enctype'=>'multipart/form-data','id'=>'form_tour')) !!} @endif
{!! Form::label('cruise_id', 'Ship*:',array('class'=>'form-label','for'=>'cruise_id'),false) !!} @php($cruises = \App\Helpers\Helper::getCruise()) {!! Form::select('cruise_id', $cruises, null, ['class' => 'form-control select2','id'=>'cruise_id','placeholder'=>'Select']) !!}
@if ($errors->has('cruise_id')) {{ $errors->first('cruise_id') }} @endif
{!! Form::label('start_date', 'Departure Date *:',array('class'=>'form-label','for'=>'start_date'),false) !!}
@if ($errors->has('start_date')) {{ $errors->first('start_date') }} @endif
{{--
{!! Form::label('start_time', 'Start Time *:',array('class'=>'form-label','for'=>'start_time'),false) !!}
@if ($errors->has('start_time')) {{ $errors->first('start_time') }} @endif
--}}
{!! Form::label('end_date', 'Return Date *:',array('class'=>'form-label','for'=>'end_date'),false) !!}
@if ($errors->has('end_date')) {{ $errors->first('end_date') }} @endif
{!! Form::label('time_zone_hour', 'Cruise Departure Time Zone hours from EST *:',array('class'=>'form-label','for'=>'time_zone_hour'),false) !!}
@if ($errors->has('time_zone_hour')) {{ $errors->first('time_zone_hour') }} @endif (0 for EST, enter a number + or -)
{{--
{!! Form::label('end_time', 'End Time *:',array('class'=>'form-label','for'=>'end_time'),false) !!}
@if ($errors->has('end_time')) {{ $errors->first('end_time') }} @endif
--}}
{!! Form::label('is_staff_assisted', 'Staff-assisted Cruise:',array('class'=>'form-label','for'=>'is_staff_assisted'),false) !!}
{!! Form::label('status', 'Status *:',array('class'=>'form-label','for'=>'status'),false) !!} @php($enb = (isset($data->status) && $data->status==1)?'checked':'') @php($dsb = (isset($data->status) && $data->status==0)?'checked':'') @php($default_chk = (empty($enb) && empty($dsb))?'checked':'')
@if ($errors->has('status')) {{ $errors->first('status') }} @endif
arrow_back Back {!! Form::close() !!}
@endsection @section('scripts') @endsection