- 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>
34 lines
977 B
PHP
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>
|