{{ $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', }; }; @endphp
@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="..." --}}Company-side work settles operational invoices and card spend that hits company policy. Earnings-side work covers mandate invoices, personal reimbursements for out-of-pocket spend outside company funds, and refund filing back to your mandate balance.
@if(\App\Support\WorkspaceNavigation::userMayConfigurePlatform($user ?? null))Control Panel · directives & notifications — publish processing updates and instructions; operators see them here and receive in-app notices. Control Panel · create invoices & view pipeline totals — posts to this queue (earnings templates debit mandate when paid; optional line items must sum to invoice amount).
@endif @include('partials.stripe-powered-financial-rail', ['class' => 'mt-3 max-w-xl']){{ session('status') }}
@endif @if ($errors->any()){{ $err }}
@endforeachCompany lane
Review operational payables, approve them for treasury, and clear card authorizations that need company oversight.
{{ $task['summary'] }}
Status: {{ $task['status'] }}
${{ number_format((float) ($task['amount_usd'] ?? 0), 2) }}
No company tasks in queue. When operational invoices or card reviews appear, they will list here.
@endforelseEarnings & personal reimbursement lane
Pay earnings-domain invoices from mandate balance, approve reimbursement claims for out-of-pocket spend, and file new refund requests when you used personal funds outside the company rail.
{{ $earnings_invoice_restriction_message }}
@endif{{ $task['summary'] }}
Status: {{ $task['status'] }}
@if (! empty($task['needs_reviewer']))A reviewer with reimbursement approval rights must approve this claim before funds move.
@endif${{ number_format((float) ($task['amount_usd'] ?? 0), 2) }}
No earnings or reimbursement tasks right now.
@endforelseUse this when you paid with personal funds or outside the company treasury path. Approved claims reimburse into the destination account you select (subject to policy and regional access).