{"id":4282,"date":"2023-04-27T01:25:02","date_gmt":"2023-04-26T22:25:02","guid":{"rendered":"https:\/\/oraltay.com.tr\/?page_id=4282"},"modified":"2026-04-08T18:30:20","modified_gmt":"2026-04-08T15:30:20","slug":"ol-cargo","status":"publish","type":"page","link":"https:\/\/oraltay.com.tr\/?page_id=4282","title":{"rendered":"OL Cargo"},"content":{"rendered":"<div data-colibri-id=\"4282-c1\" class=\"style-1469 style-local-4282-c1 position-relative\">\n  <!---->\n  <div data-colibri-component=\"section\" data-colibri-id=\"4282-c70\" id=\"custom\" class=\"h-section h-section-global-spacing d-flex align-items-lg-center align-items-md-center align-items-center style-1662 style-local-4282-c70 position-relative\">\n    <!---->\n    <!---->\n    <div class=\"h-section-grid-container h-section-boxed-container\">\n      <!---->\n      <div data-colibri-id=\"4282-c71\" class=\"h-row-container gutters-row-lg-2 gutters-row-md-2 gutters-row-0 gutters-row-v-lg-2 gutters-row-v-md-2 gutters-row-v-2 style-1663 style-local-4282-c71 position-relative\">\n        <!---->\n        <div class=\"h-row justify-content-lg-center justify-content-md-center justify-content-center align-items-lg-stretch align-items-md-stretch align-items-stretch gutters-col-lg-2 gutters-col-md-2 gutters-col-0 gutters-col-v-lg-2 gutters-col-v-md-2 gutters-col-v-2\">\n          <!---->\n          <div class=\"h-column h-column-container d-flex h-col-lg-auto h-col-md-auto h-col-auto style-1664-outer style-local-4282-c72-outer\">\n            <div data-colibri-id=\"4282-c72\" class=\"d-flex h-flex-basis h-column__inner h-px-lg-2 h-px-md-2 h-px-2 v-inner-lg-2 v-inner-md-2 v-inner-2 style-1664 style-local-4282-c72 position-relative\">\n              <!---->\n              <!---->\n              <div class=\"w-100 h-y-container h-column__content h-column__v-align flex-basis-100 align-self-lg-start align-self-md-start align-self-start\">\n                <!---->\n                <div data-colibri-id=\"4282-c75\" class=\"style-1667 style-local-4282-c75 position-relative h-element\">\n                  <!---->\n                  <div class=\"\">\n                    <!--?php\n\/\/ Sadece Depo G\u00fcncel Stok \u00c7eken Minimal Script\nadd_shortcode('depo_guncel_stok', 'kanka_tekli_stok_cek');\n\nfunction kanka_tekli_stok_cek() {\n    ob_start();\n    ?-->\n\n                    <!-- Google Charts K\u00fct\u00fcphanesi -->\n                    <script type=\"text\/javascript\" src=\"https:\/\/www.gstatic.com\/charts\/loader.js\"><\/script>\n\n                    <!-- Minimal Tasar\u0131m -->\n                    <style>\n                      .tekli-kutu {\n                        font-family: 'Google Sans', Roboto, Arial, sans-serif;\n                        background-color: #ffffff;\n                        border: 1px solid #dadce0;\n                        border-radius: 8px;\n                        padding: 15px 20px;\n                        width: max-content;\n                        box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);\n                      }\n\n                      .tekli-kutu-baslik {\n                        font-size: 11px;\n                        color: #5f6368;\n                        text-transform: uppercase;\n                        letter-spacing: 0.5px;\n                        margin-bottom: 5px;\n                      }\n\n                      .tekli-kutu-deger {\n                        font-size: 24px;\n                        font-weight: bold;\n                        color: #1a73e8;\n                      }\n                    <\/style>\n\n                    <div class=\"tekli-kutu\">\n                      <div class=\"tekli-kutu-baslik\">Depo G\u00fcncel Stok<\/div>\n                      <div class=\"tekli-kutu-deger\" id=\"minimal_stok_degeri\">Y\u00fckleniyor&#8230;<\/div>\n                    <\/div>\n\n                    <script type=\"text\/javascript\">\n                      google.charts.load('current', {\n                        'packages': ['corechart']\n                      });\n                      google.charts.setOnLoadCallback(stokVerisiniGetir);\n\n                      function stokVerisiniGetir() {\n                        \/\/ Daily Shipments Excel ID'leri\n                        var ssId = '1T7ttUmtrcrhSHllzDAA9En7N5FVT2CZ7wRzD7rjs4y0';\n                        var gid = '430713496';\n                        var query = new google.visualization.Query('https:\/\/docs.google.com\/spreadsheets\/d\/' + ssId + '\/gviz\/tq?gid=' + gid);\n\n                        query.send(function(response) {\n                          if (response.isError()) {\n                            document.getElementById('minimal_stok_degeri').innerText = 'Hata!';\n                            document.getElementById('minimal_stok_degeri').style.color = 'red';\n                            return;\n                          }\n\n                          var data = response.getDataTable();\n                          var rows = data.getNumberOfRows();\n                          var bulunanStok = \"Veri Yok\";\n\n                          \/\/ \u0130lk 5 sat\u0131rda \"Depo\" veya \"Stok\" kelimesini ara\n                          for (var r = 0; r < Math.min(rows, 5); r++) {\n                            var baslik = (data.getFormattedValue(r, 0) || \"\").toUpperCase();\n                            if (baslik.includes(\"DEPO\") || baslik.includes(\"STOK\")) {\n                              bulunanStok = data.getFormattedValue(r, 1); \/\/ Yan\u0131ndaki B s\u00fctunundaki de\u011feri al\n                              break; \/\/ Bulunca aramay\u0131 durdur\n                            }\n                          }\n\n                          document.getElementById('minimal_stok_degeri').innerText = bulunanStok;\n                        });\n                      }\n                    <\/script>\n\n                    <!--?php\n    return ob_get_clean();\n}\n?-->\n                  <\/div>\n                <\/div>\n              <\/div>\n            <\/div>\n          <\/div>\n          <div class=\"h-column h-column-container d-flex h-col-lg-auto h-col-md-auto h-col-auto style-1665-outer style-local-4282-c73-outer\">\n            <div data-colibri-id=\"4282-c73\" class=\"d-flex h-flex-basis h-column__inner h-ui-empty-state-container h-px-lg-2 h-px-md-2 h-px-2 v-inner-lg-2 v-inner-md-2 v-inner-2 style-1665 style-local-4282-c73 position-relative\">\n              <!---->\n              <!---->\n              <div class=\"w-100 h-y-container h-column__content h-column__v-align flex-basis-100\">\n                <!---->\n              <\/div>\n            <\/div>\n          <\/div>\n          <div class=\"h-column h-column-container d-flex h-col-lg-auto h-col-md-auto h-col-auto style-1666-outer style-local-4282-c74-outer\">\n            <div data-colibri-id=\"4282-c74\" class=\"d-flex h-flex-basis h-column__inner h-ui-empty-state-container h-px-lg-2 h-px-md-2 h-px-2 v-inner-lg-2 v-inner-md-2 v-inner-2 style-1666 style-local-4282-c74 position-relative\">\n              <!---->\n              <!---->\n              <div class=\"w-100 h-y-container h-column__content h-column__v-align flex-basis-100\">\n                <!---->\n              <\/div>\n            <\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Depo G\u00fcncel Stok Y\u00fckleniyor&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/full-width-page.php","meta":{"footnotes":""},"class_list":["post-4282","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/oraltay.com.tr\/index.php?rest_route=\/wp\/v2\/pages\/4282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oraltay.com.tr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oraltay.com.tr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oraltay.com.tr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oraltay.com.tr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4282"}],"version-history":[{"count":20,"href":"https:\/\/oraltay.com.tr\/index.php?rest_route=\/wp\/v2\/pages\/4282\/revisions"}],"predecessor-version":[{"id":5980,"href":"https:\/\/oraltay.com.tr\/index.php?rest_route=\/wp\/v2\/pages\/4282\/revisions\/5980"}],"wp:attachment":[{"href":"https:\/\/oraltay.com.tr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}