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

[CIRC-2036] Add new 'displaySummarry' field to the Item schema #1438

Merged
merged 8 commits into from
Mar 7, 2024
Prev Previous commit
Next Next commit
CIRC-2036 fix code smell
roman-barannyk committed Mar 7, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 050ea69baef3f64a4dbdaee179f5c01471535631
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ public static JsonObject createCheckInContext(CheckInContext context) {
JsonObject staffSlipContext = createStaffSlipContext(item, firstRequest);
JsonObject itemContext = staffSlipContext.getJsonObject(ITEM);

if (item != null && itemContext != null) {
if (ObjectUtils.allNotNull(item, itemContext)) {
write(itemContext, "lastCheckedInDateTime", ClockUtil.getZonedDateTime());
if (item.getInTransitDestinationServicePoint() != null) {
itemContext.put("toServicePoint", item.getInTransitDestinationServicePoint().getName());