@extends('inventory.layout') @section('title', 'Products') @section('content') @push('head') @endpush
{{($items->currentpage()-1)*$items->perpage()+1}} to {{$items->currentpage()*$items->perpage()}} of {{$items->total()}} entries  Add Products
@foreach($items as $item) @endforeach
{{ __('Image')}} {{ __('Product Name')}} {{ __('Product Code')}} {{ __('Product Group')}} {{ __('Brand')}} {{ __('Action')}}
@if(isset($item->image)) @else @endif {{ isset($item->name) ? $item->name :'' }} {{ isset($item->product_code) ? $item->product_code :'' }} @foreach($item->productcategory as $cat) @if ($loop->first) {{ isset($cat->parentgroup->name) ? $cat->parentgroup->name :'' }} @endif @endforeach {{ isset($item->brand) ? $item->brand :'' }}       {{-- --}}

@push('script') @endpush @endsection