onnavigate={handleNavigateEvent}
loading-text={loadingText}
save-disabled={isFormSaveDisabled}
+ is-make-recurring-button-disabled={shouldDisableMakeRecurringButton}
batch-currency-iso-code={batchCurrencyIsoCode}
>
diff --git a/force-app/main/default/lwc/geGiftEntryFormApp/geGiftEntryFormApp.js b/force-app/main/default/lwc/geGiftEntryFormApp/geGiftEntryFormApp.js
index 0a4c8d0920..3e2e588a97 100644
--- a/force-app/main/default/lwc/geGiftEntryFormApp/geGiftEntryFormApp.js
+++ b/force-app/main/default/lwc/geGiftEntryFormApp/geGiftEntryFormApp.js
@@ -83,27 +83,25 @@ export default class GeGiftEntryFormApp extends NavigationMixin(LightningElement
}
}
+ get shouldDisableMakeRecurringButton() {
+ return this.gift.isImported();
+ }
+
handleLoadData(event) {
try {
this.isFormRendering = true;
+ const giftId = event.detail.Id;
+ const foundGift = this.giftBatch.findGiftBy(giftId);
+ this.gift = new Gift(foundGift.state());
+ this.giftInView = this.gift.state();
+ this.openedGiftDonationId = this.gift.donationId();
- new Promise((resolve,reject) => {
- setTimeout(()=> {
- const giftId = event.detail.Id;
- const foundGift = this.giftBatch.findGiftBy(giftId);
- this.gift = new Gift(foundGift.state());
- this.giftInView = this.gift.state();
- this.openedGiftDonationId = this.gift.donationId();
- if (this.isFormCollapsed) {
- this.isFormCollapsed = false;
- }
- fireEvent(this, 'resetElevateWidget', {});
- resolve();
- }, 100);
- })
- .finally(() => {
- this.isFormRendering = false;
- });
+ if (this.isFormCollapsed) {
+ this.isFormCollapsed = false;
+ }
+ fireEvent(this, 'resetElevateWidget', {});
+
+ this.isFormRendering = false;
} catch(error) {
handleError(error);
}
@@ -574,7 +572,7 @@ export default class GeGiftEntryFormApp extends NavigationMixin(LightningElement
let isRemovedFromElevate = false;
if (this.shouldRemoveFromElevateBatch(gift)) {
try {
- await this.deleteFromElevateBatch(gift.asDataImport());
+ await this.deleteFromElevateBatch(gift);
isRemovedFromElevate = true;
} catch (exception) {
let errorMsg = GeLabelService.format(
@@ -619,10 +617,7 @@ export default class GeGiftEntryFormApp extends NavigationMixin(LightningElement
shouldRemoveFromElevateBatch(gift) {
return gift &&
this.isElevateCustomer &&
- !gift.isImported() && (
- gift.hasCommitmentId() ||
- gift.isAuthorized()
- );
+ gift.hasElevateRemovableStatus();
}
async deleteFromElevateBatch(gift) {
diff --git a/force-app/main/default/lwc/geLabelService/geLabelService.js b/force-app/main/default/lwc/geLabelService/geLabelService.js
index 4c193f5662..e76c94e67a 100755
--- a/force-app/main/default/lwc/geLabelService/geLabelService.js
+++ b/force-app/main/default/lwc/geLabelService/geLabelService.js
@@ -3,6 +3,7 @@ import { format } from 'c/utilCommon';
// Import custom labels
import bgeGridNoGiftsBody from '@salesforce/label/c.bgeGridNoGiftsBody';
+import bgeEditPaymentInformation from '@salesforce/label/c.bgeEditPaymentInformation';
import bgeGridNoGiftsHeader from '@salesforce/label/c.bgeGridNoGiftsHeader';
import commonAccountNumber from '@salesforce/label/c.commonAccountNumber';
import commonACHLast4 from '@salesforce/label/c.commonACHLast4';
@@ -210,7 +211,6 @@ import geLabelTemplateInfoDescriptionField from '@salesforce/label/c.geLabelTemp
import geLabelTemplateInfoNameField from '@salesforce/label/c.geLabelTemplateInfoNameField';
import gePaymentAuthExpiredHeader from '@salesforce/label/c.gePaymentAuthExpiredHeader';
import gePaymentAuthExpiredWarningText from '@salesforce/label/c.gePaymentAuthExpiredWarningText';
-import gePaymentProcessedWarning from '@salesforce/label/c.gePaymentProcessedWarning';
import gePaymentProcessError from '@salesforce/label/c.gePaymentProcessError';
import gePaymentProcessingErrorBanner from '@salesforce/label/c.gePaymentProcessingErrorBanner';
import gePaymentRequestTimedOut from '@salesforce/label/c.gePaymentRequestTimedOut';
@@ -263,6 +263,7 @@ class GeLabelService {
CUSTOM_LABELS = Object.freeze({
bgeGridNoGiftsBody,
bgeGridNoGiftsHeader,
+ bgeEditPaymentInformation,
commonAccountNumber,
commonACHLast4,
commonAmount,
@@ -469,7 +470,6 @@ class GeLabelService {
geLabelTemplateInfoNameField,
gePaymentAuthExpiredHeader,
gePaymentAuthExpiredWarningText,
- gePaymentProcessedWarning,
gePaymentProcessError,
gePaymentProcessingErrorBanner,
gePaymentRequestTimedOut,
diff --git a/force-app/main/default/translations/de.translation-meta.xml b/force-app/main/default/translations/de.translation-meta.xml
index c03ac11b2f..e6bb3deb80 100644
--- a/force-app/main/default/translations/de.translation-meta.xml
+++ b/force-app/main/default/translations/de.translation-meta.xml
@@ -4988,10 +4988,6 @@ Wenn Sie es vorziehen, können Sie "Spendeneintrag" deaktivieren und s
gePaymentAuthExpiredWarningText
-
- gePaymentProcessedWarning
-
- gePaymentProcessError
-
- gePaymentProcessedWarning
- {0} successfully processed the payment. Changing the donor, date, amount, or payment method will result in inconsistent records for the same transaction in {0} and NPSP.
- gePaymentProcessErrorThere was an error processing the payment. Please review the error and try again. Alternatively,
diff --git a/force-app/main/default/translations/es.translation-meta.xml b/force-app/main/default/translations/es.translation-meta.xml
index 61998f0843..9354e402f1 100644
--- a/force-app/main/default/translations/es.translation-meta.xml
+++ b/force-app/main/default/translations/es.translation-meta.xml
@@ -4982,10 +4982,6 @@ Si lo prefiere, puede desactivar Entrada de regalos y utilizar la herramienta En
gePaymentAuthExpiredWarningTextUna o más autorizaciones de tarjeta caducaron. Para garantizar que estos pagos se carguen cuando se procese el lote, vuelva a introducir la información de pago para donaciones con un Estado de pago de Elevate de Autorización caducada.
-
- gePaymentProcessedWarning
- {0} procesó correctamente el pago. Al cambiar el donante, la fecha, el importe o el método de pago dará como resultado registros incoherentes para la misma transacción en {0} y NPSP.
- gePaymentProcessErrorSe produjo un error al procesar el pago. Revise el error e inténtelo de nuevo. De manera alternativa,
diff --git a/force-app/main/default/translations/fr.translation-meta.xml b/force-app/main/default/translations/fr.translation-meta.xml
index 568fc1f1e9..931a303e89 100644
--- a/force-app/main/default/translations/fr.translation-meta.xml
+++ b/force-app/main/default/translations/fr.translation-meta.xml
@@ -4990,10 +4990,6 @@ Si vous préférez, vous pouvez désactiver la Saisie de dons et utiliser à la
gePaymentAuthExpiredWarningTextUne ou plusieurs autorisations de carte ont expiré. Pour vous assurer que ces paiements sont débités lors du traitement du lot, saisissez à nouveau les informations de paiement pour les dons dont le statut de paiement est Autorisation expirée.
-
- gePaymentProcessedWarning
- {0} a traité le paiement. La modification du donateur, de la date, du montant ou du mode de paiement entraînera des incohérences dans les enregistrements pour la même transaction dans {0} et NPSP.
- gePaymentProcessErrorUne erreur s’est produite lors du traitement du paiement. Examinez l’erreur et réessayez. Vous pouvez également
diff --git a/force-app/main/default/translations/iw.translation-meta.xml b/force-app/main/default/translations/iw.translation-meta.xml
index cab8001ae5..5344c62e2f 100644
--- a/force-app/main/default/translations/iw.translation-meta.xml
+++ b/force-app/main/default/translations/iw.translation-meta.xml
@@ -3866,10 +3866,6 @@
gePaymentProcessError
-
-
- gePaymentProcessedWarning
- gePaymentProcessingErrorBanner
diff --git a/force-app/main/default/translations/ja.translation-meta.xml b/force-app/main/default/translations/ja.translation-meta.xml
index f15ba883a2..4d0dea4c86 100644
--- a/force-app/main/default/translations/ja.translation-meta.xml
+++ b/force-app/main/default/translations/ja.translation-meta.xml
@@ -4985,10 +4985,6 @@
gePaymentAuthExpiredWarningText1 件以上のカード承認の期限が切れました。バッチを処理するときにこれらの支払が課金されるようにするには、期限が切れた承認の Elevate 支払状況を使用して支援の支払情報を再入力してください。
-
- gePaymentProcessedWarning
- {0} が支払を正常に処理しました。支援者、日付、金額、または支払方法を変更すると、{0} と NPSP で同じトランザクションのレコードで整合性が失われます。
- gePaymentProcessError支払の処理中に問題が発生しました。エラーを確認して、もう一度お試しください。または、
diff --git a/force-app/main/default/translations/nl_NL.translation-meta.xml b/force-app/main/default/translations/nl_NL.translation-meta.xml
index 851863c72c..322616c53e 100644
--- a/force-app/main/default/translations/nl_NL.translation-meta.xml
+++ b/force-app/main/default/translations/nl_NL.translation-meta.xml
@@ -4988,10 +4988,6 @@ Indien dit de voorkeur heeft, kunt u Invoer van giften uitschakelen en in plaats
gePaymentAuthExpiredWarningTextEen of meerdere kaartautorisaties zijn verlopen. Om ervoor te zorgen dat deze betalingen in rekening worden gebracht bij het verwerken van de batch, voert u de betalingsinformatie voor donaties opnieuw in met de Elevate-betaalstatus Autorisatie verlopen.
-
- gePaymentProcessedWarning
- {0} heeft de betaling verwerkt. Als u de donateur, de datum, het bedrag of de betalingswijze wijzigt, krijgt u inconsistente records voor dezelfde transactie in {0} en NPSP.
- gePaymentProcessErrorEr is een fout opgetreden bij het verwerken van de betaling. Controleer de fout en probeer het opnieuw. In plaats daarvan kunt u het volgende doen:
diff --git a/force-app/main/default/translations/pt_BR.translation-meta.xml b/force-app/main/default/translations/pt_BR.translation-meta.xml
index 0e61692719..120cf62021 100644
--- a/force-app/main/default/translations/pt_BR.translation-meta.xml
+++ b/force-app/main/default/translations/pt_BR.translation-meta.xml
@@ -4989,10 +4989,6 @@ Se preferir, você pode desativar a Entrada de doações e, em vez disso, usar a
gePaymentAuthExpiredWarningTextUma ou mais autorizações de cartão expiraram. Para garantir que esses pagamentos sejam cobrados ao processar o lote, reinsira as informações de pagamento de doações com status de pagamento Elevate de Autorização vencida.
-
- gePaymentProcessedWarning
- {0} processou com sucesso o pagamento. A alteração de doador, data, valor ou método de pagamento resultará em registros inconsistentes para a mesma transação em {0} e no NPSP.
- gePaymentProcessErrorHouve um erro no processamento do pagamento. Reveja o erro e tente novamente. Como alternativa,