{!! Form::label('data[User][first_name]', t('First Name')) !!} {!! Form::text( 'data[User][first_name]', null, [ 'data-error' => t('This field is required'), 'class' => 'form-control required editable', 'required' ] ) !!}
{!! Form::label('data[User][last_name]', t('Last Name')) !!} {!! Form::text( 'data[User][last_name]', null, [ 'data-error' => t('This field is required'), 'class' => 'form-control required editable', 'required' ] ) !!}
{!! Form::label('data[User][email]', t('Email')) !!} {!! Form::email( 'data[User][email]', null, [ 'class' => 'form-control editable' ] ) !!}
{!! Form::label('data[User][phone]', t('Phone')) !!} {!! Form::text( 'data[User][phone]', null, [ 'class' => 'form-control editable' ] ) !!}

{!! Form::label('data[LinesOrder][start_date]', t('Date')) !!} {!! Form::text( 'data[LinesOrder][date]', null, [ 'data-error' => t('This field is required'), 'class' => 'form-control datepicker required editable', 'required' ] ) !!}
{!! Form::label('data[LinesOrder][start_time]', t('Start Time')) !!} {!! Form::select( 'data[LinesOrder][start_time]', array_merge( ['' => t('Start time')], times([ 'step' => 5, 'start' => (isset($settings->content->default_start) ? $settings->content->default_start : null), 'end' => (isset($settings->content->default_end) ? $settings->content->default_end : null), ]) ), null, [ 'data-error' => t('This field is required'), 'class' => 'form-control required editable' ] ) !!}
{!! Form::label('data[LinesOrder][end_time]', t('End Time')) !!} {!! Form::select( 'data[LinesOrder][end_time]', array_merge( ['' => t('End time')], times([ 'step' => 5, 'start' => (isset($settings->content->default_start) ? $settings->content->default_start : null), 'end' => (isset($settings->content->default_end) ? $settings->content->default_end : null), ]) ), null, [ 'data-error' => t('This field is required'), 'class' => 'form-control required editable' ] ) !!}
{!! Form::label('data[LinesOrder][extra][notes]', t('Special Notes')) !!} {!! Form::textarea( 'data[LinesOrder][extra][notes]', null, [ 'class' => 'form-control editable' ] ) !!}
{!! Form::label('data[LinesOrder][price]', t('Price')) !!} {!! Form::number( 'data[LinesOrder][price]', null, [ 'class' => 'form-control editable', 'step' => '0.01' ] ) !!}
{!! Form::label('data[people]', t('People')) !!} {!! Form::number( 'data[people]', null, [ 'class' => 'form-control editable', 'required', 'step' => '1' ] ) !!}
@include('Plugins/Payment/Views/Elements/LinesOrder/resources')