@extends('backEnd.layouts.master') @section('title','Childcategory Manage') @section('css') @endsection @section('content')

Childcategories

Add Childcategory
@foreach($data as $key=>$value) @endforeach
SL Subcategory Childcategory Name Status Action
{{$loop->iteration}} @if($value->subcategory) {{$value->subcategory->subcategoryName}} @else No Parent @endif {{$value->childcategoryName}} @if($value->status==1) Active @else Inactive @endif
{{-- Status Toggle --}} @if($value->status == 1)
@csrf
@else
@csrf
@endif {{-- Edit --}} {{-- Delete --}}
@csrf
@endsection @section('script') @endsection