feat: rename fund ledger to cashier ledger (#1557)

This commit is contained in:
shanshi 2026-11-30 11:47:06 +08:00
parent bda9f5868e
commit cb2a896cb1
2 changed files with 4 additions and 4 deletions

View File

@ -558,7 +558,7 @@ $navigation = [
],
[
'slug' => 'fund-ledger',
'title' => '资金台账',
'title' => '出纳台账',
'route_section' => 'financial-operations',
'route_page' => 'fund-ledger',
'permission_key' => 'financial-operations/fund-ledger',
@ -1055,7 +1055,7 @@ $navigation = [
['slug' => 'service-company-reconciliation', 'title' => '服务公司对账'],
['slug' => 'non-store-accounts', 'title' => '账户总览', 'show_in_section_menu' => false],
['slug' => 'ledger', 'title' => '账户资金管理', 'show_in_section_menu' => false],
['slug' => 'fund-ledger', 'title' => '资金台账', 'show_in_section_menu' => false],
['slug' => 'fund-ledger', 'title' => '出纳台账', 'show_in_section_menu' => false],
['slug' => 'shop-flows', 'title' => '店铺收支明细'],
],
],

View File

@ -42,7 +42,7 @@ class FinanceLedgerNavigationTest extends FeatureTestCase
));
$this->assertSame([
'账户资金管理',
'资金台账',
'出纳台账',
'资金余额监控',
], array_column($visiblePages, 'title'));
$this->assertSame('financial-operations', $visiblePages[0]['route_section']);
@ -260,7 +260,7 @@ class FinanceLedgerNavigationTest extends FeatureTestCase
'page' => 'fund-ledger',
]))
->assertOk()
->assertSeeText('资金台账')
->assertSeeText('出纳台账')
->assertSee('data-ledger-page-mode="fund-ledger"', false)
->getContent();