{!! Html::style('css/bootstrap.min.css') !!} {!! Html::script('vendor/jquery.min.js') !!} {!! Html::script('vendor/bootstrap.min.js') !!}
@foreach($contents as $key => $content) {!!$content!!}
@if($loop->last) {!! Form::open(['url'=>'/job-application/signContract?id='.$id,'id'=>'signature-form']) !!} {!! Form::hidden('id',$id) !!} {!! Form::hidden('src',$src) !!} {!! Form::hidden('img_string','',['id'=>'hidden_img_array']) !!} {!! Form::hidden('basic_rate',$salary[0]) !!} {!! Form::hidden('ot_rate',$salary[1]) !!} {!! Form::hidden('incentive',$salary[2]) !!} {!! Form::hidden('ph_rate',$salary[3]) !!} {!! Form::hidden('rd_employee',$salary[4]) !!} {!! Form::hidden('rd_employer',$salary[5]) !!} {!! Form::hidden('performance',$salary[6]) !!} {!! Form::hidden('attendance_incentive',$salary[7]) !!} {!! Form::hidden('variable_incentive',$salary[8]) !!} {!! Form::hidden('leadership_incentive',$salary[9]) !!} {!! Form::hidden('advance_pay',$salary[10]) !!} {!! Form::hidden('location',$location) !!} {!! Form::hidden('nric',$nric) !!} {!! Form::hidden('work_start_date',$work_start_date) !!} {!! Form::hidden('work_end_date',$work_end_date) !!} {!! Form::hidden('start_time',$start_time) !!} {!! Form::hidden('end_time',$end_time) !!} {!! Form::hidden('work_day',$work_day) !!} {!! Form::hidden('basic_hours_per_day',$basic_hours_per_day ?? '') !!} {!! Form::hidden('gross_salary',$gross_salary ?? '') !!} {!! Form::hidden('employee_cpf',$employee_cpf ?? '') !!} {!! Form::hidden('employer_cpf',$employer_cpf ?? '') !!} {!! Form::hidden('contract_type',$contract_type) !!} {!! Form::hidden('date_recruited',$date_recruited) !!} {!! Form::hidden('application_date',$application_date) !!} {!! Form::hidden('override_formtemplate',$request['override_formtemplate']) !!}
{!! Form::close() !!}
@else

@endif @endforeach {!! Html::script('https://cdnjs.cloudflare.com/ajax/libs/fabric.js/1.7.22/fabric.min.js') !!}