Skip to content

Commit

Permalink
Merge pull request #21 from laboratoriobridge/23134-bug-cadsus-endereco
Browse files Browse the repository at this point in the history
Bug criar cidadão sem endereço no cadsus em piloto
  • Loading branch information
lucasjoao authored Oct 25, 2024
2 parents aa70fbd + 2d89fa2 commit 9d3fabf
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 9d3fabf

Please sign in to comment.