InvoicesTable
InvoicesTable
is a React component that displays all outgoing invoices created by an entity. The component shows each invoice's amount, status, issuance date, due date, and the 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
![`InvoicesTable` component preview.](https://files.readme.io/a38068a-Screenshot_2023-09-09_at_14.00.24.png)
InvoicesTable
component preview.
Usage
Use in the InvoicesTable
component in your application as shown:
import { InvoicesTable } from "@monite/sdk-react";
...
// TODO: This component must be rendered within the MoniteProvider wrapper
const InvoicesTablePage = () => {
return <InvoicesTable />
};
Props
The following table shows all InvoicesTable
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 invoice table row is clicked. |
Updated 3 months ago