Add batch BMPA retry syncable link on batch show page
This commit is contained in:
@@ -134,6 +134,14 @@ class PlatformBatchController extends Controller
|
||||
'bmpa_failed_only' => '1',
|
||||
]), $safeBackForLinks, 'filters');
|
||||
|
||||
// 本批次可同步重试:用于处理“批量 BMPA 后仍未同步订阅”的订单(例如同步暂时失败/后续补救)。
|
||||
// 口径:batch_bmpa_run_id + syncable_only=1 + sync_status=unsynced
|
||||
$governanceLinks['retry_syncable'] = BackUrl::withBackAndFragment('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'batch_bmpa_run_id' => $runId,
|
||||
'syncable_only' => '1',
|
||||
'sync_status' => 'unsynced',
|
||||
]), $safeBackForLinks, 'filters');
|
||||
|
||||
// 本批次可再次尝试:对齐仪表盘/列表的“真正可BMPA处理集合”口径。
|
||||
$governanceLinks['retry_processable'] = BackUrl::withBackAndFragment('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'batch_bmpa_run_id' => $runId,
|
||||
|
||||
Reference in New Issue
Block a user