@extends('admin.adminlayout') @section('page_title') {{__("Products")}} - @endsection @section('content')
@include('starter-kit::component.err')
{{__("Filter")}}: {{__("All")}} @foreach( App\Helpers\stockTypes() as $k => $filter) {{$filter}} @endforeach {{__("Trashed")}}
@csrf @foreach ($products as $n) @endforeach
{{__("Image")}} {{__("Name")}} {{__("Status")}} {{__("Action")}}
{{$n->id}} @if($n->getMedia()->count() > 0) @endif {{$n->name}}
  {{__("Edit")}} @if($n->deleted_at == null)   {{__("Delete")}} @else   {{__("Restore")}} @endif
@include('starter-kit::component.bulk',['actions' => App\Helpers\stockTypes()])
{{$products->links()}}
@endsection