fix: 补充店铺收支明细菜单入口
在经营报表快捷菜单中补充店铺收支明细入口。
This commit is contained in:
parent
43390be327
commit
de18f3bc8a
@ -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'],
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user