feat(supplier-invoices): sortable list columns matching the customer invoice list (#2091)

Adds client-side sorting to /supplier-invoices: all seven columns get the
same accessible SortableHeader as /invoices, backed by a pure comparator
(Swedish collation, nulls last, displayed-value semantics, stable
invoice_date/id tie-break). The click cycle is tri-state (asc, desc, back
to the API default of due date ascending) per the verifikat-list
precedent, since this list has a meaningful default order to return to.
The detail-pager list context follows the sorted order.


Claude-Session: https://claude.ai/code/session_01DZSVsZqbx8vDnC2SXunNaR

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Mattsson
2026-09-01 09:23:31 +02:00
committed by GitHub
co-authored by Claude Fable 5
parent 50f13cf198
commit a47d54f1d7
5 changed files with 401 additions and 12 deletions
+1
View File
@@ -918,6 +918,7 @@
"th_amount": "Amount",
"th_remaining": "Remaining",
"th_status": "Status",
"sort_by": "Sort by {column}",
"status_registered": "Registered",
"status_approved": "Approved",
"status_paid": "Paid",
+1
View File
@@ -918,6 +918,7 @@
"th_amount": "Belopp",
"th_remaining": "Kvar att betala",
"th_status": "Status",
"sort_by": "Sortera efter {column}",
"status_registered": "Registrerad",
"status_approved": "Godkänd",
"status_paid": "Betald",