diff --git a/about.html b/about.html index a9dc72e..4d84d90 100644 --- a/about.html +++ b/about.html @@ -104,9 +104,9 @@ - + - + diff --git a/contact.html b/contact.html index 7997572..3f5b336 100644 --- a/contact.html +++ b/contact.html @@ -134,9 +134,9 @@ - + - + diff --git a/dist/Js/auth/login.js b/dist/Js/auth/login.js index 094f034..2b2bfad 100644 --- a/dist/Js/auth/login.js +++ b/dist/Js/auth/login.js @@ -237,6 +237,7 @@ function initLogin() { COOKIE_HELPER_ACTIONS.setCookie({ token: res.data.result.sessionId, userid: res.data.result.userId, + ...res.data.result }); // setInitLoginLocal(); window.localStorage.setItem("Useremail", userEmail); diff --git a/dist/Js/myaccount/orderdetails.js b/dist/Js/myaccount/orderdetails.js index ec31961..262c158 100644 --- a/dist/Js/myaccount/orderdetails.js +++ b/dist/Js/myaccount/orderdetails.js @@ -1,11 +1,20 @@ async function bindOrderDetails() { + let user_number =$('.User_phoneum').text(); debugger // validatesession() - const res = await getAPIServiceLocal( - "apis/v4/Bizgaze/integrations/products/salesorderdetailsbyphonenumber" - ); - debugger; - console.log(res); +let port = "https://anwi.bizgaze.app"; +// let port = "http://localhost:3088"; + let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`; + const config = { + url, + method: "get", + headers: { + 'Authorization': `stat 05b2f2ca510344968c65e1ebf49a5595 `, + 'Content-Type': 'application/json' + } + }; + debugger + let res = await axios(config); const orderDetailsres = JSON.parse(res.data.result); console.log(orderDetailsres); let new_arrr = orderDetailsres; @@ -29,7 +38,7 @@ async function bindOrderDetails() { order_netTotal = current.nettotal; order_quantity =current.Quantity; order_taxAmount =current.taxamount; - user_order_details+= `
`; + user_order_details+= ``; } $(".user_order_details").append(user_order_details); // $('.order_details_main_container').click(function(){ @@ -44,14 +53,16 @@ async function bindOrderDetails() { let current_order_netTotal =$(this).find('.order_netTotal').text(); let current_order_tax =$(this).find('.order_tax').text(); let current_order_qty =$(this).find('.order_qty').text(); + let order_item_img= $('.order_item_name').attr('src'); - window.localStorage.setItem('orderDate',current_order_date); + window.localStorage.setItem('orderDate',current_order_date); window.localStorage.setItem('orderSerialno',current_serial_no); window.localStorage.setItem('orderItemname',current_item_name); window.localStorage.setItem('orderitemTotal',current_order_itemTotal); window.localStorage.setItem('netTotal',current_order_netTotal) window.localStorage.setItem('Qty',current_order_qty) window.localStorage.setItem('tax',current_order_tax) + window.localStorage.setItem('imgsrc',order_item_img) debugger; // console.log(get_local_orderDate,get_local_orderSerialno) $(this).attr('href','./orderdetails.html') diff --git a/dist/Js/orderDetails/order_summary.js b/dist/Js/orderDetails/order_summary.js index 7b9353e..9439d48 100644 --- a/dist/Js/orderDetails/order_summary.js +++ b/dist/Js/orderDetails/order_summary.js @@ -5,6 +5,7 @@ let order_itemtotal =window.localStorage.getItem('orderitemTotal'); let order_nettotal =window.localStorage.getItem('netTotal'); let order_qty = window.localStorage.getItem('Qty') let order_tax = window.localStorage.getItem('tax') +let order_img_src =window.localStorage.getItem('imgsrc') let Local_keys_update =['tax','Qty','netTotal','orderitemTotal'] let summary =`Order placed on ${current_orderDate}
Paid by Credit Card
Ashok Kumar
+${order_itemname}
++ ${order_itemtotal} +
+Return/Exchange window closed on Friday,24 March Why?
+
${value[0].contactname} for registering with anwi systems .You have successfully availed your warranty.

Serail No
${value[0].serialno}
warranty will be applicable till
${value[0].warrantytodate}
Sku
${value[0].sku}
Itemname
${value[0].itemname}
Warranty Start
${value[0].warrantyfromdate}
Warranty status
{value[0].warrantyenabled}
Follow Below steps to request your warranty claim.

Thanks for registering with anwi systems .You have successfully availed your warranty.

Serail No
${value[0].serialno}
Warranty will be applicable till
${value[0].warrantytodate}
Sku
${value[0].sku}
Itemname
${value[0].itemname}
Warranty Start
${value[0].warrantyfromdate}
Warranty status
{value[0].warrantyenabled}
Follow Below steps to request your warranty claim.
Ashok Kumar
-
- - 32,000 -
-Return/Exchange window closed on Friday,24 March Why?
-Ashok Kumar
-
- - 32,000 -
-Return/Exchange window closed on Friday,24 March Why?
-