{% extends "templates/web.html" %} {% block page_content %}

Admin Filings Review

Paid compliance orders whose filing is staged for human approval. Review the packet files, then click Approve & File to submit to the FCC/USAC portal. The auto-filing override is one-shot per order.

{% if not pending_orders %} {% endif %} {% for row in pending_orders %} {% endfor %}
Order Customer Carrier Service Paid Packet
No filings awaiting admin review.
{{ row.order_number }}
{{ row.state }}
{{ row.customer_name or '—' }}
{{ row.customer_email }}
{{ row.entity_name or '—' }}
{% if row.entity_frn %}FRN {{ row.entity_frn }}{% endif %}
{{ row.service_slug }}
{{ row.service_name }} {% if row.line_105_primary %}
L105: {{ row.line_105_primary }} {% if row.line_105_categories %}+{{ (row.line_105_categories | length) - 1 }}{% endif %}
{% endif %} {% if row.deminimis_result_is_exempt is not none %}
{% if row.deminimis_result_is_exempt %}✓ De minimis{% else %}Not de minimis (${{ "{:,.2f}".format((row.deminimis_estimated_contrib_cents or 0) / 100.0) }}){% endif %}
{% endif %} {% if row.active_reseller_cert_count and row.active_reseller_cert_count > 0 %}
{{ row.active_reseller_cert_count }} reseller cert{{ 's' if row.active_reseller_cert_count != 1 else '' }} {% if row.expiring_soon_cert_count and row.expiring_soon_cert_count > 0 %} ({{ row.expiring_soon_cert_count }} expiring <90d) {% endif %}
{% endif %} {% if row.traffic_study_compliance_ok is not none %}
Traffic study: {% if row.traffic_study_compliance_ok %}✓ FCC-compliant{% else %}⚠ not stamped{% endif %} {% if row.traffic_study_usac_submitted_at %}, submitted{% endif %}
{% endif %} {% if row.icc_revenue_ytd_cents and row.icc_revenue_ytd_cents > 0 %}
ICC ${{ "{:,.2f}".format(row.icc_revenue_ytd_cents / 100.0) }}
{% endif %} {% if row.intake_data_validated is not none and not row.intake_data_validated %}
⚠ intake not validated
{% endif %}
{{ frappe.utils.format_date(row.paid_at or row.created_at) }} {% if row.generated_files %} {% else %} (no packet yet — handler may still be running) {% endif %}
{% endblock %}