@include('links.header')
Product List
@if(Auth::user()->role_id==1)
Add Product
@endif
@if (Session::has('msg'))
| # | Title | Category | State | URL Alias | Is Featured | Status | Date | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $index+1 }} | {{ $desp->title }} | {{ $value->parent_category_name }} @if( $value->category_name ) >> {{ $value->category_name }} @endif | {{ $value->state }} | {{ $value->url_alias }} | {{ $value->is_featured ? ' Yes ' : 'No' }} | @if($value->status == 1) {{ 'Active'}} @else {{'In-Active'}} @endif | {{ $value->created_at->format('d/m/Y H:i') }} | Edit {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'DELETE', 'onsubmit' => "return confirm('Are you sure. You want to delete record!');", 'route' => ['products.destroy', $value->id])) !!} {!! Form::submit('Delete', array('class' => 'btn btn-danger')) !!} {!! Form::close() !!} |
| # | Title | URL Alias | Status | Action |