{% extends "base.html" %} {% block title %}Phone Book · Delphi Database{% endblock %} {% block content %}
Back

Phone Book

{% if clients and clients|length > 0 %} {% for c in clients %} {% if c.phones and c.phones|length > 0 %} {% for p in c.phones %} {% endfor %} {% else %} {% endif %} {% endfor %} {% else %} {% endif %}
Name Company Phone Type Phone Number
{{ c.last_name or '' }}, {{ c.first_name or '' }} {{ c.company or '' }} {{ p.phone_type or '' }} {{ p.phone_number or '' }}
{{ c.last_name or '' }}, {{ c.first_name or '' }} {{ c.company or '' }}
No data.
{% endblock %}