{% extends "base.html" %} {% import 'components/macros.html' as ui %} {% block title %}Registered Shops - Server Admin{% endblock %} {% block head_extra %} {% endblock %} {% block content %}

Registered Shops

All registered shops across the server.

Server Admin Control Center

System readiness: {{ 'Ready' if system_readiness and system_readiness.ok else 'Needs Attention' }} {% if system_readiness %} Version {{ system_readiness.version }} {% endif %}

Full Server Control Center Admin Dashboard Registered Shops Shop Registry Shop Dashboard POS & Checkout Offline Continuity Transactions Inventory Add Product Add Service Bulk Import Restock Planning Wholesalers Procurement Returns Customers POS Acceleration Add Customer Cashiers Add Admin Branches Enterprise Branches Organizational Governance Operational Memory Enterprise Experience App Usage Payment Commercial Billing Phone Scanner Barcode Scanner Camera Scanner Scanner Center Reports Enterprise Reporting Profit & Loss Fund Analysis Customer Intelligence Business Insights Feedback Loop Retention Engine Growth Operations Center Real-World Mode Workflows Automation Command Smart Exports Policy & Approvals Memory Intelligence Trust Checks Reliability System Trust Playbooks Support Center Onboarding Change Password Profile Governance Agents Platform Intelligence Governance Safety Documentation Quality Agent Observability ADRs Architecture Explorer API Explorer Deployment Audits Security Governance Release Intelligence IP Package Official IP Archive System Operations Maintainability Scaling Discipline Incident Center Incident Diagnostics Platform Trust Data Governance Org Governance Business Memory Trust & Readiness Security Maturity DevOps Assistant Cost Management Focus Engine Billing & Pricing Verification Controls Plugin Manager Company Ops Company Metrics Business Activity Customer Success Product Analytics Product Intelligence Market Validation Pilot Monitor Demo System Growth Engine Distribution Deployment Discipline Deployment Trust Trust Engine Internal Ops Operations Runbooks App Updates Cloud & Exports Backups
Readiness Check Health Check Documentation Refresh Docs Gvelo DOC
User Reports Admin Release Notes User Release Notes Tutorial Videos Calendar Alerts Receipts Receipt Delivery APIs Verification Routes Shop Payment Methods Finance Expenses Analytics Branch Analytics Checkout Speed Governance Command Operational Memory Global Search & Alerts Reliability Center
AI Dashboard AI Help AI CSV Agent AI Recommendations Help Center App Guide Logout
{% if offline_summary %}

Offline continuity: Pending {{ offline_summary.pending }}, Failed {{ offline_summary.failed }}, Conflicts {{ offline_summary.conflicts }}, Recovered {{ offline_summary.recovered }}.

{% endif %} {% if latest_backups %}

Latest backups:

{% endif %}
Current App Version: {{ current_version or '1.0' }} Up to date
Check for App Updates App Billing & Pricing

Server Data Protection Agent

{% if self_healing_health %}

Status: {{ self_healing_health.status|replace('_', ' ')|title }} | Last check: {{ self_healing_health.checked_at }}

{% if self_healing_health.guidance %} {% endif %} {% else %} {% if system_readiness and system_readiness.environment and system_readiness.environment.postgres %}

No local self-healing report is required for this PostgreSQL deployment. Use Readiness Check, backups, and Render/PostgreSQL recovery controls as the production source of truth.

{% else %}

No health report yet. Create a trusted backup after confirming all shops are visible.

{% endif %} {% endif %} {% if server_agent_notifications %}

Recent Server Agent Notices

Historical notices are kept for audit. Recheck the linked page after deployment before treating an old notice as active.

{% for notice in server_agent_notifications %}
{{ notice.created_at }} - {{ notice.severity|upper }} - {{ notice.title }}

{{ notice.message }}

{% if notice.guidance %}
{{ notice.guidance }}
{% endif %}
{% endfor %} {% endif %} {% if ai_admin_report %}

AI Operations Report

{{ ai_admin_report.summary }}

Challenges
    {% for item in ai_admin_report.challenges %}
  • {{ item }}
  • {% endfor %}
Working Well
    {% for item in ai_admin_report.strengths %}
  • {{ item }}
  • {% endfor %}
Actions
    {% for item in ai_admin_report.recommendations %}
  • {{ item }}
  • {% endfor %}
{% endif %} {% if ai_operation_events %}

Recent AI Operation Events

{% for event in ai_operation_events %}
{{ event.created_at }} - {{ event.severity|upper }} - {{ event.title or event.event_type|replace('_', ' ')|title }}

{{ event.message }}

Shop {{ event.shop_id or 'n/a' }}{% if event.username %} | User {{ event.username }}{% endif %}{% if event.route %} | {{ event.route }}{% endif %}
{% endfor %} {% endif %} {% if route_security_events %}

Recent Route Security Blocks

{% for event in route_security_events %}
{{ event.created_at }} - {{ event.reason|replace('_', ' ')|title }}

{{ event.method }} {{ event.path }}{% if event.shop_id %} | Shop {{ event.shop_id }}{% endif %}{% if event.user_id %} | User {{ event.user_id }}{% endif %}

{% if event.detail %}

{{ event.detail }}

{% endif %} {% if event.ip %}Source: {{ event.ip }}{% endif %}
{% endfor %} {% endif %} {% if background_tasks %}

Background Task Queue

{% for task in background_tasks %}
#{{ task.id }} - {{ task.task_name }} - {{ task.status|upper }}

Attempts: {{ task.attempts }}/{{ task.max_attempts }} | Updated: {{ task.updated_at }}

{% if task.error %}

{{ task.error }}

{% endif %}
{% endfor %} {% endif %}
{% if shops %} {% for shop in shops %} {% endfor %}
ID Name Code Status Verified Admins Actions
{{ shop.id }} {{ shop.name }} {{ shop.code }} {{ shop.status or 'pending' }} {{ 'Yes' if shop.verified else 'No' }} {{ shop.admin_count }} Manage
{% else %}

No shops registered yet.

{% endif %} Back to Admin {% endblock %}