Replace printed/unprinted tabs with unified list and inline filters

- All checks shown in one table by default (load all, no server-side printed filter)
- Add payee search, date-from/to, and status filter controls to toolbar
- Filtering is client-side; no extra API calls on filter changes
- All checks get Edit/Delete buttons regardless of printed status
- All checks get checkboxes for PDF selection
- Remove separate Reprint button and reprintCheck function
- Remove printed guard from PUT and DELETE endpoints
This commit is contained in:
2026-03-12 21:12:08 -06:00
parent f827de9b1a
commit 667ec146cc
3 changed files with 46 additions and 51 deletions
+6 -3
View File
@@ -18,10 +18,13 @@
<div class="toolbar">
<div class="toolbar-left">
<label for="filter-status">Show:</label>
<input type="search" id="filter-payee" placeholder="Search payee…" style="width:160px">
<input type="date" id="filter-date-from" title="From date">
<span style="color:var(--text-muted)"></span>
<input type="date" id="filter-date-to" title="To date">
<select id="filter-status">
<option value="">All</option>
<option value="0" selected>Unprinted</option>
<option value="" selected>All</option>
<option value="0">Unprinted</option>
<option value="1">Printed</option>
</select>
</div>