From de18f3bc8a2ef7404c76f0054363b4ce46093a44 Mon Sep 17 00:00:00 2001 From: qiuxiang <394405259@qq.com> Date: Tue, 3 Nov 2026 17:51:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E6=94=B6=E6=94=AF=E6=98=8E=E7=BB=86=E8=8F=9C=E5=8D=95=E5=85=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在经营报表快捷菜单中补充店铺收支明细入口。 --- app/Utilities/SidebarMenu.php | 1 + tests/Feature/Business/FinanceLedgerNavigationTest.php | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/Utilities/SidebarMenu.php b/app/Utilities/SidebarMenu.php index 4fc3875f..a8ea341d 100644 --- a/app/Utilities/SidebarMenu.php +++ b/app/Utilities/SidebarMenu.php @@ -21,6 +21,7 @@ class SidebarMenu ]], ['title' => '经营报表', 'items' => [ ['financial-operations', 'ledger', '财务台账', 'menu_book'], + ['financial-operations', 'shop-flows', '店铺收支明细', 'receipt_long'], ['company-management', 'subject-operating-report', '主体维度经营报表', 'domain'], ['company-management', 'company-cost-arrangement', '公司成本安排', 'account_balance_wallet'], ['company-management', 'tax-forecast', '税金预测表', 'calculate'], diff --git a/tests/Feature/Business/FinanceLedgerNavigationTest.php b/tests/Feature/Business/FinanceLedgerNavigationTest.php index 1074ae1f..ffd0ce99 100644 --- a/tests/Feature/Business/FinanceLedgerNavigationTest.php +++ b/tests/Feature/Business/FinanceLedgerNavigationTest.php @@ -26,7 +26,7 @@ class FinanceLedgerNavigationTest extends FeatureTestCase $this->assertFalse($navigation->has('financial-ledger')); } - public function test_ledger_is_the_first_quick_link_under_operating_reports(): void + public function test_ledger_and_shop_flows_are_quick_links_under_operating_reports(): void { $this->loginAs(); @@ -39,6 +39,12 @@ class FinanceLedgerNavigationTest extends FeatureTestCase 'title' => '财务台账', 'icon' => 'menu_book', ], $reports['items'][0]); + $this->assertSame([ + 'section' => 'financial-operations', + 'page' => 'shop-flows', + 'title' => '店铺收支明细', + 'icon' => 'receipt_long', + ], $reports['items'][1]); } public function test_ledger_page_and_legacy_link_open_under_financial_operations(): void