Skip to content

Commit

Permalink
feat(MM-2232): Update notification messages to resolve 'too long' mes…
Browse files Browse the repository at this point in the history
…sages issue.
  • Loading branch information
michalchrust committed Oct 9, 2024
1 parent 8e9b06c commit c523c3d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"title": "{{#eq event.status 'REJECTED' }}Direct debit batch rejected{{else}}Direct debit payments rejected{{/eq}}",
"body": "Batch {{event.name}} of {{event.totalInstructedAmount.currencyCode}} {{formatAmount event.totalInstructedAmount.amount locale}}{{#eq event.status 'REJECTED' }} has been rejected{{else}} has {{event.rejectedTransactionsCount}} rejected {{#eq event.rejectedTransactionsCount 1 }}payment{{else}}payments{{/eq}}{{/eq}}"
"title": "{{#eq event.status 'REJECTED' }}Batch rejected{{else}}Payments rejected{{/eq}}",
"body": "Direct debit batch {{event.name}} of {{event.totalInstructedAmount.currencyCode}} {{formatAmount event.totalInstructedAmount.amount locale}}{{#eq event.status 'REJECTED' }} has been rejected{{else}} has {{event.rejectedTransactionsCount}} rejected {{#eq event.rejectedTransactionsCount 1 }}payment{{else}}payments{{/eq}}{{/eq}}"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"title": "Direct debit batch to approve",
"title": "Batch to approve",
"body": "You have a new direct debit batch of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"title": "{{#eq event.status 'REJECTED' }}Direct debit batch rejected{{else}}Direct debit payments rejected{{/eq}}",
"body": "Batch {{event.name}} of {{event.totalInstructedAmount.currencyCode}} {{formatAmount event.totalInstructedAmount.amount locale}}{{#eq event.status 'REJECTED' }} has been rejected{{else}} has {{event.rejectedTransactionsCount}} rejected {{#eq event.rejectedTransactionsCount 1 }}payment{{else}}payments{{/eq}}{{/eq}}"
"title": "{{#eq event.status 'REJECTED' }}Batch rejected{{else}}Payments rejected{{/eq}}",
"body": "Direct debit batch {{event.name}} of {{event.totalInstructedAmount.currencyCode}} {{formatAmount event.totalInstructedAmount.amount locale}}{{#eq event.status 'REJECTED' }} has been rejected{{else}} has {{event.rejectedTransactionsCount}} rejected {{#eq event.rejectedTransactionsCount 1 }}payment{{else}}payments{{/eq}}{{/eq}}"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"title": "Direct debit batch to approve",
"title": "Batch to approve",
"body": "You have a new direct debit batch of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve"
}

0 comments on commit c523c3d

Please sign in to comment.