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

Bug criar cidadão sem endereço no cadsus em piloto #21

Merged
merged 3 commits into from
Oct 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/resources/templates/PRPA_IN201301UV02.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
<birthTime th:if="${dataNascimento != null}" th:value="${#temporals.format(dataNascimento, 'yyyyMMdd')}"/>
<deceasedInd th:value="${vivo} ? 'false' : 'true'"/>
<deceasedTime th:if="${dataObito != null}" th:value="${#temporals.format(dataObito, 'yyyyMMdd')}"/>
<addr use="BAD" th:if="${enderecos==null || enderecos.isEmpty()}">
<addr use="BAD" th:if="${enderecos==null || #lists.isEmpty(enderecos)}">
</addr>
<addr use="H" th:if="${enderecos !=null && !enderecos.isEmpty()}" th:each="endereco : ${enderecos}">
<addr use="H" th:if="${enderecos !=null && !#lists.isEmpty(enderecos)}" th:each="endereco : ${enderecos}">
<streetNameType th:if="${endereco.tipoLogradouro != null}" th:utext="${endereco.tipoLogradouro.value}"/>
<streetName th:if="${endereco.logradouro != null}" th:utext="${endereco.logradouro}">[Nome do logradouro</streetName>
<houseNumber th:if="${endereco.numero != null}" th:utext="${endereco.numero}">[Número do logradouro, caso não exista preencher com S/N]</houseNumber>
Expand Down
Loading