CreditNotesTable
CreditNotesTable
is a React component that displays all credit notes created by an entity. The component shows each credit note's amount, status, issuance date, and counterpart to which they were sent.
Permissions
To access this component, the entity user must have
read
permissions for thereceivable
object. For more information, see List of permissions.
Preview
![`CreditNotesTable` component preview.](https://files.readme.io/ba7f907-Screenshot_2023-09-09_at_13.06.26.png)
CreditNotesTable
component preview.
Usage
Use in the CreditNotesTable
component in your application as shown:
import { CreditNotesTable } from "@monite/sdk-react";
...
// TODO: This component must be rendered within the MoniteProvider wrapper
const CreditNotesTablePage = () => {
return <CreditNotesTable />
};
Props
The following table shows all CreditNotesTable
component properties, their types, and description:
Prop | Type | Description |
---|---|---|
onRowClick | function | This callback takes the identifier of the clicked row as a parameter and is triggered when a credit note table row is clicked. |
Updated 3 months ago
See also