From 7da6d57c45314afd18f77d59f965264f396f8dfc Mon Sep 17 00:00:00 2001 From: Adam Saghy Date: Tue, 19 Dec 2023 15:51:16 +0100 Subject: [PATCH] FINERACT-2017: Mark holiday was processed --- .../jobs/applyholidaystoloans/ApplyHolidaysToLoansTasklet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/jobs/applyholidaystoloans/ApplyHolidaysToLoansTasklet.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/jobs/applyholidaystoloans/ApplyHolidaysToLoansTasklet.java index 67bbeeac657..3c3d2bd5c8a 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/jobs/applyholidaystoloans/ApplyHolidaysToLoansTasklet.java +++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/jobs/applyholidaystoloans/ApplyHolidaysToLoansTasklet.java @@ -88,7 +88,7 @@ public RepeatStatus execute(StepContribution contribution, ChunkContext chunkCon applyHolidayToRepaymentScheduleDates(loan, holiday); } loanRepositoryWrapper.save(loans); - holiday.isProcessed(); + holiday.setProcessed(true); } holidayRepository.save(holidays); return RepeatStatus.FINISHED;