|
Lines 256-266
$(document).ready(function () {
Link Here
|
| 256 |
); |
256 |
); |
| 257 |
$("#lastborrower-window").css("display", "inline-flex"); |
257 |
$("#lastborrower-window").css("display", "inline-flex"); |
| 258 |
|
258 |
|
| 259 |
previous_patrons.reverse(); |
|
|
| 260 |
for (i in previous_patrons) { |
259 |
for (i in previous_patrons) { |
| 261 |
p = previous_patrons[i]; |
260 |
p = previous_patrons[i]; |
| 262 |
const el = `<li><a class="dropdown-item" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=${p["borrowernumber"]}">${p["name"]} (${p["card"]})</a></li>`; |
261 |
const el = `<li><a class="dropdown-item" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=${p["borrowernumber"]}">${p["name"]} (${p["card"]})</a></li>`; |
| 263 |
$("#lastBorrowerList").prepend(el); |
262 |
$("#lastBorrowerList").append(el); |
| 264 |
} |
263 |
} |
| 265 |
} |
264 |
} |
| 266 |
|
265 |
|
| 267 |
- |
|
|