{% load i18n %}

{% trans "Payment Successful" %}

{% blocktrans with name=user.first_name %}Hi {{ name }},{% endblocktrans %}

{% trans "We're happy to confirm that your installment payment has been processed successfully!" %}

{% trans "Payment Details:" %}

{% blocktrans with num=payment.installment_number total=schedule.total_installments %} Installment: {{ num }} of {{ total }} {% endblocktrans %}
{% trans "Amount:" %} ${{ payment.amount|floatformat:2 }}
{% trans "Order #:" %} {{ order.id }}
{% trans "Transaction Reference:" %} {{ payment.transaction_reference }}
{% trans "Processed:" %} {{ payment.processed_at|date:"M d, Y H:i:s" }}

{% trans "Next Payment:" %}

{% trans "Amount:" %} ${{ schedule.installment_amount|floatformat:2 }}
{% trans "Due Date:" %} {{ schedule.next_payment_date|date:"M d, Y" }}
{% blocktrans with remaining=remaining %} Remaining Payments: {{ remaining }} {% endblocktrans %}

{% trans "Thank you for your payment! You can view your full payment schedule and manage your installments anytime from your account." %}

{% trans "If you have any questions or concerns, please don't hesitate to contact us." %}

{% trans "Best regards," %}
NexusMart Team