@extends('admin.layout.master') @section('title') Sub Categories @endsection @section('content')
@include('admin.layout.laravel_errors')
Sub Categories
@forelse($subcategories as $t=>$category) {{-- update modal--}} @empty @endforelse
Id Category Name Created By Created At Updated At Edit Delete
{{ $t+1 }} {{ ($category->category_data) ? $category->category_data->name : '--' }} {{ $category->name }} {{ ($category->createdby) ? $category->createdby->name : '--' }} {{ Carbon\Carbon::parse($category->created_at)->format('d-m-Y h:i') }} {{ ($category->updated_at) ? Carbon\Carbon::parse($category->updated_at)->format('d-m-Y h:i') : '--' }} @if(sizeof($category->inventory_data)>0) @else @endif
@endsection @section('script') @endsection