{"id":8965,"date":"2021-05-02T01:49:14","date_gmt":"2021-05-01T23:49:14","guid":{"rendered":"https:\/\/balidra-giff.neto2.net\/mon-compte\/"},"modified":"2023-07-01T00:01:40","modified_gmt":"2023-06-30T22:01:40","slug":"mon-compte","status":"publish","type":"page","link":"https:\/\/balidra-giff.neto2.net\/de\/mon-compte\/","title":{"rendered":"Mon compte"},"content":{"rendered":"\n<div\n    id=\"tkt-user-account\"\n    class=\"tkt-wrapper\"\n    data-component=\"User\/UserAccount\"\n    data-tab=\"orders\"\n>\n    <div id=\"tkt-user-account-menu\">\n        <i class=\"tkt-icon-spinner tkt-2x tkt-spin\"><\/i>\n    <\/div>\n\n    <div id=\"tkt-user-account-content\"><\/div>\n\n    <div id=\"tkt-user-account-verify-message\" class=\"text-danger text-center\" style=\"display: none;\">\n        Ihr Konto ist nicht aktiviert.<br\/>\n        <b>Bitte aktivieren Sie sie, indem Sie auf den Link klicken, den Sie per E-Mail erhalten haben.<\/b><br \/>\n    <\/div>\n\n    <div class=\"row\">\n        <div class=\"col-md-12 text-center mt-3\">\n            <div style=\"display: none;\" class=\"text-center alert alert-info info-msg\"><\/div>\n            <div style=\"display: none;\" class=\"text-center alert alert-danger error-msg\"><\/div>\n            <div style=\"display: none;\" class=\"text-center alert alert-success success-msg\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<!-- Underscore.js templates used by client side -->\n<script type=\"text\/template\" id=\"tkt-user-account-menu-tpl\">\n    \n<div class=\"tkt-wrapper\">\n    <section class=\"tkt-section tkt-light-section tkt-user-account-menu-section\">\n        <div class=\"row\">\n                    <div class=\"col-6 col-sm-2\">\n                <div class=\"tkt-account-menu-entry active\">\n    <a href=\"?tab=orders\">\n        <i class=\"tkt-icon-cart-arrow-down tkt-3x\"><\/i>\n        <span>\n            Meine Bestellungen        <\/span>\n    <\/a>\n<\/div>\n            <\/div>\n                    <div class=\"col-6 col-sm-2\">\n                <div class=\"tkt-account-menu-entry \">\n    <a href=\"?tab=tickets\">\n        <i class=\"tkt-icon-tags tkt-3x\"><\/i>\n        <span>\n            Meine Tickets        <\/span>\n    <\/a>\n<\/div>\n            <\/div>\n                    <div class=\"col-6 col-sm-2\">\n                <div class=\"tkt-account-menu-entry \">\n    <a href=\"?tab=votes\">\n        <i class=\"tkt-icon-star tkt-3x\"><\/i>\n        <span>\n            Meine Stimmen        <\/span>\n    <\/a>\n<\/div>\n            <\/div>\n                    <div class=\"col-6 col-sm-2\">\n                <div class=\"tkt-account-menu-entry \">\n    <a href=\"?tab=profile\">\n        <i class=\"tkt-icon-address-book tkt-3x\"><\/i>\n        <span>\n            Meine Informationen        <\/span>\n    <\/a>\n<\/div>\n            <\/div>\n                    <div class=\"col-6 col-sm-2\">\n                <div class=\"tkt-account-menu-entry \">\n    <a href=\"javascript:;\" class=\"logout-btn\">\n        <i class=\"tkt-icon-sign-out tkt-3x\"><\/i>\n        <span>\n            Abmelden        <\/span>\n    <\/a>\n<\/div>\n            <\/div>\n                <\/div>\n    <\/section>\n<\/div>\n<\/script>\n<script type=\"text\/template\" id=\"tkt-user-account-content-tpl\">\n    <%\nconst isVisibleOrder = order => {\n  let yesterday = new Date();\n  yesterday.setDate(yesterday.getDate() - 1);\n\n  let orderDate = new Date(order.created_at);\n  return (orderDate.getTime() > yesterday.getTime()) || (order.status === \"COMPLETED\");\n};\n%>\n\n<div id=\"tkt-account-content-profile\" class=\"tkt-wrapper\">\n    <div class=\"row\">\n        <div class=\"col-sm-12\">\n            <% if (!orders || orders.length == 0) { %>\n            <h3 class=\"text-info text-center mt-3\">\n                Sie haben noch keine Auftr\u00e4ge.            <\/h3>\n            <% } else { %>\n            <table class=\"table table-bordered tale-condensed table-striped table-hover\">\n                <tr>\n                    <th>#<\/th>\n                    <th>Datum<\/th>\n                    <th>Gesamtpreis<\/th>\n                    <th>Bezahlung<\/th>\n                    <th>Status<\/th>\n                <\/tr>\n                <% orders.reverse().filter(isVisibleOrder).map(function (order) { %>\n                <tr>\n                    <td>\n                        <b><%= order.id %><\/b>\n                    <\/td>\n                    <td>\n                        <%= order.getFormattedDate() %>\n                    <\/td>\n                    <td>\n                        <%= order.getFormattedTotal() %>\n                    <\/td>\n                    <td>\n                        <%= order.getFormattedPaymentMethod() %>\n                    <\/td>\n                    <td>\n                        <span class=\"badge badge-<%= order.getStatusColorClassname() %>\">\n                            <%= order.getFormattedStatus() %>\n                        <span>\n                    <\/td>\n                <\/tr>\n                <% }); %>\n            <\/table>\n            <% } %>\n        <\/div>\n    <\/div>\n<\/div>\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":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-8965","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/balidra-giff.neto2.net\/de\/wp-json\/wp\/v2\/pages\/8965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/balidra-giff.neto2.net\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/balidra-giff.neto2.net\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/balidra-giff.neto2.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/balidra-giff.neto2.net\/de\/wp-json\/wp\/v2\/comments?post=8965"}],"version-history":[{"count":0,"href":"https:\/\/balidra-giff.neto2.net\/de\/wp-json\/wp\/v2\/pages\/8965\/revisions"}],"wp:attachment":[{"href":"https:\/\/balidra-giff.neto2.net\/de\/wp-json\/wp\/v2\/media?parent=8965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}