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

Edit Position

{{ $company->name }} - {{ $position->title }}

Back to Positions
Position Information
@csrf @method('PUT') @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session('success'))
{{ session('success') }}
@endif
Debug: Form Action: {{ route('companies.hr.positions.update', [$company, $position]) }}
Company ID: {{ $company->id }}, Position ID: {{ $position->id }}
@error('title')
{{ $message }}
@enderror
is_active) ? 'checked' : '' }}>
@error('department_id')
{{ $message }}
@enderror Link this position to a specific department
@error('description')
{{ $message }}
@enderror Optional: Describe the role and its responsibilities
Salary Range (Optional)
RM @error('min_salary')
{{ $message }}
@enderror
RM @error('max_salary')
{{ $message }}
@enderror
Cancel
Position Statistics

{{ $position->employees()->count() }}

Employees in this position
@if($position->department)
Department: {{ $position->department->name }}
@endif
Tips
  • Use specific, clear job titles
  • Link positions to departments for better organization
  • Salary ranges help with compensation planning
  • Inactive positions won't appear in employee forms
  • @if($position->employees()->count() > 0)
  • This position has employees assigned
  • @endif
@endsection