@extends('layout')
@section('title', $actor->code.' · '.$actor->name)
@section('content')
← Relationships{{ $actor->code }}{{ $actor->type->label() }}
{{ $actor->name }}
{{ $actor->notes ?: 'No relationship notes recorded.' }}
{{ str($actor->relationship_stage)->title() }}{{ ucfirst($actor->status) }}
@if(auth()->user()->canAtlas('customers.manage'))
Edit relationship@endif
Opportunities{{ $actor->opportunities->count() }}
Projects{{ $actor->projects->count() }}
Invoiced{{ number_format($financial['invoiced'],0) }} {{ $currentOrganization->currency }}
Collected{{ number_format($financial['collected'],0) }} {{ $currentOrganization->currency }}
Outstanding{{ number_format($financial['outstanding'],0) }} {{ $currentOrganization->currency }}