{"id":58963,"date":"2022-06-30T15:59:57","date_gmt":"2022-06-30T13:59:57","guid":{"rendered":"https:\/\/www.compsaonline.com\/consultar-mi-or\/"},"modified":"2022-06-30T15:59:57","modified_gmt":"2022-06-30T13:59:57","slug":"consultar-mi-or","status":"publish","type":"page","link":"https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/","title":{"rendered":"Consultar mi OR"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-parallax-fixed nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\"  style='background-color: rgba(255,255,255,0);background-image: url(\"https:\/\/www.compsaonline.com\/wp-content\/uploads\/2020\/10\/SERVEIS-RATLLETES-BLANC.jpg\");background-position: center center;background-repeat: no-repeat;padding-top:5%;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top: 150px;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-attachment:fixed;'><div class=\"fusion-builder-row fusion-row \"><div  class=\"fusion-layout-column fusion_builder_column fusion_builder_column_1_1 fusion-builder-column-0 fusion-one-full fusion-column-first fusion-column-last 1_1\"  style='margin-top:0px;margin-bottom:20px;'><div class=\"fusion-column-wrapper\" style=\"padding: 0px 0px 0px 0px;background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;\"   data-bg-url=\"\"><style type=\"text\/css\">@media only screen and (max-width:800px) {.fusion-title.fusion-title-1{margin-top:10px!important;margin-bottom:10px!important;}}<\/style><div class=\"fusion-title title fusion-title-1 fusion-sep-none fusion-title-center fusion-title-text fusion-title-size-one\" style=\"margin-top:10px;margin-bottom:10px;\"><h1 class=\"title-heading-center\" style=\"margin:0;\">Consultar mi OR<\/h1><\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div><style type=\"text\/css\">.fusion-fullwidth.fusion-builder-row-1 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link) , .fusion-fullwidth.fusion-builder-row-1 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):before, .fusion-fullwidth.fusion-builder-row-1 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):after {color: #212934;}.fusion-fullwidth.fusion-builder-row-1 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):hover, .fusion-fullwidth.fusion-builder-row-1 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):hover:before, .fusion-fullwidth.fusion-builder-row-1 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):hover:after {color: #4470b4;}.fusion-fullwidth.fusion-builder-row-1 .pagination a.inactive:hover, .fusion-fullwidth.fusion-builder-row-1 .fusion-filters .fusion-filter.fusion-active a {border-color: #4470b4;}.fusion-fullwidth.fusion-builder-row-1 .pagination .current {border-color: #4470b4; background-color: #4470b4;}.fusion-fullwidth.fusion-builder-row-1 .fusion-filters .fusion-filter.fusion-active a, .fusion-fullwidth.fusion-builder-row-1 .fusion-date-and-formats .fusion-format-box, .fusion-fullwidth.fusion-builder-row-1 .fusion-popover, .fusion-fullwidth.fusion-builder-row-1 .tooltip-shortcode {color: #4470b4;}#main .fusion-fullwidth.fusion-builder-row-1 .post .blog-shortcode-post-title a:hover {color: #4470b4;}<\/style><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 fusion-parallax-fixed nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\"  style='background-color: rgba(255,255,255,0);background-image: url(\"https:\/\/www.compsaonline.com\/wp-content\/uploads\/2020\/10\/SERVEIS-RATLLETES-BLANC.jpg\");background-position: center center;background-repeat: no-repeat;padding-top:5%;padding-right:10%;padding-bottom:0px;padding-left:10%;margin-top: -20px;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-attachment:fixed;'><div class=\"fusion-builder-row fusion-row \"><div  class=\"fusion-layout-column fusion_builder_column fusion_builder_column_1_1 fusion-builder-column-1 fusion-one-full fusion-column-first fusion-column-last 1_1\"  style='margin-top:0px;margin-bottom:20px;'><div class=\"fusion-column-wrapper\" style=\"padding: 0px 0px 0px 0px;background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;\"   data-bg-url=\"\"><script type=\"application\/javascript\">\r\n\r\n       \/* jQuery('#consulta_orden').click(function(){\r\n            consultarEstat();\r\n            console.log('Hola');\r\n        });\r\n\r\n        jQuery(\"a\").click(function(){\r\n            alert(\"The paragraph was clicked.\");\r\n        });*\/\r\n\r\n        function consultarEstat() {\r\n            \/* Optenemos el valor del id en el imput del formulario *\/\r\n            var orden_de_pedido = jQuery('#id_orden_pedido').val();\r\n\r\n            \/* Verificamos que el id escrito es un n\u00famero *\/\r\n            if (jQuery.isNumeric(orden_de_pedido)) {\r\n\r\n                \/* Hacemos la consulta a la url y pasamos  el contenido a la variable data *\/\r\n                jQuery.getJSON(\"https:\/\/web2.compsa.es\/gesta\/gesta.aspx?tipus=or&numero=\" + orden_de_pedido, function (data) {\r\n\r\n                    \/*\r\n                    * Formatemos la variable data\r\n                    * {\"tipus\":\"OR\",\"resposta\":\"OK\",\"numero\":\"2370\",\"estat\":\"Ja es pot passar a recollir\"}\r\n                    *\/\r\n                    \/*console.log(data.tipus);\r\n                    *console.log(data.resposta);\r\n                    *console.log(data.numero);\r\n                    *console.log(data.estat);*\/\r\n                    \/* Imprimimos el contenido json formateado en el html del sitio web *\/\r\n                    jQuery('#result_orden_pedido').html('<b>Estat de la ordre:<\/b> '+data.estat);\r\n                });\r\n            } else {\r\n                jQuery('#result_orden_pedido').html('<b>El n\u00famero de la ordre ' + orden_de_pedido+' no correspon<\/b>');\r\n            }\r\n        }\r\n\r\n\r\n\r\n    <\/script><div class=\"fusion-text\"><style>\n    .wpb_wrapper{<br \/>       margin-left: 5px;<br \/>}<br \/><\/style>\n<div class=\"wpb_wrapper\">\n<p>N\u00famero de orden: <input id=\"id_orden_pedido\" class=\"id\" name=\"id\" size=\"40\" type=\"text\" \/><\/p>\n<p><input type=\"button\" value=\"Consulta\" \/><\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div><style type=\"text\/css\">.fusion-fullwidth.fusion-builder-row-2 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link) , .fusion-fullwidth.fusion-builder-row-2 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):before, .fusion-fullwidth.fusion-builder-row-2 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):after {color: #212934;}.fusion-fullwidth.fusion-builder-row-2 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):hover, .fusion-fullwidth.fusion-builder-row-2 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):hover:before, .fusion-fullwidth.fusion-builder-row-2 a:not(.fusion-button):not(.fusion-builder-module-control):not(.fusion-social-network-icon):not(.fb-icon-element):not(.fusion-countdown-link):not(.fusion-rollover-link):not(.fusion-rollover-gallery):not(.add_to_cart_button):not(.show_details_button):not(.product_type_external):not(.fusion-quick-view):not(.fusion-rollover-title-link):hover:after {color: #4470b4;}.fusion-fullwidth.fusion-builder-row-2 .pagination a.inactive:hover, .fusion-fullwidth.fusion-builder-row-2 .fusion-filters .fusion-filter.fusion-active a {border-color: #4470b4;}.fusion-fullwidth.fusion-builder-row-2 .pagination .current {border-color: #4470b4; background-color: #4470b4;}.fusion-fullwidth.fusion-builder-row-2 .fusion-filters .fusion-filter.fusion-active a, .fusion-fullwidth.fusion-builder-row-2 .fusion-date-and-formats .fusion-format-box, .fusion-fullwidth.fusion-builder-row-2 .fusion-popover, .fusion-fullwidth.fusion-builder-row-2 .tooltip-shortcode {color: #4470b4;}#main .fusion-fullwidth.fusion-builder-row-2 .post .blog-shortcode-post-title a:hover {color: #4470b4;}<\/style><\/p>\n","protected":false},"excerpt":{"rendered":"Consultar mi OR N\u00famero de orden: &nbsp;","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"100-width.php","meta":{"footnotes":""},"class_list":["post-58963","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Consultar mi OR - CompsaOnline, Serveis Informatics<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Consultar mi OR - CompsaOnline, Serveis Informatics\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/\" \/>\n<meta property=\"og:site_name\" content=\"CompsaOnline, Serveis Informatics\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.compsaonline.com\\\/es\\\/consultar-mi-or\\\/\",\"url\":\"https:\\\/\\\/www.compsaonline.com\\\/es\\\/consultar-mi-or\\\/\",\"name\":\"Consultar mi OR - CompsaOnline, Serveis Informatics\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.compsaonline.com\\\/#website\"},\"datePublished\":\"2022-06-30T13:59:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.compsaonline.com\\\/es\\\/consultar-mi-or\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.compsaonline.com\\\/es\\\/consultar-mi-or\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.compsaonline.com\\\/es\\\/consultar-mi-or\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.compsaonline.com\\\/es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Consultar mi OR\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.compsaonline.com\\\/#website\",\"url\":\"https:\\\/\\\/www.compsaonline.com\\\/\",\"name\":\"CompsaOnline, Serveis Informatics\",\"description\":\"Serveis Informatics\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.compsaonline.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Consultar mi OR - CompsaOnline, Serveis Informatics","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/","og_locale":"es_ES","og_type":"article","og_title":"Consultar mi OR - CompsaOnline, Serveis Informatics","og_url":"https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/","og_site_name":"CompsaOnline, Serveis Informatics","twitter_card":"summary_large_image","twitter_misc":{"Tiempo de lectura":"5 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/","url":"https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/","name":"Consultar mi OR - CompsaOnline, Serveis Informatics","isPartOf":{"@id":"https:\/\/www.compsaonline.com\/#website"},"datePublished":"2022-06-30T13:59:57+00:00","breadcrumb":{"@id":"https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.compsaonline.com\/es\/consultar-mi-or\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.compsaonline.com\/es\/"},{"@type":"ListItem","position":2,"name":"Consultar mi OR"}]},{"@type":"WebSite","@id":"https:\/\/www.compsaonline.com\/#website","url":"https:\/\/www.compsaonline.com\/","name":"CompsaOnline, Serveis Informatics","description":"Serveis Informatics","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.compsaonline.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.compsaonline.com\/es\/wp-json\/wp\/v2\/pages\/58963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.compsaonline.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.compsaonline.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.compsaonline.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.compsaonline.com\/es\/wp-json\/wp\/v2\/comments?post=58963"}],"version-history":[{"count":2,"href":"https:\/\/www.compsaonline.com\/es\/wp-json\/wp\/v2\/pages\/58963\/revisions"}],"predecessor-version":[{"id":58965,"href":"https:\/\/www.compsaonline.com\/es\/wp-json\/wp\/v2\/pages\/58963\/revisions\/58965"}],"wp:attachment":[{"href":"https:\/\/www.compsaonline.com\/es\/wp-json\/wp\/v2\/media?parent=58963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}