@include('admin.layout.laravel_errors')
Id |
Category |
Name |
Created By |
Created At |
Updated At |
Edit |
Delete |
@forelse($subcategories as $t=>$category)
{{ $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
|
{{-- update modal--}}
@empty
@endforelse