ui(platform-orders): show batch activation mode (queue/sync)

This commit is contained in:
萝卜
2026-03-17 12:45:07 +08:00
parent e9ec968379
commit 70700a5145
2 changed files with 76 additions and 0 deletions

View File

@@ -1391,8 +1391,13 @@
}
@endphp
@if($batchAt !== '')
@php
$batchMode = (string) (data_get($batchActivation, 'mode') ?? '');
$batchModeText = $batchMode === 'queue' ? '队列' : ($batchMode !== '' ? $batchMode : '同步');
@endphp
<div>{{ $batchAt }}</div>
<div class="muted">管理员:{{ $batchAdminId ?: '-' }}</div>
<div class="muted muted-xs">方式:{{ $batchModeText }}</div>
@else
<span class="muted">-</span>
@endif