Skip to content

Commit

Permalink
MIJN-9508 - meldingtekst
Browse files Browse the repository at this point in the history
  • Loading branch information
timvanoostrom committed Nov 7, 2024
1 parent d65a229 commit eba5404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/services/afis/afis-notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ export function createAfisFacturenNotification(
).length;

const title = 'Betaal tijdig om extra kosten te voorkomen';
const isMulti = openFacturenCount > 1;
const description = htmlTextContent(`
U heeft ${openFacturenCount} openstaande facturen.
${openFacturenHerinneringCount ? `Van ${openFacturenHerinneringCount} factuur${openFacturenHerinneringCount > 1 ? 'en' : ''} heeft u inmiddels een herinnering ontvangen per e-mail of post.` : ''}
${openFacturenHerinneringCount ? `Van ${openFacturenHerinneringCount} ${isMulti ? 'facturen' : 'factuur'} heeft u inmiddels een herinnering ontvangen per e-mail of post.` : ''}
`);

const datePublished = new Date().toISOString();
Expand Down

0 comments on commit eba5404

Please sign in to comment.