feat(admin): subscription show display order sync info

This commit is contained in:
萝卜
2026-03-10 12:41:20 +00:00
parent 62ad98bfe6
commit cb3cc18d5d
2 changed files with 12 additions and 3 deletions

View File

@@ -130,6 +130,8 @@
<th>下单时间</th>
<th>生效时间</th>
<th>同步状态</th>
<th>同步时间</th>
<th>失败原因</th>
<th>操作</th>
</tr>
</thead>
@@ -156,8 +158,13 @@
<td>{{ optional($order->activated_at)->format('Y-m-d H:i:s') ?: '-' }}</td>
<td>
{{ $syncStatus }}
</td>
<td>{{ data_get($order->meta, 'subscription_activation.synced_at') ?: '-' }}</td>
<td>
@if($syncStatus === '同步失败')
<span class="muted">{{ mb_substr($syncErr, 0, 30) }}</span>
<span class="text-danger">{{ mb_substr($syncErr, 0, 60) }}</span>
@else
<span class="muted">-</span>
@endif
</td>
<td>
@@ -166,7 +173,7 @@
</tr>
@empty
<tr>
<td colspan="9" class="muted">暂无关联平台订单。</td>
<td colspan="11" class="muted">暂无关联平台订单。</td>
</tr>
@endforelse
</tbody>