Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLDC-3788 Export sales logs #2943

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

kosiakkatrina
Copy link
Collaborator

No description provided.

Copy link

csv: 2,
}.freeze

EXPORT_FIELDS = Set["id",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a final fields list?
Rachel mentioned on the ticket she was adding mrentprestaircasing which I don't see here.

I also wonder whether we might be missing another couple of fields, by my count this is 123 fields +18+5 = 146 fields, compared to 148 on the spreadsheet on the ticket (which doesn't include mrentprestaircasing). Is this the service charge fields?

Comment on lines +274 to +277
pregyrha { 1 }
pregla { 1 }
pregother { 1 }
pregghb { 1 }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we have these in 2025 (and we don't export sales logs from 2024 or earlier, so I think we can remove these)

@@ -23,7 +25,7 @@
Timecop.return
end

context "when exporting daily XMLs" do
context "when exporting daily XMLs before 2025" do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move the let(:start_time) from line 8 here?

context "when exporting daily XMLs" do
context "and no sales archives get created in sales logs export" do
let(:sales_logs_export_service) { instance_double("Exports::SalesLogExportService", export_xml_sales_logs: {}) }
let(:lettings_logs_export_service) { instance_double("Exports::LettingsLogExportService", export_xml_lettings_logs: {}) }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already set on line 397 right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants