general validation : ps

This commit is contained in:
venbatechnologies@gmail.com 2019-03-13 17:00:41 +05:30
parent cdf380c4c7
commit ea2fee4dc1
10 changed files with 2758 additions and 2720 deletions

File diff suppressed because one or more lines are too long

2038
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -824,6 +824,7 @@ getDateObjects(values: any, controlIndex) {
} }
} }
temp: number = 0;
submitData(answerData) submitData(answerData)
{ {
@ -855,6 +856,25 @@ getDateObjects(values: any, controlIndex) {
}) })
} }
if (valuesData_indi.length > 0) {
valuesData_indi.forEach((val, index) => {
if (val.is_person_met == false) {
this.temp++;
}
});
if (this.temp == valuesData_indi.length) {
this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');
this.temp = 0;
return;
}
}
saveRecords.individuals=valuesData_indi; saveRecords.individuals=valuesData_indi;
saveRecords.companies=valuesData saveRecords.companies=valuesData
saveRecords.pdid=answerData.pdid; saveRecords.pdid=answerData.pdid;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long