catalogue export #2
Loading…
Reference in a new issue
No description provided.
Delete branch "d/xc1-export"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a flat csv price list and a verbatim json bundle export per published catalogue version, generated from the price versions page.
🤖 Claude AI Code Review
Summary
Adds a
CatalogueExportservice producing a flat CSV price list and verbatim JSON bundle per published catalogue version, wired into the price versions page, backed by a well-testedCatalogueFlattener.Code Quality ⭐⭐⭐⭐⭐
Excellent test coverage that verifies exported prices agree with the actual pricing engine, plus byte-identical JSON round-trip guarantees.
Issues
🟢 CatalogueExport.cs — The CSV price uses
"0.00"hard-rounding whileCatalogueRow.Pricemay already carry the engine's rounded value; this is already acknowledged in TODO.md as a known audit item, so not blocking.Clean, well-scoped, and thoroughly tested. Known limitations are documented in TODO.md rather than left silent.
📊 Tokens: 16665 input + 311 output | 💰 Cost: ~$0.0911
Generated by Claude Opus 4.8 via Gitea Actions