diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 80dee8d7..a769879b 100755
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -107,7 +107,7 @@ import { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-gene
import { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';
import { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';
import { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';
-
+import { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pages/pd-question/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';
import { PdQuestionBusinessPage } from '../pages/pd-question/pd-question-business/pd-question-business'
import { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'
import { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'
@@ -175,6 +175,7 @@ import { CompleteListPage } from '../pages/complete-list/complete-list';
PdQuestionGeneralOtherApplicantPage,
PdQuestionNeighbourHoodPage,
PdQuestionFinalRemarkPage,
+ PdQuestionFuturePlansAndBusinessEnvironmentPage,
PdQuestionBusinessPage,
PdQuestionBusinessGroupPage,
PdQuestionBusinessAssetsPage,
@@ -274,6 +275,7 @@ import { CompleteListPage } from '../pages/complete-list/complete-list';
PdQuestionGeneralOtherApplicantPage,
PdQuestionNeighbourHoodPage,
PdQuestionFinalRemarkPage,
+ PdQuestionFuturePlansAndBusinessEnvironmentPage,
PdQuestionBusinessPage,
PdQuestionBusinessGroupPage,
PdQuestionBusinessAssetsPage,
diff --git a/src/pages/input/input.ts b/src/pages/input/input.ts
index 28f236b9..d3472351 100755
--- a/src/pages/input/input.ts
+++ b/src/pages/input/input.ts
@@ -662,7 +662,7 @@ else{
getPDImages(){
//FOR RETRIEVING PICTURES
this.imageDisplay=[]
- let record_for_pic = {'pd_id':this.applicatentDetails.pd_id,'form_id':null,'company_id':null}
+ let record_for_pic = {'pd_id':this.applicatentDetails.pd_id,'form_id':null,'company_id':null,'is_common':1}
this.qustCat.getPDImages(record_for_pic).subscribe(val=>{
if(!val['msg']){
diff --git a/src/pages/pd-question-category/pd-question-category.ts b/src/pages/pd-question-category/pd-question-category.ts
index a155fc84..4fff6293 100755
--- a/src/pages/pd-question-category/pd-question-category.ts
+++ b/src/pages/pd-question-category/pd-question-category.ts
@@ -33,6 +33,7 @@ import { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-rema
import { PdQuestionBusinessPage } from '../pd-question/pd-question-business/pd-question-business'
import { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'
import {PdQuestionRentalDashPage} from '../pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'
+import { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pd-question/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment'
/**
* Generated class for the PdQuestionCategoryPage page.
*
@@ -311,6 +312,10 @@ searchitem:any;
{
this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});
}
+ else if(categroyId==23)
+ {
+ this.navCtrl.push(PdQuestionFuturePlansAndBusinessEnvironmentPage,{'FormId':formName,'pdDetails':this.pdinfo});
+ }
}
filter(view){
if(!view){
diff --git a/src/pages/pd-question/pd-question-address/pd-question-address.ts b/src/pages/pd-question/pd-question-address/pd-question-address.ts
index 190d9432..b9c0d04e 100755
--- a/src/pages/pd-question/pd-question-address/pd-question-address.ts
+++ b/src/pages/pd-question/pd-question-address/pd-question-address.ts
@@ -985,14 +985,17 @@ countRowsForTextarea(text){
//FOR RETRIEVING PICTURES
this.imageDisplay=[]
let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}
+ console.log('record_for_pic',record_for_pic);
this.qustCat.getPDImages(record_for_pic).subscribe(val=>{
if(!val['msg']){
if(val['records'].length>0){
val['records'].forEach(result=>{
+ console.log('records result',result);
this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy','is_show_report': result.is_show_report == null ? 0 : result.is_show_report })
let img_title = (result.pd_document_title).split('(');
if(img_title[0] == 'Approach to PD Location '){
this.AppxPDLocationImgValid = true;
+ this.imageDisplay = this.imageDisplay.filter (value=>value.is_show_report != 0 && value.name.split('(')[0] != 'Approach to PD Location ')
}
})
console.log("image Display Data Are",this.imageDisplay);
@@ -1014,6 +1017,24 @@ countRowsForTextarea(text){
}
changeOptions(event: any,index: any){
// console.log('Option Changed ' + event);
+ let name = this.imageBucket[index].value
+ let length = this.imageDisplay.length;
+ console.log('image display length',length);
+ this.imageDisplay.forEach(result=>{
+ if(name == 'Approach to PD Location ' && event == 1){
+ result.is_show_report = 0;
+ }
+ })
+ console.log('this.imageDisplay',this.imageDisplay);
+ this.imageBucket.forEach(result=>{
+ if(name == 'Approach to PD Location ' && event == 1){
+ // this.AppxPDLocationImgValid = true;
+ console.log('name',name);
+ console.log('this.imageBucket.length',this.imageBucket.length);
+ result.is_show_report=0;
+ }
+ })
+ console.log('this.imageBucket',this.imageBucket);
this.imageBucket[index].is_show_report=event;
// console.log('this.imageBucket',JSON.stringify(this.imageBucket));
}
@@ -1096,6 +1117,9 @@ countRowsForTextarea(text){
// al(){
// this.toast.pdTriggerappmessage("touched");
// }
+
+ updateImage(){
+ }
sendImage(){
this.loading.loaderForSendImage()
diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.html b/src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.html
index 8a5db1e6..82a24f88 100755
--- a/src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.html
+++ b/src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.html
@@ -1842,6 +1842,37 @@
+ Fire NOC
+
+
Do You Want to Add Other Documents?
diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts b/src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts index 43348f96..cb09db64 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts +++ b/src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts @@ -72,6 +72,8 @@ export class PdQuestionBusinessInfoPage { monthErrorMessage: any = []; errorMessageForExistTotalWorkExperience : any = []; countryDataListValue: any = []; + product_abbr: any; + lender_short_name : any; @ViewChild('shareholding') share_focus:ElementRef private search:searchValue[] @@ -107,6 +109,8 @@ export class PdQuestionBusinessInfoPage { this.generalExistEntityType_other=this.pdDetails.business_entity_type_other this.generalExistBusinessYear=this.pdDetails.business_years; this.generalExistBusinessMonth = this.pdDetails.business_month; + this.lender_short_name = this.pdDetails.lender_short_name; + this.product_abbr = this.pdDetails.product_abbr; this.step=0 @@ -295,6 +299,7 @@ changeOfStartedBusiness(members,i,e){ // country_sale.push(this.createCountrySale()); //const max_sale_state:any=