@extends('member-new') @push('head-script') @endpush @push('content-header') @endpush @section('content') {!! Form::model($rotaPlan, ['method' => 'post', 'files' => 'true']) !!}
@if (isset($status))
@endif
{{trans('master/master.rota_plan_details')}}
{{trans('master/master.enter_rota_plan_details')}}
{!! Form::text('name', isset($rotaPlan) && $rotaPlan->name ? $rotaPlan->name : old('name'), ['class' => 'form-control', 'id' => 'name', 'placeholder' => 'Enter Plan Name', 'required'=>'true']) !!} {!! $errors->first('name', ' ')!!}
{!! $errors->first('shift_id', '')!!}
{!! Form::text('from_date',date('Y-m-d', strtotime($fromDate)), ['class' => 'form-control flatpickr-basic', 'id' => 'from_date', 'required'=>'true']) !!} {!! $errors->first('from_date', '')!!}
{!! Form::text('to_date',date('Y-m-d', strtotime($toDate)), ['class' => 'form-control flatpickr-basic', 'id' => 'to_date', 'required'=>'true']) !!} {!! $errors->first('to_date', '')!!}
{!! Form::close() !!} @endsection @push('footer-script') @endpush