@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content')

{{ trans('admin/main.categories') }}

@can('admin_store_categories_create') {{ trans('admin/main.add_new') }} @endcan
@foreach($categories as $category) @endforeach
{{ trans('admin/main.icon') }} {{ trans('admin/main.title') }} {{ trans('update.physical_products') }} {{ trans('update.virtual_products') }} {{ trans('admin/main.action') }}
{{ $category->title }} {{ $category->getSelfAndChideProductsCount(\App\Models\Product::$physical) }} {{ $category->getSelfAndChideProductsCount(\App\Models\Product::$virtual) }} @can('admin_store_categories_edit') @endcan @can('admin_store_categories_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/store/categories/'.$category->id.'/delete']) @endcan
@endsection