Files
desk-moloni/modules/desk_moloni/views/admin/webhook_logs.php
Emanuel Almeida 8c4f68576f chore: add spec-kit and standardize signatures
- Added GitHub spec-kit for development workflow
- Standardized file signatures to Descomplicar® format
- Updated development configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 01:27:37 +01:00

34 lines
977 B
PHP

/**
* Descomplicar® Crescimento Digital
* https://descomplicar.pt
*/
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<div class="container">
<h3><?php echo _l('desk_moloni_webhook_logs'); ?></h3>
<?php if (empty($logs)) { ?>
<p>No webhook logs found.</p>
<?php } else { ?>
<table class="table table-striped">
<thead>
<tr>
<th>Timestamp</th>
<th>Event</th>
<th>Status</th>
<th>Error</th>
</tr>
</thead>
<tbody>
<?php foreach ($logs as $log) { ?>
<tr>
<td><?php echo htmlspecialchars($log['timestamp'] ?? ''); ?></td>
<td><?php echo htmlspecialchars($log['endpoint'] ?? ''); ?></td>
<td><?php echo empty($log['error']) ? 'SUCCESS' : 'ERROR'; ?></td>
<td><?php echo htmlspecialchars($log['error'] ?? ''); ?></td>
</tr>
<?php } ?>
</tbody>
</table>
<?php } ?>
</div>