* fix(entitlements): gate remaining paid-feature UI and drop stale beta pricing copy
Second post-cutover sweep. Non-payers still hit live controls that 403 at
the server gate, plus dead plan names in the inbox guide:
- document-inbox guide: remove "Gratis under beta för Open-användare /
Pro-planen / Se priser" (plans that no longer exist); inbox stays free,
AI extraction is pitched as part of the subscription
- payslip send button (RunProgressBar): disabled + tooltip without
email_send; the free PDF download next to it is untouched
- skattekonto "Synkronisera nu": disabled + tooltip without skatteverket
- invoice post-create send-now dialog: skipped without email_send (the
invoice page's SendInvoiceDialog carries the upsell)
- recurring-invoice auto_send checkbox: disabled + UpgradeNote without
email_send, and force-unchecked so edit mode can't PATCH it back on
- AgentChat composer: replaced with UpgradeNote without ai, covering
deep links to /chat/* and conversations opened before expiry
- /onboarding/agent server page: hasCapability(ai) redirect to
/settings/billing before the gated composer stream starts
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(entitlements): address review findings on the gating sweep
- AgentChat: the mount effect auto-fired the first /api/agent/invoke on a
fresh start regardless of capability; now returns early without ai, and
Regenerate/Correction re-invokes are guarded too (real find by review bot)
- recurring auto_send upsell copy moved to i18n (auto_send_requires_subscription,
sv+en) matching the rest of the dialog
- disabled-button tooltips wrapped in a span (payslip send + skattekonto
sync): browsers suppress title on disabled elements
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>