{!! Form::label('data[Order][extra][invoice][company]', t('Company')) !!} {!! Form::text( 'data[Order][extra][invoice][company]', ( isset($data->extra->invoice->company) && $data->extra->invoice->company ? $data->extra->invoice->company : (isset($data->User->company) && $data->User->company ? $data->User->company : null) ) ) !!}
{!! Form::label('data[Order][extra][invoice][postcode]', t('Postcode')) !!} {!! Form::text( 'data[Order][extra][invoice][postcode]', ( isset($data->extra->invoice->postcode) && $data->extra->invoice->postcode ? $data->extra->invoice->postcode : (isset($data->extra->user->postcode) && $data->extra->user->postcode ? $data->extra->user->postcode : null) ), [ 'data-url' => action('LocationsController@secure_get_address.json'), 'class' => 'form-control postcode-field', 'data-name' => 'postcode' ] ) !!}

{!! Form::label('data[Order][extra][invoice][address]', t('Address')) !!} {!! Form::text( 'data[Order][extra][invoice][address]', ( isset($data->extra->invoice->address) && $data->extra->invoice->address ? $data->extra->invoice->address : (isset($data->extra->user->address) && $data->extra->user->address ? $data->extra->user->address : null) ), [ 'class' => 'form-control', 'data-name' => 'address' ] ) !!}
{!! Form::label('data[Order][extra][invoice][town]', t('Town')) !!} {!! Form::text( 'data[Order][extra][invoice][town]', ( isset($data->extra->invoice->town) && $data->extra->invoice->town ? $data->extra->invoice->town : (isset($data->extra->user->town) && $data->extra->user->town ? $data->extra->user->town : null) ), [ 'class' => 'form-control town-field', 'data-name' => 'town' ] ) !!}
{!! Form::label('data[Order][extra][invoice][county]', t('County')) !!} {!! Form::text( 'data[Order][extra][invoice][county]', ( isset($data->extra->invoice->county) && $data->extra->invoice->county ? $data->extra->invoice->county : (isset($data->extra->user->county) && $data->extra->user->county ? $data->extra->user->county : null) ), [ 'class' => 'form-control', 'data-name' => 'county' ] ) !!}

{!! Form::label('data[Order][extra][invoice][first_name]', t('First name')) !!} {!! Form::text( 'data[Order][extra][invoice][first_name]', ( isset($data->extra->invoice->first_name) && $data->extra->invoice->first_name ? $data->extra->invoice->first_name : (isset($data->extra->user->first_name) && $data->extra->user->first_name ? $data->extra->user->first_name : null) ) ) !!}
{!! Form::label('data[Order][extra][invoice][last_name]', t('Last name')) !!} {!! Form::text( 'data[Order][extra][invoice][last_name]', ( isset($data->extra->invoice->last_name) && $data->extra->invoice->last_name ? $data->extra->invoice->last_name : (isset($data->extra->user->last_name) && $data->extra->user->last_name ? $data->extra->user->last_name : null) ) ) !!}
{!! Form::label('data[Order][extra][invoice][email]', t('Email')) !!} {!! Form::email( 'data[Order][extra][invoice][email]', ( isset($data->extra->invoice->email) && $data->extra->invoice->email ? $data->extra->invoice->email : (isset($data->extra->user->email) && $data->extra->user->email ? $data->extra->user->email : null) ) ) !!}
{!! Form::label('data[Order][extra][invoice][phone]', t('Phone')) !!} {!! Form::text( 'data[Order][extra][invoice][phone]', ( isset($data->extra->invoice->phone) && $data->extra->invoice->phone ? $data->extra->invoice->phone : (isset($data->extra->user->phone) && $data->extra->user->phone ? $data->extra->user->phone : null) ) ) !!}