@extends('includes/layout') @section('main-page-content') @php $step = request()->step; $update = 0; $profile_compeleted = DB::table('emp_company_details') ->where('id', request()->id) ->first(); @endphp @if (request()->id == Auth::user()->id && ($step == 'company-details' || $step == 'access')) @endif
@if ($step == 'company-details') @include('Employee/NewEmployeeOnboarding/companyDetails') @php $update = DB::table('emp_company_details') ->where('id', request()->id) ->count(); @endphp @endif @if ($step == 'personal-details') @include('Employee/NewEmployeeOnboarding/personalDetails') @php $update = DB::table('emp_personal_details') ->where('emp_id', request()->id) ->count(); @endphp @endif @if ($step == 'documents-certifications') @include('Employee/NewEmployeeOnboarding/documentsCertifications') @php $update = DB::table('emp_documents') ->where('emp_id', request()->id) ->count(); @endphp @endif @if ($step == 'emergency-contacts') @include('Employee/NewEmployeeOnboarding/emergencyContacts') @php $update = DB::table('emp_emergency_contacts') ->where('emp_id', request()->id) ->count(); @endphp @endif @if ($step == 'access') @include('Employee/NewEmployeeOnboarding/access') @php $update = DB::table('emp_access') ->where('emp_id', request()->id) ->count(); @endphp @endif
@endsection @section('css-js') @endsection