admin: dashboard scanline sync success links to synced list
This commit is contained in:
@@ -850,6 +850,9 @@
|
||||
$bmpaErrMsg = (string) (data_get($po->meta, 'batch_mark_paid_and_activate_error.message') ?? '');
|
||||
|
||||
$syncFailedListUrl = $platformOrdersQuickLinks['sync_failed'];
|
||||
$syncedListUrl = \App\Support\BackUrl::withBack('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'sync_status' => 'synced',
|
||||
]), $selfWithoutBack);
|
||||
$bmpaFailedListUrl = $platformOrdersQuickLinks['bmpa_failed'];
|
||||
|
||||
// 扫描行:直达治理锚点(与下方提示块的链接口径保持一致)
|
||||
@@ -969,6 +972,8 @@
|
||||
同步:
|
||||
@if($syncStatusText === '失败')
|
||||
<a class="link" href="{!! $scanGoSyncFailedUrl !!}"><strong>{{ $syncStatusText }}</strong></a>
|
||||
@elseif($syncStatusText === '成功')
|
||||
<a class="link" href="{!! $syncedListUrl !!}"><strong>{{ $syncStatusText }}</strong></a>
|
||||
@else
|
||||
<strong>{{ $syncStatusText }}</strong>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user