Atualização: template Excel de alíquotas e layout da aba
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -16,6 +16,12 @@
|
||||
<div class="buttons">
|
||||
<button class="btn btn-primary" onclick="processar(this)">Processar Faturas</button>
|
||||
<button class="btn btn-primary pulse" onclick="limpar()" style="font-weight: bold;">🔁 Novo Processo</button>
|
||||
{% if status_resultados|selectattr("status", "equalto", "Erro")|list %}
|
||||
<div style="margin-top: 2rem;">
|
||||
<a class="btn btn-danger" href="/erros/download">⬇️ Baixar Faturas com Erro (.zip)</a>
|
||||
<a class="btn btn-secondary" href="/erros/log">📄 Ver Log de Erros (.txt)</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<button class="btn btn-success" onclick="baixarPlanilha()">📅 Abrir Planilha</button>
|
||||
<button class="btn btn-success" onclick="gerarRelatorio()">📊 Gerar Relatório</button>
|
||||
{% if app_env != "producao" %}
|
||||
@@ -28,7 +34,7 @@
|
||||
</div>
|
||||
<div id="tabela-wrapper" class="tabela-wrapper"></div>
|
||||
</div>
|
||||
|
||||
ar
|
||||
<script>
|
||||
let arquivos = [];
|
||||
let statusInterval = null;
|
||||
@@ -77,7 +83,10 @@ function renderTable(statusList = []) {
|
||||
grupo === 'Duplicado' ? '📄' :
|
||||
'⌛'} ${file.status}
|
||||
</td>
|
||||
<td>${file.tempo || '---'}</td>
|
||||
<td>
|
||||
${file.mensagem ? `<div class="status-msg">${file.mensagem}</div>` : ""}
|
||||
${file.tempo || '---'}
|
||||
</td>
|
||||
</tr>
|
||||
`).join('');
|
||||
|
||||
@@ -517,6 +526,12 @@ function fecharFeedback() {
|
||||
100% { transform: scale(1); }
|
||||
}
|
||||
|
||||
.status-msg {
|
||||
color: #dc3545;
|
||||
font-size: 0.8rem;
|
||||
margin-top: 0.25rem;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user