Skip to content

Commit

Permalink
fix selection of default for organization ics as custom
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Jan 9, 2025
1 parent 8245e39 commit 6687849
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def call

if !section_ids.nil? || !section_codes.nil?
customer.skip_invoice_custom_sections = false
return result if customer.applicable_invoice_custom_sections.ids == section_ids ||
customer.applicable_invoice_custom_sections.map(&:code) == section_codes
return result if customer.selected_invoice_custom_sections.ids == section_ids ||
customer.selected_invoice_custom_sections.map(&:code) == section_codes

assign_selected_sections
end
Expand Down

0 comments on commit 6687849

Please sign in to comment.