@extends('layouts.app') @section('title', 'تفاصيل مسير الرواتب - DOTS HR Pro') @section('content')
{{ $payroll->items->count() }}
عدد الموظفين
{{ number_format(($payroll->total_basic ?? 0) + ($payroll->total_allowances ?? 0), 0) }}
إجمالي الاستحقاقات
{{ number_format($payroll->total_deductions ?? 0, 0) }}
إجمالي الخصومات
{{ number_format($payroll->total_net ?? 0, 0) }}
صافي الرواتب

تفاصيل الرواتب

@forelse($payroll->items as $item) @empty @endforelse
الموظفالراتب الأساسيبدل السكنبدل النقلبدلات أخرىمكافآتخصم التأميناتخصم الإجازاتخصومات جزائيةإجمالي الخصوماتصافي الراتبإجراءات
{{ mb_substr($item->employee->first_name ?? '?', 0, 1) }}
{{ $item->employee->full_name ?? '—' }}
{{ $item->employee->employee_code ?? '' }}
{{ number_format($item->basic_salary, 2) }} {{ number_format($item->housing_allowance, 2) }} {{ number_format($item->transportation_allowance, 2) }} {{ number_format($item->other_allowances, 2) }} @if(($item->adjustment_bonus ?? 0) > 0) +{{ number_format($item->adjustment_bonus, 2) }} @else — @endif {{ number_format($item->social_insurance, 2) }} @if(($item->leave_deduction ?? 0) > 0) -{{ number_format($item->leave_deduction, 2) }} @else — @endif @if(($item->adjustment_deduction ?? 0) > 0) -{{ number_format($item->adjustment_deduction, 2) }} @else — @endif {{ number_format($item->deductions, 2) }} {{ number_format($item->net_salary, 2) }}
لا توجد بيانات
@endsection