paprel-journal-detail
Read-only journal view: identifier, dates, status, FX metadata when applicable, and a line grid with account names and debit/credit totals.
Usage
HTML
<paprel-journal-detail journal-id="YOUR_JOURNAL_ID"></paprel-journal-detail>
Set journal-id from the route your host opens in response to paprel:resource-open on paprel-journal-list.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
journal-id | string | "" | Journal to load (updates trigger a refetch) |
show-actions | boolean | true | Show available journal actions |
Events
| Event | Detail | Description |
|---|---|---|
journal-action | { action, journalId, journal } | Host action request such as edit, copy, or reverse |
journal-voided | { journalId } | Journal was voided successfully |
journal-deleted | { journalId } | Draft journal was deleted successfully |
Permissions
Requires accounting:journal-list on the App Connect token.