Allow accounts to record partial/advance payments against a PO before full delivery. A new PARTIALLY_PAID status tracks in-progress payment; paidAmount accumulates across multiple markPaid calls. PO only closes when both paidAmount >= totalAmount AND all line items are delivered. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| history | ||
| actions.ts | ||
| page.tsx | ||
| payment-actions.tsx | ||