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

{{ $section->title }}

@if( $subcategories ) @foreach($subcategories as $category) @endforeach @endif
ID Category Name Sub Category Name Sub Category Slug Sub Category Image Status Action
{{ $category->id }} {{ $category->category->category_name }} {{ucfirst($category->name)}} {{$category->slug}}
    @if($category->status == 1)
  • Active
  • @else
  • Inactive
  • @endif
@php $prodID = Crypt::encrypt($category->id); @endphp
{{ Form::open(['route' => ['subcategory.destroy', $category->id], 'method' => 'delete']) }} {{ Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-dim btn-danger']) }} {{ Form::close() }}
@endsection