sigesp 0.9.47-20230717 → 0.9.48-20230717

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.
@@ -2679,10 +2679,18 @@
2679
2679
  _this.type = proben.tippro;
2680
2680
  _this.observation = proben.obspro;
2681
2681
  _this.contribuiterType = proben.tipconpro;
2682
- _this.stateCode = proben.codest.trim();
2683
- _this.parishCode = proben.codpar.trim();
2684
- _this.countryCode = proben.codpai.trim();
2685
- _this.municipalityCode = proben.codmun.trim();
2682
+ if (proben.codest) {
2683
+ _this.stateCode = proben.codest.trim();
2684
+ }
2685
+ if (proben.codpar) {
2686
+ _this.stateCode = proben.codpar.trim();
2687
+ }
2688
+ if (proben.codpai) {
2689
+ _this.countryCode = proben.codpai.trim();
2690
+ }
2691
+ if (proben.codmun) {
2692
+ _this.municipalityCode = proben.codmun.trim();
2693
+ }
2686
2694
  _this.currencyCode = proben.codmon;
2687
2695
  _this.organizationType = parseInt(proben.id_tiporg);
2688
2696
  _this.systemLogDate = proben.fecregsis;