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

Products

All Products

@if ($errors->any())
Error!
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if ($message = Session::get('success'))
{{ $message }}
@endif
@foreach ($products as $product) @endforeach
Name SKU Sector Status
$product->id]) }}">{{$product->name}} {{$product->sku}}

{{$product->sector}}

@if($product->status == "active" || $product->status == "Active") {{$product->status}} @else {{$product->status}} @endif
@endsection