diff --git a/ng6-seed/src/app/layouts/admin/admin-layout.component.ts b/ng6-seed/src/app/layouts/admin/admin-layout.component.ts
index 287136d..2720bcb 100755
--- a/ng6-seed/src/app/layouts/admin/admin-layout.component.ts
+++ b/ng6-seed/src/app/layouts/admin/admin-layout.component.ts
@@ -291,7 +291,7 @@ export class AdminLayoutComponent implements OnInit, OnDestroy {
menunav(active){
switch(active){
case 'HOME':
- if(this.pdTriggerService.customer_url_data && this.pdTriggerService.customer_url_data.pdid && this.pdTriggerService.customer_url_data.rdmstr) {
+ if(this.pdTriggerService.customer_url_data && this.pdTriggerService.customer_url_data.pdid && this.pdTriggerService.customer_url_data.rdmstr && this.pdTriggerService.customer_url_data.from == 'link') {
let data= this.pdTriggerService.customer_url_data
this.router.navigateByUrl('/personal_discussion/pdlist/viewpd?str='+data.pdid+'/'+data.rdmstr+'/link', {replaceUrl: true});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.html
index 0747f28..c395719 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.html
@@ -21,7 +21,9 @@
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.scss
index 7e871cb..aa1bd51 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.scss
@@ -14,4 +14,43 @@ input{
.mat-input-placeholder {
white-space: normal;
}
+ @-webkit-keyframes highlight-fade {
+ 0% {
+ background: orange;
+ }
+ 100% {
+ background: white;
+ }
+ }
+ @-moz-keyframes highlight-fade {
+ 0% {
+ background: orange;
+ }
+ 100% {
+ background: white;
+ }
+ }
+ @-ms-keyframes highlight-fade {
+ 0% {
+ background: orange;
+ }
+ 100% {
+ background: white;
+ }
+ }
+ @keyframes highlight-fade {
+ 0% {
+ background: orange;
+ }
+ 100% {
+ background: white;
+ }
+ }
+ .field_highlight {
+ -webkit-animation: highlight-fade 4s ease-out;
+ -moz-animation: highlight-fade 4s ease-out;
+ -o-animation: highlight-fade 4s ease-out;
+ animation: highlight-fade 4s ease-out;
+ // background: blue;
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.ts
index afb70f0..e043fef 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/dynamic-docs-form/dynamic-docs-form.component.ts
@@ -75,10 +75,15 @@ export class DynamicDocsFormComponent implements OnInit {
}
}
- // capture(index,item_obj) {
- // item_obj.controls['is_new'].setValue(1);
- // this.eventCapturePic.emit({controls:item_obj.controls['img'],img_name:item_obj.value.placeholder,form_id:'24'})
- // }
+ capture(event,index,item_obj) {
+ item_obj.controls['is_new'].setValue(1);
+ this.eventCapturePic.emit({controls:item_obj.controls['img'],img_name:item_obj.value.placeholder,form_id:'24'})
+ }
+ captureI(event){
+ event.preventDefault();
+ let element:HTMLElement = document.getElementById('input-file') as HTMLElement
+ element.click();
+ }
}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.html
index 297f53b..b7aab9b 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.html
@@ -39,7 +39,7 @@
Not Met
+ formControlName="is_person_met" (change)="checkPartEnable(1);dynamicOnChangeValidations($event.checked,[applicant.controls['is_person_met_pic'],applicant.controls['is_person_met_id_proof']],true)">
Met
@@ -48,14 +48,16 @@
-
+
-
+
-
+
+
+
Selfie of the Person Met
@@ -65,13 +67,15 @@
-
+
+
+
ID Proof of the person
-
+
+
Is the Employer/ Manager available during FI visit?
Select
@@ -92,7 +96,7 @@
Required
-
+
Anyone met during FI visit at initiated address?
Select
@@ -106,7 +110,7 @@
+
+
Salary Certificate
+required (selectionChange)="dynamicOnChangeValidations($event.value,[getDocsSightedGroup['controls'].sal_certificate_pic],'yes')">
Select
Yes
No
@@ -513,7 +531,9 @@ required>
src="{{getDocsSightedGroup['value'].sal_certificate_pic}}" style="max-width: 80px;max-height: 80px">
+
+
Salary Slip
+required (selectionChange)="dynamicOnChangeValidations($event.value,[getDocsSightedGroup['controls'].sal_slip_pic],'yes')">
Select
Yes
No
@@ -546,7 +566,9 @@ required>
src="{{getDocsSightedGroup['value'].sal_slip_pic}}" style="max-width: 80px;max-height: 80px">
+
+
Required
-
+
Others please specify
+required (selectionChange)="dynamicOnChangeValidations($event.value,[getDocsSightedGroup['controls'].other_doc_pic],'yes')">
Select
Yes
No
@@ -572,7 +594,7 @@ required>
-
+
Specify the Document
Required
@@ -585,7 +607,10 @@ required>
src="{{getDocsSightedGroup['value'].other_doc_pic}}" style="max-width: 80px;max-height: 80px">
+
+
+
-
+
Why Documents are not available?
{{item}}
Required
-
+
Specify the reason
@@ -626,21 +651,23 @@ Image -->
-
+
-
+
Office Photograph {{i+1}}
-
- No Photographs Found
+
-
+
+
+
Add More
-
+
-
-
- No Photographs Found
+
-
+
+
+
Add More
+ (eventCapturePic) ="captureControls($event.controls,$event.img_name,$event.form_id)">