{"id":895,"date":"2024-11-22T20:14:25","date_gmt":"2024-11-22T19:14:25","guid":{"rendered":"https:\/\/andeanfv.com\/?page_id=895"},"modified":"2024-11-22T20:47:57","modified_gmt":"2024-11-22T19:47:57","slug":"libro-de-reclamos","status":"publish","type":"page","link":"https:\/\/andeanfv.com\/en\/libro-de-reclamos\/","title":{"rendered":"Libro de Reclamos"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"895\" class=\"elementor elementor-895\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a41c5d7 e-flex e-con-boxed e-con e-parent\" data-id=\"a41c5d7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-fd77ddb elementor-widget elementor-widget-shortcode\" data-id=\"fd77ddb\" 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\t\t<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/sweetalert2@11\"><\/script>\n  <script src=\"https:\/\/www.google.com\/recaptcha\/api.js?render=6LeA2owqAAAAAGkdn2BtMOTTaVcLP29RxJ3OwDJL\"><\/script>\n\t<div class=\"libro_reclamaciones\">\n\t\t<form id=\"form_libro_reclamaciones\">\n\t\t\t<h2>Hoja de Reclamaci\u00f3n<\/h2>\n\t\t\t<p>LIBRO DE RECLAMACIONES<\/p>\n\n\t\t\t<div class=\"seccion_1 secciones_lb\">\n\t\t\t\t<h3>Fecha de la queja\/reclamaci\u00f3n<\/h3>\n\t\t\t\t<div>\n\t\t\t\t\t<label for=\"fecha_reclamo\">Fecha:<\/label>\n\t\t\t\t\t<input type=\"date\" id=\"fecha_reclamo\" name=\"fecha_reclamo\" required>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\n\t\t\t<div class=\"seccion_2 secciones_lb\">\n\t\t\t\t<h3>1. Identificaci\u00f3n del consumidor reclamante<\/h3>\n\t\t\t\t<label for=\"nombre_consumidor\">Nombre:<\/label>\n\t\t\t\t<input type=\"text\" id=\"nombre_consumidor\" name=\"nombre_consumidor\" required><br><br>\n\n\t\t\t\t<label for=\"domicilio_consumidor\">Domicilio:<\/label>\n\t\t\t\t<input type=\"text\" id=\"domicilio_consumidor\" name=\"domicilio_consumidor\" required><br><br>\n\n\t\t\t\t<div class=\"row2\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<label for=\"dni_consumidor\">Dni \/ Ce:<\/label>\n\t\t\t\t\t\t<input type=\"text\" id=\"dni_consumidor\" name=\"dni_consumidor\" required><br><br>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<label for=\"telefono_consumidor\">Tel\u00e9fono<\/label>\n\t\t\t\t\t\t<input type=\"number\" id=\"telefono_consumidor\" name=\"telefono_consumidor\" required><br><br>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t<label for=\"correo_consumidor\">Correo<\/label>\n\t\t\t\t\t\t<input type=\"email\" id=\"correo_consumidor\" name=\"correo_consumidor\" required><br><br>\n\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\n\t\t\t<div class=\"seccion_3 secciones_lb\">\n\t\t\t\t<h3>2. Identificaci\u00f3n del bien contratado<\/h3>\n\t\t\t\t<div class=\"row2s\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<input type=\"radio\" id=\"producto_servicio_producto\" name=\"producto_servicio\" value=\"producto\">\n\t\t\t\t\t\t<label for=\"producto_servicio_producto\">Producto<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<input type=\"radio\" id=\"producto_servicio_servicio\" name=\"producto_servicio\" value=\"servicio\">\n\t\t\t\t\t\t<label for=\"producto_servicio_servicio\">Servicio<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<br>\n\t\t\t\t<label for=\"descripcion_bien\">Descripci\u00f3n:<\/label>\n\t\t\t\t<textarea id=\"descripcion_bien\" name=\"descripcion_bien\" required><\/textarea>\n\t\t\t<\/div>\n\n\t\t\t<div class=\"seccion_4 secciones_lb\">\n\t\t\t\t<h3>3. Detalle de la reclamaci\u00f3n<\/h3>\n\t\t\t\t<div class=\"row2s\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<input type=\"radio\" id=\"tipo_reclamo\" name=\"detalle_reclamacion\" value=\"reclamo\" required>\n\t\t\t\t\t\t<label for=\"tipo_reclamo\">Reclamo:<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<input type=\"radio\" id=\"tipo_queja\" name=\"detalle_reclamacion\" value=\"queja\">\n\t\t\t\t\t\t<label for=\"tipo_queja\">Queja:<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<br>\n\t\t\t\t<textarea id=\"detalle_reclamacion\" name=\"detalle_reclamacion\" required><\/textarea>\n\t\t\t<\/div>\n\n\t\t\t<div class=\"seccion_5 secciones_lb\">\n\t\t\t\t<h3>4. Acciones adoptadas por el proveedor<\/h3>\n\t\t\t\t<label for=\"acciones_adoptadas\">Acciones:<\/label>\n\t\t\t\t<textarea id=\"acciones_adoptadas\" name=\"acciones_adoptadas\" required><\/textarea><br><br>\n\t\t\t<\/div>\n <input type=\"hidden\" name=\"g-recaptcha-response\" id=\"g-recaptcha-response\">\n\t\t\t<button type=\"submit\" id=\"submit_form\">Enviar Reclamaci\u00f3n<\/button>\n\t\t<\/form>\n\t<\/div>\n\t\t\t\t\t<script>\n\n  jQuery(document).ready(function($) {\n\t     grecaptcha.ready(function() {\n                grecaptcha.execute('6LeA2owqAAAAAGkdn2BtMOTTaVcLP29RxJ3OwDJL', { action: 'submit' }).then(function(token) {\n                    $('#g-recaptcha-response').val(token);\n                });\n            });\n    $('#form_libro_reclamaciones').submit(function(e) {\n      e.preventDefault();\n\n      var fechaReclamo = $('#fecha_reclamo').val();\n      var nombreConsumidor = $('#nombre_consumidor').val();\n      var domicilioConsumidor = $('#domicilio_consumidor').val();\n      var dniConsumidor = $('#dni_consumidor').val();\n      var telefonoConsumidor = $('#telefono_consumidor').val();\n      var correoConsumidor = $('#correo_consumidor').val();\n      var descripcionBien = $('#descripcion_bien').val();\n      var detalleReclamacion = $('input[name=\"detalle_reclamacion\"]:checked').val(); \/\/ Capturar valor del radio seleccionado\n      var productoServicio = $('input[name=\"producto_servicio\"]:checked').val(); \/\/ Capturar valor del radio seleccionado\n      var accionesAdoptadas = $('#acciones_adoptadas').val();\n\n      if (!fechaReclamo || !nombreConsumidor || !domicilioConsumidor || !dniConsumidor || !telefonoConsumidor || !correoConsumidor || !descripcionBien || !detalleReclamacion || !productoServicio || !accionesAdoptadas) {\n        Swal.fire({\n          icon: 'error',\n          title: '\u00a1Error!',\n          text: 'Por favor, complete todos los campos obligatorios.',\n        });\n        return;\n      }\n\n      var data = {\n        action: 'enviar_reclamacion',\n        fecha_reclamo: fechaReclamo,\n        nombre_consumidor: nombreConsumidor,\n        domicilio_consumidor: domicilioConsumidor,\n        dni_consumidor: dniConsumidor,\n        telefono_consumidor: telefonoConsumidor,\n        correo_consumidor: correoConsumidor,\n        descripcion_bien: descripcionBien,\n        detalle_reclamacion: detalleReclamacion,\n        producto_servicio: productoServicio,\n        acciones_adoptadas: accionesAdoptadas\n      };\n\n      $.post('https:\/\/andeanfv.com\/wp-admin\/admin-ajax.php', data, function(response) {\n        if (response.success) {\n          Swal.fire({\n            icon: 'success',\n            title: '\u00a1\u00c9xito!',\n            text: 'Tu reclamaci\u00f3n ha sido enviada.',\n          });\n        } else {\n          Swal.fire({\n            icon: 'error',\n            title: '\u00a1Error!',\n            text: response.data || 'Hubo un problema al enviar tu reclamaci\u00f3n.',\n          });\n        }\n      });\n    });\n  });\n<\/script>\n\n\n\t\t\t<div class=\"elementor-shortcode\"><\/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\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-895","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/andeanfv.com\/en\/wp-json\/wp\/v2\/pages\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andeanfv.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/andeanfv.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/andeanfv.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andeanfv.com\/en\/wp-json\/wp\/v2\/comments?post=895"}],"version-history":[{"count":10,"href":"https:\/\/andeanfv.com\/en\/wp-json\/wp\/v2\/pages\/895\/revisions"}],"predecessor-version":[{"id":906,"href":"https:\/\/andeanfv.com\/en\/wp-json\/wp\/v2\/pages\/895\/revisions\/906"}],"wp:attachment":[{"href":"https:\/\/andeanfv.com\/en\/wp-json\/wp\/v2\/media?parent=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}