feat(admin): 平台订单列表行失败原因可点击跳转到同原因失败订单

This commit is contained in:
萝卜
2026-03-11 01:38:19 +00:00
parent e809ddc826
commit 86008b7362
2 changed files with 75 additions and 1 deletions

View File

@@ -497,7 +497,7 @@
<td>
@php $syncErrMsg = (string) (data_get($order->meta, 'subscription_activation_error.message') ?? ''); @endphp
@if($syncErrMsg !== '')
<span class="text-danger">{{ mb_substr($syncErrMsg, 0, 60) }}</span>
<a class="link text-danger" href="{!! request()->fullUrlWithQuery(['sync_error_keyword' => $syncErrMsg, 'sync_status' => 'failed', 'page' => null]) !!}">{{ mb_substr($syncErrMsg, 0, 60) }}</a>
@else
<span class="muted">-</span>
@endif