diff --git a/components/extensions/general/InvoiceInboxWorkspace.tsx b/components/extensions/general/InvoiceInboxWorkspace.tsx index 31b4ace9..cddc7e18 100644 --- a/components/extensions/general/InvoiceInboxWorkspace.tsx +++ b/components/extensions/general/InvoiceInboxWorkspace.tsx @@ -3116,8 +3116,16 @@ export function PayerChoiceSelect({ accountingMethod: AccountingMethod }) { const t = useTranslations('inbox_workspace') - const helpKey = (choice: PayerChoice): string => - choice === 'unpaid' && accountingMethod === 'cash' ? 'payer_help_unpaid_cash' : `payer_help_${choice}` + // Företaget carries no help line: the button under it ("Matcha mot + // transaktion") already says what happens. The other answers name the + // liability the company takes on, which is the consequence worth reading. + const helpKey = (choice: PayerChoice): string | null => + choice === 'company' + ? null + : choice === 'unpaid' && accountingMethod === 'cash' + ? 'payer_help_unpaid_cash' + : `payer_help_${choice}` + const selectedHelp = helpKey(value) return (
{t('payer_question')}
@@ -3133,12 +3141,14 @@ export function PayerChoiceSelect({ {PAYER_ORDER.map((choice) => ({t(helpKey(value))}
+ {selectedHelp &&{t(selectedHelp)}
}