heckbox);
            label.appendChild(document.createTextNode(reason.name));
            reasonOptionsDiv.appendChild(label);
        });

        const selectAllCheckbox = document.getElementById('selectAll');
        selectAllCheckbox.addEventListener('change', () => {
            const checkboxes = document.querySelectorAll('input[name="reason"]');
            checkboxes.forEach(checkbox => {
                checkbox.checked = selectAllCheckbox.checked;
            });
        });

        reasonOption