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([