@extends('admin.main')
@section('content')
@if (auth()->guard('admins')->user()->can('manager product'))
| Product Name |
Type |
|
|
@if (count($groups) > 0)
@foreach ($groups->all() as $item)
|
Group Name: {{ $item->name }}
|
|
|
@if (!empty($item->products) && $item->products->count())
@foreach ($item->products->all() as $_item)
|
{{ $_item->name }}
|
{{ $_item->Type->name }}
|
|
@if (auth()->guard('admins')->user()->can('delete product'))
@endif
|
@endforeach
@endif
@endforeach
@endif
@else
Access Denied - You are not assigned to any Product
management department
@endif
@endsection