diff --git a/interfaces/Portalicious/src/app/domains/project/project-attribute.helpers.ts b/interfaces/Portalicious/src/app/domains/project/project-attribute.helpers.ts index efcd3ae527..4396eec0e4 100644 --- a/interfaces/Portalicious/src/app/domains/project/project-attribute.helpers.ts +++ b/interfaces/Portalicious/src/app/domains/project/project-attribute.helpers.ts @@ -21,6 +21,7 @@ export const ATTRIBUTE_EDIT_INFO: Partial< Record > = { maxPayments: $localize`:@@attribute-edit-info-maxPayments:The maximum number of payments for this Person Affected. You can remove the limit by removing the value and saving.`, + paymentCountRemaining: $localize`:@@attribute-edit-info-paymentCountRemaining:This is automatically calculated based on Max. payments and payments sucessfully sent`, paymentAmountMultiplier: $localize`:@@attribute-edit-info-paymentAmountMultiplier:The transfer value will be multiplied by this number for this Person Affected`, phoneNumber: $localize`:@@attribute-edit-info-phoneNumber:The required format is: ONLY numbers, including country-code.`, scope: $localize`:@@attribute-edit-info-scope:Separate the parts with a dot (i.e. 'amsterdam.west').`, diff --git a/interfaces/Portalicious/src/app/services/registration-attribute.service.ts b/interfaces/Portalicious/src/app/services/registration-attribute.service.ts index 5fb55af345..760355e516 100644 --- a/interfaces/Portalicious/src/app/services/registration-attribute.service.ts +++ b/interfaces/Portalicious/src/app/services/registration-attribute.service.ts @@ -34,7 +34,11 @@ import { Registration } from '~/domains/registration/registration.model'; import { AuthService } from '~/services/auth.service'; import { TranslatableStringService } from '~/services/translatable-string.service'; -const nonEditableAttributes = ['inclusionScore', 'name']; +const nonEditableAttributes = [ + 'inclusionScore', + 'name', + 'paymentCountRemaining', +]; const getGenericAttributeType = ( attributeName: GenericRegistrationAttributes, diff --git a/interfaces/Portalicious/src/locale/messages.nl.xlf b/interfaces/Portalicious/src/locale/messages.nl.xlf index d088d56d8a..f0293270dd 100644 --- a/interfaces/Portalicious/src/locale/messages.nl.xlf +++ b/interfaces/Portalicious/src/locale/messages.nl.xlf @@ -1820,6 +1820,10 @@ We couldn't find any information linked to this person's phone number in the projects you have access to on the 121 Platform. We couldn't find any information linked to this person's phone number in the projects you have access to on the 121 Platform. + + This is automatically calculated based on Max. payments and payments sucessfully sent + This is automatically calculated based on Max. payments and payments sucessfully sent + \ No newline at end of file diff --git a/interfaces/Portalicious/src/locale/messages.xlf b/interfaces/Portalicious/src/locale/messages.xlf index 337be2e919..682c7c2df5 100644 --- a/interfaces/Portalicious/src/locale/messages.xlf +++ b/interfaces/Portalicious/src/locale/messages.xlf @@ -1367,6 +1367,9 @@ Loading... + + This is automatically calculated based on Max. payments and payments sucessfully sent + \ No newline at end of file