>
                                <td>{{ settlement.date.strftime('%Y-%m-%d') }}</td>
                                <td>{{ settlement.description }}</td>
                                <td>
                                    {% if settlement.payer_id == current_user_id %}
                                        <span class="badge bg-primary">You</span>
                                    {% else %}
                                        {{ settlement.payer.name }}
                                    {%