{% extends "base.html" %} {% import 'macros/empresa.html' as empresa_ui %} {% block title %}Histórico de Caixas PDV{% endblock %} {% block content %}

Histórico de Caixas PDV

Abrir Novo Caixa
Limpar
{% for caixa in caixas %} {% else %} {% endfor %}
CAIXA EMPRESA USUÁRIO TIPO DE PDV ABERTURA FECHAMENTO FUNDO INICIAL SALDO EM CAIXA VALOR CONTADO DIFERENÇA STATUS AÇÕES
{{ caixa.numero_caixa }} {% if caixa.nome_maquina %}
{{ caixa.nome_maquina }} {% endif %}
{% if caixa.empresa %} {% set nome_empresa_reduzido = empresa_ui.nome(caixa.empresa) %} {{ empresa_ui.nome_truncado(caixa.empresa, 30) }}
{{ caixa.empresa.cnpj if caixa.empresa.cnpj else '' }} {% else %} - {% endif %}
{{ caixa.usuario.username if caixa.usuario else '-' }} {% if caixa.usuario and caixa.usuario.pessoa %}
{{ caixa.usuario.pessoa.nome }} {% endif %}
{% if caixa.tipo_pdv == 'cape_pdv' %} capePDV {% else %} PDV Web {% endif %} {{ formatar_datetime_operacional(caixa.data_abertura, '%d/%m/%Y', caixa.empresa) }}
{{ formatar_datetime_operacional(caixa.data_abertura, '%H:%M', caixa.empresa) }}
{% if caixa.data_fechamento %} {{ formatar_datetime_operacional(caixa.data_fechamento, '%d/%m/%Y', caixa.empresa) }}
{{ formatar_datetime_operacional(caixa.data_fechamento, '%H:%M', caixa.empresa) }} {% else %} - {% endif %}
R$ {{ "%.2f"|format(caixa.valor_abertura or 0) }} {% if caixa.status == 'aberto' %} R$ {{ "%.2f"|format(caixa.saldo_atual or 0) }} {% else %} R$ {{ "%.2f"|format(caixa.valor_esperado or 0) }} {% endif %} {% if caixa.valor_informado is not none %} R$ {{ "%.2f"|format(caixa.valor_informado) }} {% else %} - {% endif %} {% if caixa.diferenca is not none and caixa.diferenca != 0 %} R$ {{ "%.2f"|format(caixa.diferenca) }} {% else %} - {% endif %} {% if caixa.status == 'aberto' %} Aberto {% else %} Fechado {% endif %}
{% if caixa.status == 'aberto' %} {% endif %}

Nenhum caixa encontrado

Exibindo até 100 registros mais recentes
{% endblock %}