{% load static %} Sync RPS from RT

Sync RPS from RT

Marks RechargePaymentSummary as Success when a matching RechargeTransaction is Success. (Latest → Old by default)

{% csrf_token %}
{% if result %}
Run Summary
Dry run: {{ result.dry_run }}
Order: {{ result.latest_first|yesno:"Latest→Old,Old→Latest" }}
Scanned: {{ result.scanned }}
Updated to Success: {{ result.updated_to_success }}
Skipped (no order_id): {{ result.skipped_no_order_id }}
{% if result.changes and result.changes|length > 0 %}
Changes ({{ result.changes|length }})
{% for line in result.changes %}- {{ line }}
{% endfor %}
{% endif %} {% endif %}