@csmart/ngc-smart-victim 1.14.3 → 1.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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) => {