diff --git a/ng6-seed/src/app/sales-pd/components/ques-template/ques-template.ts b/ng6-seed/src/app/sales-pd/components/ques-template/ques-template.ts
index 4ab0cf5..719326f 100755
--- a/ng6-seed/src/app/sales-pd/components/ques-template/ques-template.ts
+++ b/ng6-seed/src/app/sales-pd/components/ques-template/ques-template.ts
@@ -2293,17 +2293,17 @@ this.proceedonChangeProperty(modified)
redirectSMC(applicant_id){
// window.location.href=data.records;
let email = localStorage.getItem('officer_mail_id');
- let link = "";
- if(environment.authorization == 'TnAwuc64pVpcB9xf'){
- link ="https://salesapp.smcfinance.com/app/secure?saltkey=$2y$10$H4vSrWl15syQHO.tsT0DdOF7pYSTKZBT85sOFCJerttTdObBRsB36"
- }else if(environment.authorization == 'sparqvenba2018'){
- link ="http://salesapp.devopsmcfinance.com/secure?saltkey=$2y$10$H4vSrWl15syQHO.tsT0DdOF7pYSTKZBT85sOFCJerttTdObBRsB36"
- }
// http://salesapp.devopsmcfinance.com/secure?saltkey=$2y$10$H4vSrWl15syQHO.tsT0DdOF7pYSTKZBT85sOFCJerttTdObBRsB36&applicantid=4231&email=aniltiwari@smcfinance.com
- //let url =link+"&PDID="+sales_pd_sno+"&Email="+email;
- let new_mail_id = "aniltiwari@smcfinance.com"; // given by link.
- let url =link+"&applicantid="+applicant_id+"&Email="+new_mail_id;
- console.log('redirectSMC',url);
- window.open(url);
+ if(environment.authorization == 'TnAwuc64pVpcB9xf'){
+ let salesapp_link ="https://salesapp.smcfinance.com/app/secure?saltkey=$2y$10$H4vSrWl15syQHO.tsT0DdOF7pYSTKZBT85sOFCJerttTdObBRsB36&applicantid="+applicant_id+"&email=aniltiwari@smcfinance.com";
+ console.log('salesapp_link = ',salesapp_link);
+ let salesapp_url = salesapp_link;
+ window.open(salesapp_url);
+ }else if(environment.authorization == 'sparqvenba2018'){
+ let salesapp_link ="http://salesapp.devopsmcfinance.com/secure?saltkey=$2y$10$H4vSrWl15syQHO.tsT0DdOF7pYSTKZBT85sOFCJerttTdObBRsB36&applicantid="+applicant_id+"&email=aniltiwari@smcfinance.com";
+ console.log('salesapp_link = ',salesapp_link);
+ let salesapp_url = salesapp_link;
+ window.open(salesapp_url);
+ }
}
}
diff --git a/ng6-seed/src/app/sales-pd/sales-pd-list/sales-pd.component.html b/ng6-seed/src/app/sales-pd/sales-pd-list/sales-pd.component.html
index 582e0d8..5c5dad3 100644
--- a/ng6-seed/src/app/sales-pd/sales-pd-list/sales-pd.component.html
+++ b/ng6-seed/src/app/sales-pd/sales-pd-list/sales-pd.component.html
@@ -243,8 +243,15 @@
matTooltip="View" matTooltipPosition="top" >