@extends('layout.padrao') @section('title', ' Create - Client Claim') @section('content') @if($errors->any())
@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif {{ Form::open(array('method' => 'post', 'files'=>true, 'enctype'=>'multipart/form-data', 'route'=>'storeClaim' , 'id'=>'claim_create')) }} {{ csrf_field() }}
{{ Form::hidden('loadingType', 'CLM') }}
{!! Form::label('clients_id', 'Client', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::select('clients_id', $select['clients'] , old('clients_id',null), ['class' => 'form-control ']) !!}
{!! Form::text('booking', null, ['class' => 'form-control', 'id' => 'bookingSearch']) !!}
{!! Form::label('csaPerson', 'CSA - Person in Charge', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('csaPerson', $select['usuarios'] , old('csaPerson',null), ['class' => 'form-control ']) !!}
{!! Form::label('claimAmount', 'Claim Amount (USD)', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('claimAmount', null, ['class' => 'form-control', 'step' => '0.01']) !!}
{!! Form::label('claimReference', 'Claim Reference', [ 'class' => 'w-100 control-label']) !!} {!! Form::text('claimReference', '', ['class' => 'form-control', 'disabled' => 'disabled']) !!}
{!! Form::label('clientPerson', 'Client - Person in Charge', [ 'class' => 'w-100 control-label']) !!} {!! Form::text('clientPerson', null, ['class' => 'form-control']) !!}
{!! Form::label('agreedAmount', 'Amount Agreed (USD)', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('agreedAmount', null, ['class' => 'form-control', 'step' => '0.01']) !!}

Closing Date deve ser maior que a Openning Date

Claim Description


{!! Form::textarea('claimDescription', null, ['class' => 'form-control', 'id' => 'editor1']) !!}

Follow Up

{!! Form::textarea('followDescription', old('followDescription'), ['class' => 'form-control', 'id' => 'editor2', 'rows' => 2]) !!}
{!! Form::select('anexo_types_id[]',[''=>'------ Select Required ------']+$select['anexo_types'], null, ['class' => 'form-control', 'style'=>'height:40px']) !!}


@include('claim.script') @endsection