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

{{$product_category->name}} @include('admin.common.drop-down-menu', [ 'links' => [ [ 'route' => 'admin.product_categories.edit', 'title' => trans('global.app_edit'), 'type' => 'edit', 'icon' => '', 'permission_key' => 'product_category_edit', ], [ 'route' => 'admin.product_categories.destroy', 'title' => trans('global.app_delete'), 'type' => 'delete', 'icon' => '', 'redirect_url' => url()->previous(), 'permission_key' => 'product_category_delete', ], ], 'record' => $product_category, ] )

@if ( 'yes' === $show_page_heading )
@lang('global.app_view')
@endif
@can('product_category_edit') @lang('global.app_edit') @endcan
@lang('global.product-categories.fields.name') {{ $product_category->name }}
@lang('global.product-categories.fields.description') {!! clean($product_category->description) !!}
@lang('global.product-categories.fields.photo') @if (!empty($product_category->photo) && file_exists(public_path() . '/thumb/' . $product_category->photo) ) @endif
@if ( 'active' === $tabs['products_active'] )
@include('admin.products.records-display')
@endif

 

@lang('global.app_back_to_list')
@stop @section('javascript') @if ( 'active' === $tabs['products_active'] ) @include('admin.products.records-display-scripts', [ 'type' => 'product_category', 'type_id' => $product_category->id ]) @endif @endsection