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

Invoice Products

Edit invoice_product

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::model($invoice_product, ['method' => 'PATCH', 'action' => ['Invoice ProductsController@update', $invoice_product->id]]) !!}
{!! Form::label('product_id', 'Product: ') !!} {!! Form::select('product_id', $product, null, ['class' => 'form-control']) !!}
{!! Form::label('price', 'Price: ') !!} {!! Form::text('price', null, ['class' => 'form-control']) !!}
{!! Form::label('quantity', 'Quantity: ') !!} {!! Form::text('quantity', null, ['class' => 'form-control']) !!}
{!! Form::label('total', 'Total: ') !!} {!! Form::text('total', null, ['class' => 'form-control']) !!}
{!! Form::label('details', 'Details: ') !!} {!! Form::textarea('details', null, ['class' => 'form-control', 'rows' => 3]) !!}
{!! Form::label('comment', 'Comment: ') !!} {!! Form::textarea('comment', null, ['class' => 'form-control', 'rows' => 3]) !!}
{!! Form::submit('Update', ['class' => 'btn btn-primary form-control']) !!}
{!! Form::close() !!}
@stop