Skip to content

Commit

Permalink
Merge pull request #110 from pagopa/fix-helpers
Browse files Browse the repository at this point in the history
fix: helpers
  • Loading branch information
jacopocarlini authored Jun 3, 2024
2 parents d2dac84 + 0f323b9 commit 0232eb3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function getPaymentMethodCopy(website, app) {
function getOnlinePaymentMethodContent(website, app) {
if (website && app) {
return "sul sito o app dell'ente, ";
} else if (website && !app) {
Expand All @@ -10,4 +10,4 @@ function getPaymentMethodCopy(website, app) {
}
}

module.exports = getPaymentMethodCopy;
module.exports = getOnlinePaymentMethodContent;
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function getOfflinePaymentMethodContent(location) {
if (location) {
return `${location}, `;
} else {
return null;
}
}

module.exports = getOfflinePaymentMethodContent;

0 comments on commit 0232eb3

Please sign in to comment.