getRecord(); $logs = $block->getLogs(); $excludedFields = ['request_payload', 'response_payload', 'payload_json']; ?>
escapeHtml(__('Synchronization Record')) ?>
$value): ?>
escapeHtml((string)$key) ?> escapeHtml($value === null || $value === '' ? '—' : (string)$value) ?>
getSyncType() === 'shipment' && !empty($record['payload_json'])): ?>
escapeHtml(__('Normalized Shipment Payload')) ?>
escapeHtml($block->prettyPayload($record['payload_json'])) ?>
escapeHtml(__('Attempt #%1 — %2 — %3', (int)($log['attempt_number'] ?? 1), (string)($log['operation'] ?? ''), (string)($log['status'] ?? ''))) ?>
escapeHtml(__('Log ID')) ?>escapeHtml((string)($log['entity_id'] ?? '')) ?>
escapeHtml(__('Direction')) ?>escapeHtml((string)($log['direction'] ?? '')) ?>
escapeHtml(__('API Endpoint')) ?>escapeHtml((string)($log['api_path'] ?? '—')) ?>
escapeHtml(__('Request ID')) ?>escapeHtml((string)($log['request_id'] ?? '—')) ?>
escapeHtml(__('Error')) ?>escapeHtml(trim((string)($log['error_code'] ?? '') . ' ' . (string)($log['error_message'] ?? '')) ?: '—') ?>
escapeHtml(__('Duration')) ?>escapeHtml((string)($log['duration_ms'] ?? '—')) ?> ms
escapeHtml(__('Created At')) ?>escapeHtml((string)($log['created_at'] ?? '')) ?>
escapeHtml(__('Request Parameters (sanitized)')) ?>
escapeHtml($block->prettyPayload($log['request_payload'] ?? null)) ?>
escapeHtml(__('Response Parameters (sanitized)')) ?>
escapeHtml($block->prettyPayload($log['response_payload'] ?? null)) ?>
escapeHtml(__('Back')) ?>