{{ $task['title'] }}
{{ $task['summary'] }}
Status: {{ $task['status'] }}
${{ number_format((float) ($task['amount_usd'] ?? 0), 2) }}
@php $ledgerSimulationStatuses = [ 'Invoice approved.', 'Invoice paid from mandate earnings.', 'Payment request submitted. Company treasury will process settlement.', 'Reimbursement claim approved and posted.', ]; $suppressInlineFlashForLedgerSim = session('status') && in_array(session('status'), $ledgerSimulationStatuses, true); $severityRing = static function (string $sev): string { return match ($sev) { 'danger' => 'ring-rose-200 border-rose-100', 'warning' => 'ring-amber-200 border-amber-100', default => 'ring-slate-100 border-[#ECECEC]', }; }; $severityBadge = static function (string $sev): string { return match ($sev) { 'danger' => 'bg-rose-50 text-rose-900 border-rose-200', 'warning' => 'bg-amber-50 text-amber-950 border-amber-200', default => 'bg-sky-50 text-sky-900 border-sky-200', }; }; $taskQueueInitialTab = $taskQueueInitialTab ?? 'company'; if (! in_array($taskQueueInitialTab, ['company', 'earnings'], true)) { $taskQueueInitialTab = 'company'; } @endphp @include('partials.html-root-open')
@include('partials.head-meta', ['pageTitle' => 'Task queue']) @include('partials.ledger-settlement-simulation-script') @include('partials.task-queue-workspace-script') @include('partials.desktop-required-notice') @include('partials.workspace-lg-only-wrap-start') @include('partials.activity-drawer') {{-- Outer attribute must be single-quoted: @json() emits double quotes and breaks x-data="..." --}}Settle company operational work and mandate earnings in two lanes below.
{{ session('status') }}
@endif @if ($errors->any()){{ $err }}
@endforeachInvoice #{{ $focusInvoiceId }} is not currently actionable in Task Queue.
Open in invoice queueTreasury cost #{{ $focusTreasuryCostId }} is no longer pending approval or was already cleared.
Back to company tasks