refactor(dashboard): reuse billingEntryLinks for KPI links

This commit is contained in:
萝卜
2026-03-17 03:37:00 +08:00
parent 080585b0f6
commit 18d2391094

View File

@@ -105,9 +105,9 @@
@php
$kpiLinks = [
'merchants' => \App\Support\BackUrl::withBack('/admin/merchants', $selfWithoutBack),
'plans' => \App\Support\BackUrl::withBack('/admin/plans', $selfWithoutBack),
'site_subscriptions' => \App\Support\BackUrl::withBack('/admin/site-subscriptions', $selfWithoutBack),
'platform_orders' => \App\Support\BackUrl::withBack('/admin/platform-orders', $selfWithoutBack),
'plans' => $billingEntryLinks['plans'],
'site_subscriptions' => $billingEntryLinks['site_subscriptions'],
'platform_orders' => $billingEntryLinks['platform_orders'],
];
@endphp