{"id":7684,"date":"2022-05-09T01:13:40","date_gmt":"2022-05-09T01:13:40","guid":{"rendered":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/poanghistorik\/"},"modified":"2024-12-04T05:15:00","modified_gmt":"2024-12-04T05:15:00","slug":"poanghistorik","status":"publish","type":"page","link":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/sv\/poanghistorik\/","title":{"rendered":"Dina po\u00e4ng"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"7684\" class=\"elementor elementor-7684 elementor-52\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9b49edd banner-main elementor-hidden-desktop elementor-hidden-tablet_extra elementor-hidden-tablet elementor-hidden-mobile elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9b49edd\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\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-43c54eb\" data-id=\"43c54eb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\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<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8c637ac sign-up-main elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8c637ac\" 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-99fc457\" data-id=\"99fc457\" 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-51aa468 heading-for-all elementor-widget elementor-widget-heading\" data-id=\"51aa468\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-xxl\">Dina po\u00e4ng<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8e72328 my-survew elementor-widget elementor-widget-shortcode\" data-id=\"8e72328\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>window.location.href= \"\/member-login\/\"; <\/script>\r\n<script>\r\n\n        const FROM_PATTERN = 'YYYY-MM-DDTHH:mm:ss.SSS';\n        const TO_PATTERN   = 'MM\/DD\/YYYY';\n\n        jQuery(document).ready(function() {\n            jQuery('#example').DataTable({\n                'data': ,\n                'columns': [\n                   \n                    {'data': 'Date', 'sTitle' : 'Datum ', 'render': function(data, type) {\n                return type === 'sort' ? data : moment(data).format('L');}\n                   },\n                    { 'data': 'Operation', 'sTitle': 'Debit\/Kredit' },\n                    { 'data': 'Points', 'sTitle': 'Po\u00e4ng' },\n                    { 'data': 'Message', 'sTitle': 'Beskrivning' },\n                ],\n                'language': {\n                    'paginate': {\n                        'next': 'Next',\n                        'previous': 'Previous'\n                    },\n                    'search': 'Search',\n                    'lengthMenu': 'Show _MENU_ entries'\n                },\n                'columnDefs': [\n                    {\n                        render: function(data){\n                            return moment(data).format(TO_PATTERN);\n                        },\n                        targets: [0]\n                    },\n                    {\n                        render: function (data, type, row){\n                            var d = '';\n                            if (data == 'Credit') d = 'Tj\u00e4nade po\u00e4ng';\n                            if (data == 'Debit') d = 'Points Redeemed';\n                            if (data == 'Profile completed points') d = 'Slutf\u00f6rda po\u00e4ng';\n                            return d;\n                        },\n                        targets: 1\n                    },\n                     {\n                        render: function (data, type, row){\n                            var d = '';\n                           if (data == 'Profile completed points'){d = 'Slutf\u00f6rda po\u00e4ng'}else{d = data }\n                            return d;\n                        },\n                        targets: 3\n                    }\n                ],\n                'order': [[ 0, 'ASC' ]],\n                'rowCallback': function(row, data, index){\n                    if (data['Operation'] === 'Debit') {\n                        jQuery(row).remove();\n                    }\n                }\n            });\n        });\n        <\/script>\r\n\t\t<div class=\"elementor-shortcode\"><table width=\"100%\" class=\"display points_tab_sv\" style=\"color: black;\" id=\"example\"><\/table><\/div>\n\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":"<p>Dina po\u00e4ng<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7684","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/sv\/wp-json\/wp\/v2\/pages\/7684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/sv\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/sv\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/sv\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/sv\/wp-json\/wp\/v2\/comments?post=7684"}],"version-history":[{"count":4,"href":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/sv\/wp-json\/wp\/v2\/pages\/7684\/revisions"}],"predecessor-version":[{"id":7816,"href":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/sv\/wp-json\/wp\/v2\/pages\/7684\/revisions\/7816"}],"wp:attachment":[{"href":"https:\/\/enkatfabrikenstaging.klmwebsolutions.com\/sv\/wp-json\/wp\/v2\/media?parent=7684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}