general validation : ps
This commit is contained in:
parent
cdf380c4c7
commit
ea2fee4dc1
File diff suppressed because one or more lines are too long
2038
package-lock.json
generated
2038
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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
Loading…
Reference in New Issue
Block a user