@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