@section('title', ($formTitle ?? ''))
@if (isset($data)) {!! Form::model($data, [ 'route' => ['invoices.update', $data], 'method' => 'put', 'enctype' => 'multipart/form-data', 'id' => 'orderForm' ]) !!} @else {!! Form::open([ 'route' => ['invoices.store'], 'method' => 'post', 'enctype' => 'multipart/form-data', 'id' => 'orderForm' ]) !!} @endif

{{ isset($data) ? 'Modifier la facture #' . $data->reference : 'Créer une facture' }}

{!! Form::close() !!}
@push('scripts') @endpush