@section('css') @parent @endsection

General Information :



exclude_from_expiry ? 'checked' : '' }}>
{!! Form::label('first_name', __('models/stafprofile.fields.name') .' *') !!} {!! Form::text('name', null, ['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::label('last_name', __('models/stafprofile.fields.last_name') .' *') !!} {!! Form::text('last_name', null, ['class' => $errors->has('last_name') ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
{!! Form::file('profile_picture', ['class' => 'custom-file-input', 'id' => 'profile_picture']) !!} {!! Form::label('profile_picture', 'Profile Picture', ['class' => 'custom-file-label', 'id' => 'profile_picture_label']) !!}
{!! Form::label('mobile_no', 'Mobile No *') !!} {!! Form::tel('mobile_no', old('mobile_no', $profile->mobile_no ?? ''), [ 'class' => $errors->has('mobile_no') ? 'form-control is-invalid' : 'form-control', 'aria-describedby' => 'mobile_no_help' ]) !!} Please enter your phone number including the country code (e.g. 971########). @if ($errors->has('mobile_no')) {{ $errors->first('mobile_no') }} @endif
{!! Form::label('home_mobile_no', 'Home Mobile No') !!} {!! Form::tel('home_mobile_no', old('home_mobile_no', $profile->home_mobile_no ?? ''), [ 'class' => 'form-control', 'aria-describedby' => 'home_mobile_no_help' ]) !!}
{!! Form::label('staf_type', __('models/stafprofile.fields.staf_type')) !!}
{!! Form::select('staf_type', ['Office Staf' => 'Office Staf', 'Labor' => 'Labor','Managing Director' => 'Managing Director','Sponsor' => 'Sponsor','Driver' => 'Driver','Others' => 'Others'], null , ['class' => $errors->has('staf_type') ? 'form-control is-invalid' : 'form-control', 'id' => 'staf_type']) !!} @if ($errors->has('staf_type')) {{ $errors->first('staf_type') }} @endif
@include(strtolower(__('models/stafprofile.plural')) . '.nationality')
{!! Form::label('gender',__('models/stafprofile.fields.gender')) !!}
{!! Form::select('gender', ['Male' => 'Male', 'Female' => 'Female'],null, ['class' => $errors->has('gender') ? 'form-control is-invalid' : 'form-control', 'id' => 'gender']) !!} @if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
{!! Form::label('joining_date', __('models/stafprofile.fields.joining_date')) !!}
{!! Form::text('joining_date', null, ['class' => $errors->has('joining_date') ? 'form-control is-invalid datePickerProfile' : 'form-control datePickerProfile']) !!} @if ($errors->has('joining_date')) {{ $errors->first('joining_date') }} @endif
{!! Form::label('dob', __('models/stafprofile.fields.dob') .' *') !!}
{!! Form::text('dob', null, ['class' => $errors->has('dob') ? 'form-control is-invalid datePickerProfile' : 'form-control datePickerProfile',]) !!} @if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
{!! Form::label('basic_salary', __('models/stafprofile.fields.basic_salary')) !!} {!! Form::text('basic_salary', null, ['class' => $errors->has('basic_salary') ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('basic_salary')) {{ $errors->first('basic_salary') }} @endif
{!! Form::label('total_salary', __('models/stafprofile.fields.total_salary')) !!} {!! Form::text('total_salary', null, ['class' => $errors->has('total_salary') ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('total_salary')) {{ $errors->first('total_salary') }} @endif
{!! Form::label('overtime_rate', __('models/stafprofile.fields.overtime_rate')) !!} {!! Form::text('overtime_rate', null, ['class' => $errors->has('overtime_rate') ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('overtime_rate')) {{ $errors->first('overtime_rate') }} @endif

Expiry Dates :


{!! Form::label('passport_expiry', __('models/stafprofile.fields.passport_expiry')) !!}
{!! Form::text('passport_expiry', null, ['class' => $errors->has('passport_expiry') ? 'form-control is-invalid datePickerProfile' : 'form-control datePickerProfile',]) !!} @if ($errors->has('passport_expiry')) {{ $errors->first('passport_expiry') }} @endif
{!! Form::label('visa_expiry',__('models/stafprofile.fields.visa_expiry'))!!}
{!! Form::text('visa_expiry', null, ['class' => $errors->has('visa_expiry') ? 'form-control is-invalid datePickerProfile' : 'form-control datePickerProfile',]) !!} @if ($errors->has('visa_expiry')) {{ $errors->first('visa_expiry') }} @endif
{!! Form::label('emirates_id_expiry',__('models/stafprofile.fields.emirates_id_expiry')) !!}
{!! Form::text('emirates_id_expiry', null, ['class' => $errors->has('emirates_id_expiry') ? 'form-control is-invalid datePickerProfile' : 'form-control datePickerProfile',]) !!} @if ($errors->has('emirates_id_expiry')) {{ $errors->first('emirates_id_expiry') }} @endif
{!! Form::label('labor_card_expiry',__('models/stafprofile.fields.labor_card_expiry')) !!}
{!! Form::text('labor_card_expiry', null, ['class' => $errors->has('labor_card_expiry') ? 'form-control is-invalid datePickerProfile' : 'form-control datePickerProfile',]) !!} @if ($errors->has('labor_card_expiry')) {{ $errors->first('labor_card_expiry') }} @endif
@if (str_contains(url()->current(), '/create'))

Leave :


{!! Form::label('last_vacation_start', __('models/stafprofile.fields.last_vacation_start')) !!}
{!! Form::text('last_vacation_start', null, ['class' => $errors->has('last_vacation_start') ? 'form-control is-invalid null_date vic_start datePickerProfile' : 'form-control null_date vic_start datePickerProfile',]) !!} @if ($errors->has('last_vacation_start')) {{ $errors->first('last_vacation_start') }} @endif
{!! Form::label('last_vacation_end', __('models/stafprofile.fields.joining_date_after_vacation')) !!}
{!! Form::text('last_vacation_end', null, ['class' => $errors->has('last_vacation_end') ? 'form-control is-invalid null_date vic_end datePickerProfile' : 'form-control null_date vic_end datePickerProfile',]) !!} @if ($errors->has('last_vacation_end')) {{ $errors->first('last_vacation_end') }} @endif
{!! Form::label('last_vacation_days', __('models/stafprofile.fields.last_vacation_days')) !!} {!! Form::text('last_vacation_days', null, ['class' => $errors->has('last_vacation_days') ? 'form-control is-invalid vic_day' : 'form-control vic_day', 'readonly' => true]) !!} @if ($errors->has('last_vacation_days')) {{ $errors->first('last_vacation_days') }} @endif
@endif @if (str_contains(url()->current(), '/edit'))

Last Info :


{!! Form::label('last_vacation_start', __('models/stafprofile.fields.last_vacation_start')) !!}
{!! Form::text('last_vacation_start', null, ['class' => $errors->has('last_vacation_start') ? 'form-control is-invalid vic_start datePickerProfile' : 'form-control vic_start datePickerProfile',]) !!} @if ($errors->has('last_vacation_start')) {{ $errors->first('last_vacation_start') }} @endif
{!! Form::label('last_vacation_end', __('models/stafprofile.fields.joining_date_after_vacation')) !!}
{!! Form::text('last_vacation_end', null, ['class' => $errors->has('last_vacation_end') ? 'form-control is-invalid vic_end datePickerProfile' : 'form-control vic_end datePickerProfile',]) !!} @if ($errors->has('last_vacation_end')) {{ $errors->first('last_vacation_end') }} @endif
{!! Form::label('last_vacation_days', __('models/stafprofile.fields.last_vacation_days')) !!} {!! Form::text('last_vacation_days', null, ['class' => $errors->has('last_vacation_days') ? 'form-control is-invalid vic_day' : 'form-control vic_day', 'readonly' => true]) !!} @if ($errors->has('last_vacation_days')) {{ $errors->first('last_vacation_days') }} @endif
{!! Form::label('last_increment', __('models/stafprofile.fields.last_increment')) !!}
{!! Form::text('last_increment', null, ['class' => $errors->has('last_increment') ? 'form-control is-invalid datePickerProfile' : 'form-control datePickerProfile',]) !!} @if ($errors->has('last_increment')) {{ $errors->first('last_increment') }} @endif
{!! Form::label('last_increment_amount', __('models/stafprofile.fields.last_increment_amount')) !!} {!! Form::number('last_increment_amount', null, ['class' => $errors->has('last_increment_amount') ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('last_increment_amount')) {{ $errors->first('last_increment_amount') }} @endif
@endif

Documents Upload :

Add Document
@include(strtolower(__('models/stafprofile.plural')) . '.docs')

{!! Form::submit('Save', ['class' => 'btn btn-danger btn-flat btn-lg']) !!} Cancel
@section('scripts') @parent @endsection @section('scripts') @parent @endsection