{!! Form::open(['url' => '/transport/accident_traffic_detail/create','id'=>'myform','class' => 'form-horizontal', 'files' => true]) !!}
{!! Form::select('file_number',['' => 'Select File Number'] + $page_data['file_number'] ,null, ['id'=>'file_number','class' => 'form-control']) !!}
{!! Form::text('trip_number' ,null, ['id'=>'trip_number','class' => 'form-control','readonly'=>'true']) !!}
{!! Form::text('violation',null, ['id'=>'violation','class' => 'form-control','readonly'=>'true']) !!}
{!! Form::text('date', null,['id'=>'date','class' => ' form-control','readonly'=>'true']) !!}
{!! Form::text('location' ,null, ['id'=>'location','class' => ' form-control','readonly'=>'true']) !!}
{!! Form::submit(isset($submitButtonText) ? $submitButtonText : 'Save', ['class' => 'btn btn-primary']) !!}

insurance

{!! Form::text('insurance_name',null,['class' => ' form-control']) !!}
{!! Form::text('notify_date',null,['class' => ' form-control calander-icon','id'=>'datepicker2']) !!}

3rd Party

{!! Form::text('third_party_name',null,['class' => ' form-control']) !!}
{!! Form::text('third_party_contact',null,['class' => ' form-control']) !!}
{!! Form::close() !!} {!! Form::open(['url' => '/transport/accident_traffic_detail/create','id'=>'newform','class' => 'form-horizontal', 'files' => true]) !!}
{!! Form::text("trip_number",null, ["class" => "form-control"]) !!}
{!! Form::select('driver',['' => 'Select Driver'] + $page_data['name']->toArray() ,null, ['class' => 'form-control']) !!}
{!! Form::text("violation",null, ["class" => "form-control"]) !!}
{!! Form::text("date" ,null, ["class" => "form-control",'id'=>'datepicker8']) !!}
{!! Form::text("location",null, ["class" => "form-control"]) !!}
{!! Form::submit(isset($submitButtonText) ? $submitButtonText : 'Save', ['class' => 'btn btn-primary']) !!}

insurance

{!! Form::text('insurance_name',null,['class' => ' form-control']) !!}
{!! Form::text('notify_date',null,['class' => ' form-control calander-icon','id'=>'datepicker2']) !!}

3rd Party

{!! Form::text('third_party_name',null,['class' => ' form-control']) !!}
{!! Form::text('third_party_contact',null,['class' => ' form-control']) !!}
{!! Form::close() !!}