{% extends "base.html" %} {% block title %}Currency Rate Master{% endblock %} {% block header %}Currency Rate Master{% endblock %} {% block content %}
{% set total_rows = rows|length if rows else 0 %} {% set available_count = available_currencies|length if available_currencies else 0 %}
Finance Configuration

Currency Rate Master

Maintain monthly INR conversion rates used for quotes, billing, reporting and revenue calculations.
Selected Month
{{ year }}-{{ "%02d"|format(month) }}
Rates Configured
{{ total_rows }}
Currency rates for selected month
Current Period
{{ "%02d"|format(month) }}/{{ year }}
Month currently loaded
Available Currencies
{{ available_count }}
Can be added for this month
Period Filter
Load Monthly Rates
Select a month and year to view or maintain conversion rates.
{{ year }}-{{ "%02d"|format(month) }}
Quick Actions
Add or Copy Rates
Add a single currency rate or copy all rates from the previous month.
Copy Previous Month
Use this when most monthly rates are unchanged. Existing rates may be updated depending on backend logic.
Add Currency Rate
Add a new currency rate for {{ year }}-{{ "%02d"|format(month) }}.
Rate Register
Rates for {{ year }}-{{ "%02d"|format(month) }}
Edit rates inline and save all changes together.
{{ total_rows }} Rate(s)
{% if rows %}
{% for r in rows %} {% set prev = prev_map.get(r.currency_code) %} {% endfor %}
# Currency Rate to INR Previous Month Updated At Action
{{ loop.index }} {{ r.currency_code[:1] }} {{ r.currency_code }} {% if prev %} {{ prev.rate_to_inr }} {% else %} — {% endif %}
{% if r.updated_at %} {{ r.updated_at.strftime("%d-%m-%Y %I:%M %p") }} {% else %} — {% endif %}
Changes are saved only after clicking Save All Changes.
{% else %}
No rates found for this month
Add a currency row or copy rates from the previous month to get started.
{% endif %}
{% endblock %}