{"id":332,"date":"2022-10-10T12:34:25","date_gmt":"2022-10-10T09:34:25","guid":{"rendered":"https:\/\/bello.ee\/devinette\/?page_id=332"},"modified":"2022-10-10T12:34:26","modified_gmt":"2022-10-10T09:34:26","slug":"cancellation","status":"publish","type":"page","link":"https:\/\/bello.ee\/devinette\/cancellation\/","title":{"rendered":"Cancellation"},"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\">Devinette Ilustuudio<\/h2>\n\n\n\n<p><strong>\n<div role=\"navigation\" aria-label=\"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u044f\u0437\u044b\u043a\u0430\" 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-first-item wpml-ls-item-legacy-list-horizontal\">\n\t\t\t\t<a href=\"https:\/\/bello.ee\/devinette\/en\/\" hreflang=\"en\" lang=\"en\" class=\"wpml-ls-link\" aria-label=\"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 English\" title=\"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 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\/devinette\/et\/\" hreflang=\"et\" lang=\"et\" class=\"wpml-ls-link\" aria-label=\"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 Eesti\" title=\"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 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-current-language wpml-ls-last-item wpml-ls-item-legacy-list-horizontal\">\n\t\t\t\t<a href=\"https:\/\/bello.ee\/devinette\/\" hreflang=\"ru\" lang=\"ru\" class=\"wpml-ls-link\" aria-current=\"page\" aria-label=\"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0420\u0443\u0441\u0441\u043a\u0438\u0439\" title=\"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \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 add-background\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-bookly-cancellation-confirmation-my-form-980\"><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> \u0423\u043f\u0441!            <\/div>\n            <div>\u042d\u0442\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/div>\n        <\/div>\n    <\/div>\n<script type=\"text\/javascript\">\n    let booklyCancelConfirmationUrl = \"https:\\\/\\\/bello.ee\\\/devinette\\\/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","protected":false},"excerpt":{"rendered":"<p>Devinette Ilustuudio<\/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-332","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bello.ee\/devinette\/wp-json\/wp\/v2\/pages\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bello.ee\/devinette\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bello.ee\/devinette\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bello.ee\/devinette\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bello.ee\/devinette\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":1,"href":"https:\/\/bello.ee\/devinette\/wp-json\/wp\/v2\/pages\/332\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/bello.ee\/devinette\/wp-json\/wp\/v2\/pages\/332\/revisions\/333"}],"wp:attachment":[{"href":"https:\/\/bello.ee\/devinette\/wp-json\/wp\/v2\/media?parent=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}