turn;
        }

        const downloadUrl = "{% url 'settings:export_backup' '10000000000' %}".replace('10000000000', selectedBackupPk);

        const downloadAnchor = document.getElementById('downloadBackupButton');
        downloadAnchor.href = downloadUrl
    }
</script>
<script>
    async function toggleStatusPdf(checkbox, statusId) {
        const label = document.getElementById(statusId);
        const enabled = checkbox.checked;

        label.textContent = enabled ? 'Enabled' : 'Disabled';

      