valid_button">Mark as Invalid</button>
                {% endif %}

                <!-- INVALID BUTTON MODAL -->
                <div class="modal fade" id="invalid_button" data-bs-backdrop="static"
                    data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel"
                    aria-hidden="true">
                    {% if reportstatus != 'Not Valid' %}
                    <div class="modal-dialog modal-dialog-centered">
                        <div class="moda