Browse Source

fixup! CLDC-4436: Upgrade log LA fix script

pull/3315/head
samyou-softwire 2 weeks ago
parent
commit
11190e4b51
  1. 4
      lib/tasks/log_la_fix.rake

4
lib/tasks/log_la_fix.rake

@ -62,7 +62,7 @@ namespace :log_la_fix do
end end
desc "Parse the output of search_for_la_on_logs_with_nil_la into separate lettings and sales CSV files" desc "Parse the output of search_for_la_on_logs_with_nil_la into separate lettings and sales CSV files"
task :parse_logs_moved_to_incomplete_with_no_la do task parse_logs_moved_to_incomplete_with_no_la: :environment do
require "csv" require "csv"
file = "output.txt" file = "output.txt"
@ -95,7 +95,7 @@ namespace :log_la_fix do
end end
desc "Split lettings and sales CSVs by managing organisation into separate files per org" desc "Split lettings and sales CSVs by managing organisation into separate files per org"
task :split_logs_by_managing_org do task split_logs_by_managing_org: :environment do
require "csv" require "csv"
%w[lettings sales].each do |log_type| %w[lettings sales].each do |log_type|

Loading…
Cancel
Save