@extends('layouts.template') @section('content')

Tools Control

Tools Control Edit

{!! Form::model($tool_creation, [ 'method' => 'PATCH', 'url' => ['/store/tool-creation', $tool_creation->id], 'class' => 'form-horizontal', 'id' => 'toolcreationform', 'files' => true ]) !!}
{!! Form::label('tool', 'Tool') !!} * {!! Form::text('tool', null, ['class' => 'form-control']) !!} {!! $errors->first('tool', '

:message

') !!}
{!! Form::text('quantity', null, ['class' => 'form-control','disabled']) !!} {!! $errors->first('quantity', '

:message

') !!}
{!! Form::text('price', null, ['class' => 'form-control']) !!} {!! $errors->first('price', '

:message

') !!}
{!! Form::select('manufacturer',['' =>'Select Supplier'] + $page_data['supplier']->toArray() ,null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('manufacturer', '

:message

') !!}
{!! Form::select('category',['' =>'Select Category'] + $page_data['category']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('category', '

:message

') !!}
{!! Form::select('bin_id',['' =>'Select Bin'] + $page_data['bin_id']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('bin-id', '

:message

') !!}
{!! Form::text('size', null, ['class' => 'form-control']) !!} {!! $errors->first('size', '

:message

') !!}
{!! Form::text('description', null, ['class' => 'form-control']) !!} {!! $errors->first('description', '

:message

') !!}
{!! $errors->first('image_path', '

:message

') !!}
{!! Form::submit('Update', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@endsection