@extends('layouts.app') @section('title', 'التوطين') @push('styles') @endpush @section('content')

النسبة الحالية

{{ number_format($stats->current_ratio, 1) }}%

إجمالي الموظفين

{{ $stats->total_employees }}

الموظفين المحليين

{{ $stats->national_employees }}
@php $bandColor = match(strtolower($stats->compliance_band)) { 'platinum' => '#9333ea', 'green' => '#10b981', 'yellow' => '#f59e0b', 'red' => '#ef4444', default => '#1B2A4A', }; @endphp

النطاق

{{ $stats->compliance_band }}
@forelse($records as $index => $record) @empty @endforelse
# السنة الربع إجمالي الموظفين الموظفين المحليين النسبة النطاق الحالة
{{ $records->firstItem() + $index }} {{ $record->year }} {{ $record->quarter }} {{ $record->total_employees }} {{ $record->national_employees }} {{ number_format($record->ratio, 1) }}% @php $rBandClass = match(strtolower($record->band)) { 'platinum' => 'platinum', 'green' => 'band-green', 'yellow' => 'band-yellow', 'red' => 'band-red', default => 'band-green', }; @endphp {{ $record->band }} @if($record->is_compliant) ملتزم @else غير ملتزم @endif

لا توجد سجلات توطين

{{ $records->links() }}
{{-- Stat Modals --}}

النسبة الحالية

البيانالقيمة
النسبة الحالية{{ number_format($stats->current_ratio, 1) }}%
الموظفين المحليين{{ $stats->national_employees }}
إجمالي الموظفين{{ $stats->total_employees }}

إجمالي الموظفين

البيانالعدد
إجمالي الموظفين{{ $stats->total_employees }}

الموظفين المحليين

البيانالعدد
الموظفين المحليين{{ $stats->national_employees }}

النطاق

البيانالقيمة
النطاق الحالي{{ $stats->compliance_band }}
النسبة الحالية{{ number_format($stats->current_ratio, 1) }}%
{{-- Add Modal --}}

إضافة سجل توطين

@endsection @push('scripts') @endpush