{% extends 'base.html' %} {% load static %} {% block title %}Clientes - {{ block.super }}{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
| Nome | CPF | Telefone | Aniversário | Total Compras | Status | Ações | |
|---|---|---|---|---|---|---|---|
| {{ cliente.nome }} | {{ cliente.cpf|default:"-" }} | {{ cliente.telefone }} | {{ cliente.email|default:"-" }} | {% if cliente.data_nascimento %} {{ cliente.data_nascimento|date:"d/m" }} {% if cliente.data_nascimento|date:"m-d" == hoje|date:"m-d" %} Hoje {% endif %} {% else %} - {% endif %} | R$ {{ cliente.total_compras|floatformat:2 }} | {% if cliente.ativo %} Ativo {% else %} Inativo {% endif %} | Histórico {% if cliente.ativo %} {% if pode_gerenciar %} {% endif %} {% else %} {% if pode_gerenciar %} {% endif %} {% endif %} |
|
Nenhum cliente cadastrado |
|||||||