{% extends 'base.html' %} {% block title %}{{ project.name }} | Obra{% endblock %} {% block content %}
PROGRESSO
{{ project.progress }}% {{ project.status }}
Previsão {{ project.deadline }}
VALOR LOCAÇÕES
{{ project.value }} Contrato ativo
Faturamento
EQUIPE
{{ teams|length }}equipes vinculadas
{% for t in teams|slice:":3" %}{{ t.name }}{% endfor %}
EQUIPAMENTOS
{{ project.equipment|length }}itens alocados
Endereço da obra
{{ project.address }}
Abrir no Maps
Responsável da obra
{{ project.manager|slice:":1"|upper }}
{{ project.manager }}
{{ project.manager_role }}
{{ project.manager_phone|default:"—" }} {{ project.manager_email|default:"—" }}
Cliente na obra
{{ project.client_contact }}
{{ project.client }}
{{ project.client_phone|default:"—" }} {{ project.client_email|default:"—" }}
Contato rápido Use telefones acima ou Chat da operação
CRONOGRAMA
Calendário da obra
{{ project.events|length }} eventos
{% for event in project.events %}
{{ event.0 }}{{ event.2 }}
{{ event.1 }}
{{ project.name }} · {{ event.3 }}
{{ event.0 }}
{% empty %}
Nenhum evento cadastrado
{% endfor %}
ATIVOS ALOCADOS
Equipamentos da obra
{{ project.equipment|length }} itens
EquipamentoStatusLocaçãoEntrega
{% for item in project.equipment %}
{{ item.0 }} {{ item.1 }} {{ item.2 }} {{ item.3 }}
{% endfor %}
Total {{ project.equipment|length }} ativos vinculados Ver estoque
TIME EM CAMPO
Equipe da obra
Gerenciar
{% if teams %}
{% for team in teams %}
{{ team.name }} {{ team.members.count }}
{{ team.sector }} {{ team.description|default:"Equipe operacional"|truncatechars:50 }}
{% for member in team.members.all|slice:":4" %} {{ member.name|slice:":1"|upper }} {{ member.name }}{{ member.role }} {% empty %} Nenhum colaborador — clique para adicionar {% endfor %} {% if team.members.count > 4 %} +{{ team.members.count|add:"-4" }} {% endif %}
{% endfor %}
{% else %}
Nenhuma equipe vinculada
Crie em Colaboradores Nova equipe
+ Criar equipe
{% endif %}
{{ teams|length }} equipes no sistema Vinculadas
ATUALIZAÇÕES
Alertas do app
{{ notifications|length }}
{% for notification in notifications %}
!
{{ notification.title }}

{{ notification.message }}

{% empty %}
Nenhum alerta do campo — tudo em dia
{% endfor %}
Abrir chat da obra
{% endblock %}