{% extends "base.html" %} {% import 'macros/empresa.html' as empresa_ui %} {% block title %}Lançamento NF-e{% endblock %} {% block content %}
Pendentes de Envio
Autorizadas
Contingência
Canceladas
Rejeitadas/Denegadas
| Tipo | Nº/Série | Data Emissão | Chave de Acesso | Valor | Status | Ações | |
|---|---|---|---|---|---|---|---|
| {% if nota.modelo == '55' %} NF-e {% else %} NFC-e {% endif %} | {{ nota.numero }}/{{ nota.serie }} | {{ nota.data_emissao.strftime('%d/%m/%Y %H:%M') if nota.data_emissao else '-' }} | {% if nota.chave_acesso %} {{ nota.chave_acesso[:20] }}... {% else %} - {% endif %} | R$ {{ "%.2f"|format(nota.valor_total or 0) }} |
{% if nota.status == 'autorizada' %}
Autorizada
{% elif nota.status == 'contingencia_offline' or nota.status == 'em_contingencia_offline' %}
Contingência
{% elif nota.status == 'pronta_para_envio' %}
Pronta
{% elif nota.status == 'pendente' %}
Pendente
{% elif nota.status == 'cancelada' %}
Cancelada
{% elif nota.status == 'denegada' %}
Denegada
{% elif nota.status == 'rejeitada' %}
Rejeitada
{% elif nota.status == 'erro' %}
Erro
{% else %}
{{ nota.status }}
{% endif %}
{% if nota.status in ['rejeitada', 'erro', 'denegada'] and nota.motivo_status %}
{{ nota.motivo_status[:60] }}{% if nota.motivo_status|length > 60 %}...{% endif %} {% elif nota.status in ['contingencia_offline', 'em_contingencia_offline'] and nota.motivo_status %} {{ nota.motivo_status[:60] }}{% if nota.motivo_status|length > 60 %}...{% endif %} {% endif %} |
{% if nota.status in ['pronta_para_envio', 'rejeitada', 'contingencia_offline', 'em_contingencia_offline'] %}
{% elif nota.status == 'autorizada' %}
{% elif nota.status in ['rascunho', 'em_digitacao', 'pendente', 'erro'] %}
{% endif %}
|
Nenhuma nota fiscal encontrada