24 jul update

This commit is contained in:
Pranav 2023-07-24 11:36:46 +00:00
parent 3a9e71fd0f
commit 81e5b8cf52
99 changed files with 1373 additions and 695 deletions

View file

@ -265,7 +265,8 @@ export class DialogContentExampleDialogComponent implements OnInit {
}
soon() {
this.router.navigateByUrl("const?_i=" + window.localStorage.token);
this.router.navigateByUrl("const?_i=" + window.localStorage.token);
}
@ -506,7 +507,7 @@ export class DialogContentExampleDialogComponent implements OnInit {
if (window.localStorage['DataLoaded'] = 'True') {
window.localStorage['Custumer'] = 'OFF'
this.router.navigateByUrl("add")
// this.router.navigateByUrl("const?_status="+"OK");
}
}
/* TOKEN GENERATION */
@ -885,7 +886,7 @@ console.log("1");
var devicesupAdmin = dupObj.supAdmin;
var deviceDealer = dupObj.Dealer;
var devOwner = dupObj.user;
debugger;
if((this.useridd === devicesupAdmin)||(this.useridd === deviceDealer)||(this.useridd===devOwner)){
swal({
title: 'Duplicate Entry',