-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2439 from prefeiturasp/hotfix/8.11.1
Hotfix/8.11.1
- Loading branch information
Showing
9 changed files
with
76 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "8.11.0" | ||
__version__ = "8.11.1" | ||
|
||
__version_info__ = tuple( | ||
[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
19 changes: 19 additions & 0 deletions
19
sme_ptrf_apps/core/tests/test_api_contas/test_get_contas.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import pytest | ||
import json | ||
from rest_framework import status | ||
|
||
pytestmark = pytest.mark.django_db | ||
|
||
def test_api_resgata_apenas_contas_com_data_inicial(jwt_authenticated_client_a, conta_associacao_factory): | ||
|
||
conta_com_data_inicial = conta_associacao_factory.create() | ||
|
||
conta_sem_data_inicial = conta_associacao_factory.create(associacao=conta_com_data_inicial.associacao, data_inicio=None) | ||
|
||
url = f'/api/associacoes/{conta_com_data_inicial.associacao.uuid}/contas/' | ||
|
||
response = jwt_authenticated_client_a.get(url, content_type='application/json') | ||
result = json.loads(response.content) | ||
|
||
assert response.status_code == status.HTTP_200_OK | ||
assert len(result) == 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
.../templates/pdf/demonstrativo_execucao_fisico_financeiro/partials/tabela-autenticacao.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% load static %} | ||
|
||
<p class="font-14 border-bottom pb-3 titulo"><strong>Bloco 5 - AUTENTICAÇÃO</strong></p> | ||
|
||
<div class="col-12 border mt-4"> | ||
<div class="row"> | ||
<div class="col d-flex align-items-center justify-content-start"> | ||
<p class="pt-2 pb-2 mb-1 font-10">Declaramos, sob as penas da lei, que as informações prestadas são verdadeiras.</p> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col d-flex align-items-center justify-content-start"> | ||
<p class="pt-2 pb-2 mb-1 font-10">Data: <strong>{{ dados.assinatura_dre.data_assinatura }}</strong></p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="col-12 border-right border-left border-bottom pt-4"> | ||
<table class="table table-bordered tabela-assinaturas"> | ||
<thead class="thead-light"> | ||
<tr> | ||
<th scope="col" class="fundo-th-cinza" style="width: 40%">Nome</th> | ||
<th scope="col" class="fundo-th-cinza" style="width: 40%">Cargo</th> | ||
<th scope="col" class="fundo-th-cinza" style="width: 20%">RF</th> | ||
</tr> | ||
</thead> | ||
|
||
<tbody> | ||
{% for membro in dados.assinatura_dre.membros %} | ||
<tr> | ||
<td>{{ membro.nome }}</td> | ||
<td>{{ membro.cargo }}</td> | ||
<td>{{ membro.rf }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters