diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.scss
index 58e0303..8c3de42 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.scss
@@ -2,8 +2,11 @@
color: #fff !important;
background-color: #e00201 !important;
}
+
::ng-deep .mat-dialog-container{
+ @media (max-width: 768px) {
padding: 0px !important;
+ }
}
.mat-button, .mat-raised-button{
background-color: #e24533;
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.scss
index 0295354..f06eb1e 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.scss
@@ -47,7 +47,9 @@
width: 100%;
}
::ng-deep .mat-dialog-container{
+ @media (max-width: 768px) {
padding: 0px !important;
+ }
}
.whole_form {
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.ts
index e0ea90a..34d482b 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.ts
@@ -1445,27 +1445,32 @@ export class EmployerInfoComponent implements OnInit {
let records= this.employerForm.getRawValue()
// FOR VERFYING THE IMAGE ARE CAPTURED
- if(flag != 'go_back') {
- let photCheck=records.questions[2]
- let index = this.stepperInfo.findIndex(vv=>vv.form_id == photCheck.form_id);
- console.log("Index",index);
-
- if(photCheck.hasOwnProperty('nameboard_photographs') && photCheck.nameboard_photographs.length <1) {
- if(index != -1) {
- this.myStepper.selectedIndex = this.stepperInfo[index].stepper_index
- }
- console.log("asdf");
- this.notifier.notify("info","Minimum 1 photo required on Name Board")
- return
- }
- if(photCheck.hasOwnProperty('office_photographs') && photCheck.office_photographs.length <3) {
- if(index != -1) {
- this.myStepper.selectedIndex = this.stepperInfo[index].stepper_index
- }
- this.notifier.notify("info","Minimum 3 photos required on Office Setup")
- return
- }
- }
+ if(flag != 'go_back') {
+
+ let photCheck=records.questions[8]
+
+ if(photCheck.hasOwnProperty('office_photographs') && photCheck.office_photographs.length <3) {
+ this.checkingStepperIndex()
+ let index = this.stepperInfo.findIndex(vv=>vv.form_id == photCheck.form_id);
+ if(index != -1) {
+ this.myStepper.selectedIndex = this.stepperInfo[index].stepper_index
+ }
+ this.notifier.notify("info","Minimum 3 photos required on Office Setup")
+ return
+ }
+ photCheck=records.questions[9]
+
+ if(photCheck.hasOwnProperty('nameboard_photographs') && photCheck.nameboard_photographs.length <1) {
+ this.checkingStepperIndex()
+ let index = this.stepperInfo.findIndex(vv=>vv.form_id == photCheck.form_id);
+ if(index != -1) {
+ this.myStepper.selectedIndex = this.stepperInfo[index].stepper_index
+ }
+ console.log("asdf");
+ this.notifier.notify("info","Minimum 1 photo required on Name Board")
+ return
+ }
+ }
// FOR MERGING EMPLOYMENT SECTION,DOCS SIGHTED,OFFICE AND NAME BOARD PHOTOGRAPH INTO SINGLE OBJ
if(this.getQuestionControl().at(7).get('docs_sighted')) {