Skip to content
Cynco UI

Accounting · Ledger

PeriodCloseChecklist

The pre-close checks for a period, grouped worst first (Blocking, Needs attention, Advisories) with the fix-it actions, and the passed checks folded away.

import { PeriodCloseChecklist } from "@cynco-labs/ui";

Example

Use

In the close-period flow before a period is closed.

Props

items [{ id, status: fail|attention|warn|pass, label, detail, task?: depreciation|recognition|fxRevaluation, unclosedPeriod?, failure?, attention?: AttentionCard[] }], runningTask?, busy?, onRunTask?, onClosePeriodFirst?, className? (merged on the root) and native props.

Notes

Passed is a disclosure with Show/Hide. Close notes are kept in local state. Responsive: Passed checks use Collapsible and go two-column from 36rem; action buttons wrap.

Source Demo source Markdown