A user who types payments into the internet bank instead of uploading a
betalfil had no way to see which invoices were already handled. Adds a
nullable supplier_invoices.bank_entered_at, a POST
/api/supplier-invoices/{id}/bank-entered route, a labelled checkbox on
the list (trailing slot, once attested) and on the detail header, and a
BEFORE UPDATE trigger that clears the mark when a payment lands, so
every payment path (mark-paid, bank match, v1, MCP) retires it without
knowing it exists. Markera som betald stays a separate action.
Claude-Session: https://claude.ai/code/session_01LvMaHcTnwAfxzgYD1fGYX1
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
6906bc4aa2
commit
6a5fd6cd00
+10
-3
@@ -827,7 +827,7 @@
|
||||
"status_picker_aria": "Filter by status",
|
||||
"search_placeholder": "Search supplier invoices …",
|
||||
"status_paid_date": "Paid {date}",
|
||||
"help_body": "Approval attests the invoice for payment. Select invoices with the checkbox and create a payment file to upload in your internet bank. Payments are reconciled automatically when they are matched against the bank.",
|
||||
"help_body": "Approval attests the invoice for payment. Select invoices with the checkbox and create a payment file to upload in your internet bank, or tick In bank on the row once you have entered the payment by hand. Payments are reconciled automatically when they are matched against the bank, and the tick then clears itself.",
|
||||
"bulkbar_selected": "{count, plural, one {invoice selected} other {invoices selected}}",
|
||||
"bulk_create_file": "Create payment file",
|
||||
"bulk_select_all": "Select all payable ({count})",
|
||||
@@ -843,7 +843,10 @@
|
||||
"group_supplier": "Supplier",
|
||||
"group_month": "Month",
|
||||
"group_none": "No grouping",
|
||||
"group_unknown": "Missing"
|
||||
"group_unknown": "Missing",
|
||||
"bank_entered_label": "In bank",
|
||||
"bank_entered_aria": "Mark as entered at the bank",
|
||||
"bank_entered_failed_title": "Could not save the mark"
|
||||
},
|
||||
"supplier_payment_files": {
|
||||
"dialog_title": "Create payment file",
|
||||
@@ -4918,7 +4921,11 @@
|
||||
"duplicate_payment_show_voucher": "Show verifikat",
|
||||
"bank_transaction_fallback": "Bank transaction",
|
||||
"go_to": "Go to",
|
||||
"create_voucher_anyway": "Create new verifikat anyway"
|
||||
"create_voucher_anyway": "Create new verifikat anyway",
|
||||
"bank_entered_label": "Entered at bank",
|
||||
"bank_entered_aria": "Mark as entered at the bank",
|
||||
"bank_entered_meta": "Entered at bank {date}",
|
||||
"bank_entered_failed_title": "Could not save the mark"
|
||||
},
|
||||
"supplier_detail": {
|
||||
"back": "Back",
|
||||
|
||||
+10
-3
@@ -827,7 +827,7 @@
|
||||
"status_picker_aria": "Filtrera på status",
|
||||
"search_placeholder": "Sök leverantörsfaktura …",
|
||||
"status_paid_date": "Betald {date}",
|
||||
"help_body": "Godkännandet attesterar fakturan för betalning. Markera fakturor med kryssrutan och skapa en betalfil som laddas upp i internetbanken. Betalningar prickas av automatiskt när de matchas mot banken.",
|
||||
"help_body": "Godkännandet attesterar fakturan för betalning. Markera fakturor med kryssrutan och skapa en betalfil som laddas upp i internetbanken, eller bocka i I banken på raden när du lagt in betalningen för hand. Betalningar prickas av automatiskt när de matchas mot banken, och bocken försvinner då av sig själv.",
|
||||
"bulkbar_selected": "{count, plural, one {faktura vald} other {fakturor valda}}",
|
||||
"bulk_create_file": "Skapa betalfil",
|
||||
"bulk_select_all": "Välj alla betalbara ({count})",
|
||||
@@ -843,7 +843,10 @@
|
||||
"group_supplier": "Leverantör",
|
||||
"group_month": "Månad",
|
||||
"group_none": "Ingen gruppering",
|
||||
"group_unknown": "Saknas"
|
||||
"group_unknown": "Saknas",
|
||||
"bank_entered_label": "I banken",
|
||||
"bank_entered_aria": "Markera som inlagd i banken",
|
||||
"bank_entered_failed_title": "Kunde inte spara markeringen"
|
||||
},
|
||||
"supplier_payment_files": {
|
||||
"dialog_title": "Skapa betalfil",
|
||||
@@ -4918,7 +4921,11 @@
|
||||
"duplicate_payment_show_voucher": "Visa verifikation",
|
||||
"bank_transaction_fallback": "Banktransaktion",
|
||||
"go_to": "Gå till",
|
||||
"create_voucher_anyway": "Skapa ny verifikation ändå"
|
||||
"create_voucher_anyway": "Skapa ny verifikation ändå",
|
||||
"bank_entered_label": "Inlagd i banken",
|
||||
"bank_entered_aria": "Markera som inlagd i banken",
|
||||
"bank_entered_meta": "Inlagd i banken {date}",
|
||||
"bank_entered_failed_title": "Kunde inte spara markeringen"
|
||||
},
|
||||
"supplier_detail": {
|
||||
"back": "Tillbaka",
|
||||
|
||||
Reference in New Issue
Block a user