pf_app/routes
Paul Trowbridge 870f08f7de Hold the adjustable rows' own price on a dollar edit, and log the method
Under target_basis 'selected', resolveIncrs sized the units increment at
the price of adjustable and fixed (reference) rows blended, while the scale
SQL prorates it over the adjustable rows only. Qty therefore moved by a
different factor than dollars wherever the fixed rows were priced
differently, and a slice taken to its fixed total -- dollars to zero --
drove qty past zero: grains with positive sales and negative qty. Both the
dollar-edit and qty-edit paths now hold the adjustable rows' own price, and
the ledger's Result preview does the same so it still matches the write.

Each scale now records resolved.method (volume / price / both). The plug is
a per-browser preference and was never logged, so a price edit could only
be found afterwards by noticing qty had not moved.

The ledger also dropped a selected cell's own column whenever the pivot's
filter named that column, assuming the two could not disagree. Under
`partd contains 'Keystone'` a click on one part totalled every Keystone
part. It now drops only an exact `==` repeat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 21:05:51 -04:00
..
auth.js Read territory at login, and survive having none 2026-09-18 11:52:00 -04:00
layouts.js Make a pivot layout a thing people own and publish 2026-09-19 14:20:04 -04:00
log.js Store every log entry's segment and bucket instead of deriving them 2026-09-24 22:35:49 -04:00
operations.js Hold the adjustable rows' own price on a dollar edit, and log the method 2026-09-28 21:05:51 -04:00
plans.js Put the forecasts in the nav, and lock the admin pages down 2026-09-23 01:57:24 -04:00
sources.js Put the forecasts in the nav, and lock the admin pages down 2026-09-23 01:57:24 -04:00
tables.js Put the forecasts in the nav, and lock the admin pages down 2026-09-23 01:57:24 -04:00
versions.js Put the forecasts in the nav, and lock the admin pages down 2026-09-23 01:57:24 -04:00