@extends('admin.layout.master') @section('title') Products @endsection @section('content')
Products
@forelse($products as $product)

{{ $product->name }}

Price : @if(!empty($product->cut_price)) {{ "$".$product->cut_price }} @endif {{ "$".$product->price }}
Category : {{ $product->category->name }}
Status : @if($product->stock=="in stock") {{ $product->stock }} @else {{ $product->stock }} @endif
@empty

No Job Added.

@endforelse
@endsection