@if (isset($client)) {!! Form::model($client, array('url' => 'clients' . '/' . $client->id, 'method' => 'put', 'files'=> true)) !!} {!! Form::hidden('id',$client->id) !!} @else {!! Form::open(array('url' => 'clients', 'method' => 'post', 'files'=> true)) !!} @endif
{!! Form::radio('type','1',(\Settings::get('default_client_type')==1 && !isset($client))?true:false,['id'=>'individual'])!!} {!! Form::label('type',trans('clients.individual'),['id'=>'individual'])!!} {!! Form::radio('type','2',(\Settings::get('default_client_type')==2 && !isset($client))?true:false,['id'=>'company'])!!} {!! Form::label('type',trans('clients.company'),['id'=>'company'])!!} {{ $errors->first('type', ':message') }}

Company Information

{!! Form::label('company_name', trans('clients.company'), array('class' => 'control-label required')) !!}
{!! Form::text('company_name', null, array('class' => 'form-control')) !!} {{ $errors->first('company_name', ':message') }}
{!! Form::label('vat_no', trans('clients.vat_no'), array('class' => 'control-label required')) !!}
{!! Form::text('vat_no', null, array('class' => 'form-control')) !!} {{ $errors->first('vat_no', ':message') }}
{!! Form::label('reg_no', trans('clients.reg_no'), array('class' => 'control-label required')) !!}
{!! Form::text('reg_no', null, array('class' => 'form-control')) !!} {{ $errors->first('reg_no', ':message') }}
{!! Form::label('bank_name', trans('clients.bank_name'), array('class' => 'control-label required')) !!}
{!! Form::text('bank_name', null, array('class' => 'form-control')) !!} {{ $errors->first('bank_name', ':message') }}
{!! Form::label('iban', trans('clients.iban'), array('class' => 'control-label required')) !!}
{!! Form::text('iban', null, array('class' => 'form-control')) !!} {{ $errors->first('iban', ':message') }}

Guest Information

{!! Form::radio('honorific','Mr.','',array('id'=>'honorific_he'))!!} {!! Form::label('honorific',trans('clients.he'),array('id'=>'honorific_he'))!!} {!! Form::radio('honorific','Mrs.','',array('id'=>'honorific_she'))!!} {!! Form::label('honorific',trans('clients.she'),array('id'=>'honorific_she'))!!} {{ $errors->first('honorific', ':message') }}
{!! Form::label('first_name', trans('clients.first_name'), array('class' => 'control-label required')) !!}
{!! Form::text('first_name', null, array('class' => 'form-control')) !!} {{ $errors->first('first_name', ':message') }}
{!! Form::label('last_name', trans('clients.last_name'), array('class' => 'control-label required')) !!}
{!! Form::text('last_name', null, array('class' => 'form-control')) !!} {{ $errors->first('last_name', ':message') }}
{!! Form::label('phone', trans('clients.phone'), array('class' => 'control-label')) !!}
{!! Form::text('phone', null, array('class' => 'form-control')) !!} {{ $errors->first('phone', ':message') }}
{!! Form::label('email', trans('clients.email'), array('class' => 'control-label')) !!}
{!! Form::text('email', null, array('class' => 'form-control')) !!} {{ $errors->first('email', ':message') }}

ID Card

@foreach($documentTypes as $id => $documentType) document_type == $id) checked="checked" @endif> @endforeach {!! $errors->first('document_type', '

:message

') !!}
{!! Form::label('document_number', trans('clients.id_card'), array('class' => 'control-label required')) !!}
{!! Form::text('document_number', null, array('class' => 'form-control')) !!} {{ $errors->first('document_number', ':message') }}
{!! Form::label('pin', trans('clients.pin'), array('class' => 'control-label required')) !!}
{!! Form::text('pin', null, array('class' => 'form-control')) !!} {{ $errors->first('pin', ':message') }}

Address

{!! Form::label('address', trans('clients.address'), array('class' => 'control-label required')) !!}
{!! Form::text('address', null, array('class' => 'form-control')) !!} {{ $errors->first('address', ':message') }}
{!! Form::label('city', trans('clients.settlement'), array('class' => 'control-label required')) !!}
{!! Form::text('city', null, array('class' => 'form-control')) !!} {{ $errors->first('city', ':message') }}
{!! Form::label('country', trans('clients.country'), array('class' => 'control-label required')) !!}
{!! Form::select('country', $countries , null, array('id'=>'status', 'class' => 'form-control')) !!} {{ $errors->first('country', ':message') }}

Contact Information

{!! Form::label('contact_person', trans('clients.contact_person'), array('class' => 'control-label')) !!}
{!! Form::text('contact_person', null, array('class' => 'form-control')) !!} {{ $errors->first('contact_person', ':message') }}
{!! Form::label('contact_email', trans('clients.contact_email'), array('class' => 'control-label')) !!}
{!! Form::text('contact_email', null, array('class' => 'form-control')) !!} {{ $errors->first('contact_email', ':message') }}
{!! Form::label('contact_phone', trans('clients.contact_phone'), array('class' => 'control-label')) !!}
{!! Form::text('contact_phone', null, array('class' => 'form-control')) !!} {{ $errors->first('contact_phone', ':message') }}

{!! Form::label('comments', trans('clients.comments'), array('class' => 'control-label')) !!}

{!! Form::textarea('comments', null, array('class' => 'form-control','style' => '')) !!} {{ $errors->first('comments', ':message') }}

Other Information

{{trans('table.back')}}
{!! Form::close() !!}