Added loanID to loan tables
This commit is contained in:
parent
6ba55c000b
commit
aeee6843ff
1 changed files with 4 additions and 0 deletions
|
|
@ -207,6 +207,7 @@ $lateLoans = getLateLoans($pdo);
|
||||||
<td>
|
<td>
|
||||||
<h2>Verliehene Bücher</h2>
|
<h2>Verliehene Bücher</h2>
|
||||||
<table>
|
<table>
|
||||||
|
<th>ID</th>
|
||||||
<th>Vorname</th>
|
<th>Vorname</th>
|
||||||
<th>Nachname</th>
|
<th>Nachname</th>
|
||||||
<th>Klasse/Funktion</th>
|
<th>Klasse/Funktion</th>
|
||||||
|
|
@ -216,6 +217,7 @@ $lateLoans = getLateLoans($pdo);
|
||||||
<th>Rückgabe fällig</th>
|
<th>Rückgabe fällig</th>
|
||||||
<?php foreach ($activeLoans as $loan): ?>
|
<?php foreach ($activeLoans as $loan): ?>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>#<?= htmlspecialchars($loan['loanID']) ?></td>
|
||||||
<td><?= htmlspecialchars($loan['firstName']) ?></td>
|
<td><?= htmlspecialchars($loan['firstName']) ?></td>
|
||||||
<td><?= htmlspecialchars($loan['lastName']) ?></td>
|
<td><?= htmlspecialchars($loan['lastName']) ?></td>
|
||||||
<td><?= htmlspecialchars($loan['borrowerRole']) ?></td>
|
<td><?= htmlspecialchars($loan['borrowerRole']) ?></td>
|
||||||
|
|
@ -230,6 +232,7 @@ $lateLoans = getLateLoans($pdo);
|
||||||
<td>
|
<td>
|
||||||
<h2>Versäumte Rückgaben</h2>
|
<h2>Versäumte Rückgaben</h2>
|
||||||
<table>
|
<table>
|
||||||
|
<th>ID</th>
|
||||||
<th>Vorname</th>
|
<th>Vorname</th>
|
||||||
<th>Nachname</th>
|
<th>Nachname</th>
|
||||||
<th>Klasse/Funktion</th>
|
<th>Klasse/Funktion</th>
|
||||||
|
|
@ -239,6 +242,7 @@ $lateLoans = getLateLoans($pdo);
|
||||||
<th>Rückgabe fällig</th>
|
<th>Rückgabe fällig</th>
|
||||||
<?php foreach ($lateLoans as $lateLoan): ?>
|
<?php foreach ($lateLoans as $lateLoan): ?>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>#<?= htmlspecialchars($lateLoan['loanID']) ?></td>
|
||||||
<td><?= htmlspecialchars($lateLoan['firstName']) ?></td>
|
<td><?= htmlspecialchars($lateLoan['firstName']) ?></td>
|
||||||
<td><?= htmlspecialchars($lateLoan['lastName']) ?></td>
|
<td><?= htmlspecialchars($lateLoan['lastName']) ?></td>
|
||||||
<td><?= htmlspecialchars($lateLoan['borrowerRole']) ?></td>
|
<td><?= htmlspecialchars($lateLoan['borrowerRole']) ?></td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue