pf_app
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> |
||
|---|---|---|
| lib | ||
| public | ||
| routes | ||
| setup_sql | ||
| ui | ||
| .env.example | ||
| .gitignore | ||
| CLAUDE.md | ||
| install.sh | ||
| package-lock.json | ||
| package.json | ||
| PERSPECTIVE.md | ||
| pf_perspective_options.md | ||
| pf_spec.md | ||
| pf.sh | ||
| server.js | ||