Skip to content

Commit

Permalink
Merge pull request #395 from OpenSRP/issue1710-bug-fix-home-tasks
Browse files Browse the repository at this point in the history
Bumped up library version
  • Loading branch information
qaziabubakar-vd authored Feb 18, 2021
2 parents 2fbd8d3 + 95beff3 commit 31143db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=2.0.17-SNAPSHOT
VERSION_NAME=2.0.18-SNAPSHOT
VERSION_CODE=1
GROUP=org.smartregister
POM_SETTING_DESCRIPTION=OpenSRP Client Chw Core Library
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public static Triple<DateTime, VaccineRepo.Vaccine, String> getIndividualVaccine
for (Map<String, Object> mapVac : vaccineTaskModel.getScheduleList()) {
VaccineRepo.Vaccine myVac = (VaccineRepo.Vaccine) mapVac.get("vaccine");
String status = (String) mapVac.get("status");
if (myVac != null && myVac.display().toLowerCase().contains(type.toLowerCase()) && status != null && status.equals("due")) {
if (myVac != null && myVac.display().toLowerCase().contains(type.toLowerCase()) && status != null && (status.equals("due") || status.equals("done"))) {
map = mapVac;
break;
}
Expand Down

0 comments on commit 31143db

Please sign in to comment.