{!! trans('messages.ket') !!}

{!! Form::open(['url' => '/user-contract/ket-print', 'id' => 'ket-print-form', 'data-submit' => 'noAjax']) !!}
Section A | Details of Employment
{!! Form::label('name',trans('messages.user').' '.trans('name'),[]) !!} {!! Form::input('text','name',isset($user) ? $user->profile->first_name : '',['class'=>'form-control','placeholder'=>trans('messages.user').' '.trans('name')]) !!}
{!! Form::label('nric',trans('messages.user').' '.trans('messages.nric'),[]) !!} {!! Form::input('text','nric',isset($user) ? $user->profile->unique_identification_number : '',['class'=>'form-control','placeholder'=>trans('messages.user').' '.trans('nric')]) !!}
{!! Form::label('job_desc','Job Title, Main Duties and Responsibilities',[]) !!} {!! Form::textarea('job_desc',isset($user->userDesignation) ? $user->userDesignation->first()->designation->name : '',['size'=>'30x5','class'=>'form-control','placeholder'=>trans('messages.description'),'data-autoresize'=>1]) !!}
{!! Form::label('contract_type','Type of Employment',[]) !!} {!! Form::select('contract_type',$contract_types,isset($user_contract) ? $user_contract->contract_type_id : 1,['class'=>'form-control show-tick','title'=>trans('messages.select_one'),'id'=>'contract_type']) !!}
{!! Form::label('location','Place of Work',[]) !!} {!! Form::select('location',$locations,'',['class'=>'form-control show-tick','title'=>trans('messages.select_one'),'id'=>'location']) !!}
{!! tooltip('Only fill in employment end date if on fixed term contract') !!}
{{trans('messages.to')}}
Section B | Working Hours and Rest Days
{!! Form::label('work_day','Number of Working Days Per Week',[]) !!} {!! Form::input('text','work_day','',['class'=>'form-control']) !!}
{!! Form::label('rest_day','Rest Day Per Week',[]) !!} {!! Form::input('text','rest_day','',['class'=>'form-control','placeholder'=>'(specify day)']) !!}
{!! Form::label('work_details','Details of Working Hours',[]) !!} {!! Form::textarea('work_details','',['size'=>'30x5','class'=>'form-control','placeholder'=>'e.g.: - Start & End Time (Weekday & Weekend) - Break Hours - Total Working Hours (excluding break hours)','data-autoresize'=>1]) !!}
Section C | Salary
{!! Form::label('salary_payment','Salary Period',[]) !!} {!! Form::input('text','salary_payment','',['class'=>'form-control','placeholder'=>'(e.g. 1st to 31st)']) !!}
{!! Form::label('',' ',[]) !!} {!! Form::select('salary_period',['hourly'=>'Hourly','daily'=>'Daily','weekly'=>'Weekly','fortnightly'=>'Fortnightly','monthly'=>'Monthly'], 'monthly',['class'=>'form-control show-tick','title'=>trans('messages.select_one')]) !!}
{!! Form::label('overtime_payment','Overtime Payment Period',[]) !!} {!! Form::input('text','overtime_payment','',['class'=>'form-control']) !!}
{!! Form::label('',' ',[]) !!} {!! Form::select('overtime_payment_period',['hourly'=>'Hourly','daily'=>'Daily','weekly'=>'Weekly','fortnightly'=>'Fortnightly','monthly'=>'Monthly'], 'monthly',['class'=>'form-control show-tick','title'=>trans('messages.select_one')]) !!}
{!! Form::label('date_of_salary_payment','Date(s) of Salary Payment',[]) !!} {!! Form::input('text','date_of_salary_payment','',['class'=>'form-control','placeholder'=>'(e.g. 2nd of every calendar month)']) !!}
{!! Form::label('date_of_overtime_payment','Date(s) of Overtime Payment',[]) !!} {!! Form::input('text','date_of_overtime_payment','',['class'=>'form-control','placeholder'=>'(e.g. 2nd of every calendar month)']) !!}
{!! Form::label('basic_salary','Basic Salary',[]) !!} (Per Period) {!! Form::input('text','basic_salary','',['class'=>'form-control','placeholder'=>'(specify hourly rate if on part-time employment)']) !!}
{!! Form::label('overtime_rate_of_pay','Overtime Rate of Pay',[]) !!} {!! Form::input('text','overtime_rate_of_pay','',['class'=>'form-control','placeholder'=>'(only if working hours more than 8 hours a day or 44 hours a week)']) !!}

{!! Form::label('allowance_lbl','Fixed Allowances Per Salary Period',[]) !!}
{!! Form::label('deduction_lbl','Fixed Deductions Per Salary Period',[]) !!}
{!! Form::label('total_allowance','Total Fixed Allowances:',[]) !!}
{!! Form::label('total_deduction','Total Fixed Deductions:',[]) !!}

{!! Form::label('salary_component','Other Salary-Related Components',[]) !!} {!! Form::input('text','salary_component','',['class'=>'form-control']) !!}
{!! Form::label('cpf_payable','CPF Contributions Payable',[]) !!} {!! tooltip('Subject to prevailing CPF contribution rates') !!}
Section D | Leave and Medical Benefits
{!! Form::label('leave_type_lbl','Types of Leave',[]) !!} (applicable if service is at least 3 months)
{!! Form::label('paid_annual','Paid Annual Leave Per Year:',[]) !!} {!! tooltip('For 1st year of service') !!} {!! Form::number('paid_annual','',['class'=>'form-control','step'=>'any']) !!}
{!! Form::label('paid_sick','Paid Outpatient Sick Leave Per Year:',[]) !!} {!! Form::number('paid_sick','',['class'=>'form-control','step'=>'any']) !!}
{!! Form::label('paid_hospitalisation','Paid Hospitalisation Leave Per Year:',[]) !!} {!! Form::number('paid_hospitalisation','',['class'=>'form-control','step'=>'any']) !!}
(Note that paid hospitalisation per year is inclusive of paid outpatient sick leave. Leave entitlement for part-time employees may be pro-rated based on hours.)
{!! Form::label('other_leave','Other Types of Leave',[]) !!} {!! Form::textarea('other_leave','',['size'=>'30x3','class'=>'form-control','placeholder'=>'(e.g Paid Maternity Leave)','data-autoresize'=>1]) !!}
{!! Form::label('other_benefit','Other Medical Benefits',[]) !!} {!! Form::textarea('other_benefit','',['size'=>'30x3','class'=>'form-control','placeholder'=>'(optional, to specify)','data-autoresize'=>1]) !!}
{!! Form::label('medical_paid','Paid Medical Examination Fee',[]) !!}
Section E | Others
{!! Form::label('prorbation_length','Length of Probation:',[]) !!} {!! Form::input('text','prorbation_length','',['class'=>'form-control','placeholder'=>'(e.g. 1 month)']) !!}
{!! Form::label('prorbation_period','Probation Period:',[]) !!}
{{trans('messages.to')}}
{!! Form::label('notice_period','Notice Period for Termination of Employment',[]) !!} {!! Form::textarea('notice_period','',['size'=>'30x5','class'=>'form-control','placeholder'=>'(initiated by either party whereby the length shall be the same)','data-autoresize'=>1]) !!}
{!! Form::hidden('sum_allowance','',['id'=>'sum_allowance']) !!} {!! Form::hidden('sum_deduction','',['id'=>'sum_deduction']) !!} {!! Form::hidden('user_contract_id',$user_contract->id,[]) !!}
{!! Form::close() !!}