@senior-gestao-pessoas/payroll-core 9.2.0-2878782e-f402-4a82-a001-6491bdb0f359 → 9.2.0-c0ec64a2-a11c-4ad8-afa6-2f0a0fa255ce
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.
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js +21 -0
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js.map +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js.map +1 -1
- package/components/historical-pix-account-list/historical-pix-account-list.component.d.ts +1 -0
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +23 -1
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +23 -1
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +21 -0
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +21 -0
- package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/package.json +1 -1
- package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
|
@@ -10432,6 +10432,10 @@
|
|
|
10432
10432
|
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_percentage"),
|
|
10433
10433
|
field: "percentage",
|
|
10434
10434
|
},
|
|
10435
|
+
{
|
|
10436
|
+
label: this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_label_qtd_account"),
|
|
10437
|
+
field: "numberOfPixAccount",
|
|
10438
|
+
},
|
|
10435
10439
|
];
|
|
10436
10440
|
}
|
|
10437
10441
|
HistoricalPixAccountListComponent.prototype.ngOnInit = function () {
|
|
@@ -10448,10 +10452,27 @@
|
|
|
10448
10452
|
var _this = this;
|
|
10449
10453
|
payload.forEach(function (value) {
|
|
10450
10454
|
value.dateChange = moment$e(value.dateChange).format(_this.dateFormat);
|
|
10455
|
+
value.pixKey = _this.formatPixKeyByType(value.pixKeyType, value.pixKey);
|
|
10456
|
+
value.percentage = FormatUtilsService.getFormattedPercentage(value.percentage);
|
|
10451
10457
|
});
|
|
10452
10458
|
this.onGridLoad(payload);
|
|
10453
10459
|
this.loading = false;
|
|
10454
10460
|
};
|
|
10461
|
+
HistoricalPixAccountListComponent.prototype.formatPixKeyByType = function (pixKeyType, pixKey) {
|
|
10462
|
+
var keyType = pixKeyType ? pixKeyType.key.toUpperCase() : "";
|
|
10463
|
+
if (keyType === "TELEPHONE") {
|
|
10464
|
+
return FormatUtilsService.getFormattedTelephoneNumber(pixKey);
|
|
10465
|
+
}
|
|
10466
|
+
else if (keyType === "CPF") {
|
|
10467
|
+
return FormatUtilsService.getFormattedCpf(pixKey);
|
|
10468
|
+
}
|
|
10469
|
+
else if (keyType === "CNPJ") {
|
|
10470
|
+
return FormatUtilsService.getFormattedCnpj(pixKey);
|
|
10471
|
+
}
|
|
10472
|
+
else {
|
|
10473
|
+
return pixKey;
|
|
10474
|
+
}
|
|
10475
|
+
};
|
|
10455
10476
|
HistoricalPixAccountListComponent.prototype.getMenuActions = function (rowData) {
|
|
10456
10477
|
var _this = this;
|
|
10457
10478
|
return [
|