All 3 planning query methods (getOverview, getProcurementTimeline, getPositionsTimelineByCategory) now traverse via poLines relation instead of the unreliable pr.lots path (which misses lots with requirementId=NULL). Removes the orphan "PO-XXX — поставки" lane and the 2nd-pass PO→lots workaround. Lot events are deduplicated globally per category to prevent N× multiplication across PRs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib/storage | ||
| modules | ||
| plugins | ||
| scripts | ||
| seed-payment-data.ts | ||
| seed.ts | ||
| server.ts | ||