diff --git a/internal/services/export.go b/internal/services/export.go index d89a662..9d1b344 100644 --- a/internal/services/export.go +++ b/internal/services/export.go @@ -847,13 +847,13 @@ func pricingCSVRow(row ProjectPricingExportRow, opts ProjectPricingExportOptions record = append(record, formatMoneyValue(row.ManualPrice)) } var worldCols []string - if row.EstimateWorld { + if opts.IncludeEstimate && row.EstimateWorld { worldCols = append(worldCols, "Estimate") } - if row.StockWorld { + if opts.IncludeStock && row.StockWorld { worldCols = append(worldCols, "Stock") } - if row.CompetitorWorld { + if opts.IncludeCompetitor && row.CompetitorWorld { worldCols = append(worldCols, "Конкуренты") } comment := ""