@extends('admin/layouts/default') {{-- Page title --}} @section('title') Edit a stockrequest @parent @stop @section('content')

Stockrequests

Edit stockrequest

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::model($stockrequest, ['method' => 'PATCH', 'action' => ['StockrequestsController@update', $stockrequest->id]]) !!}
{!! Form::label('store_id', 'Store: ') !!} {!! Form::select('store_id', $store, null, ['class' => 'form-control']) !!}
{!! Form::label('agent_id', 'Agent: ') !!} {!! Form::select('agent_id', $agent, null, ['class' => 'form-control']) !!}
{!! Form::label('product_id', 'Product: ') !!} {!! Form::select('product_id', $product, null, ['class' => 'form-control']) !!}
{!! Form::label('quantity', 'Quantity: ') !!} {!! Form::text('quantity', null, ['class' => 'form-control']) !!}
{!! Form::label('status_code', 'Status Code: ') !!} {!! Form::select('status_code', $status, null, ['class' => 'form-control']) !!}
{!! Form::submit('Update', ['class' => 'btn btn-primary form-control']) !!}
{!! Form::close() !!}
@stop