mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 03:24:09 +00:00
Add banking support to family generator, including transactions processor, SDK updates, and related templates. Streamline logic for handling provider types.
This commit is contained in:
@@ -126,7 +126,8 @@ class Settings::ProvidersController < ApplicationController
|
||||
config.provider_key.to_s.casecmp("coinstats").zero? || \
|
||||
config.provider_key.to_s.casecmp("mercury").zero? || \
|
||||
config.provider_key.to_s.casecmp("coinbase").zero? || \
|
||||
config.provider_key.to_s.casecmp("snaptrade").zero?
|
||||
config.provider_key.to_s.casecmp("snaptrade").zero? || \
|
||||
config.provider_key.to_s.casecmp("testprovider").zero?
|
||||
end
|
||||
|
||||
# Providers page only needs to know whether any SimpleFin/Lunchflow connections exist with valid credentials
|
||||
@@ -137,5 +138,6 @@ class Settings::ProvidersController < ApplicationController
|
||||
@mercury_items = Current.family.mercury_items.ordered.select(:id)
|
||||
@coinbase_items = Current.family.coinbase_items.ordered # Coinbase panel needs name and sync info for status display
|
||||
@snaptrade_items = Current.family.snaptrade_items.includes(:snaptrade_accounts).ordered
|
||||
@testprovider_items = Current.family.testprovider_items.ordered.select(:id)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user