feat(invoices): ROT/RUT begäran status as a column and filter in the invoice list (#2434)
An invoice's begäran state (Att begära, Skapad, Uppladdad, Beviljad, Delvis beviljad, Avslagen) was only visible one invoice at a time or inside the payout dialog. The list now embeds the begäran behind each invoice, shows the state in a ROT/RUT column and filters on it through a third ContextPicker (?rotrut=), both gated on rot_rut_enabled or an invoiced deduction. One predicate (lib/invoices/rot-rut-list-status.ts) feeds the column, the filter and its counts. Normal states read as muted text; only a partial approval and an avslag get a chip. Closes #2426 Claude-Session: https://claude.ai/code/session_0179bdetHyofL6ATfQxB5wP5 Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Jakob Wennberg
Claude Fable 5.1
parent
9782f80db0
commit
d5373cd66c
@@ -6712,6 +6712,7 @@
|
||||
"rot_rut_status_partially_paid": "Partly approved",
|
||||
"rot_rut_status_rejected": "Rejected",
|
||||
"rot_rut_status_cancelled": "Cancelled",
|
||||
"rot_rut_status_claimable": "To request",
|
||||
"rot_rut_download_again": "Download again",
|
||||
"rot_rut_cancel_request": "Cancel",
|
||||
"rot_rut_mark_uploaded": "Mark as uploaded",
|
||||
@@ -6778,6 +6779,7 @@
|
||||
"th_due": "Due",
|
||||
"th_amount": "Amount",
|
||||
"th_status": "Status",
|
||||
"th_rot_rut": "ROT/RUT",
|
||||
"sort_by": "Sort by {column}",
|
||||
"create_invoice_desc": "Regular customer invoice",
|
||||
"create_recurring": "Recurring invoice",
|
||||
@@ -6808,6 +6810,9 @@
|
||||
"status_paid_date": "Paid {date}",
|
||||
"status_picker_aria": "Filter by status",
|
||||
"group_picker_aria": "Group invoices",
|
||||
"rot_rut_filter_aria": "Filter by ROT/RUT request",
|
||||
"rot_rut_filter_label": "ROT/RUT",
|
||||
"rot_rut_filter_all": "All",
|
||||
"group_by": "Group",
|
||||
"group_status": "Status",
|
||||
"group_customer": "Customer",
|
||||
|
||||
@@ -6712,6 +6712,7 @@
|
||||
"rot_rut_status_partially_paid": "Delvis beviljad",
|
||||
"rot_rut_status_rejected": "Avslagen",
|
||||
"rot_rut_status_cancelled": "Avbruten",
|
||||
"rot_rut_status_claimable": "Att begära",
|
||||
"rot_rut_download_again": "Hämta igen",
|
||||
"rot_rut_cancel_request": "Avbryt",
|
||||
"rot_rut_mark_uploaded": "Markera uppladdad",
|
||||
@@ -6778,6 +6779,7 @@
|
||||
"th_due": "Förfaller",
|
||||
"th_amount": "Belopp",
|
||||
"th_status": "Status",
|
||||
"th_rot_rut": "ROT/RUT",
|
||||
"sort_by": "Sortera efter {column}",
|
||||
"create_invoice_desc": "Vanlig kundfaktura",
|
||||
"create_recurring": "Återkommande faktura",
|
||||
@@ -6808,6 +6810,9 @@
|
||||
"status_paid_date": "Betald {date}",
|
||||
"status_picker_aria": "Filtrera på status",
|
||||
"group_picker_aria": "Gruppera fakturor",
|
||||
"rot_rut_filter_aria": "Filtrera på ROT/RUT-begäran",
|
||||
"rot_rut_filter_label": "ROT/RUT",
|
||||
"rot_rut_filter_all": "Alla",
|
||||
"group_by": "Gruppera",
|
||||
"group_status": "Status",
|
||||
"group_customer": "Kund",
|
||||
|
||||
Reference in New Issue
Block a user