{% if not (highlighted_transactions or discrepant_records or unrecorded_activities) %} {% else %} {% if highlighted_transactions or discrepant_records or unrecorded_activities %}

Discrepancies

$
{{ discrepant_amount|currency }}
{% if discrepant_records %}

Discrepant Records

{% set plural = discrepant_records|length != 1 %} The following {% if plural %}activities were{% else %}activity was{% endif %} reported in the credit activity file and matched in the database, but the charge amount{%if plural %}s do{% else %} does{% endif %} not match:

{% include 'credit/statement_reconciliation/discrepant_records.html' %}
{% endif %} {% if unrecorded_activities %}

Unrecorded Activity

{% set plural = unrecorded_activities|length != 1 %} The following {% if plural %}activities were{% else %}activity was{% endif %} reported in the credit activity file, but {% if plural %}do{% else %}does{% endif %} not exist in the Monopyly database:

{% include 'credit/statement_reconciliation/unrecorded_activities.html' %}
{% endif %}
{% endif %} {% endif %}