@include('global.header-links')
@include('partials.sidebar')
@include('partials.header')

Products

@if(session()->has('success'))
{{ session()->get('success') }}
@elseif(session()->has('error'))
{{ session()->get('error') }}
@endif @foreach ($products as $value) @foreach ($value->products as $product) @endforeach @endforeach
Product Short Description Qty Unit Price Rating Published Actions
{{$product->name}}
Category: {{$product->category->name}}
{!! Str::limit($product->description, 50) !!} {{$product->qty}} {{$product->price}}
{{$product->created_at->diffForHumans()}}
Actions
@include('partials.footer')
@include('global.footer-links')