Преглед на файлове

Changes in my account and order details..

ananthvijay преди 2 години
родител
ревизия
8938f48ee4

+ 14
- 4
dist/Js/auth/apiservice.js Целия файл

@@ -1,5 +1,5 @@
1 1
 //let SERVERNAME = 'https://anwi.bizgaze.app';
2
-let SERVERNAME = 'https://beta.bizgaze.app';
2
+let SERVERNAME = 'http://beta.bizgaze.com';
3 3
 const STAT = 'b276960fddf84e8cb63de6e32d31529b';
4 4
 
5 5
 
@@ -23,6 +23,16 @@ async function getStatAPIService(url,data={}){
23 23
     return response;
24 24
 }
25 25
 
26
+async function getStatAPIService(url,data={}){
27
+    const config = {
28
+        url,
29
+        method: "get",
30
+      };
31
+    let response = await axios(config);
32
+
33
+    return response;
34
+}
35
+
26 36
 async function postStatAPIService(url,data={}){
27 37
     let config = {
28 38
         url,
@@ -45,7 +55,7 @@ async function postAPIService(url,data={}){
45 55
         method:'post',
46 56
         data:data,
47 57
         headers: {
48
-            'Authorization': `Basic fffe5440-5be6-4c07-876f-113c13de7382`,
58
+            'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
49 59
             'Content-Type': 'application/json'
50 60
         },
51 61
     }
@@ -61,7 +71,7 @@ async function postAPIServiceLocal(url,data={}){
61 71
         method:'post',
62 72
         data:JSON.stringify(data    ),
63 73
         headers: {
64
-            'Authorization': `Basic fffe5440-5be6-4c07-876f-113c13de7382`,
74
+            'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
65 75
             'Content-Type': 'application/json'
66 76
         },
67 77
     }
@@ -75,7 +85,7 @@ async function getAPIServiceLocal(url){
75 85
         method:'get',
76 86
     
77 87
         headers: {
78
-            'Authorization': `Basic fffe5440-5be6-4c07-876f-113c13de7382`,
88
+            'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
79 89
             'Content-Type': 'application/json'
80 90
         },
81 91
     }

+ 303
- 0
dist/Js/myaccount/Address.js Целия файл

@@ -0,0 +1,303 @@
1
+async function addressDetails() {
2
+  debugger;
3
+  getbillinginfoBind();
4
+  let addr_phone=$('#phonenumber');
5
+  let addr_addrline =$('#addressdes');
6
+  let addr_zip =$('#zipcode');
7
+  function getbillinginfoBind() {
8
+    return new Promise(async (resolve, reject) => {
9
+      let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
10
+      console.log(cookieRes);
11
+      const { errorMsg, isError, response } =
12
+        await API_SERVICES_ACTIONS.getAPIService(
13
+          `apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`
14
+        );
15
+      let res = JSON.parse(response.result);
16
+      debugger;
17
+      console.log(res);
18
+      res = res[res.length - 1];
19
+      debugger
20
+      $('#Profile_User_name').val(res.organizationname)
21
+      $('#Profile_Phone_num').val(res.phonenumber)
22
+        let Profileusername =$('#Profile_User_name').val()
23
+        let Profileuserphone=$('#Profile_Phone_num').val()
24
+      $('.overview_user_name').html(Profileusername);
25
+        $('.overview_user_phone').html(Profileuserphone);
26
+      if (res.cityid == "0") {
27
+        $(".profile_Address").html(
28
+          `<div class=User_address><button class="btn btn-outline-primary create_address" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-circle" viewBox="0 0 16 16"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/></svg> ADD NEW ADDRESS</button></div>`
29
+        );
30
+        
31
+        $(".address_edit").hide();
32
+        $(".create_address").on("click", function () {
33
+            debugger
34
+            $(this).hide();
35
+            $('.saveaddress').hide()
36
+            $(".addresslist").show();
37
+            $(".Createaddress").show();
38
+            getCountryStateCurrency();
39
+          });
40
+        $('.Createaddress').on('click',async function(){
41
+            if(addr_phone.val() == "" || addr_zip.val() == "" || addr_addrline.val()  == ""){
42
+                // toastr.error('Required Feilds are Empty!');
43
+                 if(addr_phone.val() == '' || addr_phone.val().length <10){
44
+                    addr_phone.addClass("is-invalid");
45
+                 }
46
+                 else{
47
+                    addr_phone.removeClass("is-invalid");
48
+                 }
49
+                 if(addr_zip.val() == '' || addr_zip.val().length < 6){
50
+                    addr_zip.addClass("is-invalid");
51
+                 }
52
+                 else{
53
+                    addr_zip.removeClass("is-invalid");
54
+                 }
55
+                 if(addr_addrline.val() == ''){
56
+                    addr_addrline.addClass("is-invalid");
57
+                 }   else{
58
+                    addr_addrline.removeClass("is-invalid");
59
+                 }
60
+               }
61
+               else{
62
+                $(".addresslist").hide();
63
+                $(".profile_Address").show();
64
+                $(".address_edit").show();
65
+                $(".address_edit_cancel").hide();
66
+                await createBillingForm() 
67
+                 await getbillinginfoBind();
68
+               }
69
+    
70
+        })
71
+      } else {
72
+        $(".profile_Address").html(
73
+          `<div class=User_address><address><p><strong class="text-capitalize">${res.organizationname}</strong><p>${res.addressline},${res.cityname}<br>${res.statename},${res.zipcode}<p>Mobile: ${res.phonenumber}</address></div>`
74
+        );
75
+      }
76
+      resolve();
77
+    });
78
+  }   debugger
79
+
80
+
81
+  $(".address_edit").on("click", function () {
82
+    $(this).hide();
83
+    $(".profile_Address").hide();
84
+    $(".addresslist").show();
85
+    $(".address_edit_cancel").show();
86
+    getCountryStateCurrency();
87
+  });
88
+
89
+  $(".address_edit_cancel").on("click", function () {
90
+    $(this).hide();
91
+    $(".addresslist").hide();
92
+    $(".profile_Address").show();
93
+    $(".address_edit").show();
94
+  });
95
+
96
+  $(".saveaddress")
97
+    .off("click")
98
+    .click(async function () {
99
+ 
100
+    debugger
101
+      if(addr_phone.val() == "" || addr_zip.val() == "" || addr_addrline.val()  == ""){
102
+        // toastr.error('Required Feilds are Empty!');
103
+         if(addr_phone.val() == '' || addr_phone.val().length <10){
104
+            addr_phone.addClass("is-invalid");
105
+         }
106
+         else{
107
+            addr_phone.removeClass("is-invalid");
108
+         }
109
+         if(addr_zip.val() == '' || addr_zip.val().length < 6){
110
+            addr_zip.addClass("is-invalid");
111
+         }
112
+         else{
113
+            addr_zip.removeClass("is-invalid");
114
+         }
115
+         if(addr_addrline.val() == ''){
116
+            addr_addrline.addClass("is-invalid");
117
+         }   else{
118
+            addr_addrline.removeClass("is-invalid");
119
+         }
120
+       }
121
+       else{
122
+        $(".addresslist").hide();
123
+        $(".profile_Address").show();
124
+        $(".address_edit").show();
125
+        $(".address_edit_cancel").hide();
126
+        $('.spinner-border').removeClass('d-none')
127
+        $('.saveaddress').find('span').addClass('d-none')
128
+         await AddresssaveForm();
129
+         $('.spinner-border').addClass('d-none')
130
+         $('.saveaddress').find('span').removeClass('d-none')
131
+         await getbillinginfoBind();
132
+       }
133
+     
134
+    });
135
+  async function getCountryStateCurrency() {
136
+    const countryRes = await API_SERVICES_ACTIONS.getAPIService(
137
+      "apis/v4/bizgaze/integrations/products/getcountry"
138
+    );
139
+    if (countryRes.isError) {
140
+      alert("something went wrong");
141
+      console.log(countryRes);
142
+      return;
143
+    }
144
+    let countryData = JSON.parse(countryRes.response.result);
145
+
146
+    console.log(countryData, "country");
147
+
148
+    for (let i = 0; i < countryData.length; i++) {
149
+      if (countryData[i].countryname.toLowerCase() === "india") {
150
+        countryID = countryData[i].countryid;
151
+        countrynameData = countryData[i].countryname;
152
+        break;
153
+      }
154
+    }
155
+    const stateRes = await API_SERVICES_ACTIONS.getAPIService(
156
+      `apis/v4/bizgaze/integrations/products/getcities/countryid/${countryID}`
157
+    );
158
+
159
+    if (stateRes.isError) {
160
+      alert("something went wrong");
161
+      console.log(stateRes, "state");
162
+      return;
163
+    }
164
+
165
+    let stateData = JSON.parse(stateRes.response.result);
166
+
167
+    console.log(stateData, "state");
168
+
169
+    $("#state").html("");
170
+    console.log("start");
171
+    let html = "";
172
+    statesList = stateData;
173
+    for (let i = 0; i < stateData.length; i++) {
174
+      html += `<option value="${stateData[i].cityid}" data-id="${stateData[i].cityid}">${stateData[i].cityname}</option>`;
175
+    }
176
+
177
+    $("#state").append(html);
178
+
179
+    $("#state").select2({
180
+      placeholder: "Select a City",
181
+      allowClear: true,
182
+    });
183
+
184
+    const currencyRes = await API_SERVICES_ACTIONS.getAPIService(
185
+      "apis/v4/bizgaze/integrations/products/getcurrencies"
186
+    );
187
+
188
+    if (currencyRes.isError) {
189
+      alert("something went wrong");
190
+      console.log(currencyRes);
191
+      return;
192
+    }
193
+
194
+    let currencyData = JSON.parse(currencyRes.response.result);
195
+
196
+    console.log(currencyData, "currencyDatacurrencyDatacurrencyData");
197
+
198
+    for (let i = 0; i < currencyData.length; i++) {
199
+      const curr = currencyData[i];
200
+      if (curr.currencyname.toLowerCase().includes("india")) {
201
+        currencyid = curr.currencyid;
202
+      }
203
+    }
204
+  }
205
+
206
+  async function getCountryId() {
207
+    const countryRes = await API_SERVICES_ACTIONS.getAPIService(
208
+      "apis/v4/bizgaze/integrations/products/getcountry"
209
+    );
210
+
211
+    if (countryRes.isError) {
212
+      alert("something went wrong");
213
+      console.log(countryRes);
214
+      return;
215
+    }
216
+
217
+    let ctyId = 0;
218
+    let countryData = JSON.parse(countryRes.response.result);
219
+
220
+    console.log(countryData);
221
+
222
+    for (let i = 0; i < countryData.length; i++) {
223
+      if (countryData[i].countryname.toLowerCase() === "india") {
224
+        countryId = countryData[i].countryid;
225
+        ctyId = countryId;
226
+        countrynameData = countryData[i].countryname;
227
+        break;
228
+      }
229
+    }
230
+
231
+    return ctyId;
232
+  }
233
+
234
+  function createBillingForm() {
235
+    debugger;
236
+    return new Promise(async (resolve, reject) => {
237
+      let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
238
+      let { userId, name } = cookieRes;
239
+      const ctyId = await getCountryId();
240
+      let stateId = parseInt($("#state").val());
241
+      let payload = {
242
+        cityid: stateId,
243
+        CityName: $(`[data-id="${stateId}"`).html(),
244
+        addressline1: $("#addressdes").val(),
245
+        OrganizationType: 2,
246
+        organizationname: name,
247
+        //"OrganizationId":,
248
+        ContactName: name,
249
+        ContactId: userId,
250
+        countryname: "india",
251
+        countryid: ctyId,
252
+        statename: $(`[data-id="${stateId}"`).html(),
253
+        phonenumber: $("#phonenumber").val(),
254
+        OrganizationId: userId,
255
+        currencyid: 2,
256
+        taxno: "0",
257
+        BillingInfoExists: false,
258
+        lobid: 0,
259
+        lobname: "IT Products",
260
+        gstindetailid: 0,
261
+        zipcode: $("#zipcode").val(),
262
+      };
263
+      const res = await API_SERVICES_ACTIONS.postAPIService(
264
+        "apis/v4/bizgaze/crm/address/savebillinginfo",
265
+        payload
266
+      );
267
+      // http://localhost:3088/apis/v4/bizgaze/crm/address/savebillinginfo
268
+      console.log(res);
269
+      resolve();
270
+    });
271
+  }
272
+
273
+  async function AddresssaveForm() {
274
+    debugger;
275
+    let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
276
+    let { userId, name } = cookieRes;
277
+    const { errorMsg, isError, response } =
278
+      await API_SERVICES_ACTIONS.getAPIService(
279
+        `apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`
280
+      );
281
+    let resAnwi = JSON.parse(response.result);
282
+    console.log(resAnwi, "befores");
283
+    resAnwi = resAnwi[resAnwi.length - 1];
284
+    let stateId = parseInt($("#state").val());
285
+    let payload = {
286
+      ...resAnwi,
287
+      phonenumber: $("#phonenumber").val(),
288
+      addressline1: $("#addressdes").val(),
289
+      zipcode: $("#zipcode").val(),
290
+      cityid: stateId,
291
+      CityName: $(`[data-id="${stateId}"`).html(),
292
+    };
293
+    console.log(payload, "addresssaave");
294
+    //
295
+    const res = await API_SERVICES_ACTIONS.postAPIService(
296
+      "apis/v4/bizgaze/crm/address/savebillinginfo",
297
+      payload
298
+    );
299
+    return new Promise((reslove, reject) => {
300
+      reslove(res);
301
+    });
302
+  }
303
+}

+ 2
- 0
dist/Js/myaccount/Myaccount.js Целия файл

@@ -1,7 +1,9 @@
1 1
 function initmyaccount(){
2 2
     $('.my_account_page').removeClass('d-none')
3
+    myProfile();
3 4
     bindOrderDetails();   
4 5
     wattantyFunction();
6
+    addressDetails()
5 7
 }
6 8
 
7 9
 checkValidAuth(initmyaccount,'./login.html')

+ 158
- 0
dist/Js/myaccount/Profile.js Целия файл

@@ -0,0 +1,158 @@
1
+function myProfile() {
2
+    debugger
3
+    getbillinginfoBind()
4
+   async function getbillinginfoBind(){
5
+    let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
6
+    console.log(cookieRes);
7
+    const { errorMsg, isError, response } = await API_SERVICES_ACTIONS.getAPIService(
8
+      `apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`
9
+    );
10
+    let res = JSON.parse(response.result);
11
+    debugger;
12
+    console.log(res);
13
+    res = res[res.length - 1];
14
+   $('#Profile_User_name').val(res.organizationname)
15
+  $('#Profile_Phone_num').val(res.phonenumber)
16
+    let Profileusername =$('#Profile_User_name').val()
17
+    let Profileuserphone=$('#Profile_Phone_num').val()
18
+    $('.overview_user_name').html(Profileusername);
19
+    $('.overview_user_phone').html(Profileuserphone);
20
+    $(".profile_Address").html(`<div class=User_address><address><p><strong>${res.organizationname}</strong><p>${res.addressline},${res.cityname}<br>${res.statename},${res.zipcode}<p>Mobile: ${res.phonenumber}</address></div>`
21
+      );
22
+}
23
+    let countryId = null;   
24
+  $(".profile_edit").on("click", function () {
25
+    $(this).hide();
26
+    // $('.profile_save_btn,.profile_edit_cancel').removeClass('d-none')
27
+    $(".profile_save_btn,.profile_edit_cancel,.profile_info_label").show();
28
+    $(".profile_info").removeAttr("disabled").removeClass("cursor-notvalid");
29
+  });
30
+  $(".profile_edit_cancel").on("click", function () {
31
+    $(this).hide();
32
+    $(".profile_save_btn,.profile_info_label").hide();
33
+    $('#Profile_User_name').val('');
34
+    $('#Profile_Phone_num').val('');
35
+    getbillinginfoBind();
36
+    $(".profile_edit").show();
37
+    $(".profile_info").attr("disabled", "disabled").addClass("cursor-notvalid");
38
+  });
39
+  $(".pass_edit").on("click", function () {
40
+    $(this).hide();
41
+    $(".update_profile_pass,.pass_edit_cancel").show();
42
+    $(".profile_info_pass")
43
+      .removeAttr("disabled")
44
+      .removeClass("cursor-notvalid");
45
+  });
46
+  $(".pass_edit_cancel").on("click", function () {
47
+    $('#Profile_User_current_pass').val('');
48
+    $('#Profile_User_confirm_pass').val('');
49
+    $('#Profile_User_new_pass').val('');
50
+    $('#Profile_User_current_pass,#Profile_User_new_pass,#Profile_User_confirm_pass').removeClass('is-invalid')
51
+    // $('#Profile_User_new_pass').val().removeClass('is-invalid')
52
+    // $('#Profile_User_confirm_pass').val().removeClass('is-invalid')
53
+    $(this).hide();
54
+    $(".update_profile_pass").hide();
55
+    $(".pass_edit").show();
56
+    $(".profile_info_pass")
57
+      .attr("disabled", "disabled")
58
+      .addClass("cursor-notvalid");
59
+  });
60
+  $(".update_profile_pass").on("click", async function () {
61
+    let userEmail = window.localStorage.getItem("Useremail");
62
+    console.log(userEmail);
63
+    let port = "http://beta.bizgaze.com";
64
+    // let port = "http://localhost:3088";
65
+    let url = `${port}/account/getuserbyphoneormail/${userEmail}/${userEmail}`;
66
+    const config = {
67
+      url,
68
+      method: "get",
69
+    };
70
+    debugger;
71
+
72
+    let response = await axios(config);
73
+    let usernameId = response.data.result.userName;
74
+    let UserNewpassword = $("#Profile_User_new_pass");
75
+    let usercurrentPass = $("#Profile_User_current_pass");
76
+    let userConfirmpass = $("#Profile_User_confirm_pass");
77
+    if (usercurrentPass.val() != "") {
78
+      $(usercurrentPass).removeClass("is-invalid");
79
+      if (UserNewpassword.val() && userConfirmpass.val() != "") {
80
+        if (UserNewpassword.val() == userConfirmpass.val()) {
81
+          console.log(usernameId);
82
+          const UpdatePassPayload = {
83
+            username: usernameId,
84
+            password: UserNewpassword.val(),
85
+            oldpassword: usercurrentPass.val(),
86
+          };
87
+          const update_passres = await postAPIService(
88
+            `hyperfusion/HypersfusionUpdatePassword`,
89
+            UpdatePassPayload
90
+          );
91
+          console.log(update_passres);
92
+          if (update_passres.data.errors != null) {
93
+            $(".profilepass_feedbackres")
94
+              .html(`<div class="alert alert-danger error_msg " role="alert" style="font-size: 12px;"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.2646 3.41366C11.7212 3.15681 12.2788 3.15681 12.7354 3.41366L19.2354 7.06991C19.7077 7.33558 20 7.83536 20 8.37727V15.6227C20 16.1646 19.7077 16.6644 19.2354 16.9301L12.7354 20.5863C12.2788 20.8432 11.7212 20.8432 11.2646 20.5863L4.76461 16.9301C4.29229 16.6644 4 16.1646 4 15.6227V8.37727C4 7.83536 4.29229 7.33559 4.76461 7.06991L11.2646 3.41366Z" fill="#FF3A2E"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M11 7.4C11 7.17909 11.1791 7 11.4 7H12.6C12.8209 7 13 7.17909 13 7.4V12.6C13 12.8209 12.8209 13 12.6 13H11.4C11.1791 13 11 12.8209 11 12.6V7.4Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M11 16C11 15.4477 11.4477 15 12 15C12.5523 15 13 15.4477 13 16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16Z" fill="white"></path></svg>
95
+         <span class="error_msg_res">${update_passres.data.message}</a></span> 
96
+         
97
+         </div>`);
98
+            $(userConfirmpass).addClass("is-invalid");
99
+            $(UserNewpassword).removeClass("is-invalid");
100
+            $(userConfirmpass).removeClass("is-invalid");
101
+          } else {
102
+            $(".profilepass_feedbackres")
103
+              .html(`<div class="alert alert-success success_msg" role="alert" style="font-size: 12px;"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check" viewBox="0 0 16 16">
104
+                <path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"/>
105
+              </svg>
106
+         <span class="success_msg_res">${update_passres.data.message}</a></span> 
107
+         </div>`);
108
+            usercurrentPass.val("");
109
+            UserNewpassword.val("");
110
+            userConfirmpass.val("");
111
+          }
112
+        } else {
113
+          $(UserNewpassword).addClass("is-invalid");
114
+          $(userConfirmpass).addClass("is-invalid");
115
+          return;
116
+        }
117
+      } else {
118
+        $(UserNewpassword).addClass("is-invalid");
119
+        $(userConfirmpass).addClass("is-invalid");
120
+        return;
121
+      }
122
+    } else {
123
+      $(usercurrentPass).addClass("is-invalid");
124
+      return;
125
+    }
126
+  });
127
+  $('.profile_save_btn').on('click',async function(){
128
+    await ProfilesaveForm();
129
+    $('.profile_edit_cancel').trigger('click')
130
+})
131
+  async function ProfilesaveForm() {
132
+    debugger
133
+    let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
134
+    let { userId, name } = cookieRes;
135
+    const { errorMsg, isError, response } =
136
+      await API_SERVICES_ACTIONS.getAPIService(
137
+        `apis/v4/bizgaze/integrations/products/getbillinginfo/contactid/${cookieRes.userId}`
138
+      );
139
+    let resAnwi = JSON.parse(response.result);
140
+    console.log(resAnwi, "previous profilesave");
141
+    resAnwi = resAnwi[resAnwi.length - 1];
142
+    let payload = {
143
+      ...resAnwi,
144
+      organizationname: $("#Profile_User_name").val(),
145
+      phonenumber: $("#Profile_Phone_num").val(),
146
+    };
147
+    console.log(payload, "profilesave");
148
+    //
149
+    const res = await API_SERVICES_ACTIONS.postAPIService(
150
+      "apis/v4/bizgaze/crm/address/savebillinginfo",
151
+      payload
152
+    );
153
+    return new Promise((reslove, reject) => {
154
+      reslove(res);
155
+      getbillinginfoBind();
156
+    });
157
+  }
158
+}

+ 11
- 2
dist/Js/myaccount/orderdetails.js Целия файл

@@ -1,9 +1,14 @@
1 1
 async function bindOrderDetails() {
2 2
   let user_number =$('.User_phoneum').text();
3 3
 // validatesession()
4
-let port = SERVERNAME;
4
+debugger
5
+let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
6
+let { userId} = cookieRes;
7
+// let userId = '106631380000095';
8
+let port = "https://anwi.bizgaze.app";
5 9
 // let port = "http://localhost:3088";
6
-  let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`;
10
+  let url = `${port}/apis/v4/Bizgaze/integrations/products/salesorderdetailsbyorgid/organizationid/${userId}`;
11
+  // https://anwi.bizgaze.app/apis/v4/Bizgaze/integrations/products/salesorderdetailsbyorgid/organizationid/{organizationid}
7 12
   const config = {
8 13
     url,
9 14
     method: "get",
@@ -14,6 +19,10 @@ let port = SERVERNAME;
14 19
   };
15 20
   debugger
16 21
   let res = await axios(config);
22
+  if(res.data.result == '[]'){
23
+    $(".user_order_details").append(`<div><h6 class="text-center">No orders Found</h6></div>`);
24
+    return;
25
+  }
17 26
   const orderDetailsres = JSON.parse(res.data.result);
18 27
   console.log(orderDetailsres);
19 28
   let new_arrr = orderDetailsres;

+ 7
- 3
dist/Js/orderDetails/order_summary.js Целия файл

@@ -1,9 +1,13 @@
1 1
 async function order_summary(){
2 2
 let current_orderSerialDate =window.localStorage.getItem('orderSerialno');
3
-let user_number =window.localStorage.getItem('Userphonenumber');
4
-let port = SERVERNAME;
3
+// let user_number =window.localStorage.getItem('Userphonenumber');
4
+let cookieRes = COOKIE_HELPER_ACTIONS.getCookie();
5
+let { userId} = cookieRes;
6
+// let userId = '106631380000095';
7
+let port = "https://anwi.bizgaze.app";
5 8
 // let port = "http://localhost:3088";
6
-  let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`;
9
+  // let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`;
10
+  let url = `${port}/apis/v4/Bizgaze/integrations/products/salesorderdetailsbyorgid/organizationid/${userId}`;
7 11
   const config = {
8 12
     url,
9 13
     method: "get",

+ 3
- 3
dist/Js/warranty.js Целия файл

@@ -1,5 +1,5 @@
1 1
 function wattantyFunction() {
2
-  let order_card = `<div class=warranty_product><div class="py-3 warranty_productform"><div class=mb-3><label class=form-label for=Add_serial_number_inp>Enter Your Serial Number</label><input class=form-control id=Add_serial_number_inp  required><label class="form-label text-danger d-none error_serial_num" for=Add_serial_number_inp >Serial Number should not be empty</label></div><div class=mb-3><label class="form-label d-none Add_phonenumber_inp_label" for=Add_phonenumber_inp>Enter Your Phone Number</label> <input class="form-control d-none "id=Add_phonenumber_inp required><label class="text-danger d-none form-label error_phonenumber" for=Add_phonenumber_inp>Enter Valid Phone Number</label></div><div class=mb-3><label class="form-label d-none Add_Contact_inp_label" for=Add_contactname_inp>Enter Your Contactname</label> <input class="form-control d-none" id=Add_contactname_inp required></div><div class="serial_submit text-end"><button class="btn btn-dark warranty_serialNumber_check" type="button">Submit</button><button class="btn btn-dark warranty_serialNumber_submit d-none" type="button">Submit</button></div></div></div>`;
2
+  let order_card = `<div class=warranty_product><div class="py-3 warranty_productform"><div class=mb-3><label class=form-label for=Add_serial_number_inp>Enter Your Serial Number</label><input class=form-control id=Add_serial_number_inp  required><label class="form-label text-danger d-none error_serial_num" for=Add_serial_number_inp >Serial Number should not be empty</label></div><div class=mb-3><label class="form-label d-none Add_phonenumber_inp_label" for=Add_phonenumber_inp>Enter Your Phone Number</label> <input type="number" inputmode="tel" class="form-control d-none" pattern="[1-9]{1}[0-9]{9}^[0-9]*$" onKeyPress="if(this.value.length==10) return false;"maxlength="10"  id=Add_phonenumber_inp  required><label class="text-danger d-none form-label error_phonenumber" for=Add_phonenumber_inp>Enter Valid Phone Number</label></div><div class=mb-3><label class="form-label d-none Add_Contact_inp_label" for=Add_contactname_inp>Enter Your Contactname</label> <input class="form-control d-none" id=Add_contactname_inp required></div><div class="serial_submit text-end"><button class="btn btn-dark warranty_serialNumber_check" type="button">Submit</button><button class="btn btn-dark warranty_serialNumber_submit d-none" type="button">Submit</button></div></div></div>`;
3 3
   $(".user_orders").append(order_card);
4 4
   $(".add_serialNum").click(function () {
5 5
     $(".warranty_productform").removeClass("d-none");
@@ -15,7 +15,7 @@ function wattantyFunction() {
15 15
       $(".error_phonenumber").addClass("d-none");
16 16
       $("#Add_serial_number_inp").removeClass("border-danger");
17 17
       $("#Add_phonenumber_inp").removeClass("border-danger");
18
-      let port = SERVERNAME
18
+      let port = "https://anwi.bizgaze.app";
19 19
       debugger;
20 20
       let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
21 21
       console.log(url);
@@ -80,7 +80,7 @@ function wattantyFunction() {
80 80
     if (serial_no_inp != "") {
81 81
       $(".error_serial_num").addClass("d-none");
82 82
       $("#Add_serial_number_inp").removeClass("border-danger");
83
-      let port = SERVERNAME
83
+      let port = "https://anwi.bizgaze.app";
84 84
       debugger;
85 85
       let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
86 86
       console.log(url);

+ 45
- 2
dist/css/style.css Целия файл

@@ -6444,11 +6444,13 @@ margin-bottom: 0.5rem !important;
6444 6444
   margin-top: -20px;
6445 6445
 } */
6446 6446
 
6447
-.myaccount-content h3 {
6448
-  font-size: 20px;
6447
+.myaccount-content .profile_head {
6449 6448
   border-bottom: 1px dashed #ccc;
6450 6449
   padding-bottom: 10px;
6451 6450
   margin-bottom: 25px;
6451
+}
6452
+.myaccount-content h3 {
6453
+  font-size: 20px;
6452 6454
   font-weight: 600;
6453 6455
 }
6454 6456
 
@@ -6506,7 +6508,24 @@ margin-bottom: 0.5rem !important;
6506 6508
 .myaccount-content .account-details-form .single-input-item input:focus {
6507 6509
   border-bottom: 1px solid #354060;
6508 6510
 }
6511
+.profile_info.cursor-notvalid , .profile_info_pass.cursor-notvalid{
6512
+  cursor: not-allowed;
6513
+}
6509 6514
 
6515
+.Theme_btn{
6516
+  border: none;
6517
+  background: linear-gradient(145deg,rgb(27,45,83,0.9),rgb(10,19,34)) !important;
6518
+  text-transform: uppercase;
6519
+  font-weight: 600;
6520
+  padding: 9px 25px;
6521
+  color: #fff;
6522
+  font-size: 13px;
6523
+}
6524
+.profile_head .edit_sec .check-btn:hover{
6525
+color:#2843c7;
6526
+cursor: pointer;
6527
+transition:linear cubic-bezier(0.455, 0.03, 0.515, 0.955);
6528
+}
6510 6529
 .myaccount-content .account-details-form .single-input-item button {
6511 6530
   border: none;
6512 6531
   background-color: #0A1039;
@@ -31717,4 +31736,28 @@ h4.checkout-title::before {
31717 31736
   to {
31718 31737
     transform: rotate(360deg);
31719 31738
   }
31739
+}
31740
+input[type=number]::-webkit-inner-spin-button, 
31741
+input[type=number]::-webkit-outer-spin-button { 
31742
+    -webkit-appearance: none;
31743
+    -moz-appearance: none;
31744
+    appearance: none;
31745
+    margin: 0; 
31746
+}
31747
+.select2-container--default{
31748
+  width: 100% !important;
31749
+}
31750
+
31751
+.select2-selection__clear span{
31752
+  display: none !important;
31753
+}
31754
+
31755
+.select2-selection__rendered {
31756
+  line-height: 50px !important;
31757
+}
31758
+.select2-container .select2-selection--single {
31759
+  height: 60px !important;
31760
+}
31761
+.select2-selection__arrow {
31762
+  height: 50px !important;
31720 31763
 }

+ 498
- 270
myaccount.html Целия файл

@@ -12,6 +12,7 @@
12 12
     <link rel="stylesheet" href="./libs/owlcarousel/Css/owl.theme.default.min.css">
13 13
     <link rel="stylesheet" href="./dist/css/vendor/bootstrap.min.css">
14 14
     <link rel="stylesheet" href="./dist/css/vendor/bootstrap.min.css">
15
+    <link rel="stylesheet" href="./libs/select2/select2.min.css" rel="stylesheet" />
15 16
     <link rel="stylesheet" href="./dist/css/vendor/vandella.css">
16 17
     <link rel="stylesheet" href="./dist/css/vendor/jellybelly.css">
17 18
     <link rel="stylesheet" href="./dist/css/vendor/fontello.css">
@@ -31,7 +32,7 @@
31 32
 <body class="my_account_page d-none">
32 33
     <!-- navbar -->
33 34
     <div id="navbar-head" class="bg-white"></div>
34
-      <!-- end-navbar -->
35
+    <!-- end-navbar -->
35 36
     <!-- main-body -->
36 37
     <auth-loader></auth-loader>
37 38
     <main class="shopping-cart-main-container main-body pb-0">
@@ -41,89 +42,104 @@
41 42
                 </div>
42 43
             </div>
43 44
         </section>
44
-      <section class="">
45
-        <div class="my-account-wrapper bg-gradient-violet py-md-5">
46
-            <div class="container">
47
-                <div>
48
-                    <h4>My Account </h4>
49
-                </div>
50
-                <div class="row pt-3 ">
51
-                    <div class="col-lg-12">
52
-                        <!-- My Account Page Start -->
53
-                        <div class="myaccount-page-wrapper">
54
-                            <!-- My Account Tab Menu Start -->
55
-                            <div class="row">
56
-                                <div class="col-lg-3 col-md-4">
57
-                                    <div class="myaccount-tab-menu nav" role="tablist">
58
-                                        <a href="#dashboad" class="" data-bs-toggle="tab">Overview</a>
59
-                                        <a href="#orders" data-bs-toggle="tab" class="active "> Orders</a>
60
-                                        <a href="#warrenty" data-bs-toggle="tab" class="d-none">Warranty</a>
61
-                                        <a href="#payment-method" data-bs-toggle="tab" class="d-none"> Payment Method</a>
62
-                                        <a href="#account-info" data-bs-toggle="tab">Profile</a>
63
-                                        <a href="#address-edit" data-bs-toggle="tab">address</a>
64
-                                        <a href="./login.html" class="User_logout">Logout</a>
45
+        <section class="">
46
+            <div class="my-account-wrapper bg-gradient-violet py-md-5">
47
+                <div class="container">
48
+                    <div>
49
+                        <h4>My Account </h4>
50
+                    </div>
51
+                    <div class="row pt-3 ">
52
+                        <div class="col-lg-12">
53
+                            <!-- My Account Page Start -->
54
+                            <div class="myaccount-page-wrapper">
55
+                                <!-- My Account Tab Menu Start -->
56
+                                <div class="row">
57
+                                    <div class="col-lg-3 col-md-4">
58
+                                        <div class="myaccount-tab-menu nav" role="tablist">
59
+                                            <a href="#dashboad" class="" data-bs-toggle="tab">Overview</a>
60
+                                            <a href="#orders" data-bs-toggle="tab" class="active "> Orders</a>
61
+                                            <a href="#warrenty" data-bs-toggle="tab" class="d-none">Warranty</a>
62
+                                            <a href="#payment-method" data-bs-toggle="tab" class="d-none"> Payment
63
+                                                Method</a>
64
+                                            <a href="#account-info" data-bs-toggle="tab">Profile</a>
65
+                                            <a href="#address-edit" data-bs-toggle="tab">address</a>
66
+                                            <a href="./login.html" class="User_logout">Logout</a>
67
+                                        </div>
65 68
                                     </div>
66
-                                </div>
67
-                                <!-- My Account Tab Menu End -->
68
-                                <!-- My Account Tab Content Start -->
69
-                                <div class="col-lg-9 col-md-8">
70
-                                    <div class="tab-content" id="myaccountContent">
71
-                                        <!-- Single Tab Content Start -->
72
-                                        <div class="tab-pane fade " id="dashboad" role="tabpanel">
73
-                                            <div class="myaccount-content p-lg-4">
74
-                                               <div class="row bg-gray p-lg-4 align-items-end">
75
-                                                    <div class="col-md-7 col-12">
76
-                                                        <div class="row align-items-center">
77
-                                                            <div class="col-md-3">
78
-                                                                <img src="./dist/assets/imgs/account_warrenty/profile-icon.png" class="w-md-65 w-50"/>
79
-                                                            </div>
80
-                                                            <div class="col-md-9">
81
-                                                                <h6>Name :<span class="text-black-50"> Anwi</span></h6>
82
-                                                                <h6>Phone :<span class="text-black-50 User_phoneum">9542494949</span></h6>
83
-                                                                <!-- <h6>Phone :<span class="text-black-50 User_phoneum">9030076615</span></h6> -->
69
+                                    <!-- My Account Tab Menu End -->
70
+                                    <!-- My Account Tab Content Start -->
71
+                                    <div class="col-lg-9 col-md-8">
72
+                                        <div class="tab-content" id="myaccountContent">
73
+                                            <!-- Single Tab Content Start -->
74
+                                            <div class="tab-pane fade " id="dashboad" role="tabpanel">
75
+                                                <div class="myaccount-content p-lg-4">
76
+                                                    <div class="row bg-gray p-lg-4 align-items-end">
77
+                                                        <div class="col-md-7 col-12">
78
+                                                            <div class="row align-items-center">
79
+                                                                <div class="col-md-3">
80
+                                                                    <img src="./dist/assets/imgs/account_warrenty/profile-icon.png"
81
+                                                                        class="w-md-65 w-50" />
82
+                                                                </div>
83
+                                                                <div class="col-md-9">
84
+                                                                    <h6>Name :<span class="text-black-50 overview_user_name text-capitalize"> Anwi</span>
85
+                                                                    </h6>
86
+                                                                    <h6>Phone :<span
87
+                                                                            class="text-black-50 User_phoneum overview_user_phone"></span>
88
+                                                                    </h6>
89
+                                                                    <!-- <h6>Phone :<span class="text-black-50 User_phoneum">9030076615</span></h6> -->
90
+                                                                </div>
84 91
                                                             </div>
85 92
                                                         </div>
93
+                                                        <div class="col-md-3"></div>
94
+                                                        <div class="col-md-2 col-12 text-end">
95
+                                                            <a href="#"
96
+                                                                class="btn bg-gradient-anwi-outline px-4 btn-sm">Edit</a>
97
+                                                        </div>
86 98
                                                     </div>
87
-                                                    <div class="col-md-3"></div>
88
-                                                    <div class="col-md-2 col-12 text-end">
89
-                                                        <a href="#" class="btn bg-gradient-anwi-outline px-4 btn-sm">Edit</a>
90
-                                                    </div>
91
-                                               </div>
92
-                                               <div class="row py-4 justify-content-md-between">
93
-                                                    <div class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
94
-                                                        <a href="#">
95
-                                                            <div class="border-0 card text-center">
96
-                                                                <div class="card-body">
97
-                                                                    <img src="./dist/assets/imgs/account_warrenty/profile-orders.png" class="w-25 img-fluid"/>
98
-                                                                    <h6>Orders</h6>
99
-                                                                    <p class="mb-0 text-secondary">Check your order status</p>
99
+                                                    <div class="row py-4 justify-content-md-between">
100
+                                                        <div
101
+                                                            class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
102
+                                                            <a href="#">
103
+                                                                <div class="border-0 card text-center">
104
+                                                                    <div class="card-body">
105
+                                                                        <img src="./dist/assets/imgs/account_warrenty/profile-orders.png"
106
+                                                                            class="w-25 img-fluid" />
107
+                                                                        <h6>Orders</h6>
108
+                                                                        <p class="mb-0 text-secondary">Check your order
109
+                                                                            status</p>
110
+                                                                    </div>
100 111
                                                                 </div>
101
-                                                            </div>
102
-                                                        </a>
103
-                                                    </div>
104
-                                                    <div class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
105
-                                                        <a href="#">
106
-                                                            <div class="border-0 card text-center">
107
-                                                                <div class="card-body">
108
-                                                                    <img src="./dist/assets/imgs/account_warrenty/profile-collections.png" class="w-25 img-fluid"/>
109
-                                                                    <h6>Warranty</h6>
110
-                                                                    <p class="mb-0 text-secondary">All your curated product collections</p>
112
+                                                            </a>
113
+                                                        </div>
114
+                                                        <div
115
+                                                            class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
116
+                                                            <a href="#">
117
+                                                                <div class="border-0 card text-center">
118
+                                                                    <div class="card-body">
119
+                                                                        <img src="./dist/assets/imgs/account_warrenty/profile-collections.png"
120
+                                                                            class="w-25 img-fluid" />
121
+                                                                        <h6>Warranty</h6>
122
+                                                                        <p class="mb-0 text-secondary">All your curated
123
+                                                                            product collections</p>
124
+                                                                    </div>
111 125
                                                                 </div>
112
-                                                            </div>
113
-                                                        </a>
114
-                                                    </div>
115
-                                                    <div class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
116
-                                                        <a href="#">
117
-                                                            <div class="border-0 card text-center">
118
-                                                                <div class="card-body">
119
-                                                                    <img src="./dist/assets/imgs/account_warrenty/profile-myntra-credit.png" class="w-25 img-fluid"/>
120
-                                                                    <h6>Anwi Credit</h6>
121
-                                                                    <p class="mb-0 text-secondary">Manage all your refunds & gift cards</p>
126
+                                                            </a>
127
+                                                        </div>
128
+                                                        <div
129
+                                                            class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
130
+                                                            <a href="#">
131
+                                                                <div class="border-0 card text-center">
132
+                                                                    <div class="card-body">
133
+                                                                        <img src="./dist/assets/imgs/account_warrenty/profile-myntra-credit.png"
134
+                                                                            class="w-25 img-fluid" />
135
+                                                                        <h6>Anwi Credit</h6>
136
+                                                                        <p class="mb-0 text-secondary">Manage all your
137
+                                                                            refunds & gift cards</p>
138
+                                                                    </div>
122 139
                                                                 </div>
123
-                                                            </div>
124
-                                                        </a>
125
-                                                    </div>
126
-                                                    <!-- <div class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
140
+                                                            </a>
141
+                                                        </div>
142
+                                                        <!-- <div class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
127 143
                                                         <a href="#">
128 144
                                                             <div class="border-0 card text-center">
129 145
                                                                 <div class="card-body">
@@ -156,112 +172,195 @@
156 172
                                                             </div>
157 173
                                                         </a>
158 174
                                                     </div> -->
159
-                                                    <div class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2 ">
160
-                                                        <a href="#">
161
-                                                            <div class="border-0 card text-center">
162
-                                                                <div class="card-body">
163
-                                                                    <img src="./dist/assets/imgs/account_warrenty/profile-address.png" class="w-25 img-fluid"/>
164
-                                                                    <h6>Addresses</h6>
165
-                                                                    <p class="mb-0 text-secondary">Save addressess for a hassle free checkout</p>
175
+                                                        <div
176
+                                                            class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2 ">
177
+                                                            <a href="#">
178
+                                                                <div class="border-0 card text-center">
179
+                                                                    <div class="card-body">
180
+                                                                        <img src="./dist/assets/imgs/account_warrenty/profile-address.png"
181
+                                                                            class="w-25 img-fluid" />
182
+                                                                        <h6>Addresses</h6>
183
+                                                                        <p class="mb-0 text-secondary">Save addressess
184
+                                                                            for a hassle free checkout</p>
185
+                                                                    </div>
166 186
                                                                 </div>
167
-                                                            </div>
168
-                                                        </a>
169
-                                                    </div>
170
-                                                    <div class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
171
-                                                        <a href="#">
172
-                                                            <div class="border-0 card text-center">
173
-                                                                <div class="card-body">
174
-                                                                    <img src="./dist/assets/imgs/account_warrenty/profile-coupons.png" class="w-25 img-fluid"/>
175
-                                                                    <h6>Coupons</h6>
176
-                                                                    <p class="mb-0 text-secondary">Manage coupons for additional discounts</p>
187
+                                                            </a>
188
+                                                        </div>
189
+                                                        <div
190
+                                                            class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
191
+                                                            <a href="#">
192
+                                                                <div class="border-0 card text-center">
193
+                                                                    <div class="card-body">
194
+                                                                        <img src="./dist/assets/imgs/account_warrenty/profile-coupons.png"
195
+                                                                            class="w-25 img-fluid" />
196
+                                                                        <h6>Coupons</h6>
197
+                                                                        <p class="mb-0 text-secondary">Manage coupons
198
+                                                                            for additional discounts</p>
199
+                                                                    </div>
177 200
                                                                 </div>
178
-                                                            </div>
179
-                                                        </a>
180
-                                                    </div>
181
-                                                    <div class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
182
-                                                        <a href="#">
183
-                                                            <div class="border-0 card text-center">
184
-                                                                <div class="card-body">
185
-                                                                    <img src="./dist/assets/imgs/account_warrenty/profile-edit.png" class="w-25 img-fluid"/>
186
-                                                                    <h6>Profile Details</h6>
187
-                                                                    <p class="mb-0 text-secondary">Change your profile details & password</p>
201
+                                                            </a>
202
+                                                        </div>
203
+                                                        <div
204
+                                                            class="col-lg-3 col-md-5 mx-lg-3 mx-md-1 mb-3 border shadow rounded-2">
205
+                                                            <a href="#">
206
+                                                                <div class="border-0 card text-center">
207
+                                                                    <div class="card-body">
208
+                                                                        <img src="./dist/assets/imgs/account_warrenty/profile-edit.png"
209
+                                                                            class="w-25 img-fluid" />
210
+                                                                        <h6>Profile Details</h6>
211
+                                                                        <p class="mb-0 text-secondary">Change your
212
+                                                                            profile details & password</p>
213
+                                                                    </div>
188 214
                                                                 </div>
189
-                                                            </div>
190
-                                                        </a>
215
+                                                            </a>
216
+                                                        </div>
191 217
                                                     </div>
192
-                                               </div>
193
-                                            </div>
194
-                                        </div>
195
-                                        <!-- Single Tab Content End -->
196
-                                        <!-- Single Tab Content Start -->
197
-                                       
198
-                                        <!-- Single Tab Content End -->
199
-                                        <!-- Single Tab Content Start -->
200
-                                        <div class="tab-pane fade" id="payment-method" role="tabpanel">
201
-                                            <div class="myaccount-content">
202
-                                                <h3>Payment Method</h3>
203
-                                                <p class="saved-message">You Can't Saved Your Payment Method yet.</p>
218
+                                                </div>
204 219
                                             </div>
205
-                                        </div>
206
-                                        <!-- Single Tab Content End -->
207
-                                        <!-- Single Tab Content Start -->
208
-                                        <div class="tab-pane fade" id="address-edit" role="tabpanel">
209
-                                            <div class="myaccount-content pb-0">
210
-                                                <div class="row">
211
-                                                    <div class="col-md-6 py-md-2">
212
-                                                        <h3 class="mb-0 border-0 pb-0">Saved Address</h3>
213
-                                                    </div>
214
-                                                    <div class="col-md-6 text-end py-md-2">
215
-                                                        <a href="#" class="btn bg-gradient-anwi-outline btn-sm">+ ADD NEW ADDRESS</a>
216
-                                                    </div>
220
+                                            <!-- Single Tab Content End -->
221
+                                            <!-- Single Tab Content Start -->
222
+
223
+                                            <!-- Single Tab Content End -->
224
+                                            <!-- Single Tab Content Start -->
225
+                                            <div class="tab-pane fade" id="payment-method" role="tabpanel">
226
+                                                <div class="myaccount-content">
227
+                                                    <h3>Payment Method</h3>
228
+                                                    <p class="saved-message">You Can't Saved Your Payment Method yet.
229
+                                                    </p>
217 230
                                                 </div>
218
-                                                <address>
219
-                                                    <p><strong>Alex Tuntuni</strong></p>
220
-                                                    <p>1355 Market St, Suite 900 <br>
221
-                                                        San Francisco, CA 94103</p>
222
-                                                    <p>Mobile: (123) 456-7890</p>
223
-                                                </address>
224
-                                                <div class="row border-top">
225
-                                                    <div class="col-md-6 border-end text-center py-md-2">
226
-                                                        <a href="#" class="check-btn sqr-btn">Edit Address</a>
231
+                                            </div>
232
+                                            <!-- Single Tab Content End -->
233
+                                            <!-- Single Tab Content Start -->
234
+                                            <div class="tab-pane fade" id="address-edit" role="tabpanel">
235
+                                                <div class="myaccount-content">
236
+                                                        <div class="align-items-center d-flex profile_head py-md-2">
237
+                                                            <h3 class="mb-0 border-0 pb-0">Address</h3> <a href="#" class="ms-3 address_edit">
238
+                                                                Edit</a><a href="#" class="ms-3 address_edit_cancel" style="display: none;">
239
+                                                                    Cancel</a>
240
+                                                        </div>
241
+                                                    <div class="p-3 addresslist" style="display: none;">
242
+                                                        <label class="form-check-label addresslabel w-100" for="address1">
243
+                                                            <input checked type="radio" id="address1" class="d-none">
244
+                                                            <div>
245
+                                                                <div class="row">
246
+                                                                    <div class="col-sm-6">
247
+                                                                        <div class="form-floating">
248
+                                                                            <!-- <input type="number" class="form-control" id="phonenumber"
249
+                                                                                placeholder="Phone Number"> -->
250
+                                                                                <input type="number" inputmode="tel" class="form-control" pattern="[1-9]{1}[0-9]{9}^[0-9]*$" onKeyPress="if(this.value.length==10) return false;"maxlength="10"  id="phonenumber" placeholder="Phone Number"  required>
251
+                                                                            <label for="phonenumber">Phonenumber</label>
252
+                                                                            <div class="invalid-feedback ">
253
+                                                                                Please choose a valid Phone Number.
254
+                                                                            </div>
255
+                                                                        </div>
256
+                                                                    </div>
257
+                                                                    <div class="col-sm-6">
258
+                                                                        <div class="form-floating">
259
+                                                                            <input type="text" class="form-control" id="addressdes"
260
+                                                                                placeholder="Phone Number">
261
+                                                                            <label for="addressdes">Address </label>
262
+                                                                            <div class="invalid-feedback ">
263
+                                                                                Please Enter Your Address.
264
+                                                                            </div>
265
+                                                                        </div>
266
+                                                                    </div>
267
+                                                                </div>
268
+                                                                <div class="row">
269
+                                                                    <div class="col-sm-6">
270
+                                                                        <div class="form-floating">
271
+                                                                            <input type="number" inputmode="tel" class="form-control" pattern="[1-6]{1}[0-6]{6}^[0-6]*$" onKeyPress="if(this.value.length==6) return false;" maxlength="6"  id="zipcode"
272
+                                                                                placeholder="Zip Number">
273
+                                                                            <label for="zipcode">zipcode</label>
274
+                                                                            <div class="invalid-feedback ">
275
+                                                                                Please choose a valid zipcode.
276
+                                                                            </div>
277
+                                                                        </div>
278
+                                                                    </div>
279
+                                                                    <div class="col-sm-6">
280
+                                                                        <div class="form-floating h-100">
281
+                                                                            <select name="state" id="state"
282
+                                                                                class="form-control h-100 pt-2"></select>
283
+                        
284
+                                                                            <div class="invalid-feedback ">
285
+                                                                                Please choose a valid state.
286
+                                                                            </div>
287
+                                                                        </div>
288
+                                                                    </div>
289
+                                                                </div>
290
+                                                                <div class="py-2">
291
+                                                                    <div class="text-danger errMsgFormEdit d-none"></div>
292
+                                                                    <button
293
+                                                                        class=" saveaddress bg-gradient-anwi  text-white btn btn-sm">
294
+                                                                        <div class="spinner-border d-none " role="status">
295
+                                                                           
296
+                                                                          </div>
297
+                                                                          <span>Save</span>
298
+                                                                    </button>
299
+                                                                    <button
300
+                                                                        class="Createaddress bg-gradient-anwi  text-white btn btn-sm" style="display: none;">
301
+                                                                        <div class="spinner-border d-none " role="status">
302
+                                                                           
303
+                                                                          </div>
304
+                                                                          <span>Save</span>
305
+                                                                    </button>
306
+                                                                    <button
307
+                                                                    class=" saveanddeliverCanel ml-2 d-none bg-gradient-anwi text-white btn btn-sm">
308
+                                                                    <div class="spinner-border d-none " role="status">
309
+                                                                       
310
+                                                                      </div>
311
+                                                                      <span>Cancel</span>
312
+                                                                </button>
313
+                                                                </div>
314
+                                                            </div>
315
+                                                          
316
+                                                        </label>
227 317
                                                     </div>
228
-                                                    <div class="col-md-6 text-center py-md-2">
229
-                                                        <a href="#" class="check-btn sqr-btn">Remove</a>
318
+                                                    <div class="profile_Address">
319
+                                                        
230 320
                                                     </div>
321
+                        
231 322
                                                 </div>
232
-                                               
233 323
                                             </div>
234
-                                        </div>
235
-                                        <div class="tab-pane fade active show" id="orders" role="tabpanel">
236
-                                            <div class="myaccount-content">
237
-                                                <h3>Order Details</h3>
238
-                                                <div class="user_order_details rounded mb-3">
324
+                                            <div class="tab-pane fade active show" id="orders" role="tabpanel">
325
+                                                <div class="myaccount-content">
326
+                                                    <h3>Order Details</h3>
327
+                                                    <div class="user_order_details rounded mb-3">
328
+                                                    </div>
239 329
                                                 </div>
330
+
240 331
                                             </div>
241
-                                         
242
-                                        </div>
243
-                                        <div class="tab-pane fade" id="warrenty" role="tabpanel">
332
+                                            <div class="tab-pane fade" id="warrenty" role="tabpanel">
244 333
                                                 <div class="myaccount-content">
245 334
                                                     <h3>Warranty Order Details</h3>
246 335
                                                     <div class="user_orders">
247
-    
336
+
248 337
                                                     </div>
249
-                                                    <div class="border-0 border-bottom card rounded-0 shadow-sm mb-2 order-cards d-none">
338
+                                                    <div
339
+                                                        class="border-0 border-bottom card rounded-0 shadow-sm mb-2 order-cards d-none">
250 340
                                                         <div class="row align-items-center">
251 341
                                                             <div class="col-md-3">
252
-                                                                <img src="./dist/assets/imgs/Navbar/ora_ddr4_desktop.png" class="img-fluid w-75"/>
342
+                                                                <img src="./dist/assets/imgs/Navbar/ora_ddr4_desktop.png"
343
+                                                                    class="img-fluid w-75" />
253 344
                                                             </div>
254 345
                                                             <div class="col-md-9">
255 346
                                                                 <div class="row">
256 347
                                                                     <div class="col-md-5">
257
-                                                                        <div>Serail NO: <span class="text-secondary fs-9 serial_no">#7907987897348</span></div>
258
-                                                                        <div>Purchase Date : <span class="text-secondary fs-9 purchase_date">Feb 1, 2023</span></div>
348
+                                                                        <div>Serail NO: <span
349
+                                                                                class="text-secondary fs-9 serial_no">#7907987897348</span>
350
+                                                                        </div>
351
+                                                                        <div>Purchase Date : <span
352
+                                                                                class="text-secondary fs-9 purchase_date">Feb
353
+                                                                                1, 2023</span></div>
259 354
                                                                     </div>
260 355
                                                                     <div class="col-md-7">
261
-                                                                        <div class="fs-9">Warrenty Expairy Date : <span class="bg-warning px-2 fs-9 rounded-2 warrenty_date">Mar 20, 2023</span></div>
356
+                                                                        <div class="fs-9">Warrenty Expairy Date : <span
357
+                                                                                class="bg-warning px-2 fs-9 rounded-2 warrenty_date">Mar
358
+                                                                                20, 2023</span></div>
262 359
                                                                         <div class="row">
263
-                                                                                <div class="col-md-5"> Status :</div>
264
-                                                                                <div class="col-md-7"> <span class="btn btn-success py-0 fs-9">Running</span></div>
360
+                                                                            <div class="col-md-5"> Status :</div>
361
+                                                                            <div class="col-md-7"> <span
362
+                                                                                    class="btn btn-success py-0 fs-9">Running</span>
363
+                                                                            </div>
265 364
                                                                         </div>
266 365
                                                                     </div>
267 366
                                                                 </div>
@@ -269,28 +368,40 @@
269 368
                                                         </div>
270 369
                                                         <div class="p-3">
271 370
                                                             <div class="d-none">
272
-                                                                <button class="btn bg-gradient-anwi-outline me-2">Send Remainder</button>
273
-                                                                <button class="btn bg-gradient-anwi">Extended warranty History</button>
371
+                                                                <button class="btn bg-gradient-anwi-outline me-2">Send
372
+                                                                    Remainder</button>
373
+                                                                <button class="btn bg-gradient-anwi">Extended warranty
374
+                                                                    History</button>
274 375
                                                             </div>
275 376
                                                         </div>
276 377
                                                     </div>
277
-                                                    <div class="border-0 border-bottom card rounded-0 shadow-sm mb-2 order-cards d-none">
278
-                                                        
378
+                                                    <div
379
+                                                        class="border-0 border-bottom card rounded-0 shadow-sm mb-2 order-cards d-none">
380
+
279 381
                                                         <div class="row align-items-center">
280 382
                                                             <div class="col-md-3">
281
-                                                                <img src="./dist/assets/imgs/Navbar/ora_ddr4_desktop.png" class="img-fluid w-75"/>
383
+                                                                <img src="./dist/assets/imgs/Navbar/ora_ddr4_desktop.png"
384
+                                                                    class="img-fluid w-75" />
282 385
                                                             </div>
283 386
                                                             <div class="col-md-9">
284 387
                                                                 <div class="row">
285 388
                                                                     <div class="col-md-5">
286
-                                                                        <div class="fs-9">Product ID : <span class="text-secondary fs-9">#7907987897348</span></div>
287
-                                                                        <div class="fs-9">Purchase Date : <span class="text-secondary fs-9">Feb 1, 2023</span></div>
389
+                                                                        <div class="fs-9">Product ID : <span
390
+                                                                                class="text-secondary fs-9">#7907987897348</span>
391
+                                                                        </div>
392
+                                                                        <div class="fs-9">Purchase Date : <span
393
+                                                                                class="text-secondary fs-9">Feb 1,
394
+                                                                                2023</span></div>
288 395
                                                                     </div>
289 396
                                                                     <div class="col-md-7">
290
-                                                                        <div class="fs-9">Warrenty Expairy Date : <span class="bg-warning px-2 fs-9 rounded-2">Mar 20, 2023</span></div>
397
+                                                                        <div class="fs-9">Warrenty Expairy Date : <span
398
+                                                                                class="bg-warning px-2 fs-9 rounded-2">Mar
399
+                                                                                20, 2023</span></div>
291 400
                                                                         <div class="row">
292 401
                                                                             <div class="col-md-5"> Status :</div>
293
-                                                                            <div class="col-md-7"> <span class="btn btn-success py-0 fs-9">Running</span></div>
402
+                                                                            <div class="col-md-7"> <span
403
+                                                                                    class="btn btn-success py-0 fs-9">Running</span>
404
+                                                                            </div>
294 405
                                                                         </div>
295 406
                                                                     </div>
296 407
                                                                 </div>
@@ -298,96 +409,210 @@
298 409
                                                         </div>
299 410
                                                         <div class="p-3">
300 411
                                                             <div class="d-none">
301
-                                                                <button class="btn bg-gradient-anwi-outline me-2">Send Remainder</button>
302
-                                                                <button class="btn bg-gradient-anwi">Extended warranty History</button>
412
+                                                                <button class="btn bg-gradient-anwi-outline me-2">Send
413
+                                                                    Remainder</button>
414
+                                                                <button class="btn bg-gradient-anwi">Extended warranty
415
+                                                                    History</button>
303 416
                                                             </div>
304 417
                                                         </div>
305 418
                                                     </div>
306 419
                                                 </div>
307
-                                           
308
-                                        </div>
309
-                                        <!-- Single Tab Content End -->
310
-                                        <!-- Single Tab Content Start -->
311
-                                        <div class="tab-pane fade" id="account-info" role="tabpanel">
312
-                                            <div class="myaccount-content">
313
-                                                <h3>Account Details</h3>
314
-                                                <div class="account-details-form">
315
-                                                    <form action="#">
316
-                                                        <div class="row">
317
-                                                            <div class="col-lg-6">
318
-                                                                <div class="single-input-item">
319
-                                                                    <label for="first-name" class="required">First Name</label>
320
-                                                                    <input type="text" id="first-name" class="form-control shadow-none rounded-0">
321
-                                                                </div>
420
+
421
+                                            </div>
422
+                                            <!-- Single Tab Content End -->
423
+                                            <!-- Single Tab Content Start -->
424
+                                            <div class="tab-pane fade" id="account-info" role="tabpanel">
425
+                                                <div class="myaccount-content">
426
+                                                    <!-- <div class="profile_head">
427
+                                                        <div class="row align-items-center">
428
+                                                            <div class="col-md-6 col-6">
429
+                                                                <h3>Personal Information</h3>
322 430
                                                             </div>
323
-                                                            <div class="col-lg-6">
324
-                                                                <div class="single-input-item">
325
-                                                                    <label for="last-name" class="required">Last Name</label>
326
-                                                                    <input type="text" id="last-name" class="form-control shadow-none rounded-0">
431
+                                                            <div class="col-md-6 col-6 text-end">
432
+                                                                <button
433
+                                                                    class="check-btn Theme_btn rounded">Edit</button>
434
+                                                                <button
435
+                                                                    class="check-btn Theme_btn rounded d-none">Cancel</button>
436
+                                                            </div>
437
+                                                        </div>
438
+                                                    </div> -->
439
+                                                    <div class="profile_head my-4">
440
+                                                        <div class="row align-items-center">
441
+                                                            <div class="col-md-6 col-6">
442
+                                                                <div class="d-flex">
443
+                                                                    <div class="profile_header">
444
+                                                                        <h3>Personal Information</h3>
445
+                                                                    </div>
446
+                                                                    <div class="edit_sec ms-3">
447
+                                                                        <span
448
+                                                                            class="check-btn rounded profile_edit">Edit</span>
449
+                                                                        <span
450
+                                                                            class="check-btn rounded profile_edit_cancel"
451
+                                                                            style="display: none;">Cancel</span>
452
+                                                                    </div>
327 453
                                                                 </div>
454
+
328 455
                                                             </div>
329 456
                                                         </div>
330
-                                                        <div class="single-input-item">
331
-                                                            <label for="display-name" class="required">Display Name</label>
332
-                                                            <input type="text" id="display-name" class="form-control shadow-none rounded-0">
457
+                                                    </div>
458
+                                                    <div class="account-details-form mt-0">
459
+                                                        <form action="#">
460
+                                                            <div class="col-md-6 py-2">
461
+                                                                <div class="form-floating py-0 ">
462
+                                                                    <input type="text"
463
+                                                                        class="form-control shadow-none h-50p profile_info cursor-notvalid text-capitalize"
464
+                                                                        id="Profile_User_name"
465
+                                                                        placeholder="Enter Your Name" autocomplete="off"
466
+                                                                        disabled>
467
+                                                                    <label for="Profile_User_name"
468
+                                                                        class="profile_info_label"
469
+                                                                        style="display: none;">User Name</label>
470
+                                                                </div>
471
+                                                            </div>
472
+
473
+                                                            <div class="col-md-6 py-2">
474
+                                                                <div class="form-floating py-0 ">
475
+                                                                        <input type="number" inputmode="tel"  class="form-control profile_info cursor-notvalid shadow-none h-50p" pattern="[1-9]{1}[0-9]{9}^[0-9]*$" onKeyPress="if(this.value.length==10) return false;"maxlength="10"  id="Profile_Phone_num"   placeholder="Enter Your Number"  disabled>
476
+                                                                    <label for="Profile_Phone_num"
477
+                                                                        class="profile_info_label"
478
+                                                                        style="display: none;">Phone
479
+                                                                        Number</label>
480
+                                                                </div>
481
+                                                            </div>
482
+                                                            <div class="py-1">
483
+                                                                <button
484
+                                                                    class="check-btn Theme_btn rounded profile_save_btn"
485
+                                                                    style="display: none;" type="button">Save</button>
486
+                                                            </div>
487
+                                                            <!-- <div class="row align-items-center">
488
+                                                                <div class="col-md-4 py-1">
489
+                                                                    <div class="form-floating py-0 ">
490
+                                                                        <input type="text"
491
+                                                                            class="form-control shadow-none h-50p"
492
+                                                                            id="Profile_User_name"
493
+                                                                            placeholder="Enter Your Name"
494
+                                                                            autocomplete="off">
495
+                                                                        <label for="Profile_User_name">User Name</label>
496
+                                                                    </div>
497
+                                                                </div>
498
+                                                                <div class="col-md-4 py-1">
499
+                                                                    <div class="form-floating py-0 ">
500
+                                                                        <input type="text"
501
+                                                                            class="form-control shadow-none h-50p"
502
+                                                                            id="Profile_Phone_num"
503
+                                                                            placeholder="Enter Your Number"
504
+                                                                            autocomplete="off">
505
+                                                                        <label for="Profile_Phone_num">Phone
506
+                                                                            Number</label>
507
+                                                                    </div>
508
+                                                                </div>
509
+                                                                <div class="col-md-4 py-1">
510
+                                                                    <button
511
+                                                                        class="check-btn Theme_btn rounded d-none">Save</button>
512
+                                                                </div>
513
+                                                            </div> -->
514
+                                                        </form>
515
+                                                    </div>
516
+                                                    <div class="profile_head my-4">
517
+                                                        <div class="row align-items-center">
518
+                                                            <div class="col-md-6 col-6">
519
+                                                                <div class="d-flex">
520
+                                                                    <div class="profile_header">
521
+                                                                        <h3>Password</h3>
522
+                                                                    </div>
523
+                                                                    <div class="edit_sec ms-3">
524
+                                                                        <span
525
+                                                                            class="check-btn rounded pass_edit">Edit</span>
526
+                                                                        <span class="check-btn rounded pass_edit_cancel"
527
+                                                                            style="display: none;">Cancel</span>
528
+                                                                    </div>
529
+                                                                </div>
530
+
531
+                                                            </div>
333 532
                                                         </div>
334
-                                                        <!-- <div class="single-input-item">
335
-                                                            <label for="email" class="required">Email Addres</label>
336
-                                                            <input type="email" id="email" class="form-control shadow-none rounded-0">
337
-                                                        </div> -->
338
-                                                        <div class="form-floating py-0 ">
339
-                                                            <input type="email" class="form-control shadow-none h-50p"
340
-                                                                id="email" placeholder="Email address"
341
-                                                                autocomplete="off">
342
-                                                            <label for="email">Email address</label>
533
+                                                    </div>
534
+                                                    <div class="account-details-form mt-0">
535
+                                                        <div class="col-md-6">
536
+                                                            <div class="profilepass_feedbackres"></div>
343 537
                                                         </div>
344
-                                                        <fieldset>
345
-                                                            <legend>Password change</legend>
346
-                                                         
347
-                                                            <div class="form-floating py-0 mb-3 ">
348
-                                                                <input type="password" class="form-control shadow-none h-50p"
349
-                                                                    id="current-pwd" placeholder="Email address"
350
-                                                                    autocomplete="off">
351
-                                                                <label for="current-pwd" class="required">Current Password</label>
538
+                                                        <form action="#">
539
+                                                            <div class="col-md-6 py-2">
540
+                                                                <div class="form-floating py-0 ">
541
+                                                                    <input type="password"
542
+                                                                        class="form-control shadow-none profile_info_pass cursor-notvalid h-50p"
543
+                                                                        id="Profile_User_current_pass"
544
+                                                                        placeholder="Enter Current Password"
545
+                                                                        autocomplete="off" disabled>
546
+                                                                    <label for="Profile_User_current_pass">Current
547
+                                                                        Password</label>
548
+                                                                    <div class="invalid-feedback">
549
+                                                                        Please Enter Current Password !
550
+                                                                    </div>
551
+                                                                </div>
352 552
                                                             </div>
353
-                                                            <div class="row">
354
-                                                                <div class="col-lg-6">
355
-                                                                    <div class="form-floating ">
356
-                                                                        <input type="password" id="new-pwd" class="form-control shadow-none rounded-0">
357
-                                                                        <label for="new-pwd" class="required">New Password</label>
553
+                                                            <div class="col-md-6 py-2">
554
+                                                                <div class="form-floating py-0 ">
555
+                                                                    <input type="password"
556
+                                                                        class="form-control shadow-none profile_info_pass cursor-notvalid h-50p"
557
+                                                                        id="Profile_User_new_pass"
558
+                                                                        placeholder="Enter New Password"
559
+                                                                        autocomplete="off" disabled>
560
+                                                                    <label for="Profile_User_new_pass">New
561
+                                                                        Password</label>
562
+                                                                    <div class="invalid-feedback">
563
+                                                                        Please Enter Correct Password !
358 564
                                                                     </div>
359 565
                                                                 </div>
360
-                                                                <div class="col-lg-6">
361
-                                                                    <div class="single-input-item">
362
-                                                                        <label for="confirm-pwd" class="required">Confirm Password</label>
363
-                                                                        <input type="password" id="confirm-pwd" class="form-control shadow-none rounded-0">
566
+                                                            </div>
567
+                                                            <div class="col-md-6 py-2">
568
+                                                                <div class="form-floating py-0 ">
569
+                                                                    <input type="text"
570
+                                                                        class="form-control shadow-none profile_info_pass cursor-notvalid h-50p"
571
+                                                                        id="Profile_User_confirm_pass"
572
+                                                                        placeholder="Enter Confirm Password"
573
+                                                                        autocomplete="off" disabled>
574
+                                                                    <label for="Profile_User_confirm_pass">Confirm
575
+                                                                        Password</label>
576
+                                                                    <div class="invalid-feedback">
577
+                                                                        Please Enter Correct Password !
364 578
                                                                     </div>
365 579
                                                                 </div>
366 580
                                                             </div>
367
-                                                        </fieldset>
368
-                                                        <div class="single-input-item">
369
-                                                            <div class="row align-items-center">
370
-                                                                <div class="col-md-6 col-6 text-center">
371
-                                                                    <button class="check-btn sqr-btn ">Save Changes</button>
581
+
582
+                                                            <!-- <div class="col-md-9 py-2 d-flex align-items-center">
583
+                                                                    <div class="col-md-3">
584
+                                                                    <div class="input_label fw-500">Confirm password</div>
372 585
                                                                 </div>
373
-                                                                <div class="col-md-6 col-6 text-center">
374
-                                                                    <button class="check-btn sqr-btn ">Edit Profile</button>
586
+                                                                <div class="col-md-6">
587
+                                                                    <div class="form-floating py-0 ">
588
+                                                                        <input type="text"
589
+                                                                            class="form-control shadow-none h-50p"
590
+                                                                            id="Profile_User_confirm_pass"
591
+                                                                            placeholder="Enter Confirm Password"
592
+                                                                            autocomplete="off">
593
+                                                                        <label for="Profile_User_confirm_pass">Confirm Password</label>
594
+                                                                    </div>
375 595
                                                                 </div>
596
+                                                                </div> -->
597
+                                                            <div class="py-2">
598
+                                                                <button
599
+                                                                    class="check-btn Theme_btn rounded update_profile_pass"
600
+                                                                    style="display: none;" type="button">Update
601
+                                                                    Password</button>
376 602
                                                             </div>
377
-                                                        </div>
378
-                                                    </form>
603
+                                                        </form>
604
+                                                    </div>
379 605
                                                 </div>
380
-                                            </div>
381
-                                        </div> <!-- Single Tab Content End -->
382
-                                    </div>
383
-                                </div> <!-- My Account Tab Content End -->
384
-                            </div>
385
-                        </div> <!-- My Account Page End -->
606
+                                            </div> <!-- Single Tab Content End -->
607
+                                        </div>
608
+                                    </div> <!-- My Account Tab Content End -->
609
+                                </div>
610
+                            </div> <!-- My Account Page End -->
611
+                        </div>
386 612
                     </div>
387 613
                 </div>
388 614
             </div>
389
-        </div>
390
-      </section>
615
+        </section>
391 616
     </main>
392 617
     <!-- footer -->
393 618
     <div id="footer-head"></div>
@@ -414,7 +639,7 @@
414 639
     <script src="./dist/js/plugins/isotope.js"></script>
415 640
     <script src="./dist/js/plugins/jquery-ui.js"></script>
416 641
     <script src="./dist/js/plugins/magnific-popup.js"></script>
417
-    <!-- Main JS --> 
642
+    <!-- Main JS -->
418 643
     <script src="./dist//toaster/toastr.js"></script>
419 644
     <!-- <script src="./dist/js/auth/apiservice.js"></script> -->
420 645
     <script src="./dist/js/localstorage/loginauthlocal.js"></script>
@@ -423,51 +648,54 @@
423 648
     <script src="./dist/js/myaccount/orderdetails.js"></script>
424 649
     <script src="./dist/js/myaccount/myaccount_warrenty.js"></script>
425 650
     <script src="./dist/js/myaccount/Myaccount.js"></script>
651
+    <script src="./dist/js/myaccount/Profile.js"></script>
652
+    <script src="./dist/js/myaccount/Address.js"></script>
653
+    <script src="./libs/select2/select2.js"></script>
426 654
     <script src="./dist/js/main.js"></script>
427 655
 
428 656
 
429 657
     <script>
430
-        $(document).ready(function() {
431
-            let Userpassword_update =window.localStorage.getItem('Ispasswordupdate')
432
-        if(Userpassword_update == 'true'){
433
-            toasteropts()
434
-            Command: toastr["success"]("Password Updated Successfully");
435
-            window.localStorage.removeItem('Ispasswordupdate')
436
-            return
437
-        }
438
-    function toasteropts(){
439
-       toastr.options = {
440
-      "closeButton": true,
441
-      "debug": false,
442
-      "newestOnTop": true,
443
-      "progressBar": true,
444
-      "positionClass": "toast-top-center",
445
-      "preventDuplicates": true,
446
-      "onclick": null,
447
-      "showDuration": "300",
448
-      "hideDuration": "1000",
449
-      "timeOut": "5000",
450
-      "extendedTimeOut": "1000",
451
-      "showEasing": "swing",
452
-      "hideEasing": "linear",
453
-      "showMethod": "fadeIn",
454
-      "hideMethod": "fadeOut"
455
-    }
456
-    }
457
-});
458
-        $(".order-cards").each(function(){
459
-            $(".order-cards").css("cursor","pointer")
460
-            $(this).click(function(){
658
+        $(document).ready(function () {
659
+            let Userpassword_update = window.localStorage.getItem('Ispasswordupdate')
660
+            if (Userpassword_update == 'true') {
661
+                toasteropts()
662
+                Command: toastr["success"]("Password Updated Successfully");
663
+                window.localStorage.removeItem('Ispasswordupdate')
664
+                return
665
+            }
666
+            function toasteropts() {
667
+                toastr.options = {
668
+                    "closeButton": true,
669
+                    "debug": false,
670
+                    "newestOnTop": true,
671
+                    "progressBar": true,
672
+                    "positionClass": "toast-top-center",
673
+                    "preventDuplicates": true,
674
+                    "onclick": null,
675
+                    "showDuration": "300",
676
+                    "hideDuration": "1000",
677
+                    "timeOut": "5000",
678
+                    "extendedTimeOut": "1000",
679
+                    "showEasing": "swing",
680
+                    "hideEasing": "linear",
681
+                    "showMethod": "fadeIn",
682
+                    "hideMethod": "fadeOut"
683
+                }
684
+            }
685
+        });
686
+        $(".order-cards").each(function () {
687
+            $(".order-cards").css("cursor", "pointer")
688
+            $(this).click(function () {
461 689
                 window.location.href = "./orderdetails.html";
462 690
             })
463 691
         })
464
-        $('.User_logout').click(function(){
692
+        $('.User_logout').click(function () {
465 693
             window.localStorage.removeItem("Useremail");
466
-            window.localStorage.removeItem("Userpassword"); 
467
-            window.localStorage.setItem('Isloggedin',false)
694
+            window.localStorage.removeItem("Userpassword");
695
+            window.localStorage.setItem('Isloggedin', false)
468 696
             COOKIE_HELPER_ACTIONS.removeAuthCookie();
469 697
         })
470
-        
698
+
471 699
     </script>
472 700
 </body>
473 701
 

+ 4
- 1
orderdetails.html Целия файл

@@ -180,7 +180,9 @@
180 180
     <script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
181 181
     <script src="./dist/js/jquery.min.js"></script>
182 182
     <script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
183
-    <script src="./dist/js/navbar.js"></script>
183
+    <script src="./dist/js/components/authloader/authloader.js"></script>
184
+    <script src="./dist/js/auth/apiservice.js"></script>
185
+    <script src="./libs/cookies.min.js"></script>
184 186
     <script src="./libs/axios.min.js"></script>
185 187
     <script src="./dist/js/footer.js"></script>
186 188
     <script src="./libs/cookies.min.js"></script>
@@ -199,6 +201,7 @@
199 201
     <script src="./dist/js/plugins/isotope.js"></script>
200 202
     <script src="./dist/js/plugins/jquery-ui.js"></script>
201 203
     <script src="./dist/js/plugins/magnific-popup.js"></script>
204
+    <script src="./dist/js/navbar.js"></script>
202 205
     <script src="./dist/js/orderDetails/order_summary.js"></script>
203 206
     <!-- Main JS -->
204 207
     <script src="./dist/js/main.js"></script>

+ 2
- 1
ramproducts.html Целия файл

@@ -60,7 +60,8 @@
60 60
         </section>
61 61
         <section class="position-relative bg-black">
62 62
             <!-- <img src="./dist/assets/imgs/allin_imgs/ssd_img.png" class="img-fluid w-100" alt="ssd_img"/> -->
63
-            <iframe src="https://player.vimeo.com/video/816131155?h=4667fd18e1&autoplay=1&loop=1&autopause=0&badge=0&player_id=0&controls=0&muted=1" width="1536px" height="860px" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>
63
+            <iframe src="https://player.vimeo.com/video/821425902?h=d2d8572f26&amp&autoplay=1&loop=1&autopause=0&badge=0&player_id=0&controls=0&muted=1" width="1536px" height="860px" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>
64
+            <!-- <iframe src="https://player.vimeo.com/video/816131155?h=4667fd18e1&autoplay=1&loop=1&autopause=0&badge=0&player_id=0&controls=0&muted=1" width="1536px" height="860px" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe> -->
64 65
         <!-- <div class="position-fixed text-white volume_btn" style="right:35px;bottom:20px">
65 66
             <p class="mb-0 d-none bg-blue p-2 px-3 rounded-circle shadow" id="mute"><i class="fa-solid fa-volume-low"></i></p>
66 67
             <p class="bg-blue mb-0 p-2 px-3 rounded-circle shadow" id="unmute"><i class="fa-sharp fa-volume-xmark"></i></p>

Loading…
Отказ
Запис