{"id":119,"date":"2023-03-20T10:05:36","date_gmt":"2023-03-20T08:05:36","guid":{"rendered":"https:\/\/bello.ee\/hanna-nails\/?page_id=119"},"modified":"2023-03-20T10:09:33","modified_gmt":"2023-03-20T08:09:33","slug":"cancellation-confirmation","status":"publish","type":"page","link":"https:\/\/bello.ee\/hanna-nails\/cancellation-confirmation\/","title":{"rendered":"Cancellation confirmation"},"content":{"rendered":"\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"has-text-align-center wp-block-heading\" id=\"hanna-nails\">Hanna Nails<\/h2>\n\n\n\n<p class=\"has-text-align-center company-mob\"><a href=\"https:\/\/ello.ee\/p\/hanna-nails\/?utm_source=bello&amp;utm_medium=social-links\">Ello<\/a> <a href=\"https:\/\/www.facebook.com\/hannanailsee\/\">Facebook<\/a><\/p>\n\n\n\n<p><strong>\n<div role=\"navigation\" aria-label=\"Language Switcher\" class=\"wpml-ls-statics-shortcode_actions wpml-ls wpml-ls-legacy-list-horizontal\">\n\t<ul><li class=\"wpml-ls-slot-shortcode_actions wpml-ls-item wpml-ls-item-en wpml-ls-current-language wpml-ls-first-item wpml-ls-item-legacy-list-horizontal\">\n\t\t\t\t<a href=\"https:\/\/bello.ee\/hanna-nails\/\" hreflang=\"en\" lang=\"en\" class=\"wpml-ls-link\" aria-current=\"page\" aria-label=\"Switch to English\" title=\"Switch to English\">\n\t\t\t\t\t<span class=\"wpml-ls-native\">English<\/span><\/a>\n\t\t\t<\/li><li class=\"wpml-ls-slot-shortcode_actions wpml-ls-item wpml-ls-item-et wpml-ls-item-legacy-list-horizontal\">\n\t\t\t\t<a href=\"https:\/\/bello.ee\/hanna-nails\/et\/\" hreflang=\"et\" lang=\"et\" class=\"wpml-ls-link\" aria-label=\"Switch to Eesti\" title=\"Switch to Eesti\">\n\t\t\t\t\t<span class=\"wpml-ls-native\">Eesti<\/span><\/a>\n\t\t\t<\/li><li class=\"wpml-ls-slot-shortcode_actions wpml-ls-item wpml-ls-item-ru wpml-ls-last-item wpml-ls-item-legacy-list-horizontal\">\n\t\t\t\t<a href=\"https:\/\/bello.ee\/hanna-nails\/ru\/\" hreflang=\"ru\" lang=\"ru\" class=\"wpml-ls-link\" aria-label=\"Switch to \u0420\u0443\u0441\u0441\u043a\u0438\u0439\" title=\"Switch to \u0420\u0443\u0441\u0441\u043a\u0438\u0439\">\n\t\t\t\t\t<span class=\"wpml-ls-native\">\u0420\u0443\u0441\u0441\u043a\u0438\u0439<\/span><\/a>\n\t\t\t<\/li><\/ul>\n<\/div>\n<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group confirmation-center\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\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:\\\/\\\/bello.ee\\\/hanna-nails\\\/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<\/div><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"has-text-align-center wp-block-heading\" id=\"kabinet\"><a href=\"https:\/\/bello.ee\/hanna-nails\/kabinet\/\" data-type=\"page\" data-id=\"13\">Kabinet<\/a><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>Hanna Nails Ello Facebook Kabinet<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-119","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bello.ee\/hanna-nails\/wp-json\/wp\/v2\/pages\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bello.ee\/hanna-nails\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bello.ee\/hanna-nails\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bello.ee\/hanna-nails\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bello.ee\/hanna-nails\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":2,"href":"https:\/\/bello.ee\/hanna-nails\/wp-json\/wp\/v2\/pages\/119\/revisions"}],"predecessor-version":[{"id":123,"href":"https:\/\/bello.ee\/hanna-nails\/wp-json\/wp\/v2\/pages\/119\/revisions\/123"}],"wp:attachment":[{"href":"https:\/\/bello.ee\/hanna-nails\/wp-json\/wp\/v2\/media?parent=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}