diff --git a/dist/Js/auth/apiservice.js b/dist/Js/auth/apiservice.js index cabc3ae..d922703 100644 --- a/dist/Js/auth/apiservice.js +++ b/dist/Js/auth/apiservice.js @@ -1,6 +1,7 @@ //let SERVERNAME = 'https://anwi.bizgaze.app'; //let SERVERNAME = 'http://beta.bizgaze.com'; - let SERVERNAME = 'http://localhost:3088'; + let SERVERNAME = 'https://qa.anwisystems.com'; + //let SERVERNAME = 'http://localhost:3088'; //template const STAT = '8041f78ba55b4847bc4aacaeae9d24ef'; diff --git a/dist/Js/main.js b/dist/Js/main.js index bfc287c..847c4b5 100644 --- a/dist/Js/main.js +++ b/dist/Js/main.js @@ -4,6 +4,11 @@ /*-- Menu Stick -----------------------------------*/ + + let width = $(window).width(); + + + var header = $('.sticky-bar'); var win = $(window); let ele_page = $("body").hasClass("product_pg"); @@ -22,12 +27,12 @@ let img_src = `./dist/assets/imgs/anwi-logo-2.png`; $(".logo-menu-wrap").find("a img").attr("src",img_src); $(".main-menu").find("nav ul li a").addClass("text-white"); - debugger; + $("body.product_pg").find(".header-large-device").find(".header-action-wrap").find(".same-style").find("svg").find("path").attr("fill","#fff"); $('.header-bottom-flex').find('svg path').attr('fill','#fff') } else { header.addClass('stick'); - debugger; + $(".header-bottom").addClass("sticky-bar stick"); let src = `./dist/assets/imgs/anwi-logo-1.png`; $(".logo-menu-wrap").find("a img").attr("src",src); @@ -1446,6 +1451,12 @@ } ] }); + + setTimeout(()=>{ + if(width<=600){ + $('.same-style').find('svg path').attr('fill','#000') + } + },300) })(jQuery); diff --git a/dist/Js/myaccount/orderdetails.js b/dist/Js/myaccount/orderdetails.js index 4bb1930..6605bca 100644 --- a/dist/Js/myaccount/orderdetails.js +++ b/dist/Js/myaccount/orderdetails.js @@ -1,13 +1,13 @@ async function bindOrderDetails() { - let user_number =$('.User_phoneum').text(); -// validatesession() -debugger -let cookieRes = COOKIE_HELPER_ACTIONS.getCookie(); - let { userId} = cookieRes; - //let userId = '106631380000048'; - debugger; -let port = SERVERNAME; -// let port = "http://localhost:3088"; + let user_number = $('.User_phoneum').text(); + // validatesession() + debugger + let cookieRes = COOKIE_HELPER_ACTIONS.getCookie(); + let { userId } = cookieRes; + //let userId = '106631380000048'; + debugger; + let port = SERVERNAME; + // let port = "http://localhost:3088"; let url = `${port}/apis/v4/Bizgaze/integrations/products/salesorderdetailsbyorgid/organizationid/${userId}`; // /apis/v4/bizgaze/integrations/products/salesorderdetailsbyorgid/phonenumber/ // https://anwi.bizgaze.app/apis/v4/Bizgaze/integrations/products/salesorderdetailsbyorgid/organizationid/{organizationid} @@ -17,11 +17,11 @@ let port = SERVERNAME; headers: { 'Authorization': `stat ${STAT} `, 'Content-Type': 'application/json' - } + } }; debugger let res = await axios(config); - if(res.data.result == '[]' || res.data.result === null){ + if (res.data.result == '[]' || res.data.result === null) { $(".user_order_details").append(`