@senior-gestao-pessoas/payroll-core 9.7.0-feature-hcmgdp-11851-cfbcd4aa → 9.7.0-feature-hcmgdp-11851-2e1b3fcf

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.
@@ -9862,6 +9862,12 @@
9862
9862
  HistoricalPixAccountFormComponent.prototype.addItem = function () {
9863
9863
  this.pixAccountFormGroup.updateValueAndValidity();
9864
9864
  verifyValidationsForm.call(this.pixAccountFormGroup);
9865
+ if (this.pixKeyType === 'CNPJ' && this.isAlphanumericCNPJ) {
9866
+ var pixKey = this.pixAccountFormGroup.get('pixKey').value;
9867
+ if (pixKey) {
9868
+ this.pixAccountFormGroup.get('pixKey').setValue(pixKey.toUpperCase().replace(/[^A-Z0-9]/g, ''));
9869
+ }
9870
+ }
9865
9871
  if (this.pixAccountFormGroup.valid) {
9866
9872
  if (this.employeeId) {
9867
9873
  this.pixAccountFormGroup.get("employee").setValue({