resources/views/part/index.blade.php
@extends('layouts.default')

@section('header')
      
      <span class="mdl-layout-title">{{Lang::get("general.Part")}}</span>

@stop

@include('part.filter')

@section('content')

<div class="mdl-grid demo-content">

    @include('includes.gridview', [
    	'registers' => $parts,
    	'gridview' => [
    		'pageActive' => 'part',
         	'sortFilters' => [
                ["class" => "mdl-cell--2-col", "name" => "vehicle", "lang" => "general.vehicle"], 
                ["class" => "mdl-cell--hide-phone mdl-cell--hide-tablet mdl-cell--2-col", "name" => "name", "lang" => "general.name"],
                ["class" => "mdl-cell--hide-phone mdl-cell--hide-tablet mdl-cell--2-col", "name" => "number", "lang" => "general.part_number"],
                ["class" => "mdl-cell--hide-phone mdl-cell--hide-tablet mdl-cell--1-col", "name" => "position", "lang" => "general.position"],
                ["class" => "mdl-cell--hide-phone mdl-cell--hide-tablet mdl-cell--2-col", "name" => "part-type", "lang" => "general.part_type"], 
                ["class" => "mdl-cell--hide-phone mdl-cell--1-col", "name" => "cost", "lang" => "general.cost", "mask" => "money"],
    		] 
    	]
    ])
        
</div>

@stop