@extends('dashboard.layouts.app') @section('content') @include('components.loader') @include('components.alert')
@if ($mode === 'edit') @can('hr_staffs_review_new') @if (is_null($staff->reviewed_at))
@csrf
@endif @endcan Show Employee @endif Back to Employees
@csrf @method($mode === 'create' ? 'POST' : 'PUT')
Employee Sections

Navigate between sections to complete employee information.

{{ $mode === 'create' ? 'Employee Information' : 'Employee Update Form' }}

Fill and review the employee data across the tabs before submitting.

@if ($canUpdateStaffPersonalDetails) @include('dashboard.staff.tabs.basic_info') @endif @if ($canUpdateStaffPassword) @include('dashboard.staff.tabs.password') @endif @if ($canUpdateStaffJob) @include('dashboard.staff.tabs.job') @endif @if ($canUpdateStaffPayroll) @include('dashboard.staff.tabs.payroll') @endif @if ($canUpdateStaffInfo) @include('dashboard.staff.tabs.bank_info') @endif @include('dashboard.staff.tabs.project_access') @if ($canUpdateStaffContactDetails) @include('dashboard.profile.edit_tabs.contact_details') @endif @if ($mode === 'edit') @if ($canUpdateStaffTeacherShift) @include('dashboard.staff.tabs.teacher_slots') @endif @include('dashboard.staff.tabs.tester_slots') @include('dashboard.staff.tabs.staff_session_slots') @endif @if ($canUpdateStaffSpecialization) @include('dashboard.staff.tabs.specialization') @endif
Cancel @if ($mode === 'create') @else @endif
@include('dashboard.staff.tabs.new_slots') @include('dashboard.staff.tabs.select_slots')
@endsection @push('scripts') @endpush