{% extends "base.html" %} {% block title %}Sync Logs{% endblock %} {% block content %}
Filters
Clear Filters
{% if logs %}
{% for log in logs %} {% if log.error_message %} {% endif %} {% endfor %}
Sync ID Client ID Operation Type Status Bets Processed Bets New Stats Processed Stats New Stats Updated Total Payin Total Payout Net Profit Processing Time Created At IP Address
{{ log.sync_id }} {{ log.client_id }} {{ log.operation_type|replace('_', ' ')|title }} {% if log.status == 'success' %} Success {% else %} Failed {% endif %} {{ log.bets_processed }} {{ log.bets_new }} {{ log.stats_processed }} {{ log.stats_new }} {{ log.stats_updated }} {{ "{:,.2f}".format(log.total_payin) if log.total_payin else '0.00' }} {{ "{:,.2f}".format(log.total_payout) if log.total_payout else '0.00' }} {{ "{:,.2f}".format(log.net_profit) if log.net_profit else '0.00' }} {{ log.processing_time_ms }}ms {{ log.created_at.strftime('%Y-%m-%d %H:%M:%S') if log.created_at else '' }} {{ log.ip_address or '-' }}
Error: {{ log.error_message }} {% if log.error_details %}
{{ log.error_details }} {% endif %}
{% if pagination and pagination.pages > 1 %}

Showing {{ pagination.per_page * (pagination.page - 1) + 1 }} to {{ min(pagination.per_page * pagination.page, pagination.total) }} of {{ pagination.total }} logs

{% endif %} {% else %}

No sync logs found

Try adjusting your filters or wait for clients to sync reports.

{% endif %}
{% endblock %}