@extends('admin.layouts.master') @section('content')
Products
{!! Form::open(['method' => 'GET', 'url' => '/admin/products', 'class' => 'navbar-form navbar-right', 'role' => 'search']) !!}
{!! Form::close() !!}
@foreach($products as $key => $item) @endforeach
Sr.no Item Id Name Sub Text Image Price Description Status Actions
{{ (($products->currentPage() - 1 ) * $products->perPage() ) + $loop->iteration }} {{ $item->item_id }} {{ $item->name }} {{ $item->sub_text }} {{ $item->price }} {{ $item->description }} {{ $item->is_active==1?'Active':'Disabled' }}
{{ method_field('DELETE') }} {{ csrf_field() }}
{!! $products->appends(['search' => Request::get('search')])->render() !!}
@endsection