Skip to content
Cynco UI

Accounting · Ledger

JournalLinesTable

The read-only line items of a saved journal entry: line number, account (code, name, type), description, debit, credit and totals.

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

Example

Use

On the journal entry detail page beside the details rail.

Props

lines [{ id, lineNumber, accountCode, accountName, accountType, debitAmount, creditAmount, description? }], currency?, className? (merged on the root) and native props.

Notes

The Balanced / Unbalanced state is a StatusChip in the header. Empty sides are blank and totals are formatted with formatCurrency. Responsive: built on DataList: a tray table on wide containers, stacked line cards (account, Dr/Cr amount, description) below 36rem.

Source Demo source Markdown