{"id":19,"date":"2026-03-21T18:00:19","date_gmt":"2026-03-21T17:00:19","guid":{"rendered":"https:\/\/oproda.si\/?page_id=491264"},"modified":"2026-04-21T17:46:10","modified_gmt":"2026-04-21T16:46:10","slug":"d17","status":"publish","type":"page","link":"https:\/\/oproda.si\/?page_id=19","title":{"rendered":"Prenos dokumentov odobrenih vlog"},"content":{"rendered":"\n<div class=\"wpdt-c wdt-skin-light\">\n    \n    <input type=\"hidden\" id=\"wdtNonceFrontendServerSide_767\" name=\"wdtNonceFrontendServerSide_767\" value=\"dc6a71bf7b\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F19\" \/><input type=\"hidden\" id=\"wdtFrontendelementorNonce_767\" name=\"wdtFrontendelementorNonce_767\" value=\"1ec5edae80\" \/>    <input type=\"hidden\" id=\"table_1_desc\"\n           value='{\"tableId\":\"table_1\",\"tableType\":\"mysql\",\"selector\":\"#table_1\",\"responsive\":false,\"responsiveAction\":\"icon\",\"editable\":false,\"inlineEditing\":false,\"infoBlock\":false,\"pagination_top\":0,\"pagination\":0,\"paginationAlign\":\"right\",\"paginationLayout\":\"full_numbers\",\"paginationLayoutMobile\":\"simple\",\"file_location\":\"\",\"tableSkin\":\"light\",\"table_wcag\":0,\"simple_template_id\":0,\"scrollable\":false,\"fixedLayout\":false,\"globalSearch\":false,\"showRowsPerPage\":false,\"popoverTools\":false,\"loader\":1,\"showCartInformation\":0,\"hideBeforeLoad\":true,\"number_format\":2,\"decimalPlaces\":2,\"spinnerSrc\":\"https:\\\/\\\/oproda.si\\\/wp-content\\\/plugins\\\/wpdatatables\\\/assets\\\/\\\/img\\\/spinner.gif\",\"index_column\":0,\"groupingEnabled\":false,\"tableWpId\":767,\"dataTableParams\":{\"sDom\":\"BT\\u003C\\u0027clear\\u0027\\u003Et\",\"bSortCellsTop\":false,\"bFilter\":true,\"aLengthMenu\":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,\"Vse\"]],\"iDisplayLength\":10,\"columnDefs\":[{\"sType\":\"formatted-num\",\"wdtType\":\"int\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"vloge_id\",\"origHeader\":\"vloge_id\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\"numdata integer  column-vloge_id\",\"aTargets\":[0]},{\"sType\":\"string\",\"wdtType\":\"string\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"\\u010debele\",\"origHeader\":\"\\u010debele\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-ebele\",\"aTargets\":[1]},{\"sType\":\"string\",\"wdtType\":\"string\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"pasa\",\"origHeader\":\"pasa\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-pasa\",\"aTargets\":[2]},{\"sType\":\"string\",\"wdtType\":\"string\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"status\",\"origHeader\":\"status\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-status\",\"aTargets\":[3]},{\"sType\":\"date-custom\",\"wdtType\":\"datetime\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"d_oddaje\",\"origHeader\":\"d_oddaje\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-d_oddaje\",\"aTargets\":[4]},{\"sType\":\"date-custom\",\"wdtType\":\"datetime\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"d_sklep1\",\"origHeader\":\"d_sklep1\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-d_sklep1\",\"aTargets\":[5]},{\"sType\":\"date-custom\",\"wdtType\":\"datetime\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"d_odlocbe\",\"origHeader\":\"d_odlocbe\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-d_odlocbe\",\"aTargets\":[6]},{\"sType\":\"formatted-num\",\"wdtType\":\"float\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"text\",\"name\":\"znesek\",\"origHeader\":\"znesek\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\"numdata float  column-znesek\",\"aTargets\":[7]},{\"sType\":\"date-custom\",\"wdtType\":\"date\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"none\",\"name\":\"d_placila\",\"origHeader\":\"d_placila\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-d_placila\",\"aTargets\":[8]}],\"bAutoWidth\":false,\"order\":[[0,\"asc\"]],\"ordering\":false,\"fixedHeader\":{\"header\":false,\"headerOffset\":0},\"fixedColumns\":false,\"oLanguage\":{\"sSearchPlaceholder\":\"\"},\"buttons\":[],\"bProcessing\":false,\"serverSide\":true,\"ajax\":{\"url\":\"https:\\\/\\\/oproda.si\\\/wp-admin\\\/admin-ajax.php?action=get_wdtable&table_id=767&wdt_var1=0&wdt_var2=2026\",\"type\":\"POST\"},\"oSearch\":{\"bSmart\":false,\"bRegex\":false,\"sSearch\":\"\"}},\"customRowDisplay\":\"\",\"tabletWidth\":\"1024\",\"mobileWidth\":\"480\",\"renderFilter\":\"footer\",\"advancedFilterEnabled\":false,\"serverSide\":true,\"autoRefreshInterval\":0,\"processing\":true,\"fnServerData\":true,\"columnsFixed\":0,\"sumFunctionsLabel\":\"\",\"avgFunctionsLabel\":\"\",\"minFunctionsLabel\":\"\",\"maxFunctionsLabel\":\"\",\"columnsDecimalPlaces\":{\"vloge_id\":-1,\"\\u010debele\":-1,\"pasa\":-1,\"status\":-1,\"d_oddaje\":-1,\"d_sklep1\":-1,\"d_odlocbe\":-1,\"znesek\":-1,\"d_placila\":-1},\"columnsThousandsSeparator\":{\"vloge_id\":1},\"sumColumns\":[],\"avgColumns\":[],\"sumAvgColumns\":[],\"timeFormat\":\"H:i\",\"datepickFormat\":\"dd.mm.y\"}'\/>\n\n    <table id=\"table_1\"\n           class=\"   display nowrap wdt-no-display data-t data-t wpDataTable wpDataTableID-767 \"\n           style=\"display: none; \"\n           data-described-by='table_1_desc'\n           data-wpdatatable_id=\"767\">\n        \n        <!-- Table header -->\n        \n<thead>\n<tr>\n                    <th\n        data-class=\"expand\"                class=\" wdtheader sort numdata integer \"\n        style=\"\">        vloge_id<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        \u010debele<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        pa\u0161a<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        status<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        datum oddaje<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        datum obvestila<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        datum odlo\u010dbe<\/th>        <th\n                        class=\" wdtheader sort numdata float \"\n        style=\"\">        znesek<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        datum pla\u010dila<\/th>    <\/tr>\n<\/thead>\n        <!-- \/Table header -->\n\n        <!-- Table body -->\n        \n<tbody>\n<!-- Table body -->\n<div data-id=\"767\"\n     class=\"wdt-timeline-item wdt-timeline-table_1\"\n     style=\"\">\n    <div class=\"wdt-table-loader\">\n        <div class=\"wdt-table-loader-row wdt-table-loader-header\">\n            <div class=\"wdt-table-loader-header-cell wdt-animated-background\"><\/div>\n            <div class=\"wdt-table-loader-header-cell wdt-animated-background\"><\/div>\n            <div class=\"wdt-table-loader-header-cell wdt-animated-background\"><\/div>\n        <\/div>\n                    <div class=\"wdt-table-loader-row\">\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n            <\/div>\n            <\/div>\n<\/div><!-- \/Table body -->\n    <\/tbody>        <!-- \/Table body -->\n\n        <!-- Table footer -->\n        \n        <!-- \/Table footer -->\n    <\/table>\n\n<\/div><style>\n\n#table_1 > thead > tr > th.column-vloge_id { text-align: center !important; }\n#table_1 > thead > tr > th.column-ebele { text-align: center !important; }\n#table_1 > thead > tr > th.column-status { text-align: center !important; }table.wpDataTable td, table.wpDataTable th { white-space: normal !important; }\ntable.wpDataTable th { white-space: normal !important; }table.wpDataTable td.numdata { text-align: right !important; }\n<\/style>\n<script type=\"text\/javascript\">jQuery(window).load(function(){\n    if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }\n    wpDataChartsCallbacks[2] = function(obj){\n        obj.options.options.scales.yAxes[0].pointLabels = {\n            show: true,\n            fontSize: 20\n        }\n    }\n});<\/script><style>\n<\/style>\n<script>\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n\tconst interval = setInterval(() => {\n\t\tconst table = document.querySelector('[data-wpdatatable_id=\"767\"]');\n\t\tif (!table) return;\n\n\t\tclearInterval(interval);\n\n\t\ttable.addEventListener(\"click\", function (event) {\n\t\t\tconst row = event.target.closest(\"tr\");\n\t\t\tif (!row || row.parentNode.tagName !== \"TBODY\") return;\n\n\t\t\tconst firstCell = row.querySelector(\"td\");\n\t\t\tif (!firstCell) return;\n\n\t\t\tconst vloge_id = firstCell.textContent.trim();\n\n\t\t\tfetch(\"https:\/\/oproda.si\/wp-admin\/admin-ajax.php\", {\n\t\t\t\tmethod: \"POST\",\n\t\t\t\theaders: {\n\t\t\t\t\t\"Content-Type\": \"application\/x-www-form-urlencoded; charset=UTF-8\"\n\t\t\t\t},\n\t\t\t\tbody: \"action=klik_vrstica&vloge_id=\" + encodeURIComponent(vloge_id)\n\t\t\t})\n\t\t\t.then((res) => res.json())\n\t\t\t.then((datoteke) => {\n\t\t\t\tif (!Array.isArray(datoteke) || datoteke.length === 0) {\n\t\t\t\t\talert(\"Ni dokumentov za prenos.\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tdatoteke.forEach((item, index) => {\n\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\tconst link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = item.url;\n\t\t\t\t\t\tlink.download = item.name;\n\t\t\t\t\t\tdocument.body.appendChild(link);\n\t\t\t\t\t\tlink.click();\n\t\t\t\t\t\tdocument.body.removeChild(link);\n\t\t\t\t\t}, index * 300);\n\t\t\t\t});\n\t\t\t})\n\t\t\t.catch((err) => {\n\t\t\t\tconsole.error(\"Napaka pri prenosu:\", err);\n\t\t\t\talert(\"Napaka pri prenosu dokumentov.\");\n\t\t\t});\n\t\t});\n\t}, 300);\n});\n<\/script>\n\n\n\n<p>Klik kjerkoli v vrstici vloge, prenese dokumente te vloge (odlo\u010dbo, &#8230;) na va\u0161 ra\u010dunalnik (v Download mapo ali tja kamor imate nastavljene prenose)<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/oproda.si\/?page_id=15\">Moje vloge<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Klik kjerkoli v vrstici vloge, prenese dokumente te vloge (odlo\u010dbo, &#8230;) na va\u0161 ra\u010dunalnik (v Download mapo ali tja kamor [&hellip;]<\/p>\n","protected":false},"author":84,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-19","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/oproda.si\/index.php?rest_route=\/wp\/v2\/pages\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oproda.si\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oproda.si\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oproda.si\/index.php?rest_route=\/wp\/v2\/users\/84"}],"replies":[{"embeddable":true,"href":"https:\/\/oproda.si\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19"}],"version-history":[{"count":0,"href":"https:\/\/oproda.si\/index.php?rest_route=\/wp\/v2\/pages\/19\/revisions"}],"wp:attachment":[{"href":"https:\/\/oproda.si\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}