@extends('layouts.app') @section('content')

إدارة الرواتب

@can('create_payrolls') إنشاء دورة رواتب جديدة @endcan
@foreach($cycles as $cycle) @endforeach
الشهر الفرع الحالة أنشئ بواسطة العمليات
{{ $cycle->month }} {{ $cycle->branch->name }} @if($cycle->status === 'approved') معتمدة @else مسودة @endif {{ $cycle->creator->name ?? '---' }} عرض التفاصيل
{{ $cycles->links() }}
@endsection