@extends('admin.layouts.master') @section('content')

{!! link_to_route(config('quickadmin.route').'.productvariant.create', trans('quickadmin::templates.templates-view_index-add_new') , null, array('class' => 'btn btn-success')) !!}

@if ($productvariant->count())
{{ trans('quickadmin::templates.templates-view_index-list') }}
@foreach ($productvariant as $row) @endforeach
{!! Form::checkbox('delete_all',1,false,['class' => 'mass']) !!} Product Group Width (m) Height (m) Finishing Product ID's Template  
{!! Form::checkbox('del-'.$row->id,1,false,['class' => 'single','data-id'=> $row->id]) !!} {{ $row->product_group }} {{ $row->width }} {{ $row->height }} {{ $row->finishing }} {{ $row->product_ids }} {{ $row->template }} {!! link_to_route(config('quickadmin.route').'.productvariant.edit', trans('quickadmin::templates.templates-view_index-edit'), array($row->id), array('class' => 'btn btn-xs btn-info')) !!} {!! Form::open(array('style' => 'display: inline-block;', 'method' => 'DELETE', 'onsubmit' => "return confirm('".trans("quickadmin::templates.templates-view_index-are_you_sure")."');", 'route' => array(config('quickadmin.route').'.productvariant.destroy', $row->id))) !!} {!! Form::submit(trans('quickadmin::templates.templates-view_index-delete'), array('class' => 'btn btn-xs btn-danger')) !!} {!! Form::close() !!}
{!! Form::open(['route' => config('quickadmin.route').'.productvariant.massDelete', 'method' => 'post', 'id' => 'massDelete']) !!} {!! Form::close() !!}
@else {{ trans('quickadmin::templates.templates-view_index-no_entries_found') }} @endif @endsection @section('javascript') @stop