diff --git a/central/static/control-panel.css b/central/static/control-panel.css index ae27ff9..392352f 100644 --- a/central/static/control-panel.css +++ b/central/static/control-panel.css @@ -230,3 +230,6 @@ button.caution:hover { filter: brightness(1.08); } .failed-job-side { flex: none; display: grid; gap: 4px; justify-items: end; font-size: 0.8rem; color: var(--cor-texto-secundario); white-space: nowrap; } @media (max-width: 520px) { .failed-job { flex-direction: column; } .failed-job-side { justify-items: start; grid-auto-flow: column; gap: 12px; } } .ops-actions button:disabled, .ops-actions .primary-action:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); } +.table-wrap table { min-width: 0; } +.panel .table-wrap { overflow-x: auto; max-width: 100%; } +@media (max-width: 640px) { .table-wrap table { font-size: 0.82rem; } .table-wrap td, .table-wrap th { padding: 6px 8px; } } diff --git a/central/templates/rtc_control.html b/central/templates/rtc_control.html index be0fba8..5c0e49d 100644 --- a/central/templates/rtc_control.html +++ b/central/templates/rtc_control.html @@ -25,17 +25,17 @@

Candidatos

{{ total }} produto(s) neste filtro.

- +
ProdutoDescriçãoNCMcClassTrib atualcClassTrib propostoCST IBS/CBSRegraFundamentoCatálogoSituação
{% for c in rows %} -{% else %}{% endfor %}
ProdutoDescriçãoNCMcClassTrib atualcClassTrib propostoCST IBS/CBSRegraFundamentoCatálogoSituação
{{ c.product_code }}{{ c.description or "" }}{{ c.ncm }}{{ c.current_value or "vazio" }}{{ c.proposed }}{{ c.cst_ibscbs }}{{ L.rule(c.rule_id) }}{{ c.basis }}{{ L.catalog("MATCH_SAFE") }}{{ L.status(c.status) }}
Nenhum candidato neste filtro.
+{% else %}Nenhum candidato neste filtro.{% endfor %}

Página {{ page }} de {{ pages }}{% if page > 1 %} · anterior{% endif %}{% if page < pages %} · próxima{% endif %}

{% if mode == "APPROVAL_REQUIRED" %}{% endif %}

Auditoria e reversão

Cada preenchimento pode ser revertido individualmente, desde que o valor no ERP ainda seja o gravado.

- +
#ProdutoAçãoResultadoAntes → DepoisRegraOrigemReversão
{% for a in audits %} -{% else %}{% endfor %}
#ProdutoAçãoResultadoAntes → DepoisRegraOrigemReversão
{{ a.id }}{{ a.product_code }} · {{ a.description_snapshot or "" }}{{ "Reversão" if a.action == "ROLLBACK" else "Preenchimento" }}{{ L.outcome(a.outcome) }}{% if a.reason %} ({{ L.reason(a.reason) }}){% endif %}{{ a.old_value or "vazio" }} → {{ a.new_value or "vazio" }}{{ L.rule(a.rule_id) }}{{ a.authorization_origin }} {% if a.action == "APPLY" and a.outcome == "APPLIED" and not a.rollback_state %}
{% else %}{{ a.rollback_state or "" }}{% endif %}
Nenhum preenchimento registrado.
+{% else %}Nenhum preenchimento registrado.{% endfor %} {% endblock %}