@extends('layouts.app') @section('title', 'الحقول المخصصة - DOTS HR Pro') @section('content')
{{ $stats['total'] }}
إجمالي الحقول
{{ $stats['active'] }}
حقول مفعّلة
{{ $stats['required'] }}
حقول مطلوبة
@php $sections = $fields->groupBy('section'); $sectionLabels = \App\Models\CustomField::SECTION_LABELS; $sectionIcons = ['general' => 'fas fa-cube', 'personal' => 'fas fa-user', 'financial' => 'fas fa-money-bill', 'documents' => 'fas fa-file-alt']; @endphp @forelse($sections as $section => $sectionFields)

{{ $sectionLabels[$section] ?? $section }}

@foreach($sectionFields->sortBy('sort_order') as $field) @endforeach
# اسم الحقل المفتاح النوع مطلوب الحالة في الجدول إجراءات
{{ $field->sort_order }} {{ $field->name }} {{ $field->key }} {{ $field->type_label }} @if($field->is_required) مطلوب @else — @endif
@csrf @method('PATCH')
@if($field->show_in_table) @else — @endif
@csrf @method('DELETE')
@empty

لا توجد حقول مخصصة

أضف حقولاً إضافية لملفات الموظفين حسب احتياجات شركتك

إضافة حقل
@endforelse @endsection