@if(Session::has('success'))
{{ Session::get('success') }}
@endif
@if(Session::has('errors'))
{{ Session::get('errors') }}
@endif
{{--
Add --}}
| # |
Name |
Site Link |
Image |
Price |
status |
|
@foreach($productList as $key=>$val)
| {{$key+1}} |
{{$val->name}} |
{{-- {{$val->site_link}} | --}}
{{str_limit(strip_tags($val->site_link), $limit = 15, $end = '...')}} |
 ? url('storage/products/images/'.$val->image) : url('storage/articles/images/no_image.png'))}}) |
{{$val->price}} |
{{(($val->status == 0) ? "Active" : "Inactive")}} |
@if($val->status==1)
@elseif($val->status==0)
@endif
|
@endforeach