diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts
index c9efb56..fef8ed8 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts
@@ -109,12 +109,12 @@ export class StartPdComponent implements OnInit, OnDestroy {
// this.categoryList=data.records.question_answers;
let filterApplicantName= data.records.pdapplicants_detials.filter(item => item.applicant_type == 1);
this.mainApplicantName = filterApplicantName.length > 0 ? filterApplicantName[0].applicant_name : '';
- this.currentPDStatus = data.records.pdmaster_details.pd_status=='INPROGRESS' ? true : data.records.pdmaster_details.pd_status=='SCHEDULED' ? true :data.records.pdmaster_details.pd_status=='ALLOCATED' ? true : false;
+ this.currentPDStatus = data.records.pdmaster_details[0].pd_status=='INPROGRESS' ? true : data.records.pdmaster_details[0].pd_status=='SCHEDULED' ? true :data.records.pdmaster_details[0].pd_status=='ALLOCATED' ? true : false;
// this.categoryFormButtons = Object.keys(data.records.template_forms).map((item)=>data.records.template_forms[item]).filter(item=>item.isAnswerable===true);
this.categoryFormButtons = data.records.template_details
// this.categoryFormButtons = this.categoryFormButtons.filter(item=>item.isAnswerable===true);
this.actualQuestions = this.categoryFormButtons.length;
- let getAnsweredFormsCount = this.categoryFormButtons.filter(item=>item.isAnswered===true);
+ let getAnsweredFormsCount = this.categoryFormButtons.filter(item=>item.is_answered==='1');
this.answeredQuestions = getAnsweredFormsCount.length;
this.pdFullDetails = data.records;
// VENDOR FORM ANSWER FETCH STATUS START(SMART PD ONLY)
@@ -155,7 +155,7 @@ export class StartPdComponent implements OnInit, OnDestroy {
data: { pdid: this.startPD, pd_status: status ,random_string:this.randomString,pd_type:this.pdMasterList.fk_pd_type },
disableClose: true,
minWidth:'30%',
- maxWidth:'40%',
+ // maxWidth:'40%',
});
dialogRef.afterClosed()
.subscribe(dataresult => {
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts
index 1bcb301..6b0be19 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts
@@ -300,7 +300,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
data: { pdid: pdDetails.assigned_pd, pd_status: this.pdStatusCheck.INPROGRESS,random_string:this.pdMasterData[0].random_string },
disableClose: true,
minWidth: '30%',
- maxWidth: '40%',
+ // maxWidth: '40%',
});
dialogRef.afterClosed()
.subscribe(dataresult => {
diff --git a/ng6-seed/src/app/session/login/login-component.html b/ng6-seed/src/app/session/login/login-component.html
index e03f910..77f02d7 100755
--- a/ng6-seed/src/app/session/login/login-component.html
+++ b/ng6-seed/src/app/session/login/login-component.html
@@ -42,7 +42,7 @@