<div class="container-fluid">

<h2 class="mb-4">
Reviewer Certificates
</h2>

<div class="card p-3">

<table class="table table-striped">

<tr>

<th>Reviewer</th>

<th>Award</th>

<th>Score</th>

<th>Generate</th>

</tr>

<?php foreach($rows as $r): ?>

<tr>

<td>

<?= htmlspecialchars(
trim(
($r['first_name'] ?? '')
.' '.
($r['last_name'] ?? '')
)
) ?>

<br>

<small>

<?= htmlspecialchars(
$r['email'] ?? ''
) ?>

</small>

</td>

<td>

<?= htmlspecialchars(
$r['award_type']
) ?>

</td>

<td>

<?= number_format(
(float)$r['score'],
2
) ?>

</td>

<td>

<a
class="btn btn-success btn-sm"
href="/easychair/admin/reviewer-certificates/generate?id=<?= (int)$r['reviewer_id'] ?>"
>

Generate PDF

</a>

</td>

</tr>

<?php endforeach; ?>

</table>

</div>

</div>
