@extends('layouts.scaffold') @section('title') Batch Materials|Golars Networks @stop @section('main')

All Batchmaterials

@if ($addp == '1')

{{ link_to_route('batchmaterials.create', 'Add new batchmaterial') }}

@endif @if ($batchmaterials->count()) @foreach ($batchmaterials as $batchmaterial) @endforeach
Material_name
{{{ $batchmaterial->material_name }}} {{ link_to_route('batchmaterials.edit', 'Edit', array($batchmaterial->id), array('class' => 'btn btn-info')) }} {{ Form::open(array('method' => 'DELETE', 'route' => array('batchmaterials.destroy', $batchmaterial->id))) }} {{ Form::submit('Delete', array('class' => 'btn btn-danger')) }} {{ Form::close() }}
@else There are no batchmaterials @endif @stop