{!! Former::framework('TwitterBootstrap4'); !!} {!! Former::horizontal_open_for_files() ->id('update_settings') ->route('client.profile.edit_client', auth()->user()->hashed_id) ->method('PUT'); !!} {!! Former::populate(auth()->user()->client) !!} @csrf
{{ ctrans('texts.client_information') }}
@if(auth()->user()->client->logo) @else @endif {!! Former::file('logo') ->max(2, 'MB') ->accept('image') ->label('') ->inlineHelp(trans('texts.logo_help')) !!}
{!! Former::text('name')->label( ctrans('texts.name')) !!} {!! Former::text('website')->label( ctrans('texts.website')) !!}
{{ ctrans('texts.address') }}
{!! Former::text('address1')->label( ctrans('texts.address1')) !!} {!! Former::text('address2')->label( ctrans('texts.address2')) !!} {!! Former::text('city')->label( ctrans('texts.city')) !!} {!! Former::text('state')->label( ctrans('texts.state')) !!} {!! Former::text('postal_code')->label( ctrans('texts.postal_code')) !!} {!! Former::select('country_id') ->addOption('','') ->autocomplete('off') ->label(ctrans('texts.country')) ->fromQuery($countries, 'name', 'id') !!}
{{ ctrans('texts.shipping_address') }}
{!! Former::text('shipping_address1')->label( ctrans('texts.shipping_address1')) !!} {!! Former::text('shipping_address2')->label( ctrans('texts.shipping_address2')) !!} {!! Former::text('shipping_city')->label(ctrans('texts.shipping_city')) !!} {!! Former::text('shipping_state')->label(ctrans('texts.shipping_state')) !!} {!! Former::text('shipping_postal_code')->label(ctrans('texts.shipping_postal_code')) !!} {!! Former::select('shipping_country_id') ->addOption('','') ->autocomplete('off') ->label(ctrans('texts.shipping_country')) ->fromQuery($countries, 'name', 'id') !!}
{!! Former::close() !!}
@push('scripts') @endpush