{"id":6304,"date":"2025-03-25T17:41:59","date_gmt":"2025-03-25T16:41:59","guid":{"rendered":"https:\/\/skp.si\/portal-znanja\/?page_id=6304"},"modified":"2025-03-25T17:54:41","modified_gmt":"2025-03-25T16:54:41","slug":"vsi-javni-razpisi","status":"publish","type":"page","link":"https:\/\/skp.si\/portal-znanja\/vsi-javni-razpisi\/","title":{"rendered":"Vsi javni razpisi"},"content":{"rendered":"\n    <div id=\"datatable-razpisi\">\n\n        <div id=\"searchPaneModal\" class=\"modal\">\n            <div class=\"modal-content\">\n                <span class=\"close\">&times;<\/span>\n                <div id=\"modal-body\"><\/div> <!-- Container for SearchPanes -->\n            <\/div>\n        <\/div>\n\n        <div class=\"aktualni_razpisi\">\n            <table id=\"aktualni_razpisi-630601\" class=\"display\" style=\"width:100%\">\n                <thead>\n                    <tr>\n                        <th>Programski dokument<\/th>\n                        <th>Ukrep oz. intervencija<\/th>\n                        <th>Naziv razpisa<\/th>\n                        <th>Objavljeno<\/th>\n                        <th>Rok<\/th>\n                        <th>Sredstva<\/th>\n                        <th>Vrsta razpisa<\/th>\n                        <th>Status<\/th>\n                    <\/tr>\n                <\/thead>\n                <tbody>\n                    <td><\/td>\n                    <td><\/td>\n                    <td><\/td>\n                    <td><\/td>\n                    <td><\/td>\n                    <td><\/td>\n                    <td><\/td>\n                    <td><\/td>\n                <\/tbody>\n            <\/table>\n        <\/div>\n\n    <\/div>\n\n    <script>\n    jQuery.fn.dataTable.moment( \"DD.MM.YYYY\" );\n    jQuery(document).ready(function($){\n        var dt = jQuery(\"#aktualni_razpisi-630601\").DataTable({\n            order: [[ 3, \"desc\" ]],\n            dom: '<\"outer-div\"f>t<\"outer-div\"p>',\n            responsive: false,\n            language: {\n                url: \"\/\/cdn.datatables.net\/plug-ins\/1.10.24\/i18n\/Slovenian.json\"\n            },\n            ajax: {\n                url: datatablesajax.url + \"?action=aktualni\",\n                type: \"POST\",\n                data: function(d) {\n                    d.action = \"aktualni\";\n                    d.atts = {\n                        post_type: \"javni_razpisi\",\n                        category_terms: \"0\",\n                        show: \"0\",\n                        vrsta_razpisa: \"0\",\n                    };\n                },\n                cache:false,\n            },\n            columns: [\n                { data: \"sifra_ukrepa\", width: \"15%\" },\n                { data: \"ukrep\", width: \"15%\" },\n                { data: \"naziv_razpisa\", width: \"40%\" },\n                { data: \"datum_objave\", width: \"12%\" },\n                { data: \"rok_za_prejem_vlog\", width: \"9%\" },\n                { data: \"razpisana_sredstva\", width: \"13%\" },\n                { data: \"vrsta_razpisa\", width: \"15%\" },\n                { data: \"status\", width: \"15%\" },\n            ],\n            columnDefs: [\n                {\n                    searchPanes: {\n                        show: true\n                    },\n                    targets: [0,1,2,3,4,5,6] \/\/ Specify the columns you want to include in SearchPanes\n                }\n            ],\n            createdRow: function(row, data, dataIndex) {\n                $(row).attr('data-href', data.url);\n                console.log(data);\n                $('td:eq(2)', row).html('<span class=\"underline-q\">' + data.naziv_razpisa+ '<\/span>');\n\n            },\n            pageLength: 1000,\n            paging: false,\n            dom: \"PBfrtip\",\n            searchPanes: {\n                cascadePanes: true,\n                viewTotal: true,\n                dtOpts: {\n                    select: {\n                        style: 'multi'\n                    }\n                }\n            },\n            buttons: [\n                    {\n                        text: '<i class=\"fa fa-filter\" aria-hidden=\"true\" style=\"font-size:13px;\"><\/i> Filtri',\n                        action: function () {\n\n                            var newDivContent = '<div class=\"new-div\"><h3>Filtriranje<\/h3><div class=\"close\">&times;<\/div><\/div>';\n\n                            if ($('.new-div').length === 0) {\n                                $('.dtsp-panesContainer .dtsp-searchPanes .dtsp-searchPane:first-child').before(newDivContent);\n                            }\n                            $('.dataTables_wrapper > .dtsp-panesContainer').show();\n                        }\n                    },\n                    {\n                        text: '<i class=\"fa fa-times-circle\" aria-hidden=\"true\"><\/i> Ponastavi filtre',\n                        action: function () {\n                            dt.search('').columns().search('').draw(); \/\/ Ponastavi vse filtre\n                            dt.searchPanes.clearSelections(); \n                            $('#kategorijaFilter').val(\"\").trigger('change'); \n                            $('.select2-selection__clear').remove();\n                            $('#kategorijaFilter').find('option[value=\"select-all\"]').remove();\n                        }\n                    },\n                    {\n                        extend: \"excel\",\n                        text: \"<i class=\\\"fa fa-file-excel\\\" title=\\\"Izvoz v Excel\\\"><\/i> Excel\"\n                    },\n                    {\n                        extend: \"pdf\",\n                        text: \"<i class=\\\"fa fa-file-pdf\\\" title=\\\"Izvoz v PDF\\\"><\/i> PDF\",\n                        orientation: \"landscape\"\n                    },\n                    {\n                        text: '<i class=\"fusion-li-icon fa-window-restore far\" aria-hidden=\"true\"><\/i> Stanje vlog in zahtevkov',\n                        action: function () {\n                            window.open('https:\/\/www.gov.si\/novice\/2024-04-16-aktualni-podatki-za-vlagatelje-o-obravnavi-njihovih-vlog-in-zahtevkov\/');\n                        }\n                    },\n                    {\n                        text: '<i class=\"fusion-li-icon fa-window-restore far\" aria-hidden=\"true\"><\/i> Prejemniki sredstev',\n                        action: function () {\n                            window.open('https:\/\/www.gov.si\/novice\/2023-05-31-objava-prejemnikov-sredstev-iz-evropskih-kmetijskih-skladov\/');\n                        }\n                    },\n                ]\n        }); \n\n    });\n    <\/script>\n\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,"inline_featured_image":false,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"class_list":["post-6304","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/skp.si\/portal-znanja\/wp-json\/wp\/v2\/pages\/6304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skp.si\/portal-znanja\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/skp.si\/portal-znanja\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/skp.si\/portal-znanja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skp.si\/portal-znanja\/wp-json\/wp\/v2\/comments?post=6304"}],"version-history":[{"count":4,"href":"https:\/\/skp.si\/portal-znanja\/wp-json\/wp\/v2\/pages\/6304\/revisions"}],"predecessor-version":[{"id":6308,"href":"https:\/\/skp.si\/portal-znanja\/wp-json\/wp\/v2\/pages\/6304\/revisions\/6308"}],"wp:attachment":[{"href":"https:\/\/skp.si\/portal-znanja\/wp-json\/wp\/v2\/media?parent=6304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}