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

Stock Flows

Edit stock_flow

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::model($stock_flow, ['method' => 'PATCH', 'action' => ['Stock FlowsController@update', $stock_flow->id]]) !!}
{!! Form::label('store_id', 'Store: ') !!} {!! Form::select('store_id', $store, null, ['class' => 'form-control']) !!}
{!! Form::label('client_id', 'Client: ') !!} {!! Form::select('client_id', $client, 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('tx_type_id', 'Tx Type: ') !!} {!! Form::select('tx_type_id', $tx_type, null, ['class' => 'form-control']) !!}
{!! Form::label('current_stock', 'Current Stock: ') !!} {!! Form::text('current_stock', null, ['class' => 'form-control']) !!}
{!! Form::submit('Update', ['class' => 'btn btn-primary form-control']) !!}
{!! Form::close() !!}
@stop