@extends('admin.layouts.master') @section('title') Products @stop @section('content')
{{ Form::open(array('method' => 'get')) }}
{{ Form::select('filter_by_category', $category_options, Input::has('filter_by_category') ? Input::get('filter_by_category') : null, array('class'=>'bs-select form-control', 'data-live-search'=>'true', 'data-size'=>'8')) }}
{{ Form::close() }}
{{ Form::open(array('url' => 'admin/products/search-by-sku')) }} {{ Form::hidden('return_path', 'admin/products') }}
{{ Form::close() }}
@if (false) @foreach($products as $product)
SKU Category Subcategory Type Manufacture Model Size Serial Number Status Actions
{{ $product->sku }} @if($_cat = $product->category->parent()) {{ $_cat->name }} @endif @if($_cat = $product->category) {{ $_cat->name }} @endif {{ $product->type }} {{ $product->manufacture }} {{ $product->model }} {{ $product->option }} {{ $product->serial_number }}