fix: preserve per-row sale markup in pricing CSV

This commit is contained in:
mchus committed 2026-11-26 14:55:28 +03:00
1 parent 52720d8e38
commit e1e266285e
3 files changed
+15 -4

No files matched your search

+2
View File
@@ -107,6 +107,8 @@ Sale per-row pricing (`_saleRowPrice`/`recomputeSalePrices` in `index.html`,
`minimal_sale_columns: true` + `sale_row_markups`, which collapses
`POST /api/configs/:uuid/export/pricing` output to exactly `LOT;Описание;Кол-во;Цена`
(`ProjectPricingExportOptions.MinimalSaleColumns` in `internal/services/export.go`).
The minimal CSV expands vendor BOM rows even when the BOM column is hidden, so each
vendor PN and LOT pair receives its own markup.
This is scoped to that one request: Buy export and the project-level bulk export
never set it and are unaffected.