{% extends 'base.html' %} {% load static tags %} {% block content %} {% block table_list_content %}
{% include 'breadcrumb.html' %}
{% csrf_token %}
{% with filter_count=filters|length %} {% for filter in filters %} {% if forloop.counter0|divisibleby:6 and not forloop.first %}
{% endif %}
{% if filter.type == 'text' %} {% elif filter.type == 'select' %} {% elif filter.type == 'year' %} {% elif filter.type == 'date' %} {% elif filter.type == 'month' %} {% endif %}
{% if forloop.last and filters %}
{% endif %} {% endfor %} {% endwith %}
{% render_button 'modify_records_button' %} {% render_button 'add_button' %} {% render_button 'report_excel_button' %} {% render_button 'import_excel_button' %}
{% block fields_list_content %}
{% get_verbose_field_names_from_model model_config table_exclude_field_name as columns %} {% for column in columns %} {% endfor %} {% for item in items %} {% for field in item|get_fields:table_exclude_field_name %} {% if '(元)' in field.verbose_name %} {% elif field.verbose_name == '年月' %} {% elif field.verbose_name == '税率' %} {% elif field.verbose_name == '密码' %} {% else %} {% endif %} {% endfor %} {% empty %} {% endfor %}
{{ column }}操作
{{ field.value|default_if_none:'-'|thousands_separator }}{{ field.value|default_if_none:'-'|date:"Y-m" }}{{ field.value|default_if_none:'-'|format_tax_rate }}{{ field.value|default_if_none:'-'|mask_password }}{{ field.value|default_if_none:'-' }} 编辑 删除
暂无数据
{% endblock %} {% include 'pagination_ps.html' with page_obj=items query_params=query_params %}
{% endblock %} {% include 'modify_record_modal.html' with modify_records_url=modify_records_url %} {% block item_list_custom_content %} {% endblock %} {% block js_content %} {% endblock %} {% endblock %}