{% extends "django_msp_controldeacceso/base.html" %} {% block title %}Control de Acceso{% endblock %} {% block style_css %}{% endblock %} {% block js_code %} {% include 'autocomplete_light/static.html' %} {% endblock %} {% block breadcrumb %}{{ block.super }}
  • Inicio
  • {% endblock %} {% block content %}
    Bitacora de Ingresos
    {% if not result %}
    {% csrf_token %} {{ form.errors }}
    {{form.cliente}}

    {{form.fecha}}

    {% else %}

    {{titulo}}

    {% if tipo == 1 %} {% for r in result %} {% endfor %}
    Acceso Fecha Hora
    {% if r.0 == 'S' %}Permitido{% else %}Denegado{% endif %} {{r.1|date:"d/M/Y"}} {{r.2|time:"g:i:s a"}}
    {% endif %} {% if tipo == 2 %} {% for r in result %} {% endfor %}
    Cliente Acceso Hora
    {{r.3}} {% if r.1 == 'S' %}Permitido{% else %}Denegado{% endif %} {{r.2|time:"g:i:s a"}}
    {% endif %} {% if tipo == 3 %} {% for r in result %} {% endfor %}
    Acceso Hora
    {% if r.0 == 'S' %}Permitido{% else %}Denegado{% endif %} {{r.1|time:"g:i:s a"}}
    {% endif %} {% endif %} {% endblock %}