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

{{ $section->title }}

@if( $products ) @foreach( $products as $product ) @endforeach @endif
ID Product Name Product Price Product Image Status Action
{{$product->id }} {{ucfirst($product->product_name)}} {{ $product->product_discount_price }}
    @if($product->status == 1)
  • Active
  • @else
  • Inactive
  • @endif
{{ Form::open(['route' => ['product.destroy', $product->id], 'method' => 'delete']) }} {{ Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-dim btn-danger']) }} {{ Form::close() }}
@endsection