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

List household members who do not prepare food together on PDF #601

Merged
merged 3 commits into from
Feb 2, 2024

Conversation

spokenbird
Copy link
Contributor

No description provided.

@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-601 February 2, 2024 22:49 Inactive
Copy link
Contributor

@sree-cfa sree-cfa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Override
public Map<String, SubmissionField> prepareSubmissionFields(Submission submission, PdfMap pdfMap) {
Map<String, SubmissionField> result = new HashMap<>();
var household = (List<Map<String, Object>>) submission.getInputData().get("household");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var household = (List<Map<String, Object>>) submission.getInputData().getOrDefault("household", emptyList());

@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-601 February 2, 2024 23:06 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-601 February 2, 2024 23:12 Inactive
@spokenbird spokenbird merged commit 26f6178 into main Feb 2, 2024
5 checks passed
@spokenbird spokenbird deleted the household-prepare-food-preparer branch February 2, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants