react-backend/routes/notifications.js
//get notification object with amount and value params inserted into the description
get notification object with amount and value params inserted into the description
get notification object with amount and value params inserted into the description
createNotification(
    processingDate,
    type,
    description,
    amount = "",
    value = ""
  ) {
    description = description.replace("${amount}", amount);
    description = description.replace("${value}", value);
    return {
      processingDate: processingDate,
      type: type,
      description: description,
    };
  }
createNotification ( processingDate , type , description , amount = "" , value = "" ) { description = description . replace ( "${amount}" , amount ) ; description = description . replace ( "${value}" , value ) ; return { processingDate : processingDate , type : type , description : description , } ; }
get notification object with amount and value params inserted into the description
get notification object with amount and value params inserted into the description