Skip to content
Cynco UI

Accounting · Tax, assets & operations

PurchaseOrderLines

Editable PO line items (description, qty, unit price, amount auto-calculated as qty × price) with remove, Add line item, and subtotal / SST / total.

import { PurchaseOrderLines } from "@cynco-labs/ui";

Example

Use

Create or edit a purchase order; readOnly on the PO detail.

Props

lineItems [{id, description, quantity, unitPrice, amount}]; optional onChange (uncontrolled when omitted), readOnly, currency, taxAmount; optional className and native div props on the root.

Notes

The totals block mirrors the PO's subtotal/tax/total fields.

Source Demo source Markdown