@extends('layouts.customer') @section('title', 'Profile') @section('page-title', 'Profile') @section('content')

Profile

Update your personal information, bio and social links. This information may appear in your emails or account UI.

@csrf @method('PUT')

Avatar

This will be used in your account header and may be shown in emails where applicable.

@php $avatarUrl = $customer->avatar_path ? asset('storage/' . $customer->avatar_path) : null; @endphp
@if($avatarUrl) {{ $customer->full_name }} @else {{ strtoupper(Str::substr($customer->first_name, 0, 1) . Str::substr($customer->last_name, 0, 1)) }} @endif

PNG or JPG up to 2MB.

Billing details

This information is used to calculate VAT or sales tax during checkout.

@error('tax_id')

{{ $message }}

@enderror
@error('billing_address.address_line_1')

{{ $message }}

@enderror
@error('billing_address.address_line_2')

{{ $message }}

@enderror
@error('billing_address.city')

{{ $message }}

@enderror
@error('billing_address.state')

{{ $message }}

@enderror
@error('billing_address.postal_code')

{{ $message }}

@enderror
@error('billing_address.country')

{{ $message }}

@enderror
@error('first_name')

{{ $message }}

@enderror
@error('last_name')

{{ $message }}

@enderror
@error('bio')

{{ $message }}

@enderror

Social links

These links can be used in your email footers or profile areas.

@error('website_url')

{{ $message }}

@enderror
@error('twitter_url')

{{ $message }}

@enderror
@error('facebook_url')

{{ $message }}

@enderror
@error('linkedin_url')

{{ $message }}

@enderror
@customercan('profile.permissions.can_edit_profile') @endcustomercan
@endsection