{"id":1966,"date":"2024-05-15T15:29:53","date_gmt":"2024-05-15T08:29:53","guid":{"rendered":"http:\/\/localhost:1234\/?page_id=1966"},"modified":"2024-10-04T15:13:43","modified_gmt":"2024-10-04T08:13:43","slug":"warranty-status-check","status":"publish","type":"page","link":"https:\/\/www.digiprovn.vn\/en\/warranty-status-check\/","title":{"rendered":"Warranty Status Check"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1966\" class=\"elementor elementor-1966\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0c5099c e-con-full e-flex e-con e-parent\" data-id=\"0c5099c\" data-element_type=\"container\" data-core-v316-plus=\"true\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ba5e84d elementor-widget elementor-widget-html\" data-id=\"ba5e84d\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\n    table tbody tr td.td-cond:hover,table tbody tr:hover>td.td-cond {\n        background-color: #0C78AB;\n        color: #fff;\n    }\n    .div-warranty-status{\n        margin: 20px auto;\n    }\n    .div-warranty-status h2{\n        color:#0C78AB;\n        text-align: center;\n        margin: 0 auto;\n    }\n    .product-info{\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n    }\n    .product-info > table{\n        max-width: 300px;\n    }\n    .product-info > table tr td{\n        width: max-content;\n        border: none;\n        padding: 10px;\n    }\n    .product-info > table tr td.title{\n        font-weight: 700;\n        width: 40%;\n    }\n    .div-tables{\n        margin: 10px auto;\n    }\n    .div-tables > table > thead > tr > td, .td-cond{\n        background-color: #0C78AB;\n        color: #fff;\n        text-align: center;\n        border-color: #fff;\n        font-weight: 700;\n        font-size: 20px;\n        vertical-align: middle;\n    }\n    .div-tables > table > thead > tr:nth-child(1) > td{\n        border-top-left-radius: 30px;\n        border-top-right-radius: 30px;\n        border:none;\n    }\n    .div-tables > table > tbody > tr > td{\n        text-align: center;\n        font-weight: 600;\n        font-size: 20px;\n    }\n    .div-more-details{\n        margin: 40px auto;\n        display: flex;\n        justify-content: center;\n    }\n    .div-more-details a{\n        text-decoration: none;\n        color: #0C78AB;\n        font-weight: 700;\n        border: 1px solid #808080;\n        padding: 10px 20px;\n        border-radius: 20px;\n    }\n    .div-more-details a span{\n        margin: 5px;\n    }\n    .div-table-more-detail{\n        display: none;\n    }\n    .div-table-more-detail table thead tr td{\n        background-color: #0C78AB;\n        color: #fff;\n        text-align: center;\n        border-color: #fff;\n        font-weight: 700;\n        font-size: 20px;\n        vertical-align: middle;\n    }\n    .div-table-more-detail table tbody tr td{\n        text-align: center;\n        font-weight: 600;\n        font-size: 20px;\n    }\n    .div-table-more-detail table tbody tr td:nth-child(1){\n        width: 50%;\n    }\n    .div-table-more-detail table tbody tr td:nth-child(2){\n        width: 25%;\n    }\n    .div-table-more-detail table tbody tr td:nth-child(3){\n        width: 25%;\n    }\n    #tdDeviceCondition,#tdStatus{\n        font-family: \"Inter\",Sans-Serif !important;\n    }\n    table tbody>tr:nth-child(odd)>td,table tbody tr:hover>td{\n        background-color: #fff;\n    }\n    table tbody>tr:nth-child(odd)>td.td-cond{\n        background-color: #0C78AB;\n    }\n    .arrow-down-icon4 {\n        display: inline-block;\n        width: 17px;\n        height: 17px;\n        background-image: url('data:image\/svg+xml;utf8,<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%230C78AB\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 9l6 6 6-6\"\/><\/svg>');\n        background-size: contain;\n        background-repeat: no-repeat;\n        vertical-align: middle;\n        margin-bottom: 2px;\n    }\n<\/style>\n<div class=\"div-warranty-status wrap-container\">\n    <h2>Result of Warranty Status Checking<\/h2>\n    <div class=\"product-info\">\n        <img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/Dell-XPS-9315-2022-13-inch-Sky-laptopvang-1-1.png\" width=\"210\" height=\"174\" \/>\n        <table>\n            <tr>\n                <td class=\"title\">Model:<\/td>\n                <td id=\"tdModel\"><\/td>\n            <\/tr>\n            <tr>\n                <td class=\"title\">Service Tag:<\/td>\n                <td id=\"tdServiceTag\"><\/td>\n            <\/tr>\n            <tr>\n                <td class=\"title\">Ship Date:<\/td>\n                <td id=\"tdShipDate\"><\/td>\n            <\/tr>\n            <tr>\n                <td class=\"title\">Country:<\/td>\n                <td id=\"tdCountry\"><\/td>\n            <\/tr>\n        <\/table>\n    <\/div>\n    <div class=\"div-tables\">\n        <table>\n            <thead>\n                <tr>\n                    <td colspan=\"4\">Warranty Information<\/td>\n                <\/tr>\n                <tr>\n                    <td>Service Ticket Number<\/td>\n                    <td>System Receiving Date<\/td>\n                    <td>Dispatch Receiving Date<\/td>\n                    <td>Part Receiving Date<\/td>\n                <\/tr>\n            <\/thead>\n            <tbody>\n                <tr>\n                    <td id=\"tdServiceTicketNumber\">122045014<\/td>\n                    <td id=\"tdOrderReceivingDate\">22\/04\/2022<\/td>\n                    <td id=\"tdServiceStartingDate\">26\/04\/2022<\/td>\n                    <td id=\"tdPartReceivingDate\"><\/td>\n                <\/tr>\n                <tr>\n                    <td class=\"td-cond\" id=\"rpis\">Reported Issue<\/td>\n                    <td id=\"tdDeviceCondition\" colspan=\"3\" class=\"translatable\"><\/td>\n                <\/tr>\n                <tr>\n                    <td class=\"td-cond\" id=\"wrst\">Warranty Status<\/td>\n                    <td id=\"tdStatus\" colspan=\"3\"><\/td>\n                <\/tr>\n            <\/tbody>\n        <\/table>\n    <\/div>\n    <div class=\"div-more-details\">\n        <a href=\"#\"><span>More Details<\/span> <div class=\"arrow-down-icon4\"><\/div><\/a>\n    <\/div>\n    <div class=\"div-table-more-detail\">\n        <table>\n            <thead>\n                <tr>\n                    <td>Services<\/td>\n                    <td>Start Date<\/td>\n                    <td>Warranty Expiration Date<\/td>\n                <\/tr>\n            <\/thead>\n            <tbody class=\"tbody-more-detail\">\n                <tr>\n                    <td>RB (Carry-in) Return to base<\/td>\n                    <td>03\/04\/2023<\/td>\n                    <td>10\/10\/2024<\/td>\n                <\/tr>\n                <tr>\n                    <td>XB Extended Battery Service<\/td>\n                    <td>03\/04\/2023<\/td>\n                    <td>10\/10\/2024<\/td>\n                <\/tr>\n                <tr>\n                    <td>LA (Premium Support On-Site) \/ PPS Premium Phone<\/td>\n                    <td>03\/04\/2023<\/td>\n                    <td>10\/10\/2024<\/td>\n                <\/tr>\n                <tr>\n                    <td>LA (Premium Support On-Site) \/ PPS Premium Phone<\/td>\n                    <td>03\/04\/2023<\/td>\n                    <td>10\/10\/2024<\/td>\n                <\/tr>\n            <\/tbody>\n        <\/table>\n    <\/div>\n<\/div>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/moment.js\/2.29.1\/moment.min.js\"><\/script>\n<script>\n    function translate(text, targetLang = 'en') {\n        return fetch(`https:\/\/api.mymemory.translated.net\/get?q=${encodeURIComponent(text)}&langpair=vi|${targetLang}`)\n            .then(response => response.json())\n            .then(data => data.responseData.translatedText);\n    }\n    function translateElements() {\n        const elements = document.querySelectorAll('.translatable');\n    \n        const translationPromises = Array.from(elements).map(element => {\n            const originalText = element.innerText;\n            return translate(originalText).then(translatedText => {\n                element.innerText = translatedText;\n            });\n        });\n    \n        return Promise.all(translationPromises);\n    }\n    jQuery(function($){\n        \/\/console.log(window.location.href);\n        if(location.href.indexOf(\"elementor-preview\") == -1 ){\n            var data = JSON.parse(localStorage.getItem(\"WSC\"));\n            console.log(data);\n            var isEng = location.href.indexOf(\"\/vi\/\") == -1;\n            if(data == null || data == \"\"){\n                location.href = \"\/\";\n                \/\/console.log(\"redirect\");\n            }else{\n                var serviceTag = data.ServiceTag;\n                $(\"#tdServiceTag\").html(serviceTag);\n                var model = data.ProductName;\n                $(\"#tdModel\").html(model == null ? \"N\/A\" : model);\n                var shipDate = data.ShipDate;\n                $(\"#tdShipDate\").html(shipDate == null ? \"N\/A\" : moment(shipDate).format(\"DD\/MM\/YYYY\"));\n                var countryCode = data.CountryCode;\n                switch(countryCode){\n                    case \"VN\":\n                        $(\"#tdCountry\").html(\"Vietnam\");\n                        break;\n                    case \"US\":\n                        $(\"#tdCountry\").html(\"United States\");\n                        break;\n                    default:\n                        $(\"#tdCountry\").html(\"N\/A\");\n                        break;\n                }\n                if(data.ROF && data.ROF != \"\"){\n                    var serviceTicketNumber = data.ROF;\n                    $(\"#tdServiceTicketNumber\").html(serviceTicketNumber == null ? \"N\/A\" : serviceTicketNumber);\n                    var orderReceivingDate = data.ReceivedOn;\n                    $(\"#tdOrderReceivingDate\").html(orderReceivingDate == null ? \"N\/A\" : moment(orderReceivingDate).format(\"DD\/MM\/YYYY\"));\n                    var processStatus = data.ProcessStatus;\n                    var serviceStartingDate = data.SerReceivedOn;\n                    $(\"#tdServiceStartingDate\").html(serviceStartingDate == null ? \"\" : moment(serviceStartingDate).format(\"DD\/MM\/YYYY\"));\n                    var partReceivingDate = data.PartOnDelivery;\n                    $(\"#tdPartReceivingDate\").html(partReceivingDate == null ? \"\" : moment(partReceivingDate).format(\"DD\/MM\/YYYY\"));\n                    $(\"#rpis\").html(isEng ? \"Reported Issue\" : \"T\u00ecnh tr\u1ea1ng thi\u1ebft b\u1ecb\");\n                    \n                    var deviceCondition = data.FailComments;\n                    $(\"#tdDeviceCondition\").html(deviceCondition == null ? \"N\/A\" : deviceCondition);\n                    \/\/if(isEng){\n                    \/\/    translateElements();\n                    \/\/}\n                    \n                    $(\"#wrst\").html(isEng ? \"Warranty Status\" : \"Tr\u1ea1ng th\u00e1i b\u1ea3o h\u00e0nh\")\n                    var status = data.ProcessStatusName;\n                    status = status.indexOf(\"\u0110ang \u0111\u1ee3i kh\u00e1ch h\u00e0ng \u0111\u1ebfn l\u1ea5y m\u00e1y\") != -1 && isEng ? \"Device ready for pickup\" : status;\n                    status = status.indexOf(\"K\u1ef9 thu\u1eadt \u0111\u00e3 ki\u1ec3m tra m\u00e1y, \u0111ang ch\u1edd l\u1ec7nh d\u1ecbch v\u1ee5\") != -1 && isEng ? \"Troubleshooting completed. Awaiting dispatch creation\" : status;\n                    status = status.indexOf(\"K\u1ef9 thu\u1eadt \u0111ang ki\u1ec3m tra m\u00e1y\") != -1 && isEng ? \"The technician is performing troubleshooting\" : status;\n                    status = status.indexOf(\"\u0110ang ch\u1edd linh ki\u1ec7n\") != -1 && isEng ? \"Waiting for Part delivery\" : status;\n                    status = status.indexOf(\"\u0110ang \u0111\u1ee3i kh\u00e1ch h\u00e0ng \u0111\u1ebfn l\u1ea5y m\u00e1y (t\u1eeb ch\u1ed1i b\u1ea3o h\u00e0nh)\") != -1 && isEng ? \"Device ready for pickup (warranty denied)\" : status;\n                    status = status.indexOf(\"\u0110ang x\u1eed l\u00fd\") != -1 && isEng ? \"Processing\" : status;\n                    $(\"#tdStatus\").html(status == null ? (isEng ? \"Waiting for service order\" : \"\u0110ang \u0111\u1ee3i l\u1ec7nh th\u1ef1c hi\u1ec7n d\u1ecbch v\u1ee5\") : status);\n                }else{\n                    $(\".div-tables tbody\").empty();\n                    var html = '<tr><td colspan=\"4\">';\n                    html += isEng ? 'There is no warranty information' : 'Kh\u00f4ng c\u00f3 th\u00f4ng tin b\u1ea3o h\u00e0nh';\n                    html += '<\/td><\/tr>';\n                    $(\".div-tables tbody\").html(html);\n                }\n                \n                $(\".tbody-more-detail\").empty();\n                var arrEntitlements = data.Entitlements;\n                \n                var html = '';\n                if(arrEntitlements != null && arrEntitlements.length > 0){\n                    for(var i = 0 ; i < arrEntitlements.length; i++){\n                        var item = arrEntitlements[i];\n                        var servicedesc = item.ServiceLevelDescription;\n                        var startdate = item.StartDate == null ? \"N\/A\" : moment(item.StartDate).format(\"DD\/MM\/YYYY\");\n                        var enddate = item.EndDate == null ? \"N\/A\" : moment(item.EndDate).format(\"DD\/MM\/YYYY\");\n                        html += '<tr>';\n                        html += '<td>' + servicedesc + '<\/td>';\n                        html += '<td>' + startdate + '<\/td>';\n                        html += '<td>' + enddate + '<\/td>';\n                        html += '<\/tr>';\n                    }\n                }else{\n                    html = '<tr><td colspan=\"3\">';\n                    html += isEng ? 'There is no warranty information' : 'Kh\u00f4ng c\u00f3 th\u00f4ng tin b\u1ea3o h\u00e0nh';\n                    html += '<\/td><\/tr>';\n                }\n                $(\".tbody-more-detail\").html(html);\n            }\n        }\n        $(\".div-more-details a\").on(\"click\",function(e){\n            e.preventDefault();\n            if($(\".div-table-more-detail\").is(\":visible\"))\n                $(\".div-table-more-detail\").fadeOut(500);\n            else\n                $(\".div-table-more-detail\").fadeIn(500);\n        })\n    })\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Result of Warranty Status Checking Model: Service Tag: Ship Date: Country: Warranty Information Service Ticket Number System Receiving Date Dispatch Receiving Date Part Receiving Date 122045014 22\/04\/2022 26\/04\/2022 Reported Issue Warranty Status More Details Services Start Date Warranty Expiration Date RB (Carry-in) Return to base 03\/04\/2023 10\/10\/2024 XB Extended Battery Service 03\/04\/2023 10\/10\/2024 LA (Premium [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1966","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.digiprovn.vn\/en\/wp-json\/wp\/v2\/pages\/1966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digiprovn.vn\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.digiprovn.vn\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.digiprovn.vn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digiprovn.vn\/en\/wp-json\/wp\/v2\/comments?post=1966"}],"version-history":[{"count":305,"href":"https:\/\/www.digiprovn.vn\/en\/wp-json\/wp\/v2\/pages\/1966\/revisions"}],"predecessor-version":[{"id":3965,"href":"https:\/\/www.digiprovn.vn\/en\/wp-json\/wp\/v2\/pages\/1966\/revisions\/3965"}],"wp:attachment":[{"href":"https:\/\/www.digiprovn.vn\/en\/wp-json\/wp\/v2\/media?parent=1966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}