@extends('admin.layouts.layouts') @section('title', 'Edit | My Travel Plan') @section('page-css') @endsection @section('content')
{!! Form::open([ 'route' => 'travel-plan.store', 'method' => 'POST', 'id' => 'travel-plan-form', 'enctype' => 'multipart/form-data', ]) !!} @csrf
{!! Form::hidden('id', $travelPlanDetail->id, ['id' => 'id']) !!}
{{ $errors->first('destination_type') }}
{{ $errors->first('type') }}
{{ $errors->first('start_date') }}
{{ $errors->first('end_date') }}
{{ $errors->first('send_to_travel_desk') }}
@foreach ($travelPlanItemsData as $index => $data) @php $item = $data['item']; @endphp @endforeach
Start Date * End Date * Purpose * Name Of Destination * Country * State * District * Sub District City Remark *
@if($index > 0) @endif {{ $errors->first('start_date_travel_detail.' . $index) }} {{ $errors->first('end_date_travel_detail.' . $index) }} {{ $errors->first('purpose_id.' . $index) }} {{ $errors->first('destination_name.' . $index) }} {{ $errors->first('country.' . $index) }} {{ $errors->first('state.' . $index) }} {{ $errors->first('district.' . $index) }} {{ $errors->first('sub_district.' . $index) }} {{ $errors->first('city.' . $index) }} {{ $errors->first('remark.' . $index) }}
{{ Form::close() }}
@endsection @section('page-js') @endsection