@csmart/ngc-smart-victim 1.14.31 → 1.14.32
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +19 -19
- package/esm2020/lib/smart-victim.model.mjs +1 -1
- package/fesm2015/csmart-ngc-smart-victim.mjs +18 -18
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +18 -18
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
- package/lib/smart-victim.model.d.ts +2 -2
- package/package.json +1 -1
@@ -1232,23 +1232,23 @@ class SmartVictimDetailComponent {
|
|
1232
1232
|
saveVictim() {
|
1233
1233
|
//guardian phone logic
|
1234
1234
|
if (!this.victimForm.value.guardianNoPhoneFlag) {
|
1235
|
-
if (this.
|
1236
|
-
if (this.
|
1237
|
-
if (this.
|
1235
|
+
if (this.guardianHomePhoneControl.value) {
|
1236
|
+
if (this.guardianHomePhoneControl.value !== null) {
|
1237
|
+
if (this.guardianHomePhoneControl.value !== "") {
|
1238
1238
|
this.guardianPhoneExistFlag = true;
|
1239
1239
|
}
|
1240
1240
|
}
|
1241
1241
|
}
|
1242
|
-
if (this.
|
1243
|
-
if (this.
|
1244
|
-
if (this.
|
1242
|
+
if (this.guardianWorkPhoneControl.value !== undefined) {
|
1243
|
+
if (this.guardianWorkPhoneControl.value !== null) {
|
1244
|
+
if (this.guardianWorkPhoneControl.value !== "") {
|
1245
1245
|
this.guardianPhoneExistFlag = true;
|
1246
1246
|
}
|
1247
1247
|
}
|
1248
1248
|
}
|
1249
|
-
if (this.
|
1250
|
-
if (this.
|
1251
|
-
if (this.
|
1249
|
+
if (this.guardianCellPhoneControl.value) {
|
1250
|
+
if (this.guardianCellPhoneControl.value !== null) {
|
1251
|
+
if (this.guardianCellPhoneControl.value !== "") {
|
1252
1252
|
this.guardianPhoneExistFlag = true;
|
1253
1253
|
}
|
1254
1254
|
}
|
@@ -1270,23 +1270,23 @@ class SmartVictimDetailComponent {
|
|
1270
1270
|
console.log(this.phoneValidationFlag);
|
1271
1271
|
//advocate phone logic
|
1272
1272
|
if (!this.victimForm.value.advocateNoPhoneFlag) {
|
1273
|
-
if (this.
|
1274
|
-
if (this.
|
1275
|
-
if (this.
|
1273
|
+
if (this.advocateHomePhoneControl.value) {
|
1274
|
+
if (this.advocateHomePhoneControl.value !== null) {
|
1275
|
+
if (this.advocateHomePhoneControl.value !== "") {
|
1276
1276
|
this.advocatePhoneExistFlag = true;
|
1277
1277
|
}
|
1278
1278
|
}
|
1279
1279
|
}
|
1280
|
-
if (this.
|
1281
|
-
if (this.
|
1282
|
-
if (this.
|
1280
|
+
if (this.advocateWorkPhoneControl.value !== undefined) {
|
1281
|
+
if (this.advocateWorkPhoneControl.value !== null) {
|
1282
|
+
if (this.advocateWorkPhoneControl.value !== "") {
|
1283
1283
|
this.advocatePhoneExistFlag = true;
|
1284
1284
|
}
|
1285
1285
|
}
|
1286
1286
|
}
|
1287
|
-
if (this.
|
1288
|
-
if (this.
|
1289
|
-
if (this.
|
1287
|
+
if (this.advocateCellPhoneControl.value) {
|
1288
|
+
if (this.advocateCellPhoneControl.value !== null) {
|
1289
|
+
if (this.advocateCellPhoneControl.value !== "") {
|
1290
1290
|
this.advocatePhoneExistFlag = true;
|
1291
1291
|
}
|
1292
1292
|
}
|