diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 1fb58c1..b9ec5dd 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -557,6 +557,13 @@ 'batch_bmpa_run_id' => $batchBmpaRunId, 'page' => null, ]); + + $bmpaGoProcessableUrl = $buildQuickFilterUrl([ + 'batch_bmpa_run_id' => $batchBmpaRunId, + 'status' => 'pending', + 'payment_status' => 'unpaid', + 'page' => null, + ]); @endphp
diff --git a/tests/Feature/AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest.php b/tests/Feature/AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest.php index f41f2e8..9eeec96 100644 --- a/tests/Feature/AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest.php +++ b/tests/Feature/AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest.php @@ -34,5 +34,9 @@ class AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest extends TestCas // 快捷入口:本批次失败(应带 batch_bmpa_run_id + bmpa_failed_only=1) $this->assertStringContainsString('batch_bmpa_run_id=' . $runId, $html); $this->assertStringContainsString('bmpa_failed_only=1', $html); + + // 快捷入口:本批次可再次尝试(pending+unpaid) + $this->assertStringContainsString('status=pending', $html); + $this->assertStringContainsString('payment_status=unpaid', $html); } }