{% extends "admin_base.html" %} {% import "macros/admin_crud_list.html" as crud %} {% block page_title %}Tenant Onboarding & Partner Management{% endblock %} {% block admin_content %}

Operator tools

Workspace setup recovery

Latest 20 unfinished paid registrations. Check the workspace and email provider before resolving uncertain work. Ask customers to finish setup in their saved tab; do not request another payment.

{% if fulfillment_reviews_unavailable | default(value=false) %}

Recovery progress is unavailable. Check that this feature's storage is initialized, then refresh.

{% elif fulfillment_reviews | default(value=[]) | length == 0 %}

No paid registrations are waiting for recovery.

{% else %}
{% for review in fulfillment_reviews %}

{{ review.tenant_name }}

Payment reference
{{ review.payment_id }}
Order reference
{{ review.order_id }}
Received
{{ review.created_at | date_in_tz(timezone=settings.timezone) }}
Workspace
{% if review.creation_state == 'created' %}Created{% else %}Check creation result before continuing{% endif %}
Receipt
{% if review.receipt_state == 'sent' %}Sent or no email required{% elif review.receipt_state == 'pending' %}Waiting for setup{% else %}Check email delivery; do not resend automatically{% endif %}
Referral
{% if review.referral_state == 'complete' %}Recorded if eligible{% else %}Waiting for setup{% endif %}
{% if not review.generation_id %}

This registration predates identity tracking. It cannot be automatically linked to the current workspace; investigate its original records.

{% elif review.generation_matches != 1 %}

The original workspace is missing or its identity/owner changed. This payment cannot be used to resume the current workspace.

{% else %} {% for step in ['creation', 'receipt'] %} {% if (step == 'creation' and review.creation_reviewable == 1) or (step == 'receipt' and review.receipt_reviewable == 1) %}
Verify {% if step == 'creation' %}workspace creation{% else %}receipt delivery{% endif %}

{% if step == 'creation' %}Check that this workspace's storage, initial setup and fees completed successfully.{% else %}Check the email provider's delivery records, or confirm that no email was required.{% endif %} This records your verification without executing the work again.

Record your verification

Refresh progress
{% endif %} {% endfor %} {% if review.creation_reviewable != 1 and review.receipt_reviewable != 1 and (review.creation_state == 'creating' or review.receipt_state == 'sending') %}

Work may still be running. Wait at least two minutes from its claim, then refresh before reviewing.

{% endif %} {% endif %}
{% endfor %}
{% endif %}
Recent recovery verifications {% if fulfillment_audit_unavailable | default(value=false) %}

Verification history is unavailable. Refresh after checking storage.

{% elif fulfillment_audit | default(value=[]) | length == 0 %}

No recovery verifications have been recorded.

{% else %}
{% for entry in fulfillment_audit %}

{{ entry.payment_id }} — {% if entry.step == 'creation' %}Workspace creation{% else %}Receipt{% endif %}

Verified by {{ entry.actor }} at {{ entry.created_at | date_in_tz(timezone=settings.timezone) }}

{{ entry.note }}

{% endfor %}

Showing the latest 20 verifications.

{% endif %}

Share this link discreetly with potential partners. They must log in and apply through this page.

{{ crud::shell_open(config_url="/plugins/tenant-onboarding/assets/admin/referrers_list.json", mount_id="tenant-referrers-list") }}
Loading referrers…
{{ crud::shell_close() }}
{{ crud::shell_open(config_url="/plugins/tenant-onboarding/assets/admin/referrals_list.json", mount_id="tenant-referrals-list") }}
Loading referrals…
{{ crud::shell_close() }}
{% endblock %} {% block scripts %} {% endblock %}