Browse Source

CLDC-4297: comment update

pull/3240/head
Nat Dean-Lewis 2 months ago
parent
commit
a3a04998b0
  1. 4
      app/services/bulk_upload/lettings/year2025/row_parser.rb
  2. 4
      app/services/bulk_upload/lettings/year2026/row_parser.rb
  3. 4
      app/services/bulk_upload/sales/year2025/row_parser.rb
  4. 4
      app/services/bulk_upload/sales/year2026/row_parser.rb

4
app/services/bulk_upload/lettings/year2025/row_parser.rb

@ -525,7 +525,9 @@ class BulkUpload::Lettings::Year2025::RowParser
@log ||= LettingsLog.new(attributes_for_log)
end
# Will send a "Bulk upload failed" email rather than an "Errors in bulk upload" email
# Will send a "Bulk upload failed" email rather than an "Errors in bulk upload" email.
# The body of the "Bulk upload failed" email says there are errors in the setup section,
# so only use this method for setup section errors.
def block_log_creation!
self.block_log_creation = true
end

4
app/services/bulk_upload/lettings/year2026/row_parser.rb

@ -560,7 +560,9 @@ class BulkUpload::Lettings::Year2026::RowParser
@log ||= LettingsLog.new(attributes_for_log)
end
# Will send a "Bulk upload failed" email rather than an "Errors in bulk upload" email
# Will send a "Bulk upload failed" email rather than an "Errors in bulk upload" email.
# The body of the "Bulk upload failed" email says there are errors in the setup section,
# so only use this method for setup section errors.
def block_log_creation!
self.block_log_creation = true
end

4
app/services/bulk_upload/sales/year2025/row_parser.rb

@ -1288,7 +1288,9 @@ private
end
end
# Will send a "Bulk upload failed" email rather than an "Errors in bulk upload" email
# Will send a "Bulk upload failed" email rather than an "Errors in bulk upload" email.
# The body of the "Bulk upload failed" email says there are errors in the setup section,
# so only use this method for setup section errors.
def block_log_creation!
self.block_log_creation = true
end

4
app/services/bulk_upload/sales/year2026/row_parser.rb

@ -1419,7 +1419,9 @@ private
end
end
# Will send a "Bulk upload failed" email rather than an "Errors in bulk upload" email
# Will send a "Bulk upload failed" email rather than an "Errors in bulk upload" email.
# The body of the "Bulk upload failed" email says there are errors in the setup section,
# so only use this method for setup section errors.
def block_log_creation!
self.block_log_creation = true
end

Loading…
Cancel
Save