missed one
All checks were successful
/ Plan (push) Successful in 42s
/ Plan (pull_request) Successful in 18s

This commit is contained in:
Dan Hamik 2024-11-26 00:14:02 -06:00
parent d832b9a5bd
commit 97b66a7bbc

View File

@ -207,7 +207,7 @@ returntable += tablestart + '<colgroup><col/><col/></colgroup><tr><th>Name'+ th
for account in accounts:
accountcount = sum(b.person == account.name for b in allbooks)
if accountcount >0:
returntable += "<tr><td>" + account.person + td + str(accountcount) + "</td></tr>"
returntable += "<tr><td>" + account.name + td + str(accountcount) + "</td></tr>"
duesoon = [d for d in allbooks if (d.duedate < datetime.date.today() + datetime.timedelta(days=10)) and not (str(d.renewresult).lower() == 'None'.lower())]
if len(duesoon) >=1:
returntable += tablestart + '<colgroup><col/><col/></colgroup><tr><th>Type'+ th +'Count</th></tr>'