@senior-gestao-pessoas/payroll-core 9.3.0-d99b0dbd-5fc0-4b98-979b-fe30c751fa36 → 9.3.0-fdc2ca03-c046-451a-bb4a-4d788fbde8cb
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 +13 -15
- 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/historical-pix-account.component.d.ts +1 -0
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +4 -1
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +7 -16
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +8 -1
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +7 -16
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +9 -15
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +13 -15
- 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
|
@@ -9729,6 +9729,13 @@
|
|
|
9729
9729
|
enumerable: true,
|
|
9730
9730
|
configurable: true
|
|
9731
9731
|
});
|
|
9732
|
+
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToViewHistorical", {
|
|
9733
|
+
get: function () {
|
|
9734
|
+
return (this.permission["Visualizar"]);
|
|
9735
|
+
},
|
|
9736
|
+
enumerable: true,
|
|
9737
|
+
configurable: true
|
|
9738
|
+
});
|
|
9732
9739
|
HistoricalPixAccountComponent.ctorParameters = function () { return [
|
|
9733
9740
|
{ type: core$1.TranslateService },
|
|
9734
9741
|
{ type: core.ChangeDetectorRef },
|
|
@@ -10517,23 +10524,14 @@
|
|
|
10517
10524
|
{
|
|
10518
10525
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10519
10526
|
command: function () {
|
|
10520
|
-
|
|
10521
|
-
|
|
10522
|
-
|
|
10523
|
-
_this.
|
|
10524
|
-
|
|
10525
|
-
});
|
|
10526
|
-
}
|
|
10527
|
-
else {
|
|
10528
|
-
_this.enableView.emit(dateChange);
|
|
10529
|
-
}
|
|
10527
|
+
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10528
|
+
if (_this.withSidebar) {
|
|
10529
|
+
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10530
|
+
relativeTo: _this.activatedRoute,
|
|
10531
|
+
});
|
|
10530
10532
|
}
|
|
10531
10533
|
else {
|
|
10532
|
-
_this.
|
|
10533
|
-
severity: "error",
|
|
10534
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
10535
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
10536
|
-
});
|
|
10534
|
+
_this.enableView.emit(dateChange);
|
|
10537
10535
|
}
|
|
10538
10536
|
},
|
|
10539
10537
|
},
|