@php /* $layout_page = shop_profile ** Variables:** - $customer - $countries - $address */ @endphp @extends($sc_templatePath.'.account.layout') @section('block_main_profile')

{{ $title }}

@csrf @if (sc_config('customer_lastname'))
@if($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@else
@if($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@endif @if (sc_config('customer_phone'))
@if($errors->has('phone')) {{ $errors->first('phone') }} @endif
@endif @if (sc_config('customer_postcode'))
@if($errors->has('postcode')) {{ $errors->first('postcode') }} @endif
@endif
@if($errors->has('address1')) {{ $errors->first('address1') }} @endif
@if (sc_config('customer_address2'))
@if($errors->has('address2')) {{ $errors->first('address2') }} @endif
@endif @if (sc_config('customer_address3'))
@if($errors->has('address3')) {{ $errors->first('address3') }} @endif
@endif @if (sc_config('customer_country')) @php $country = (old('country'))?old('country'):$address['country']; @endphp
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
@endif @if ($address->id != $customer->address_id)
@endif
@php $dataButton = [ 'class' => '', 'id' => '', 'type_w' => '', 'type_t' => 'buy', 'type_a' => '', 'type' => 'submit', 'name' => ''.sc_language_render('customer.update_infomation'), 'html' => '' ]; @endphp @include($sc_templatePath.'.common.button.button', $dataButton)
@endsection