fix(platform-orders): 待生效快捷筛选口径修正为 paid+pending

This commit is contained in:
萝卜
2026-03-10 15:04:43 +00:00
parent 45874e899d
commit 81136bf47a
2 changed files with 3 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
<span class="muted"></span>
<a href="/admin/platform-orders?payment_status=unpaid" class="muted">待支付</a>
<span class="muted"></span>
<a href="/admin/platform-orders?payment_status=paid&status=paid" class="muted">待生效</a>
<a href="/admin/platform-orders?payment_status=paid&status=pending" class="muted">待生效</a>
<span class="muted"></span>
<a href="/admin/platform-orders?syncable_only=1" class="muted">可同步订阅</a>
</div>

View File

@@ -39,7 +39,8 @@ class AdminPlatformOrderTest extends TestCase
->assertSee('快捷筛选')
->assertSee('待支付')
->assertSee('待生效')
->assertSee('可同步订阅');
->assertSee('可同步订阅')
->assertSee('/admin/platform-orders?payment_status=paid&status=pending', false);
}
public function test_guest_cannot_open_platform_orders_page(): void