| م | اسم القسم | عدد الأخبار | {{-- @ability(['admin','super_admin'],['']) --}}الحالة | {{-- @endability --}}تاريخ الإضافة | الناشر | آخر تعديل بواسطة | {{ __('messages.CONTROL') }} |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $category->parent_id > 0 ? '--' : '' }} {{ $category->name_ar }} | {{ $category->news->count() }} | {{-- @ability(['admin','super_admin'],['']) --}}{{-- @endability --}} |
{{ $category->created_at->toDateString() }} {{ $category->created_at->toTimeString() }} |
{{ $category->getUser->name ?? '' }} | {{ $category->getEditor->name ?? '' }} | {{-- @ability(['publisher','admin','super_admin'],['']) --}} @if (true) @endif {{-- @endability --}} |
| {{ $loop->iteration }} | {{ $subcategory->parent_id > 0 ? '--' : '' }} {{ $subcategory->name_ar }} | {{ $subcategory->subnews->count() }} | {{-- @ability(['admin','super_admin'],['']) --}}{{-- @endability --}} |
{{ $subcategory->created_at->toDateString() }} {{ $subcategory->created_at->toTimeString() }} |
{{ $subcategory->getUser->name ?? '' }} | {{ $subcategory->getEditor->name ?? '' }} | {{-- @ability(['publisher','admin','super_admin'],['']) --}} @if (true) @endif {{-- @endability --}} |