diff --git a/app/Http/Controllers/Business/FinanceLedger.php b/app/Http/Controllers/Business/FinanceLedger.php
index 640bc606..57a32087 100644
--- a/app/Http/Controllers/Business/FinanceLedger.php
+++ b/app/Http/Controllers/Business/FinanceLedger.php
@@ -68,7 +68,7 @@ class FinanceLedger extends Controller
$ledgerData['ledgerStandaloneAccountBackUrl'] = route('business.pages.show', [
'section' => 'financial-operations',
'page' => 'ledger',
- ]) . '?tab=flows&flows_view=basic';
+ ]) . '?tab=overview';
return view('business.pages.financial-ledger.account-basic-page', [
'ledgerData' => $ledgerData,
diff --git a/modules/EcommerceFinance/View/NonStoreAccountMonitorPageData.php b/modules/EcommerceFinance/View/NonStoreAccountMonitorPageData.php
index 85b8c295..740ca849 100644
--- a/modules/EcommerceFinance/View/NonStoreAccountMonitorPageData.php
+++ b/modules/EcommerceFinance/View/NonStoreAccountMonitorPageData.php
@@ -96,13 +96,10 @@ final class NonStoreAccountMonitorPageData
->where('category', self::CATEGORY_WANGSHANG)
->values()
->all();
- $fundOverview['legacy_wallet_accounts'] = $retained
- ->where('category', self::CATEGORY_LEGACY_WALLET)
- ->values()
- ->all();
$positiveBalanceTotal = (float) $retained
->sum(static fn (array $row): float => max(0.0, (float) $row['current_balance']));
$fundDistribution = collect(self::CATEGORY_LABELS)
+ ->except([self::CATEGORY_LEGACY_WALLET])
->map(function (string $platform, string $category) use ($retained, $positiveBalanceTotal): array {
$rows = $retained->where('category', $category)->values();
$summary = $this->summary($rows);
@@ -608,7 +605,9 @@ final class NonStoreAccountMonitorPageData
);
$categories = $sectionKey === 'direct'
? [self::CATEGORY_BANK => self::CATEGORY_LABELS[self::CATEGORY_BANK]]
- : self::CATEGORY_LABELS;
+ : collect(self::CATEGORY_LABELS)
+ ->except([self::CATEGORY_LEGACY_WALLET])
+ ->all();
foreach ($categories as $category => $label) {
$categoryRows = $sectionRows->where('category', $category)->values();
$section['rows'][] = [
@@ -877,7 +876,6 @@ final class NonStoreAccountMonitorPageData
self::CATEGORY_BANK => '银行账户',
self::CATEGORY_ALIPAY => '支付宝',
self::CATEGORY_WANGSHANG => '网商银行',
- self::CATEGORY_LEGACY_WALLET => '旧网银钱包',
self::CATEGORY_OTHER => '其他账户',
] as $category => $label) {
$query = [
diff --git a/resources/views/business/pages/financial-ledger/ledger.blade.php b/resources/views/business/pages/financial-ledger/ledger.blade.php
index 9d7da281..0bda27e1 100644
--- a/resources/views/business/pages/financial-ledger/ledger.blade.php
+++ b/resources/views/business/pages/financial-ledger/ledger.blade.php
@@ -1045,13 +1045,13 @@
@if ($standaloneAccountView !== null)
{{ $standaloneAccountDescription }}。当前为独立页面,筛选、列设置和账户编辑均只在本页进行。{{ $standaloneAccountTitle }}
点击账户类型卡片查看对应账户资料;每种账户只展示自己需要的表头。
- 返回 + 返回账户总览