diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php
index 477b8d7..ad16639 100644
--- a/resources/views/admin/platform_orders/index.blade.php
+++ b/resources/views/admin/platform_orders/index.blade.php
@@ -577,8 +577,13 @@
$bmpaGoProcessableUrl = $buildQuickFilterUrl([
'batch_bmpa_run_id' => $batchBmpaRunId,
- 'status' => 'pending',
- 'payment_status' => 'unpaid',
+ 'bmpa_processable_only' => '1',
+ 'page' => null,
+ ]);
+
+ $bmpaGoSuccessUrl = $buildQuickFilterUrl([
+ 'batch_bmpa_run_id' => $batchBmpaRunId,
+ 'bmpa_success_only' => '1',
'page' => null,
]);
@endphp
@@ -596,7 +601,9 @@
|
本批次 BMPA 失败
|
- 本批次可再次尝试(pending+unpaid)
+ 本批次 BMPA 成功
+ |
+ 本批次可再次尝试(可BMPA处理)
diff --git a/tests/Feature/AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest.php b/tests/Feature/AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest.php
index 9eeec96..06854f0 100644
--- a/tests/Feature/AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest.php
+++ b/tests/Feature/AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest.php
@@ -35,8 +35,10 @@ class AdminPlatformOrderIndexBatchBmpaRunIdBadgeShouldRenderTest extends TestCas
$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);
+ // 快捷入口:本批次可再次尝试(可BMPA处理)
+ $this->assertStringContainsString('bmpa_processable_only=1', $html);
+
+ // 快捷入口:本批次成功
+ $this->assertStringContainsString('bmpa_success_only=1', $html);
}
}