mirror of
https://github.com/we-promise/sure.git
synced 2026-04-23 22:14:08 +00:00
Not sure how skipping worked for me the first time
This commit is contained in:
@@ -93,6 +93,9 @@ class SimplefinItemsController < ApplicationController
|
||||
account_subtypes = params[:account_subtypes] || {}
|
||||
|
||||
account_types.each do |simplefin_account_id, selected_type|
|
||||
# Skip accounts that the user chose not to add
|
||||
next if selected_type == "Skip"
|
||||
|
||||
simplefin_account = @simplefin_item.simplefin_accounts.find(simplefin_account_id)
|
||||
selected_subtype = account_subtypes[simplefin_account_id]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user