paprel-journal-list
Paginated journal table — same columns as the Paprel workspace list: date, journal # (identifier), reference, description, status, and amount. Row selection emits paprel:resource-open so your host can open paprel-journal-detail on its own route.
Usage
HTML
<paprel-journal-list page="1"></paprel-journal-list>
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
page | number | 1 | Current page (1-based) |
page-size | number | 25 | Rows per page |
manual-only | boolean | false | Show only manual journals |
search | string | "" | Current search query |
status | string | "" | Current status filter |
Events
| Event | Detail | Description |
|---|---|---|
paprel:resource-open | { version, source, resource, id } | Cancelable request for the host to open the journal route |
paprel:view-change | { version, source, reason, state } | Complete search, filter, sort, and pagination state |
journal-select | { journalId, journal } | Compatibility event when the host does not cancel paprel:resource-open |
Methods
| Method | Description |
|---|---|
refresh() | Reload the current page (async) |
Permissions
Requires accounting:journal-list on the App Connect token.