{"id":212,"date":"2023-05-01T18:31:57","date_gmt":"2023-05-01T16:31:57","guid":{"rendered":"http:\/\/goformonaco.topmodelinternational.com\/?page_id=212"},"modified":"2023-08-21T20:09:34","modified_gmt":"2023-08-21T18:09:34","slug":"annulation-rdv","status":"publish","type":"page","link":"https:\/\/goformonaco.topmodelinternational.com\/index.php\/annulation-rdv\/","title":{"rendered":"ANNULATION RDV"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"212\" class=\"elementor elementor-212\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-58a80905 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"58a80905\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-667a1311\" data-id=\"667a1311\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-32c04fad elementor-widget elementor-widget-text-editor\" data-id=\"32c04fad\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><\/p>\n<div class=\"wp-block-bookly-cancellation-confirmation-\"><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    let booklyCancelConfirmationUrl = \"https:\\\/\\\/goformonaco.topmodelinternational.com\\\/wp-admin\\\/admin-ajax.php?action=bookly_cancel_appointment\";\n    \/\/ Click on 'Do not cancel' button\n    let 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 = booklyCancelConfirmationUrl + String.fromCharCode(38) + 'token=' + this.dataset.token,\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><\/div>\n<p><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-212","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/goformonaco.topmodelinternational.com\/index.php\/wp-json\/wp\/v2\/pages\/212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goformonaco.topmodelinternational.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/goformonaco.topmodelinternational.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/goformonaco.topmodelinternational.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/goformonaco.topmodelinternational.com\/index.php\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":9,"href":"https:\/\/goformonaco.topmodelinternational.com\/index.php\/wp-json\/wp\/v2\/pages\/212\/revisions"}],"predecessor-version":[{"id":278,"href":"https:\/\/goformonaco.topmodelinternational.com\/index.php\/wp-json\/wp\/v2\/pages\/212\/revisions\/278"}],"wp:attachment":[{"href":"https:\/\/goformonaco.topmodelinternational.com\/index.php\/wp-json\/wp\/v2\/media?parent=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}