Skip to content

docs: correct agreements, payments and retail account labels - #65

Merged
cohenrobinson merged 1 commit into
mainfrom
docs/audit-agreements-payments-2026-11-25
Nov 24, 2026
Merged

cohenrobinson merged 1 commit into
mainfrom
docs/audit-agreements-payments-2026-11-25

Conversation

@utilified-agent

Copy link
Copy Markdown
Contributor

Rolling docs audit, area 4 (agreements, payments, inbox, imports), checked against Utilified/utilified-platform@5f445aded9. Code paths are relative to ums-web/src/ unless shown in full.

Fixes

retail-accounts.mdx

  • The header buttons are now Activate and Close account: app/(main)/(utilities)/retail-accounts/[id]/page.tsx:166, :177.
  • The tab is also gated on the retail_accounts plan entitlement: config/navigationRegistry.tsx:154-155.
  • Generate Retail Accounts works from agreement connections on retail agreements, and the new accounts start as Draft: @modal/generate/page.tsx:47-55, :270-275.
  • Corrected the create drawer to its 8 fields: utils/formFieldConfigs.ts:1628-1637. Validation, billing and payment settings now point to the Settings tab ([id]/components/SettingsTab.tsx:81, :141). Gap checks now point to the Validation tab (ValidationTab.tsx:245-276).
  • The header subtitle links the account, supplier and connection: [id]/page.tsx:207-236.
  • Added Run Validation → Period From / Period To → Generate: ValidationTab.tsx:240, :446-483.
  • Added the Ledger quick-add for Payment, Adjustment and Opening Balance: LedgerTab.tsx:42-45, :492.
  • Merge: corrected what it moves (@modal/merge/page.tsx:196). The steps are now Select, Review, Load, Results, with Merge as the button: components/Layout/EntityMergeModal.tsx:23-26, :242.

agreements.mdx

  • Added the Activity tab: app/(main)/(accounts)/agreements/[id]/page.tsx:42-47.
  • Add a Brokerage Record appears only with the brokerage entitlement: [id]/page.tsx:228-253.
  • Draft now means no start, end or execution date: platform-api/api/management/accounts/status.py:96-106.

guides/managing-agreements.mdx

  • The bulk-link wizard is a single Connections step, not Connections then Review: components/Wizard/BulkAgreementConnectionWizard/index.tsx:65-76, steps/AddConnectionsStep.tsx:135-142, shared/ConnectionMatchGrid.tsx:102, :117.
  • Added the Activity tab and the brokerage gating.

payments.mdx

  • The file tab is now Line items, not Lines: app/(main)/(payments)/payments/files/[id]/page.tsx:29.
  • My approvals:
    • The row button is Approve, which opens the Approve Payment File dialog: _components/MyApprovalsCard.tsx:200, :270, :296.
    • Secondary rows show only Review: :187-213.
    • Added the Any role: :86-90 and platform-api/api/management/validation/views.py:6825-6831.
  • The group Invoices tab shows invoices already on this group's files. Eligible invoices are on Coverage: groups/[id]/tabs/GroupInvoicesTab.tsx:21-34.
  • Plan gating: payments_overview (navigationRegistry.tsx:284-287), and payment files for groups and files (views.py:4174, :6896).
  • Added the Runs tiles (RunsOverviewCard.tsx:136-158) and the Coverage summary cards (GroupCoverageTab.tsx:64-98).

guides/processing-payments.mdx

  • Fixed the generate step. Pick Format in the Overview's Eligible invoices panel, then use the header's Generate payment file. That button shows only on Overview and is disabled when nothing is eligible: GroupOverviewTab.tsx:345, :384-387, groups/[id]/page.tsx:87-103.
  • Added the Currency mismatches and This run pre-flight checks, and the toggle text: components/PaymentGroup/PreFlightChecklist.tsx:248, :592-616.

imports.mdx

  • A note that clicking a batch shows each file's status: components/Import/InvoiceImportBatches.tsx:54.

Ratings

  • Partly stale: retail-accounts, agreements, managing-agreements, payments, processing-payments.
  • Accurate: inbox, imports, bulk-importing-data.

Checks

  • mint@4.2.1070 broken-links passes.
  • Every ](/page#anchor) link resolves. No anchors changed.
  • I ran sync-docs-pages.mjs against this branch and then the docsDrift and docsLinks jest suites. Both pass.

For a human

  • The backend has a payment template, SAP_JOURNAL ("SAP Balanced GL Journal", platform-api/api/management/validation/models.py:1978). It is missing from the create-form options and from TEMPLATE_LABELS, so it isn't documented. Is that intentional?
  • inbox.mdx says Utilified staff can release held emails. That matches the copy non-staff users see, so I left it.

Product bugs filed in Linear: UTI-545, UTI-546, UTI-547.

@cohenrobinson
cohenrobinson merged commit 3ad4a52 into main Nov 24, 2026
2 checks passed
@cohenrobinson
cohenrobinson deleted the docs/audit-agreements-payments-2026-11-25 branch November 24, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant