@extends('admin.layout.master') @section('css') @endsection @section('content') @php $filter = true; $deleteButton = route('admin.categories.deleteAll'); $addButton = $slug == null ? null : route('admin.categories.create', ['id' => $id, 'slug' => $slug]); @endphp {{awtTrans('التاريخ')}} {{awtTrans('الصوره')}} {{awtTrans('الاسم')}} {{awtTrans('حالة القسم')}} {{awtTrans('slug')}} {{awtTrans('الاقسام الفرعية')}} {{awtTrans('التحكم')}} @foreach($rows as $row) {{\Carbon\Carbon::parse($row->created_at)->format('d/m/Y')}} {{$row->name}} @if ($row->status == 'false') {{ awtTrans('غير مفعل') }} @else {{ awtTrans('مفعل') }} @endif {{$row->slug}} @if($row->type == 'logistic' || ( $row->type == null && $row->slug == 'sub_category')) - @else @endif @if($row->slug != 'ads' && $row->slug != 'logistics_services') @endif @endforeach {{-- #table --}} @endsection @section('js') {{-- delete all script --}} @include('admin.shared.deleteAll') {{-- delete all script --}} {{-- delete one user script --}} @include('admin.shared.deleteOne') {{-- delete one user script --}} @endsection