PurchaseOrderHistoryLog Container
Displays the chronological history of actions and status changes for a purchase order.
Version: 1.0.0-beta3
Configuration
The PurchaseOrderHistoryLog container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
visibleRecordsLimit | number | No | Maximum number of history entries to display initially. Additional entries can be revealed with a ‘Show More’ action. Use to prevent overwhelming users with long audit trails. |
withHeader | boolean | No | When true, displays the header section. Set to false when embedding the container within a layout that provides its own header. |
withWrapper | boolean | No | When true, wraps the container in a styled wrapper. Set to false for custom styling or when the container is embedded within another styled component. |
className | string | No | Additional CSS classes to apply to the container for custom styling. |
Slots
This container does not expose any customizable slots.
Usage
The following example demonstrates how to use the PurchaseOrderHistoryLog container:
import { render as provider } from '@dropins/storefront-purchase-order/render.js';import { PurchaseOrderHistoryLog } from '@dropins/storefront-purchase-order/containers/PurchaseOrderHistoryLog.js';
await provider.render(PurchaseOrderHistoryLog, { visibleRecordsLimit: 0, withHeader: true, withWrapper: true,})(block);