@extends('admin.layouts.admin') @section('content')

Create Resign

@php $exitInterviewQuestion = getExitInterviewQuestion(); $reasonForLeaving = [ 'Good job opportunities', 'Type of work', 'Salary rate', 'Self-employment', 'Back to study', 'Types of supervision', 'Travel distance', 'Progress is not encouraging', 'Excessive work stress', 'Work environment', 'Reasons for travel', 'Inadequate training', 'Family status', 'Medical or Sickness', 'Other' ]; $workFeelList = [ 'Good', 'Challenging', 'General', 'Not inspirational', 'Limited' ]; $amountOfWorkloadList = [ 'Too much for one person', 'Sometimes a lot, but most of the time just right', 'Normal', 'Work pressure is higher than time' ]; $getInNewJob = [ 'Good future', 'Good working hours', 'Higher salary', 'More interesting work', 'Less difficult work', 'Want to return to a former business or job' ]; @endphp
@csrf
@error('resign_date')
{{ $message }}
@enderror
@error('job_area')
{{ $message }}
@enderror

job_responsibilities_explained == 'Yes') checked @endif value="Yes">
job_responsibilities_explained == 'No') checked @endif value="No">

@error('job_responsibilities_explained')
{{ $message }}
@enderror

@php $isOther = 0; @endphp @foreach($reasonForLeaving as $reason) @if(is_array(unserialize($resign->reason_for_leaving)) && in_array($reason, unserialize($resign->reason_for_leaving))) @if($reason == 'Other') @php $isOther = 1; @endphp @endif @endif
reason_for_leaving)) && in_array($reason, unserialize($resign->reason_for_leaving))) checked @endif >
@endforeach @error('reason_for_leaving')
{{ $message }}
@enderror

@foreach($getInNewJob as $newJob)
get_in_new_job)) && in_array($newJob,unserialize($resign->get_in_new_job))) checked @endif >
@endforeach @error('get_in_new_job')
{{ $message }}
@enderror

@foreach($amountOfWorkloadList as $workload)
amount_of_workload == $workload) checked @endif >
@endforeach @error('amount_of_workload')
{{ $message }}
@enderror

@foreach($workFeelList as $workFeel)
work_feel == $workFeel) checked @endif >
@endforeach @error('work_feel')
{{ $message }}
@enderror

returning_SSLCOMMERZ == 'Yes') checked @endif value="Yes">
returning_SSLCOMMERZ == 'No') checked @endif value="No">

@error('returning_SSLCOMMERZ')
{{ $message }}
@enderror

@foreach([1,2,3,4,5,6,7,8,9,10] as $scale)
company_work_environment_scale == $scale) checked @endif >
@endforeach @error('company_work_environment_scale')
{{ $message }}
@enderror

recommend_good_place == 'Yes') checked @endif value="Yes">
recommend_good_place == 'No') checked @endif value="No">

@error('recommend_good_place')
{{ $message }}
@enderror

discussed_issue_with_team_leader == 'Yes') checked @endif value="Yes">
discussed_issue_with_team_leader == 'No') checked @endif value="No">

@error('discussed_issue_with_team_leader')
{{ $message }}
@enderror

was_discussion_helpful == 'Yes') checked @endif value="Yes">
was_discussion_helpful == 'No') checked @endif value="No">

@error('was_discussion_helpful')
{{ $message }}
@enderror
@include('admin.sections.footer')
@endsection @section('style') @endsection @section('script') @endsection