@extends('admin/layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/posts.posts-categories-title') }} :: @parent @stop {{-- Page content --}} @section('content')
@include('admin/notifications')
@foreach ($categories as $category) @if($category->getChilds()->count() > 0) @foreach($category->getChilds() AS $child) @endforeach @endif @endforeach
{{ trans('admin/general.id') }} {{ trans('admin/posts.table-name') }} {{ trans('admin/general.create-updated') }} {{ trans('admin/general.table-order') }} {{ trans('admin/general.actions') }}
{{ $category->id }} {{ $category->infoAdmin()->name }} {{ date('d.m.Y', strtotime($category->created_at)) }} / {{ date('d.m.Y', strtotime($category->updated_at)) }} {{ $category->order }}
{{ $child->id }} {{ $child->infoAdmin()->name }} {{ $child->order }} {{ ($child->status == 1 ? trans('admin/general.active') : trans('admin/general.inactive')) }}
@stop