{% extends "base.html" %} {% block title %}Rolodex · Delphi Database{% endblock %} {% from "partials/answer_table_macros.html" import results_summary, pagination, answer_table, bulk_actions_bar %} {% block content %}

Rolodex

{{ results_summary(start_index, end_index, total) }}
{% set headers = [ { 'title': 'Name', 'width': '220px', 'key': 'name' }, { 'title': 'Company', 'key': 'company' }, { 'title': 'Address', 'key': 'address' }, { 'title': 'City', 'key': 'city' }, { 'title': 'State', 'width': '80px', 'key': 'state' }, { 'title': 'ZIP', 'width': '110px', 'key': 'zip' }, { 'title': 'Phones', 'width': '200px', 'key': 'phones' }, { 'title': 'Actions', 'width': '140px', 'align': 'end' }, ] %}
{% if enable_bulk %} {% endif %} {% for h in headers %} {% if h.key %} {% else %} {{ h.title }} {% endif %} {% endfor %} {% if clients and clients|length > 0 %} {% for c in clients %} {% if enable_bulk %} {% endif %} {% endfor %} {% else %} {% endif %}
{{ c.last_name or '' }}, {{ c.first_name or '' }} {{ c.company or '' }} {{ c.address or '' }} {{ c.city or '' }} {{ c.state or '' }} {{ c.zip_code or '' }} {% if c.phones and c.phones|length > 0 %} {% for p in c.phones[:3] %} {{ p.phone_number }} {% endfor %} {% else %} {% endif %} View
No clients found.
If you've imported legacy data, go to Admin and run Sync to Modern Models to populate Clients and Phones.
{% if enable_bulk %} {% endif %}
{{ pagination('/rolodex', page, total_pages, page_size, {'q': q, 'phone': phone, 'sort_key': sort_key, 'sort_dir': sort_dir}) }}
{% block extra_scripts %} {{ super() }} {% endblock %} {% endblock %}