{% extends 'base.html' %} {% block title %}Registro Diário - Sistema de Comandas{% endblock %} {% block content %}

Registro Diário - {{ registro.data|date:"d/m/Y" }}

{% if not registro.arquivado %} Arquivar Dia {% endif %}

Total de Vendas

R$ {{ registro.total_vendas|floatformat:2 }}

Total de Comandas

{{ registro.total_comandas }}

Status

{% if registro.arquivado %}Arquivado{% else %}Ativo{% endif %}

Comandas do Dia

{% for comanda in comandas %} {% empty %} {% endfor %}
ID Mesa Garçom Status Total Abertura Fechamento
#{{ comanda.id }} Mesa {{ comanda.mesa.numero }} {{ comanda.garcom.get_full_name|default:comanda.garcom.username }} {{ comanda.get_status_display }} R$ {{ comanda.total|floatformat:2 }} {{ comanda.abertura|date:"H:i" }} {% if comanda.fechamento %}{{ comanda.fechamento|date:"H:i" }}{% else %}-{% endif %}
Nenhuma comanda registrada hoje.
{% endblock %}