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 484b4bbfab..afc66a5e08 100644 --- a/interfaces/Portalicious/src/locale/messages.nl.xlf +++ b/interfaces/Portalicious/src/locale/messages.nl.xlf @@ -1808,6 +1808,10 @@ Changes that you made may not be saved. Are you sure you wish to proceed? Changes that you made may not be saved. Are you sure you wish to proceed? + + 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 e9890473b2..35dd17cce1 100644 --- a/interfaces/Portalicious/src/locale/messages.xlf +++ b/interfaces/Portalicious/src/locale/messages.xlf @@ -1358,6 +1358,9 @@ Changes that you made may not be saved. Are you sure you wish to proceed? + + This is automatically calculated based on Max. payments and payments sucessfully sent + \ No newline at end of file