feat(peppol): receiving sits behind the access request, switch only once granted (#1795)

The settings group showed the receiving switch (disabled) and a status row
to every company, which read as "anyone can receive". Now the switch and its
status exist only once the operators granted receiving (or a registration
already exists that the company must be able to see and withdraw), and the
access request carries a "we also want to receive" checkbox that lands in the
request note and the support mail (with --receive in the enable command).
The access line says whether receiving is included.


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

Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jakob Wennberg
2026-08-21 17:57:10 +02:00
committed by GitHub
co-authored by Jakob Wennberg Claude Fable 5
parent 3ac80edc96
commit 3af95bec3f
5 changed files with 62 additions and 36 deletions
+4 -1
View File
@@ -2240,7 +2240,10 @@
"request_failed_title": "Could not send the request",
"sends_used": "{used} of {max} sends used",
"sends_unlimited": "{used} sends, no limit",
"receive_not_enabled": "Receiving is enabled by us on request (limited number of slots)."
"receive_not_enabled": "Receiving is enabled by us on request (limited number of slots).",
"request_receiving_label": "We also want to receive e-invoices via Peppol (limited number of slots, enabled by us)",
"access_enabled_receiving": "Enabled for sending and receiving e-invoices.",
"access_enabled_send_only": "Enabled for sending e-invoices. Receiving is not included; write to support if you want to receive."
},
"settings_pdf_print": {
"coming_soon": "Coming soon",
+4 -1
View File
@@ -2240,7 +2240,10 @@
"request_failed_title": "Kunde inte skicka begäran",
"sends_used": "{used} av {max} sändningar använda",
"sends_unlimited": "{used} sändningar, ingen gräns",
"receive_not_enabled": "Mottagning aktiveras av oss på begäran (begränsat antal platser)."
"receive_not_enabled": "Mottagning aktiveras av oss på begäran (begränsat antal platser).",
"request_receiving_label": "Vi vill också ta emot e-fakturor via Peppol (begränsat antal platser, aktiveras av oss)",
"access_enabled_receiving": "Aktiverat för att skicka och ta emot e-fakturor.",
"access_enabled_send_only": "Aktiverat för att skicka e-fakturor. Mottagning ingår inte; skriv till support om ni vill ta emot."
},
"settings_pdf_print": {
"coming_soon": "Kommer snart",