@extends('layouts.app') @section('title', $costCenter->name) @section('content')
{{ $costCenter->code }} {{ $costCenter->type_label }} {{ $costCenter->parent ? '← ' . $costCenter->parent->name : '' }}
| الرمز | الاسم | النوع | الميزانية | الحالة |
|---|---|---|---|---|
| {{ $child->code }} | {{ $child->name }} | {{ $child->type_label }} | {{ number_format($child->annual_budget, 0) }} | {{ $child->is_active ? 'نشط' : 'غير نشط' }} |
| القسم | عدد الموظفين | تكلفة الرواتب |
|---|---|---|
| {{ $item['department']->name }} | {{ $item['employee_count'] }} | {{ number_format($item['salary_cost'], 0) }} ر.س |
لا توجد أقسام مرتبطة
@endif| الرمز | الاسم | القسم | الراتب الأساسي | إجمالي الحزمة | إجراء |
|---|---|---|---|---|---|
| {{ $emp->employee_code }} | {{ $emp->first_name }} {{ $emp->last_name }} | {{ $emp->department->name ?? '—' }} | {{ number_format($emp->basic_salary, 0) }} | {{ number_format($emp->basic_salary + ($emp->housing_allowance ?? 0) + ($emp->transport_allowance ?? 0) + ($emp->other_allowances ?? 0), 0) }} |
لا يوجد موظفون معيّنون
@endif