This commit is contained in:
2026-04-02 22:30:58 +02:00
parent e743245cee
commit 2b4f24e766
2 changed files with 18 additions and 4 deletions

View File

@@ -95,6 +95,16 @@ $esc = function( $value )
<tr>
<td>
<?= $esc( $row['external_name'] ); ?><br>
<? $payload = is_array( $row['payload'] ?? null ) ? $row['payload'] : []; ?>
<? if ( !empty( $payload['document_number'] ) ): ?>
<small class="text-muted">Faktura: <?= $esc( $payload['document_number'] ); ?></small><br>
<? endif; ?>
<? if ( !empty( $payload['buyer_name'] ) || !empty( $payload['seller_name'] ) ): ?>
<small class="text-muted">
Nabywca: <?= $esc( $payload['buyer_name'] ?? '-' ); ?> |
Sprzedawca: <?= $esc( $payload['seller_name'] ?? '-' ); ?>
</small><br>
<? endif; ?>
<small class="text-muted">Klucz: <?= $esc( $row['external_key'] ); ?> | wystapienia: <?= (int)$row['hits']; ?></small>
</td>
<td>