<script>
function saveDpoAction(requestId, statusId, remarkId) {
    var status = document.getElementById(statusId).value;
    var remark = document.getElementById(remarkId).value;
    if (!remark.trim()) { alert('Please enter an action taken.'); return; }
    var btn = event.target;
    btn.disabled = true;
    var data = new FormData();
    data.append('action', 'dsr_save_dpo_action');
    data.append('request_id', requestId);
    data.append('status', status);
    data.append('remark', remark);
    fetch(ajaxurl, { method: 'POST', credentials: 'same-origin', body: data })
        .then(r => r.json())
        .then(res => {
            if (res.success) {
                document.getElementById('dpo-action-table-' + requestId).innerHTML = res.data.table;
                document.getElementById(remarkId).value = '';
            } else {
                alert('Error: ' + (res.data || 'Unknown error'));
                console.log('AJAX error:', res);
            }
            btn.disabled = false;
        })
        .catch((e) => { alert('Network error'); btn.disabled = false; console.log('AJAX network error', e); });
}
</script>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://ezconverse.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://ezconverse.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://ezconverse.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://ezconverse.com/wp-sitemap-posts-stm_services-1.xml</loc></sitemap><sitemap><loc>https://ezconverse.com/wp-sitemap-posts-stm_testimonials-1.xml</loc></sitemap><sitemap><loc>https://ezconverse.com/wp-sitemap-posts-stm_sidebars-1.xml</loc></sitemap><sitemap><loc>https://ezconverse.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://ezconverse.com/wp-sitemap-taxonomies-service_category-1.xml</loc></sitemap><sitemap><loc>https://ezconverse.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
