Display provider merchants alongside family merchants (#418)

* Display provider merchants alongside family merchants

* Styling

* Rabbit suggestion
This commit is contained in:
Juan José Mata
2025-12-05 22:15:07 +01:00
committed by GitHub
parent a91a4397e9
commit a790009290
11 changed files with 210 additions and 69 deletions

View File

@@ -6,6 +6,7 @@ class FamilyMerchantsController < ApplicationController
# Show all merchants for this family
@family_merchants = Current.family.merchants.alphabetically
@provider_merchants = Current.family.assigned_merchants.where(type: "ProviderMerchant").alphabetically
render layout: "settings"
end