@extends('admin/layouts/default') {{-- Page title --}} @section('title') Create New invoice @parent @stop {{-- Page content --}} @section('content')

Invoices

Create a new invoice

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::open(['url' => 'admin/invoices']) !!}
{!! Form::label('number', 'Number: ') !!} {!! Form::text('number', null, ['class' => 'form-control']) !!}
{!! Form::label('date', 'Date: ') !!} {!! Form::date('date', null, ['class' => 'form-control']) !!}
{!! Form::label('buyer_id', 'Buyer: ') !!} {!! Form::select('buyer_id', $buyer, null, ['class' => 'form-control']) !!}
{!! Form::label('amount', 'Amount: ') !!} {!! Form::text('amount', null, ['class' => 'form-control']) !!}
{!! Form::label('delivery_charges', 'Delivery Charges: ') !!} {!! Form::text('delivery_charges', null, ['class' => 'form-control']) !!}
@lang('button.cancel')
{!! Form::close() !!}
@stop