{% extends "base.html" %} {% block title %}Expedientes{% endblock title %} {% block page-title %} Expedientes {% endblock %} {% load tags %} {% block content %}
{% for e in object_list %} {% empty %} {% endfor %}
Expediente Persona(s) Lugar(es) Partida(s) Plano
{{ e.id }} {% if e.orden_numero and not e.inscripcion_numero %} PENDIENTE Orden Nº {{ e.orden_numero }} - {{ e.orden_fecha }}
{% endif %} {% if e.cancelado %} CANCELADO {{ e.cancelado_por }}
{% endif %} {% if e.expedientepersona_set %} {% for ep in e.expedientepersona_set.all %} {{ ep.persona.nombre_completo }} {% if ep.comitente %}COMITENTE{% endif %} {% if ep.persona.telefono %}({{ ep.persona.telefono }}){% endif %} {% if not forloop.last %}
{% endif %} {% endfor %} {% endif %}
{% if e.expedientelugar_set %} {% for el in e.expedientelugar_set.all %} {{ el.lugar.nombre }} {% for cl in el.catastrolocal_set.all %}
{{ cl }} {% endfor %}{% if not forloop.last %}
{% endif %} {% endfor %} {% endif %}
{% if e.expedientepartida_set %} {% for ep in e.expedientepartida_set.all %} {{ ep.partida.sd }}-{{ ep.partida }} {% if not forloop.last %}
{% endif %} {% endfor %} {% endif %}
{% if e.plano_ruta %}{% endif %} {% if e.duplicado %}Dup.{% endif %} {% if e.inscripcion_numero %}{{ e.inscripcion_numero }}{% endif %} {% if e.plano_ruta %}{% endif %} {% if e.inscripcion_fecha %}({{ e.inscripcion_fecha }}){% endif %} {% if e.sin_inscripcion %} NO REQUIERE {% endif %}
{% include "includes/_pagination.html" %}
{% endblock content %}