Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W-17216147 - 'First installment paid' checkbox not being set to true in Gift Entry #7266

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
Loading