log detail
This commit is contained in:
parent
3b2dde9664
commit
7d5032ffdf
@ -219,26 +219,6 @@ $logs_url = admin_url('admin.php?page=esi-peppol-logs');
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php
|
|
||||||
// 5. Section Données envoyées (JSON)
|
|
||||||
if (!empty($log_data['data_sent'])) :
|
|
||||||
?>
|
|
||||||
<div class="esi-peppol-log-details-section">
|
|
||||||
<h3><?php esc_html_e('Données envoyées', 'esi_peppol'); ?></h3>
|
|
||||||
<pre class="esi-peppol-json-display" style="background: #f5f5f5; padding: 15px; border: 1px solid #ddd; border-radius: 4px; overflow-x: auto; max-height: 500px; overflow-y: auto;"><?php echo esc_html($log_data['data_sent']); ?></pre>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
// 6. Section Données de réponse (JSON)
|
|
||||||
if (!empty($log_data['response_data'])) :
|
|
||||||
?>
|
|
||||||
<div class="esi-peppol-log-details-section">
|
|
||||||
<h3><?php esc_html_e('Données de réponse', 'esi_peppol'); ?></h3>
|
|
||||||
<pre class="esi-peppol-json-display" style="background: #f5f5f5; padding: 15px; border: 1px solid #ddd; border-radius: 4px; overflow-x: auto; max-height: 500px; overflow-y: auto;"><?php echo esc_html($log_data['response_data']); ?></pre>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="esi-peppol-log-details-actions" style="margin-top: 30px; padding-top: 20px; border-top: 1px solid #ddd;">
|
<div class="esi-peppol-log-details-actions" style="margin-top: 30px; padding-top: 20px; border-top: 1px solid #ddd;">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user