@csmart/ngc-smart-victim 1.14.3 → 1.14.5
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 +4 -1
- package/fesm2015/csmart-ngc-smart-victim.mjs +3 -0
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +3 -0
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
- package/package.json +1 -1
@@ -961,6 +961,7 @@ class SmartVictimDetailComponent {
|
|
961
961
|
this.victimForm.reset();
|
962
962
|
}
|
963
963
|
ngOnInit() {
|
964
|
+
console.log('on init 11/7/23');
|
964
965
|
console.log('show offenderId');
|
965
966
|
console.log(this.offenderId);
|
966
967
|
console.log('show staffId');
|
@@ -1218,6 +1219,7 @@ class SmartVictimDetailComponent {
|
|
1218
1219
|
}
|
1219
1220
|
//#region "save victim"
|
1220
1221
|
saveVictim() {
|
1222
|
+
console.log('save vitem 11/7/23');
|
1221
1223
|
//guardian phone logic
|
1222
1224
|
if (!this.victimForm.value.guardianNoPhoneFlag) {
|
1223
1225
|
if (this.victimForm.value.guardianHomePhone) {
|
@@ -1631,6 +1633,7 @@ class SmartVictimDetailComponent {
|
|
1631
1633
|
victimWeaponUse.modifiedBy = this.staffId;
|
1632
1634
|
this.victimDetail.victimWeaponUses.push(victimWeaponUse);
|
1633
1635
|
});
|
1636
|
+
console.log('package has been updated');
|
1634
1637
|
console.log('this.victimDetail before emit');
|
1635
1638
|
console.log(this.victimDetail);
|
1636
1639
|
this.victimService.putVictims(this.victimDetail.victimId, this.victimDetail).subscribe((items) => {
|