Skip to content
Cynco UI

Accounting · Ledger

JournalEntryHeader

The journal entry form's top bar: Back, the title with the entry number, the entry status and the From template / Save Draft / Save & Post actions.

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

Example

Use

Above the journal entry editor, on both the create and edit screens.

Props

title, entryNumber?, status? (draft|pending_approval|approved|posted|reversed|cancelled), isCreate, approvalRequired, isSaving, isPosting, onBack, onFromTemplate, onSave, onPost, className? (merged on the root) and native props.

Notes

Entry number in text-tiny-id. Approval-required entries show "Save & Submit for Approval". Responsive: Actions sit in an ActionBar that wraps under the title on narrow containers.

Source Demo source Markdown