@php $money = fn (int $cents) => 'AUD '.number_format($cents / 100); $canManage = $wsMember->canManageTeam(); $canLocations = $wsMember->canApprove(); $currentTier = $wsCompany->tier; @endphp {{-- Terms --}}
@foreach([ ['Tier', $currentTier?->name ?? 'Wholesale', 'crown'], ['Base discount', $wsCompany->baseDiscountLabel().($wsCompany->hasActiveCustomDiscount() ? ' ★' : ''), 'badge-percent'], ['Payment terms', $wsCompany->paymentTerm?->name ?? 'Proforma', 'calendar-clock'], ['Credit limit', $credit['limit_cents'] ? $money($credit['limit_cents']) : '—', 'landmark'], ] as $i => [$label, $value, $icon])

{{ $label }}

{{ $value }}

@endforeach
{{-- Tier comparison --}} @if($tiers->isNotEmpty())

Partner program

Tiers grow with your 12-month spend

Your trailing 12 months: {{ $money($tierProgress['spend_cents']) }}

@foreach($tiers as $tier) @php $isCurrent = $currentTier?->is($tier); @endphp
@if($isCurrent)Your tier@endif

{{ $tier->name }}

{{ $tier->discountLabel() }}

{{ $tier->annual_spend_threshold_cents ? 'From '.$money($tier->annual_spend_threshold_cents).' / year' : 'Entry tier' }}{{ $tier->min_order_cents ? ' · min order '.$money($tier->min_order_cents) : '' }}

@if(! empty($tier->perks))
    @foreach($tier->perks as $perk)
  • {{ $perk }}
  • @endforeach
@endif
@endforeach
@endif
{{-- Company details --}}

Company

{{ $wsCompany->name }}

@csrf @method('PUT') @if($canManage)
@else

Only account owners can edit company details.

@endif
{{-- Volume pricing --}}

Volume pricing

Your active breaks

Order-wide breaks add to your tier discount. Product breaks apply when they beat your order rate — you always get the better price.

    @forelse($rules as $rule)
  • {{ $rule->thresholdLabel() }} · {{ $rule->product?->title ?? 'whole order' }}@if($rule->ends_at)Ends {{ $rule->ends_at->format('d M Y') }}@endif {{ $rule->discountLabel() }}
  • @empty
  • No volume breaks are configured for your account yet.
  • @endforelse
{{-- Locations --}}

Delivery

Locations

@forelse($locations as $location)

{{ $location->label }}

@if($location->is_default)Default@endif

{{ $location->oneLine() }}

@if($canLocations && ! $location->is_default)
@csrf @method('DELETE')
@endif
@empty

No locations yet.

@endforelse
@if($canLocations)
hasAny(['label', 'line1', 'city', 'postal_code', 'country'])) open @endif> Add a location
@csrf
@endif
{{-- Profile & security --}} @php $me = $wsMember->customer; $hasPassword = $me->password !== null; @endphp

Your profile

Personal details

How you appear to your team and on orders you place.

@csrf @method('PUT') @if($errors->profile->any())

{{ $errors->profile->first() }}

@endif

Sign-in & security

{{ $hasPassword ? 'Change password' : 'Set a password' }}

{{ $hasPassword ? 'Password on' : 'Code / Google only' }}

{{ $hasPassword ? 'Use 8+ characters with upper and lower case and a number.' : 'Add a password to sign in with email and password, as well as email codes or Google.' }}

@csrf @method('PUT') @if($hasPassword) @endif
@if($errors->password->any())

{{ $errors->password->first() }}

@endif
Last sign-in {{ $me->last_login_at?->diffForHumans() ?? '—' }}