@extends('backend.layouts.master') @section('title', 'Category') @section('styles') @endsection @section('scripts') @endsection @section('content')

{{ $category->name }}

Details
ID
{{ $category->id }}
Name
{{ $category->name }}
Slug
{{ $category->slug }}
Sort Order
{{ $category->sort_order }}
Created
{{ $category->created_at->diffForHumans() }}
Last Updated
{{ $category->updated_at->diffForHumans() }}
Actions
Edit {!! csrf_field() !!} {!! method_field('delete') !!}
Attributes
@foreach($category->groups->sortBy('sort_order') as $group) @foreach($group->attributes->sortBy('sort_order') as $attribute) @endforeach @endforeach
ID Name Sort Order Type Created Actions
{{ $group->name }}
{{ $attribute->id }} {{ $attribute->name }} {{ $attribute->sort_order }} {{ $attribute->type->name }} {{ $attribute->created_at->diffForHumans() }}
Products
@foreach($category->products as $product) @endforeach
ID Name Slug Created Actions
{{ $product->id }} {{ $product->name }} {{ $product->slug }} {{ $product->created_at->diffForHumans() }}
@endsection