@extends('layouts.app', ['title' => 'Businesses']) @section('content')

Businesses

Each business has its own contacts, funnels, team and settings.

@if ($agencies->isNotEmpty()) Add business @endif
@foreach ($agencies as $agency)
Agency {{ $agency->name }} · plan {{ ucfirst($agency->plan) }} {{ $agency->accounts_count }} of {{ $agency->max_accounts }} businesses used
@endforeach @if ($memberships->isEmpty())
You are not part of any business yet. Ask an owner to invite you.
@else
@foreach ($memberships as $account)
@if ($account->logoUrl()) @else @endif
{{ $account->name }}
{{ $account->agency->name }}
{{ ucfirst($account->pivot->role) }}
{{ $account->timezone }} · {{ $account->currency }} @unless($account->is_active) · Inactive@endunless
@csrf @if ((int) auth()->user()->current_account_id === $account->id) @else @endif
@endforeach
@endif @endsection