diff --git a/app/Livewire/Dashboard/Pricing.php b/app/Livewire/Dashboard/Pricing.php index 83b94c1..975e76f 100644 --- a/app/Livewire/Dashboard/Pricing.php +++ b/app/Livewire/Dashboard/Pricing.php @@ -166,7 +166,9 @@ class Pricing extends Component ->join('payment_providers', 'plan_providers.provider', '=', 'payment_providers.name') ->where('payment_providers.is_active', true) ->orderBy('plan_providers.sort_order') - ->pluck('plan_providers.provider') + ->select('plan_providers.provider', 'payment_providers.display_name') + ->get() + ->keyBy('provider') ->toArray(); } diff --git a/resources/views/livewire/dashboard/partials/plan-card.blade.php b/resources/views/livewire/dashboard/partials/plan-card.blade.php index a8fec54..4573467 100644 --- a/resources/views/livewire/dashboard/partials/plan-card.blade.php +++ b/resources/views/livewire/dashboard/partials/plan-card.blade.php @@ -111,35 +111,21 @@