@extends('layouts.admin2') @section('content') @if(Session::has('deleted_user'))

{{session('deleted_user')}}

@endif
{{-- "col-md-3 col-md-pull-9"--}} {{-- "col-md-3 col-md-pull-9"--}}
List of Product
{{-- --}} {{-- --}} @if($products) @foreach($products as $product) @endforeach @endif
S/NProduct Price Creation Date Action
S/NProduct Price Creation Date Action
{{$product->name}} {{$product->price}} {{$product->created_at->toFormattedDateString()}} {!! Form::open(['method'=>'DELETE','action'=>['ProductsController@destroy', $product->id]]) !!} {!! Form::submit('Delete' ,['class'=>'btn btn-danger del_products','id'=>'del_products','style'=>'font-size: 12px']) !!} {!! Form::close() !!}
@endsection