{!! Form::open(['url' => action([\App\Http\Controllers\InvoiceSchemeController::class, 'update'], [$invoice->id]), 'method' => 'put', 'id' => 'invoice_scheme_add_form' ]) !!}

@lang( 'invoice.edit_invoice' )

FORMAT:
XXXX

scheme_type == 'blank') {{ 'checked'}} @endif>

FORMAT:
{{ date('Y') }}{{config('constants.invoice_scheme_separator')}}XXXX

scheme_type == 'year') {{ 'checked'}} @endif>
@lang('invoice.not_selected')
{!! Form::label('name', __( 'invoice.name' ) . ':*') !!} {!! Form::text('name', $invoice->name, ['class' => 'form-control', 'required', 'placeholder' => __( 'invoice.name' ) ]); !!}
{!! Form::label('prefix', __( 'invoice.prefix' ) . ':') !!}
{!! Form::text('prefix', $invoice->prefix, ['class' => 'form-control', 'placeholder' => '']); !!}
{!! Form::label('start_number', __( 'invoice.start_number' ) . ':') !!}
{!! Form::number('start_number', $invoice->start_number, ['class' => 'form-control', 'required', 'min' => 0 ]); !!}
{!! Form::label('total_digits', __( 'invoice.total_digits' ) . ':') !!}
{!! Form::select('total_digits', ['4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8', '9'=>'9', '10' => '10'], $invoice->total_digits, ['class' => 'form-control', 'required']); !!}
{!! Form::close() !!}