{"id":142,"date":"2019-01-17T14:23:51","date_gmt":"2019-01-17T14:23:51","guid":{"rendered":"https:\/\/listeo.staging.wpengine.com\/?page_id=841"},"modified":"2019-01-17T14:23:51","modified_gmt":"2019-01-17T14:23:51","slug":"my-bookings","status":"publish","type":"page","link":"https:\/\/bookentolk.dk\/en\/my-bookings\/","title":{"rendered":"My Bookings"},"content":{"rendered":"<link rel=\"stylesheet\" href=\"https:\/\/bookentolk.dk\/wp-content\/plugins\/listeo-core\/templates\/booking\/bookings-modern.css?ver=1784102504\">\n\n<div class=\"lstb-bookings lstb-list-view\" data-role=\"user\">\n\n\t<!-- Filter \/ tabs bar -->\n\t<div class=\"lstb-bar\">\n\n\t\t<!-- Status tabs -->\n\t\t<div class=\"lstb-tabs\">\n\t\t\t\t\t\t\t\t<button type=\"button\" class=\"lstb-tab is-active\" data-tab=\"all\">\n\t\t\t\t\t\tAll\t\t\t\t\t\t<span class=\"lstb-tab-count\">1<\/span>\n\t\t\t\t\t<\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"lstb-tab\" data-tab=\"pending\">\n\t\t\t\t\t\tPending\t\t\t\t\t\t<span class=\"lstb-tab-count\">0<\/span>\n\t\t\t\t\t<\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"lstb-tab\" data-tab=\"approved\">\n\t\t\t\t\t\tApproved\t\t\t\t\t\t<span class=\"lstb-tab-count\">0<\/span>\n\t\t\t\t\t<\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"lstb-tab\" data-tab=\"cancelled\">\n\t\t\t\t\t\tCancelled\t\t\t\t\t\t<span class=\"lstb-tab-count\">1<\/span>\n\t\t\t\t\t<\/button>\n\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t<!-- Filters (JS hooks must match bookings.js) -->\n\t\t<div class=\"lstb-filters\">\n\n\t\t\t<!-- Date Range -->\n\t\t\t<div id=\"booking-date-range-enabler\" class=\"lstb-datepick\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8 2v4\"><\/path><path d=\"M16 2v4\"><\/path><rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\"><\/rect><path d=\"M3 10h18\"><\/path><\/svg>\n\t\t\t\t<span>Pick a Date<\/span>\n\t\t\t<\/div>\n\t\t\t<div id=\"booking-date-range\" class=\"lstb-datepick\" style=\"display:none;\">\n\t\t\t\t<span><\/span>\n\t\t\t<\/div>\n\n\t\t\t\t\t\t\t<input type=\"hidden\" id=\"dashboard_type\" name=\"dashboard_type\" value=\"user\">\n\t\t\t\n\t\t\t<!-- Status value consumed by bookings.js. Driven by the tabs above. -->\n\t\t\t<input type=\"hidden\" id=\"listing_status\" value=\"show_all\">\n\n\t\t\t\t\t<\/div>\n\t<\/div>\n\n\t\t<div class=\"dashboard-list-box lstb-listbox\">\n\n\t\t<i class=\"fa fa-circle-o-notch fa-spin booking-loading-icon\" style=\"display:none;\"><\/i>\n\n\t\t\t\t<ul id=\"no-bookings-information\" class=\"lstb-empty\" style=\"display:none;\">\n\t\t\tWe haven&#039;t found any bookings for that criteria\t\t<\/ul>\n\n\t\t\t\t\t<ul id=\"booking-requests\" class=\"lstb-list\">\n\t\t\t\t<div class=\"lstb-card\" data-status-group=\"cancelled\" id=\"booking-list-13\">\n\n\t<!-- top row -->\n\t<div class=\"lstb-card-top\">\n\t\t<div class=\"lstb-card-id\">\n\t\t\t<a href=\"https:\/\/bookentolk.dk\/en\/author\/admin\/\" class=\"lstb-avatar\"><img alt='' src='https:\/\/secure.gravatar.com\/avatar\/67fb89ce138b32af77db195f0250e41ab89341256a9ce28e8d8209f405771023?s=52&#038;d=initials&#038;r=g&#038;initials=MA' srcset='https:\/\/secure.gravatar.com\/avatar\/67fb89ce138b32af77db195f0250e41ab89341256a9ce28e8d8209f405771023?s=104&#038;d=initials&#038;r=g&#038;initials=MA 2x' class='avatar avatar-52 photo' height='52' width='52' \/><\/a>\n\t\t\t<div style=\"min-width:0;\">\n\t\t\t\t<div class=\"lstb-card-title\"><a href=\"https:\/\/bookentolk.dk\/en\/my-bookings\/?booking=UwClmqE4SOQ8hC_CHWQKWg\">Margrethe Malgorzata<\/a><\/div>\n\t\t\t\t<div class=\"lstb-card-sub\">\n\t\t\t\t\tID #13\t\t\t\t\t\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<div class=\"lstb-badges\">\n\t\t\t<span class=\"lstb-badge lstb-badge-cancelled\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"><\/circle><line x1=\"12\" x2=\"12\" y1=\"8\" y2=\"12\"><\/line><line x1=\"12\" x2=\"12.01\" y1=\"16\" y2=\"16\"><\/line><\/svg>Expired<\/span>\n\t\t\t\t\t\t\t<span class=\"lstb-badge \">Unpaid<\/span>\n\t\t\t\t\t<\/div>\n\t<\/div>\n\n\t<!-- meta strip -->\n\t<div class=\"lstb-meta\">\n\t\t<div class=\"lstb-meta-block\">\n\t\t\t<div class=\"lstb-meta-label\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8 2v4\"><\/path><path d=\"M16 2v4\"><\/path><rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\"><\/rect><path d=\"M3 10h18\"><\/path><\/svg>Booking Date<\/div>\n\t\t\t<div class=\"lstb-meta-value\">16. June 2026<\/div>\n\t\t\t<div class=\"lstb-meta-sub\">09:30 &ndash; 12:00<\/div>\t\t<\/div>\n\t\t<div class=\"lstb-meta-block\">\n\t\t\t<div class=\"lstb-meta-label\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"><\/path><circle cx=\"12\" cy=\"7\" r=\"4\"><\/circle><\/svg>Host<\/div>\n\t\t\t<div class=\"lstb-meta-value\"><a href=\"https:\/\/bookentolk.dk\/en\/author\/admin\/\">Margrethe Malgorzata Admin<\/a><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"lstb-meta-block is-price\">\n\t\t\t\t<div class=\"lstb-meta-label\">Total Price<\/div>\n\t\t\t\t<div class=\"lstb-price\">DKK 2,500.00<\/div>\n\t\t\t<\/div>\n\t\t\t<\/div>\n\n\t<!-- footer -->\n\t<div class=\"lstb-foot\">\n\t\t<span class=\"lstb-foot-meta\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"13\" height=\"13\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"22\" y1=\"2\" x2=\"11\" y2=\"13\"><\/line><polygon points=\"22 2 15 22 11 13 2 9 22 2\"><\/polygon><\/svg>Requested on 14. June 2026 at 20:15<\/span>\n\t\t<div class=\"lstb-actions\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/bookentolk.dk\/en\/my-bookings\/?booking=UwClmqE4SOQ8hC_CHWQKWg\" class=\"lstb-btn lstb-btn-ghost\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"><\/path><\/svg>Message<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"lstb-btn lstb-btn-danger delete\" data-booking_id=\"13\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 6h18\"><\/path><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\"><\/path><\/svg>Delete<\/a>\n\t\t\t\t\t\t<a href=\"https:\/\/bookentolk.dk\/en\/my-bookings\/?booking=UwClmqE4SOQ8hC_CHWQKWg\" class=\"lstb-btn lstb-btn-primary\">View Details<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\"><\/line><polyline points=\"12 5 19 12 12 19\"><\/polyline><\/svg><\/a>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\t\t\t<\/ul>\n\t\t\n\t<\/div>\n\n\t<div class=\"pagination-container\">\n\t\t\t<\/div>\n\n\t<\/div>\n\n<script>\n( function () {\n\tvar root = document.currentScript ? document.currentScript.previousElementSibling : null;\n\t\/\/ Fallback: grab the last rendered list view.\n\tif ( ! root || ! root.classList || ! root.classList.contains( 'lstb-bookings' ) ) {\n\t\tvar nodes = document.querySelectorAll( '.lstb-list-view' );\n\t\troot = nodes.length ? nodes[ nodes.length - 1 ] : null;\n\t}\n\tif ( ! root ) {\n\t\treturn;\n\t}\n\n\t\/\/ Owner tabs are plain ?status= links (handled by a full reload); only the\n\t\/\/ guest view filters client-side here.\n\tif ( root.getAttribute( 'data-role' ) !== 'user' ) {\n\t\treturn;\n\t}\n\n\tvar tabs = root.querySelectorAll( '.lstb-tab' );\n\n\tfunction setActive( tab ) {\n\t\ttabs.forEach( function ( t ) { t.classList.remove( 'is-active' ); } );\n\t\ttab.classList.add( 'is-active' );\n\t}\n\n\tvar emptyBox = root.querySelector( '#no-bookings-information' );\n\n\ttabs.forEach( function ( tab ) {\n\t\ttab.addEventListener( 'click', function () {\n\t\t\tsetActive( tab );\n\t\t\tvar group = tab.getAttribute( 'data-tab' );\n\t\t\tvar cards = root.querySelectorAll( '#booking-requests > .lstb-card' );\n\t\t\tvar visible = 0;\n\t\t\tcards.forEach( function ( card ) {\n\t\t\t\tvar g = card.getAttribute( 'data-status-group' );\n\t\t\t\tvar show = ( group === 'all' || g === group );\n\t\t\t\tcard.style.display = show ? '' : 'none';\n\t\t\t\tif ( show ) { visible++; }\n\t\t\t} );\n\t\t\t\/\/ Show the \"no bookings match\" box when the active filter is empty.\n\t\t\tif ( emptyBox ) {\n\t\t\t\temptyBox.style.display = visible ? 'none' : '';\n\t\t\t}\n\t\t} );\n\t} );\n}() );\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-dashboard.php","meta":{"footnotes":""},"class_list":["post-142","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bookentolk.dk\/en\/wp-json\/wp\/v2\/pages\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bookentolk.dk\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bookentolk.dk\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bookentolk.dk\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bookentolk.dk\/en\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":0,"href":"https:\/\/bookentolk.dk\/en\/wp-json\/wp\/v2\/pages\/142\/revisions"}],"wp:attachment":[{"href":"https:\/\/bookentolk.dk\/en\/wp-json\/wp\/v2\/media?parent=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}