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

Resign Form

@if(session('alert-green'))
{{ session('alert-green') }}
@endif @if(session('alert-danger'))
{{ session('alert-danger') }}
@endif
@php $exitInterviewQuestion = getExitInterviewQuestion(); $reasonForLeaving = [ 'Better job opportunities', 'Family Issues', 'Rate of Pay/Compensation', 'Illness or Physical Condition', 'Moving out of City or Country', 'Conflict with Co-worker', 'Retirement', 'Conflict with Supervisor', 'Self-Employment', '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

@foreach($reasonForLeaving as $reason)
reason_for_leaving)) && in_array($reason, unserialize($alreadySubmitResign->reason_for_leaving))) checked @endif @else @if(is_array(old('reason_for_leaving')) && in_array($reason,old('reason_for_leaving'))) checked @endif @endif >
@endforeach
Other Reason*
@endsection @section('style') @endsection @section('script') @endsection