<commit_before>{% set translationDomain = "report-accounts" %}
{% trans_default_domain translationDomain %}

{% embed "AppBundle:Components/Listing:_card_item.html.twig" %}
    {% block card %}
        <div class="account card-title">{{ account.bank }} {{ account.accountType }}</div>
        <dl class="labelvalue">
            <dt class="label">{{ 'banks.accountNumber' | trans({}, translationDomain) }}:</dt>
            <dd class="value">****{{ account.accountNumber }}</dd>
            <dt class="label">{{ 'banks.sortCode' | trans({}, translationDomain) }}:</dt>
            <dd class="value">{{ account.sortCode }}</dd>
        </dl>
    {% endblock %}
    {% block meta %}
        <dl class="labelvalue">
            <dt class="label">{{ 'banks.balanceOn' | trans({}, translationDomain) }} {{ report.startDate | date("j M Y") }}:</dt>
            <dd class="value">£{{ account.openingBalance == null ? '—,-' : (account.openingBalance | money_format) }}
            </dd>
            <dt class="label">{{ 'banks.balanceOn' | trans({}, translationDomain) }} {{ report.endDate | date("j M Y") }}:</dt>
            {% if account.closingBalance == null %}
              <dd class="value unknown">
                  {{ 'banks.balanceUnknown' | trans({}, translationDomain) }}
              </dd>
            {% else %}
              <dd class="value">
                £
                {{ account.closingBalance | money_format }}
              </dd>
            {% endif %}
            
        </dl>
        <a class="edit-link behat-link-account-{{ account.accountNumber }}" href="{{ path('edit_account' , {'reportId': report.id, 'id': account.id}) }}">Edit this account</a>
        
        {% if account.closingBalance == null %}
        <div class="warning">
            <span class="icon icon__notification_yellow_small"></span>
            <p>{{ 'banks.balanceMissingWarning' | trans({
                '%date%': report.endDate | date("j M Y")
            }, translationDomain)}}</p>
        </div>
        {% endif %}
       
    {% endblock %}
{% endembed %}
<commit_msg>dd-1346-money-format remove space<commit_after>{% set translationDomain = "report-accounts" %}
{% trans_default_domain translationDomain %}

{% embed "AppBundle:Components/Listing:_card_item.html.twig" %}
    {% block card %}
        <div class="account card-title">{{ account.bank }} {{ account.accountType }}</div>
        <dl class="labelvalue">
            <dt class="label">{{ 'banks.accountNumber' | trans({}, translationDomain) }}:</dt>
            <dd class="value">****{{ account.accountNumber }}</dd>
            <dt class="label">{{ 'banks.sortCode' | trans({}, translationDomain) }}:</dt>
            <dd class="value">{{ account.sortCode }}</dd>
        </dl>
    {% endblock %}
    {% block meta %}
        <dl class="labelvalue">
            <dt class="label">{{ 'banks.balanceOn' | trans({}, translationDomain) }} {{ report.startDate | date("j M Y") }}:</dt>
            <dd class="value">£{{ account.openingBalance == null ? '—,-' : (account.openingBalance | money_format) }}
            </dd>
            <dt class="label">{{ 'banks.balanceOn' | trans({}, translationDomain) }} {{ report.endDate | date("j M Y") }}:</dt>
            {% if account.closingBalance == null %}
              <dd class="value unknown">
                  {{ 'banks.balanceUnknown' | trans({}, translationDomain) }}
              </dd>
            {% else %}
              <dd class="value">
                £{{ account.closingBalance | money_format }}
              </dd>
            {% endif %}
            
        </dl>
        <a class="edit-link behat-link-account-{{ account.accountNumber }}" href="{{ path('edit_account' , {'reportId': report.id, 'id': account.id}) }}">Edit this account</a>
        
        {% if account.closingBalance == null %}
        <div class="warning">
            <span class="icon icon__notification_yellow_small"></span>
            <p>{{ 'banks.balanceMissingWarning' | trans({
                '%date%': report.endDate | date("j M Y")
            }, translationDomain)}}</p>
        </div>
        {% endif %}
       
    {% endblock %}
{% endembed %}

{'fraction_non_alphanumeric': 0.1894357743097239, 'fraction_numerical': 0.0009603841536614646, 'mean_word_length': 2.2572322126661453, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7588806', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1153, 'n_words': 252}