Skip to content

Commit

Permalink
Merge pull request #7155 from SalesforceFoundation/feature/242__pause…
Browse files Browse the repository at this point in the history
…PatchFix

Added logic to fix pause patch calls
  • Loading branch information
lparrott authored Nov 17, 2022
2 parents a35f1fd + 28ae7cb commit fdf146d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion force-app/main/default/classes/RD2_ScheduleService.cls
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ public without sharing class RD2_ScheduleService {
private Boolean shouldEditPause (List<RecurringDonationSchedule__c> donationSchedules) {
Boolean shouldEdit = false;
for (RecurringDonationSchedule__c schedule : donationSchedules) {
if (schedule.IsPause__c) {
if (schedule.IsPause__c && schedule.EndDate__c >= System.today()) {
shouldEdit = true;
break;
}
Expand Down

0 comments on commit fdf146d

Please sign in to comment.