A new secondary action in the receipt’s toolbar, beside the existing ones. It navigates to the distribution create page pre-populated from this receipt — it does not open a drawer, because the allocation work is a full page.
The third hero pill (not distributed) is also new: without it the operator cannot tell whether this receipt still has anything left to send out.
Composition only — the app derives these from the receipt, the same way it already derives
isPoDriven at PurchaseReceiptDetailPage.tsx:535.
Available. The stock is physically at the warehouse and some of it has not been allocated yet.
Disabled — the receipt has not been completed, so the stock is not on hand yet. Tooltip: “Complete the receipt first.”
Disabled — every received unit is already allocated across existing distributions. Tooltip: “Nothing left to distribute.”
A receipt can spawn more than one distribution — the warehouse may send part of a shipment now
and the rest next week. Without this section the operator has no way to see what has already gone
out, and the not distributed figure has no explanation.
It is the reverse of the distribution detail’s Source receipt row: same
relationship, read from the other end.
| Distribution # | Status | Distribution date | Destinations | Units | Fulfillment |
|---|---|---|---|---|---|
| DST-000012 | In progress | May 12, 2026 | 3 | 90 | 70 shipped · 69 received |
Created: 2026-08-18 · Last Updated: 2026-08-18 · mockup de composición (ADR-0118) · issue #303