* fix(salary): surface missing sender bankgiro/IBAN before betalfil download
Users see a bankgiro under BANKUPPGIFTER in settings (Bolagsverket
snapshot, display only) while the payment-file routes read
company_settings.bankgiro, so the LB download failed with an error
that pointed at a page that looked correct. 153 companies have a
registry bankgiro but an empty settings field.
- PaymentFilePanel warns up front when the sender bankgiro (bg_lb)
or IBAN (pain001) is missing, linking to Installningar -> Fakturering
- betalkonton form offers a one-click prefill of the bankgiro from
companies.tic_snapshot (Luhn-validated, user still saves)
- bg-lb and skattekonto payment-file error copy now names the exact
place to fix instead of 'foretagsinstallningar'
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(salary): harden bankgiro prefill and warning per skeptic review
- bankgiroFromTicSnapshot now requires the snapshot's orgNumber to match
companies.org_number before suggesting anything: stale fuzzy-matched
snapshots can hold another entity's profile, and this field becomes the
payee account on invoices and Peppol e-invoices
- salary run page refetches settings when the URL returns from the
intercepting settings modal, so a bankgiro/IBAN saved there clears the
missing-sender warning instead of leaving it stale
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>