File manager - Edit - /var/www/payraty/hris/resources/views/appraisal_reviews/outcomes.blade.php
Back
@extends('layouts.admin') @section('page-title', __('Compensation Outcomes')) @section('breadcrumb') <li class="breadcrumb-item"><a href="{{ route('dashboard') }}">{{ __('Home') }}</a></li> <li class="breadcrumb-item">{{ __('Compensation Outcomes') }}</li> @endsection @section('action-button') <div class="d-flex"> <a href="{{ route('compensation_outcomes.export') }}" class="btn btn-sm btn-primary me-2"> <i class="ti ti-download"></i> {{ __('Export Outcomes') }} </a> </div> @endsection @section('content') <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body table-border-style table-responsive w-100"> <table class="table datatable"> <thead> <tr> <th>{{ __('Employee') }}</th> <th>{{ __('Appraisal ID') }}</th> <th>{{ __('Final Score') }}</th> <th>{{ __('Action Type') }}</th> <th>{{ __('Action Details') }}</th> <th>{{ __('New Salary') }}</th> <th>{{ __('Bonus Multiplier') }}</th> <th>{{ __('New Equity') }}</th> <th>{{ __('Promotion Level') }}</th> <th>{{ __('Retention Grant') }}</th> <th>{{ __('Appraisal Date') }}</th> <th>{{ __('Status') }}</th> </tr> </thead> <tbody> @forelse($outcomes as $outcome) <tr> <td>{{ optional($outcome->appraisal_review->employee)->name ?? '-' }}</td> <td>{{ $outcome->appraisal_review_id }}</td> <td>{{ number_format($outcome->final_score ?? 0, 2) }}</td> <td>{{ ucfirst(str_replace('_', ' ', $outcome->action_type)) }}</td> <td> @if(is_string($outcome->action_details) && \Illuminate\Support\Str::startsWith($outcome->action_details, '{')) {{ json_decode($outcome->action_details)->notes ?? $outcome->action_details }} @else {{ $outcome->action_details ?? '-' }} @endif </td> <td>{{ $outcome->new_salary !== null ? number_format($outcome->new_salary, 2) : '-' }}</td> <td>{{ $outcome->bonus_multiplier !== null ? $outcome->bonus_multiplier : '-' }}</td> <td>{{ $outcome->new_equity ?? '-' }}</td> <td>{{ $outcome->promotion_level ?? '-' }}</td> <td>{{ $outcome->retention_grant !== null ? number_format($outcome->retention_grant, 2) : '-' }} </td> <td>{{ $outcome->appraisal_review->appraisal_date ? \Carbon\Carbon::parse($outcome->appraisal_review->appraisal_date)->format('Y-m-d') : '-' }} </td> <td>{{ ucfirst($outcome->appraisal_review->status ?? '-') }}</td> </tr> @empty <tr> <td colspan="12" class="text-center">{{ __('No outcomes found.') }}</td> </tr> @endforelse </tbody> </table> <div class="mt-3"> @if(method_exists($outcomes, 'links')) {{ $outcomes->links() }} @endif </div> </div> </div> </div> </div> @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings