
{"id":493,"date":"2020-12-11T18:19:40","date_gmt":"2020-12-11T15:19:40","guid":{"rendered":"http:\/\/jospa-sa.com\/confirm\/"},"modified":"2021-06-20T01:02:47","modified_gmt":"2021-06-19T22:02:47","slug":"confirm","status":"publish","type":"page","link":"https:\/\/jospa-sa.com\/en\/confirm\/","title":{"rendered":"Cancellation Confirmation"},"content":{"rendered":"<div id=\"bookly-tbs\" class=\"bookly-js-cancellation-confirmation\">\n            <div class=\"text-center\">\n            <div>\n                <i class=\"fa fa-fw fas fa-exclamation-triangle fa-2x text-danger\"><\/i> Oops!            <\/div>\n            <div>This appointment does not exist.<\/div>\n        <\/div>\n    <\/div>\n<script type=\"text\/javascript\">\n    \/\/ Click on 'Do not cancel' button\n    var links = document.getElementsByClassName('bookly-js-cancellation-confirmation-no');\n    for (var i = 0; i < links.length; i++) {\n        if (links[i].onclick == undefined) {\n            links[i].onclick = function (e) {\n                e.preventDefault();\n                var container = this.closest('.bookly-js-cancellation-confirmation'),\n                    buttons = container.getElementsByClassName('bookly-js-cancellation-confirmation-buttons')[0],\n                    message = container.getElementsByClassName('bookly-js-cancellation-confirmation-message')[0];\n                buttons.style.display = 'none';\n                message.style.display = 'inline';\n            };\n        }\n    }\n    \/\/ Click on 'Confirm cancellation' button\n    links = document.getElementsByClassName('bookly-js-cancellation-confirmation-yes');\n    for (i = 0; i < links.length; i++) {\n        if (links[i].onclick == undefined) {\n            links[i].onclick = function(e) {\n                e.preventDefault();\n                var url = this.href,\n                    $reason = this.closest('.bookly-js-cancellation-confirmation-buttons').querySelector('.bookly-js-cancellation-confirmation-reason');\n                if ($reason !== null) {\n                    url += String.fromCharCode(38) + 'reason=' + encodeURIComponent($reason.value)\n                }\n                window.location.replace(url)\n            };\n        }\n    }\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2235,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-493","page","type-page","status-publish","hentry"],"acf":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jospa-sa.com\/en\/wp-json\/wp\/v2\/pages\/493"}],"collection":[{"href":"https:\/\/jospa-sa.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jospa-sa.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jospa-sa.com\/en\/wp-json\/wp\/v2\/users\/2235"}],"replies":[{"embeddable":true,"href":"https:\/\/jospa-sa.com\/en\/wp-json\/wp\/v2\/comments?post=493"}],"version-history":[{"count":2,"href":"https:\/\/jospa-sa.com\/en\/wp-json\/wp\/v2\/pages\/493\/revisions"}],"predecessor-version":[{"id":497,"href":"https:\/\/jospa-sa.com\/en\/wp-json\/wp\/v2\/pages\/493\/revisions\/497"}],"wp:attachment":[{"href":"https:\/\/jospa-sa.com\/en\/wp-json\/wp\/v2\/media?parent=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}