Overview

The ApprovalRequests component is a comprehensive React component that renders the complete Approval Requests page. The component integrates the full functionality of the ApprovalRequestsTable component and includes the ability to approve and reject payables. The component also supports searching, filtering, and pagination between the approval requests.

Permissions

To access this component, the entity user must have the following permissions:

  • read permission for the payable object,
  • read and update permissions for the approval_request object.

For more information, see List of permissions.

Preview

ApprovalRequests component preview
ApprovalRequests component preview

Usage

Bring in the ApprovalRequests component into your application as shown:

React.js
1import { ApprovalRequests } from "@monite/sdk-react";
2
3// This component must be rendered within the MoniteProvider wrapper
4const ApprovalRequestsPage = () => {
5 return <ApprovalRequests />;
6};