@section('title', get_setting('site_name') . ' | Salary Reviews') @push('css') @endpush

Salary Reviews

Create Reviews, Filter History, And Apply Approved Changes.

@can('SalaryReview-create')
{{ __('New Review') }}
@endcan
@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif @if($workflowEnabled)
{{ __('Approval workflow is enabled. Approve selected reviews here when it is your turn, or use the') }} {{ __('Approval Center') }}.
@endif @if($showBulkApproveModal)
@endif @if($showApproveModal)
@endif @if($showSettingsModal)
@endif @if($showBulkRejectModal)
@endif
Filters
@if(count($selectedReviewIds) > 0)
{{ count($selectedReviewIds) }} {{ __('selected') }} @can('SalaryReview-Approve') @if(!$workflowEnabled) @else {{ __('Only “Your turn” pending reviews are processed.') }} @endif @endcan @if($canDeleteReviews) @endif
@endif
@if($workflowEnabled) @endif @forelse($reviews as $r) id, $selectedReviewIds, true)) class="table-active" @endif> @if($workflowEnabled) @endif @empty @endforelse
{{ __('Staff') }} {{ __('Department') }} {{ __('Branch') }} {{ __('Review Type') }} Increment Mode Increment Value Effective From Status{{ __('Current approver') }}Action
id, $selectedReviewIds, true)) wire:click="toggleReview({{ $r->id }})"> {{ $r->staff?->user?->name ?? '—' }}
ID: {{ $r->staff?->user_id ?? '—' }}
{{ $r->staff?->department?->name ?? '—' }} {{ $r->staff?->warehouse?->name ?? '—' }} {{ $r->review_type ?? '—' }} {{ $r->increment_mode ? ucfirst($r->increment_mode) : '—' }} {{ $r->increment_value !== null ? number_format((float) $r->increment_value, 2) : '—' }} {{ $r->effective_date?->format('M d, Y') ?? '—' }} @if($r->status === \App\Models\SalaryReview::STATUS_APPROVED) Applied @elseif($r->status === \App\Models\SalaryReview::STATUS_REJECTED) Rejected @else Pending @endif @if($r->status === \App\Models\SalaryReview::STATUS_PENDING) @if($r->approvalRequest && $r->approvalRequest->status === 'pending') {{ user_display_label($r->approvalRequest->currentApprover) }} @if((int) $r->approvalRequest->current_approver_id === (int) auth()->id())
{{ __('Your turn') }} @endif @else {{ __('Not submitted') }} @endif @else — @endif
View @if($r->status === \App\Models\SalaryReview::STATUS_APPROVED) @endif @can('SalaryReview-create') @if($workflowEnabled && $r->status === \App\Models\SalaryReview::STATUS_PENDING && (! $r->approvalRequest || $r->approvalRequest->status !== 'pending')) @endif @endcan @can('SalaryReview-Approve') @if($r->status === \App\Models\SalaryReview::STATUS_PENDING && ! $workflowEnabled) @elseif($workflowEnabled && $r->status === \App\Models\SalaryReview::STATUS_PENDING && $r->approvalRequest && (int) $r->approvalRequest->current_approver_id === (int) auth()->id()) @endif @endcan @if($canDeleteReviews && $r->status !== \App\Models\SalaryReview::STATUS_APPROVED) @endif
No Records Found
@section('script') @endsection