{{-- resources/views/employees/print-deductions.blade.php --}} طباعة سجل الاستقطاعات - {{ $employee->name }}

{{ __('deductions.print_heading') }}

{{ __('deductions.employee_name') }}: {{ $employee->name }}

{{ __('deductions.employee_employee_id') }}: {{ $employee->employee_id }}

{{ __('deductions.table.date') }}: {{ now()->translatedFormat('d F Y') }}

@if($deductions && count($deductions) > 0) @foreach($deductions as $deduction) @endforeach
{{ __('deductions.table.id') }} {{ __('deductions.table.type') }} {{ __('deductions.table.description') }} {{ __('deductions.table.amount') }} {{ __('deductions.table.date') }} {{ __('deductions.table.status') }}
{{ $deduction->id }} {{ __('deductions.types.' . $deduction->type, [], null) ?: ($deduction->type ?? '') }} {{ Str::limit($deduction->description, 30) }} {{ number_format($deduction->amount, 2) }} {{ get_currency_code() }} {{ $deduction->deduction_date->format('Y-m-d') }} @php $s = $deduction->status; @endphp @if($s === 'applied') {{ __('deductions.status.applied') }} @elseif($s === 'pending') {{ __('deductions.status.pending') }} @elseif($s === 'cancelled') {{ __('deductions.status.cancelled') }} @else {{ $deduction->status }} @endif
@else

لا توجد استقطاعات مسجلة.

@endif