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+= `
${order_itemTotal}${order_netTotal}${order_taxAmount} ${order_quantity}

ORDER PLACED

${current.OrderDate}

TOTAL

₹${updatedCurent_total}

Delivered TO

${current.OrganizationName}

ORDER NO: ${current.OrderNo}

View order details

Invoice

${current.itemname}
`; + user_order_details+= `
${order_itemTotal}${order_netTotal}${order_taxAmount} ${order_quantity}

ORDER PLACED

${current.OrderDate}

TOTAL

₹${updatedCurent_total}

Delivered TO

${current.OrganizationName}

ORDER NO: ${current.OrderNo}

View order details

Invoice

${current.itemname}
`; } $(".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 =`
@@ -12,10 +13,45 @@ let summary =`

Order placed on ${current_orderDate}

Paid by Credit Card

`; -$('.order_price').html(order_itemtotal) + +let deliverdCard=`
` +$('.deliverd-card').append(deliverdCard) $('.order_tax').html(order_tax) $('.Order_total').html(order_nettotal) -$('.order_itemname').html(order_itemname) $('.order-summary').html(summary); $('.back_to_orders').click(function(){ debugger diff --git a/dist/Js/warranty.js b/dist/Js/warranty.js index 49d7fd8..384c1ec 100644 --- a/dist/Js/warranty.js +++ b/dist/Js/warranty.js @@ -71,7 +71,7 @@ function wattantyFunction() { // let warrantySerialnumber =$('.serial_no_warrantynumber').text() let warrenty_date = value[0].warrantytodate; // let userwarrenty_product = `
Warranty For : ${value[0].itemname}
Serail NO : ${value[0].serialno}
Warrenty Expiry Date : ${value[0].warrantytodate}
Warranty Start Date : ${value[0].warrantyfromdate}
Warranty Status : ${value[0].warrantyenabled}
`; - let userwarrenty_product = `
guarantee
Congratulations,

${value[0].contactname} for registering with anwi systems .You have successfully availed your warranty.

Here is your warranty Details

Warranty-product

Serail No

${value[0].serialno}

warranty will be applicable till

${value[0].warrantytodate}

Order details

Sku

${value[0].sku}

Itemname

${value[0].itemname}

Warranty details

Warranty Start

${value[0].warrantyfromdate}

Warranty status

{value[0].warrantyenabled}

Follow Below steps to request your warranty claim.

  1. Go to My account
  2. Tap on request claim
  3. Enter information and send claim request
`; + let userwarrenty_product = `
guarantee
Congratulations,

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

Here is your warranty Details

Warranty-product

Serail No

${value[0].serialno}

Warranty will be applicable till

${value[0].warrantytodate}

Order details

Sku

${value[0].sku}

Itemname

${value[0].itemname}

Warranty details

Warranty Start

${value[0].warrantyfromdate}

Warranty status

{value[0].warrantyenabled}

Follow Below steps to request your warranty claim.

  1. Go to My account
  2. Tap on request claim
  3. Enter information and send claim request
`; let is_warranty_enable = value[0].warrantyenabled; debugger; $(".user_Warranty_details").html(userwarrenty_product); diff --git a/dist/css/style.css b/dist/css/style.css index 3189735..d1bcb12 100644 --- a/dist/css/style.css +++ b/dist/css/style.css @@ -6423,10 +6423,10 @@ margin-bottom: 0.5rem !important; padding: 20px 15px; } } - +/* .myaccount-content form { margin-top: -20px; -} +} */ .myaccount-content h3 { font-size: 20px; diff --git a/index.html b/index.html index 6090c71..f2c8f5f 100644 --- a/index.html +++ b/index.html @@ -364,9 +364,9 @@ - + - + diff --git a/laptopmulti.html b/laptopmulti.html index 87ed23f..ac4cd87 100644 --- a/laptopmulti.html +++ b/laptopmulti.html @@ -1105,10 +1105,10 @@ - + - + diff --git a/login.html b/login.html index 4a349b3..69ddbce 100644 --- a/login.html +++ b/login.html @@ -479,8 +479,8 @@ - - + + @@ -493,14 +493,12 @@ - - - - + + diff --git a/myaccount.html b/myaccount.html index 465c8c1..1bc0b69 100644 --- a/myaccount.html +++ b/myaccount.html @@ -49,8 +49,8 @@
Name : Anwi
-
Phone : 9876543215
+
Phone :9542494949
+
@@ -116,7 +117,7 @@
-
+
diff --git a/orderdetails.html b/orderdetails.html index cdf59b8..bda8c71 100644 --- a/orderdetails.html +++ b/orderdetails.html @@ -47,79 +47,8 @@
- -
-
-
-
-
- -
- Delivered - Shipment 2 / 5-2 item (2 Delivered) -
-
-
Delivered on Sunday, 9 March Invoice
-
-
- -
-
-
- Shipping to -

Ashok Kumar

-
-
-
- -
-
-

-

- - - 32,000 -

-

Return/Exchange window closed on Friday,24 March Why?

-
-
-
+
+
@@ -230,9 +159,9 @@ - + - + diff --git a/partners.html b/partners.html index e0f9513..d564131 100644 --- a/partners.html +++ b/partners.html @@ -184,9 +184,9 @@ - + - + diff --git a/press.html b/press.html index 8555932..f2aa07d 100644 --- a/press.html +++ b/press.html @@ -312,7 +312,7 @@ - + diff --git a/productdetails.html b/productdetails.html index fc01ecb..1f8011a 100644 --- a/productdetails.html +++ b/productdetails.html @@ -330,7 +330,7 @@ - + diff --git a/products.html b/products.html index 4f50df6..d8741a0 100644 --- a/products.html +++ b/products.html @@ -78,7 +78,7 @@ - + diff --git a/products/ddr4.html b/products/ddr4.html index 31cb768..261d665 100644 --- a/products/ddr4.html +++ b/products/ddr4.html @@ -79,7 +79,7 @@ - + diff --git a/products/ddr5.html b/products/ddr5.html index 939b107..9b3f3ba 100644 --- a/products/ddr5.html +++ b/products/ddr5.html @@ -79,7 +79,7 @@ - + diff --git a/products/ddrlm4.html b/products/ddrlm4.html index 69c315e..5cbbad3 100644 --- a/products/ddrlm4.html +++ b/products/ddrlm4.html @@ -79,7 +79,7 @@ - + diff --git a/products/ddrlm5.html b/products/ddrlm5.html index 72b88e3..996c7d1 100644 --- a/products/ddrlm5.html +++ b/products/ddrlm5.html @@ -79,7 +79,7 @@ - + diff --git a/products/ora3.html b/products/ora3.html index 91c26c5..37bab29 100644 --- a/products/ora3.html +++ b/products/ora3.html @@ -84,7 +84,7 @@ - + diff --git a/products/ora4.html b/products/ora4.html index 5f34b75..abb08cb 100644 --- a/products/ora4.html +++ b/products/ora4.html @@ -84,7 +84,7 @@ - + diff --git a/ramproducts.html b/ramproducts.html index 02d06bc..19b407f 100644 --- a/ramproducts.html +++ b/ramproducts.html @@ -501,9 +501,9 @@ - + - + diff --git a/shopping-cart.html b/shopping-cart.html index 5584166..3e614de 100644 --- a/shopping-cart.html +++ b/shopping-cart.html @@ -375,9 +375,9 @@ - + - + diff --git a/storageproducts.html b/storageproducts.html index b7c3cc5..bed3e18 100644 --- a/storageproducts.html +++ b/storageproducts.html @@ -311,7 +311,7 @@ - + diff --git a/support.html b/support.html index ed1cfce..1b42e1d 100644 --- a/support.html +++ b/support.html @@ -167,9 +167,9 @@ - + - + diff --git a/w/index.html b/w/index.html index 4c8d707..f18ad5e 100644 --- a/w/index.html +++ b/w/index.html @@ -106,7 +106,7 @@ - +