<commit_before><table class="table table-condensed table-hover table-responsive table-sortable">
    <thead>
    <tr>
        {% if showCategory or showBudget %}
            <td colspan="7" class="no-margin-pagination">{{ groups.links('pagination.bootstrap-4')|raw }}</td>
        {% else %}
            <td colspan="6" class="no-margin-pagination">{{ groups.links('pagination.bootstrap-4')|raw }}</td>
        {% endif %}
        <td colspan="1" class="hidden-xs">
            <!-- Single button -->
            <div class="btn-group btn-group-xs action-menu pull-right" style="display: none;">
                <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"
                        aria-haspopup="true" aria-expanded="false">
                    {{ 'actions'|_ }} <span class="caret"></span>
                </button>
                <ul class="dropdown-menu dropdown-menu-right">
                    <li><a href="#" class="mass-edit"><span class="fa fa-fw fa-pencil"></span>
                            <span class="txt">{{ 'mass_edit'|_ }}</span></a></li>
                    <li><a href="#" class="bulk-edit"><span class="fa fa-fw fa-pencil-square-o"></span>
                            <span class="txt">{{ 'bulk_edit'|_ }}</span></a></li>
                    <li><a href="#" class="mass-delete"><span class="fa fa-fw fa-trash"></span>
                            <span class="txt">{{ 'mass_delete'|_ }}</span></a></li>
                </ul>
            </div>
        </td>
        <td colspan="1" class="hidden-xs">
            <div class="pull-right">
                <input id="list_ALL" value="1" name="select-all" type="checkbox" class="select-all form-check-inline"/>
            </div>
        </td>
    </tr>
    <tr>
        <th class="hidden-xs">&nbsp;</th>
        <th>{{ trans('list.description') }}</th>
        <th>{{ trans('list.amount') }}</th>
        <th class="hidden-xs">{{ trans('list.date') }}</th>
        <th>{{ trans('list.source_account') }}</th>
        <th>{{ trans('list.destination_account') }}</th>
        {% if showCategory %}
            <th class="hidden-xs">{{ trans('list.category') }}</th>
        {% endif %}
        {% if showBudget %}
            <th class="hidden-xs">{{ trans('list.budget') }}</th>
        {% endif %}
        <th class="hidden-xs">&nbsp;</th><!-- actions -->
        <th class="hidden-xs">&nbsp;</th><!-- checkbox -->
    </tr>
    </thead>
    <tbody>
    {% for group in groups %}
        {% if group.count > 1 %}
            <tr style="border-top:1px #aaa solid;" class="unsortable">
                <td colspan="2" style="border-top:1px #aaa solid;">
                    <small><strong>
                            <a href="{{ route('transactions.show', [group.id]) }}"
                               title="{{ group.title }}">{{ group.title }}</a>
                        </strong></small>
                </td>
                <td colspan="1" style="text-align:right;border-top:1px #aaa solid;">
                    {% for sum in group.sums %}
                        {% if group.transaction_type == 'Deposit' %}
                            {{ formatAmountBySymbol(sum.amount*-1, sum.currency_symbol, sum.currency_decimal_places) }}{% if loop.index != group.sums|length %},{% endif %}
                        {% elseif group.transaction_type == 'Transfer' %}
                            <span class="text-info">
                            {{ formatAmountBySymbol(sum.amount*-1, sum.currency_symbol, sum.currency_decimal_places, false) }}{% if loop.index != group.sums|length %},{% endif %}X
                            </span>
                        {% else %}
                    {{ formatAmountBySymbol(sum.amount, sum.currency_symbol, sum.currency_decimal_places) }}{% if loop.index != group.sums|length %},{% endif %}
                        {% endif %}
                    {% endfor %}
                </td>
                <!-- column to span accounts + extra fields -->
                {% if showCategory or showBudget %}
                    <td style="border-top:1px #aaa solid;" colspan="3">&nbsp;</td>
                {% else %}
                    <td style="border-top:1px #aaa solid;" colspan="2">&nbsp;</td>
                {% endif %}
                <td style="border-top:1px #aaa solid;" colspan="2" class="hidden-xs">
                    <div class="btn-group btn-group-xs pull-right">
                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
                                aria-haspopup="true" aria-expanded="false">
                            {{ 'actions'|_ }} <span class="caret"></span></button>
                        <ul class="dropdown-menu dropdown-menu-right" role="menu">
                            <li><a href="{{ route('transactions.edit', [group.id]) }}"><span
                                            class="fa fa-fw fa-pencil"></span> {{ 'edit'|_ }}</a></li>
                            <li><a href="{{ route('transactions.delete', [group.id]) }}"><span
                                            class="fa fa-fw fa-trash"></span> {{ 'delete'|_ }}</a></li>
                            <li><a href="#" data-id="{{ group.id }}" class="clone-transaction"><span
                                            class="fa fa-copy fa-fw"></span> {{ 'clone'|_ }}</a></li>
                        </ul>
                    </div>
                </td>
                <td style="border-top:1px #aaa solid;" class="hidden-xs">&nbsp;</td>
            </tr>
        {% endif %}
        {% for index, transaction in group.transactions %}
            {% set style="text-align:right;" %}
            {% if group.transactions|length == loop.index and group.count > 1 %}
                {% set style="text-align:right;border-bottom:1px #aaa solid;" %}
            {% endif %}
            <tr data-date="{{ transaction.date.format('Y-m-d') }}" data-count="{{ group.count }}" data-id="{{ group.id }}">
                <td style=" {{ style|raw }}" class="hidden-xs">
                    {% if transaction.transaction_type_type == 'Withdrawal' %}
                        <span class="object-handle fa fa-long-arrow-left fa-fw" title="{{ trans('firefly.Withdrawal') }}"></span>
                    {% endif %}

                    {% if transaction.transaction_type_type == 'Deposit' %}
                        <span class="object-handle fa fa-long-arrow-right fa-fw" title="{{ trans('firefly.Deposit') }}"></span>
                    {% endif %}

                    {% if transaction.transaction_type_type == 'Transfer' %}
                        <span class="object-handle fa fa-exchange fa-fw" title="{{ trans('firefly.Transfer') }}"></span>
                    {% endif %}<commit_msg>Fix style<commit_after><table class="table table-condensed table-hover table-responsive table-sortable">
    <thead>
    <tr>
        {% if showCategory or showBudget %}
            <td colspan="7" class="no-margin-pagination">{{ groups.links('pagination.bootstrap-4')|raw }}</td>
        {% else %}
            <td colspan="6" class="no-margin-pagination">{{ groups.links('pagination.bootstrap-4')|raw }}</td>
        {% endif %}
        <td colspan="1" class="hidden-xs">
            <!-- Single button -->
            <div class="btn-group btn-group-xs action-menu pull-right" style="display: none;">
                <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"
                        aria-haspopup="true" aria-expanded="false">
                    {{ 'actions'|_ }} <span class="caret"></span>
                </button>
                <ul class="dropdown-menu dropdown-menu-right">
                    <li><a href="#" class="mass-edit"><span class="fa fa-fw fa-pencil"></span>
                            <span class="txt">{{ 'mass_edit'|_ }}</span></a></li>
                    <li><a href="#" class="bulk-edit"><span class="fa fa-fw fa-pencil-square-o"></span>
                            <span class="txt">{{ 'bulk_edit'|_ }}</span></a></li>
                    <li><a href="#" class="mass-delete"><span class="fa fa-fw fa-trash"></span>
                            <span class="txt">{{ 'mass_delete'|_ }}</span></a></li>
                </ul>
            </div>
        </td>
        <td colspan="1" class="hidden-xs">
            <div class="pull-right">
                <input id="list_ALL" value="1" name="select-all" type="checkbox" class="select-all form-check-inline"/>
            </div>
        </td>
    </tr>
    <tr>
        <th class="hidden-xs">&nbsp;</th>
        <th>{{ trans('list.description') }}</th>
        <th>{{ trans('list.amount') }}</th>
        <th class="hidden-xs">{{ trans('list.date') }}</th>
        <th>{{ trans('list.source_account') }}</th>
        <th>{{ trans('list.destination_account') }}</th>
        {% if showCategory %}
            <th class="hidden-xs">{{ trans('list.category') }}</th>
        {% endif %}
        {% if showBudget %}
            <th class="hidden-xs">{{ trans('list.budget') }}</th>
        {% endif %}
        <th class="hidden-xs">&nbsp;</th><!-- actions -->
        <th class="hidden-xs">&nbsp;</th><!-- checkbox -->
    </tr>
    </thead>
    <tbody>
    {% for group in groups %}
        {% if group.count > 1 %}
            <tr style="border-top:1px #aaa solid;" class="unsortable">
                <td colspan="2" style="border-top:1px #aaa solid;">
                    <small><strong>
                            <a href="{{ route('transactions.show', [group.id]) }}"
                               title="{{ group.title }}">{{ group.title }}</a>
                        </strong></small>
                </td>
                <td colspan="1" style="text-align:right;border-top:1px #aaa solid;">
                    {% for sum in group.sums %}
                        {% if group.transaction_type == 'Deposit' %}
                            {{ formatAmountBySymbol(sum.amount*-1, sum.currency_symbol, sum.currency_decimal_places) }}{% if loop.index != group.sums|length %},{% endif %}
                        {% elseif group.transaction_type == 'Transfer' %}
                            <span class="text-info">
                            {{ formatAmountBySymbol(sum.amount*-1, sum.currency_symbol, sum.currency_decimal_places, false) }}{% if loop.index != group.sums|length %},{% endif %}X
                            </span>
                        {% else %}
                    {{ formatAmountBySymbol(sum.amount, sum.currency_symbol, sum.currency_decimal_places) }}{% if loop.index != group.sums|length %},{% endif %}
                        {% endif %}
                    {% endfor %}
                </td>
                <!-- column to span accounts + extra fields -->
                {% if showCategory or showBudget %}
                    <td style="border-top:1px #aaa solid;" colspan="3">&nbsp;</td>
                {% else %}
                    <td style="border-top:1px #aaa solid;" colspan="2">&nbsp;</td>
                {% endif %}
                <td style="border-top:1px #aaa solid;" colspan="2" class="hidden-xs">
                    <div class="btn-group btn-group-xs pull-right">
                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
                                aria-haspopup="true" aria-expanded="false">
                            {{ 'actions'|_ }} <span class="caret"></span></button>
                        <ul class="dropdown-menu dropdown-menu-right" role="menu">
                            <li><a href="{{ route('transactions.edit', [group.id]) }}"><span
                                            class="fa fa-fw fa-pencil"></span> {{ 'edit'|_ }}</a></li>
                            <li><a href="{{ route('transactions.delete', [group.id]) }}"><span
                                            class="fa fa-fw fa-trash"></span> {{ 'delete'|_ }}</a></li>
                            <li><a href="#" data-id="{{ group.id }}" class="clone-transaction"><span
                                            class="fa fa-copy fa-fw"></span> {{ 'clone'|_ }}</a></li>
                        </ul>
                    </div>
                </td>
                <td style="border-top:1px #aaa solid;" class="hidden-xs">&nbsp;</td>
            </tr>
        {% endif %}
        {% for index, transaction in group.transactions %}
            {% set style="" %}
            {% if group.transactions|length == loop.index and group.count > 1 %}
                {% set style="border-bottom:1px #aaa solid;" %}
            {% endif %}
            <tr data-date="{{ transaction.date.format('Y-m-d') }}" data-count="{{ group.count }}" data-id="{{ group.id }}">
                <td style=" {{ style|raw }};text-align:right;" class="hidden-xs">
                    {% if transaction.transaction_type_type == 'Withdrawal' %}
                        <span class="object-handle fa fa-long-arrow-left fa-fw" title="{{ trans('firefly.Withdrawal') }}"></span>
                    {% endif %}

                    {% if transaction.transaction_type_type == 'Deposit' %}
                        <span class="object-handle fa fa-long-arrow-right fa-fw" title="{{ trans('firefly.Deposit') }}"></span>
                    {% endif %}

                    {% if transaction.transaction_type_type == 'Transfer' %}
                        <span class="object-handle fa fa-exchange fa-fw" title="{{ trans('firefly.Transfer') }}"></span>
                    {% endif %}
{'fraction_non_alphanumeric': 0.18474726574046704, 'fraction_numerical': 0.0035471475022169673, 'mean_word_length': 1.6416162404840913, 'pattern_counts': {'":': 0, '<': 265, '<?xml version=': 0, '>': 269, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4916778', 'n_tokens_mistral': 3958, 'n_tokens_neox': 3609, 'n_words': 736}