From 75cba0dde938bb01e44283ed83481263d1eaa0f9 Mon Sep 17 00:00:00 2001 From: qiuxiang <394405259@qq.com> Date: Thu, 3 Dec 2026 13:15:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=B4=A6=E5=8D=95=E6=B5=81=E6=B0=B4):=20?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E9=93=B6=E8=A1=8C=E8=B4=A6=E6=88=B7=E6=B5=81?= =?UTF-8?q?=E6=B0=B4=E5=85=A5=E5=8F=A3=20(#1686)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/business_navigation.php | 1 - .../Business/MarketingAccountBillsTabsTest.php | 11 +++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/config/business_navigation.php b/config/business_navigation.php index 505e9e2a6..f67cc7f74 100644 --- a/config/business_navigation.php +++ b/config/business_navigation.php @@ -586,7 +586,6 @@ $navigation = [ 'title' => '账单流水数据', 'icon' => 'receipt_long', 'pages' => [ - ['slug' => 'bank-transactions', 'title' => '银行账户流水'], [ 'slug' => 'store-receiving-bills', 'title' => '店铺收款账户账单', diff --git a/tests/Feature/Business/MarketingAccountBillsTabsTest.php b/tests/Feature/Business/MarketingAccountBillsTabsTest.php index f830823af..6df0dedf7 100644 --- a/tests/Feature/Business/MarketingAccountBillsTabsTest.php +++ b/tests/Feature/Business/MarketingAccountBillsTabsTest.php @@ -37,15 +37,22 @@ class MarketingAccountBillsTabsTest extends FeatureTestCase ->pluck('slug')->all(); $this->assertSame([ - 'bank-transactions', 'store-receiving-bills', + 'period-balance-reconciliation', 'marketing-account-bills', 'deposit-account-bills', ], $flowPages); + $this->assertNotContains('bank-transactions', $flowPages); // 种菜明细表 / 聚水潭订单标签明细已移到并列的「种菜数据汇总」下 $plantingPages = collect($navigation->firstWhere('slug', 'planting-data')['pages']) ->pluck('slug')->all(); - $this->assertSame(['planting-details', 'jst-order-labels'], $plantingPages); + $this->assertSame([ + 'planting-details', + 'jst-order-labels', + 'planting-reimbursements', + 'planting-reimbursement-workbench', + 'planting-loss', + ], $plantingPages); $this->assertNotContains('planting-details', $flowPages); $this->assertNotContains('jst-order-labels', $flowPages); $this->assertSame([