{% extends "base.html" %} {% load static %} {% load custom_filter_tag %} {% block 'title' %} Detalhes {{comanda.name}} {% endblock %} {% block 'head' %} {% endblock %} {% block 'body' %}
{% if comanda.status == 'PAYING' %} {% else %} {% endif %} {% if comanda.status != 'OPEN'%} {% endif %} {% if user|groupUser:"Gerente" %} {% endif %}
Nome: {{comanda.name}} | Mesa: {{comanda.mesa}}

Aberta em: {{comanda.dt_open|date:"D"}} {{comanda.dt_open|date:"d/m/Y - H:i"}}

{% for item in consumo%} {% if comanda.status != 'OPEN'%} {% else %} {% endif %} {% endfor %}
Produto Preço
{{item.product.name}} {% if item.product.cuisine == True %} {% endif %} R$ {{item.product.price}}
Total R$ {{total}}
{% endblock %}