Skip to content

Commit

Permalink
Merge pull request #7266 from SalesforceFoundation/feature/254__W-172…
Browse files Browse the repository at this point in the history
…16147-First-installment-paid-value-not-update-in-GE-Batch-Info

W-17216147 - 'First installment paid' checkbox not being set to true in Gift Entry
  • Loading branch information
lparrott authored Dec 9, 2024
2 parents 96c7509 + b71de14 commit a8a24c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion force-app/main/default/lwc/geBatchWizard/geBatchWizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,16 @@ export default class geBatchWizard extends NavigationMixin(LightningElement) {
if (dataImportBatch.apiName === formElement.objectApiName) {
dataImportBatch.fields[formElement.fieldApiName] = formElement.value;
} else {
batchDefaults[formElement.label] = {
const fieldElementData = {
objectApiName: formElement.objectApiName,
fieldApiName: formElement.fieldApiName,
value: isNotEmpty(formElement.value) ? formElement.value : undefined
};
if (formElement.fieldApiName === 'AllowFirstInstallment__f'){
batchDefaults[formElement.fieldApiName] = fieldElementData;
} else {
batchDefaults[formElement.label] = fieldElementData;
}
}
}

Expand Down

0 comments on commit a8a24c7

Please sign in to comment.