@senior-gestao-pessoas/hcm-contract-employee-history 5.6.4 → 5.7.0-bugfix-hcmfnd-6392-ad9ee246
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-hcm-contract-employee-history.umd.js +41 -2
- package/bundles/senior-gestao-pessoas-hcm-contract-employee-history.umd.js.map +1 -1
- package/bundles/senior-gestao-pessoas-hcm-contract-employee-history.umd.min.js +2 -2
- package/bundles/senior-gestao-pessoas-hcm-contract-employee-history.umd.min.js.map +1 -1
- package/esm2015/lib/annotation-history/views/list/annotation-history-list.component.js +16 -3
- package/esm2015/lib/employee-dependent/form/employee-dependent-complement-step/employee-dependent-complement-tab/employee-dependent-complement-tab.component.js +3 -3
- package/esm2015/lib/leave-history/views/list/leave-history-list.component.js +16 -3
- package/esm2015/lib/workshift-history/views/list/workshift-history-list.component.js +16 -3
- package/esm5/lib/annotation-history/views/list/annotation-history-list.component.js +14 -1
- package/esm5/lib/employee-dependent/form/employee-dependent-complement-step/employee-dependent-complement-tab/employee-dependent-complement-tab.component.js +3 -3
- package/esm5/lib/leave-history/views/list/leave-history-list.component.js +14 -1
- package/esm5/lib/workshift-history/views/list/workshift-history-list.component.js +14 -1
- package/fesm2015/senior-gestao-pessoas-hcm-contract-employee-history.js +47 -8
- package/fesm2015/senior-gestao-pessoas-hcm-contract-employee-history.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-hcm-contract-employee-history.js +41 -2
- package/fesm5/senior-gestao-pessoas-hcm-contract-employee-history.js.map +1 -1
- package/package.json +1 -1
|
@@ -6044,6 +6044,9 @@
|
|
|
6044
6044
|
this.setStorageFiltersIntoForm(this.filterFormGroup);
|
|
6045
6045
|
this.gridColumns = this.getGridColumns();
|
|
6046
6046
|
this.filterFields = this.getFilterFields();
|
|
6047
|
+
this.filterFormGroup.get('employer').valueChanges.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
6048
|
+
_this.filterFormGroup.get('companyBranch').setValue(null);
|
|
6049
|
+
});
|
|
6047
6050
|
this.setHotkeys();
|
|
6048
6051
|
/*{CA:ON_INIT_END:START}*/
|
|
6049
6052
|
if (this.permissions.incluir) {
|
|
@@ -6753,6 +6756,11 @@
|
|
|
6753
6756
|
})
|
|
6754
6757
|
.filter(function (value) { return !!value; })
|
|
6755
6758
|
.join(" or ");
|
|
6759
|
+
var employer = this.filterFormGroup.get('employer').value;
|
|
6760
|
+
if (employer) {
|
|
6761
|
+
var companyFilter = "e070emp.codEmp eq " + employer.codEmp;
|
|
6762
|
+
filterQuery = filterQuery ? filterQuery + " and " + companyFilter : companyFilter;
|
|
6763
|
+
}
|
|
6756
6764
|
var displayFields = mergeUnique(this.companyBranchLookupDisplayFields, this.companyBranchAdvancedDisplayFields);
|
|
6757
6765
|
this.companyBranchService
|
|
6758
6766
|
.list({ filterQuery: filterQuery, displayFields: displayFields, sort: sort })
|
|
@@ -6794,6 +6802,11 @@
|
|
|
6794
6802
|
})
|
|
6795
6803
|
.filter(function (value) { return !!value; })
|
|
6796
6804
|
.join(" and ");
|
|
6805
|
+
var employer = this.filterFormGroup.get('employer').value;
|
|
6806
|
+
if (employer) {
|
|
6807
|
+
var companyFilter = "e070emp.codEmp eq " + employer.codEmp;
|
|
6808
|
+
filterQuery = filterQuery ? filterQuery + " and " + companyFilter : companyFilter;
|
|
6809
|
+
}
|
|
6797
6810
|
var displayFields = mergeUnique(this.companyBranchLookupDisplayFields, this.companyBranchAdvancedDisplayFields);
|
|
6798
6811
|
this.companyBranchService
|
|
6799
6812
|
.list({ page: page, sort: sort, filterQuery: filterQuery, displayFields: displayFields })
|
|
@@ -8825,6 +8838,9 @@
|
|
|
8825
8838
|
this.setStorageFiltersIntoForm(this.filterFormGroup);
|
|
8826
8839
|
this.gridColumns = this.getGridColumns();
|
|
8827
8840
|
this.filterFields = this.getFilterFields();
|
|
8841
|
+
this.filterFormGroup.get('employer').valueChanges.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
8842
|
+
_this.filterFormGroup.get('companyBranch').setValue(null);
|
|
8843
|
+
});
|
|
8828
8844
|
this.setHotkeys();
|
|
8829
8845
|
/*{CA:ON_INIT_END:START}*/
|
|
8830
8846
|
if (this.permissions.incluir) {
|
|
@@ -9565,6 +9581,11 @@
|
|
|
9565
9581
|
})
|
|
9566
9582
|
.filter(function (value) { return !!value; })
|
|
9567
9583
|
.join(" or ");
|
|
9584
|
+
var employer = this.filterFormGroup.get('employer').value;
|
|
9585
|
+
if (employer) {
|
|
9586
|
+
var companyFilter = "e070emp.codEmp eq " + employer.codEmp;
|
|
9587
|
+
filterQuery = filterQuery ? filterQuery + " and " + companyFilter : companyFilter;
|
|
9588
|
+
}
|
|
9568
9589
|
var displayFields = mergeUnique(this.companyBranchLookupDisplayFields, this.companyBranchAdvancedDisplayFields);
|
|
9569
9590
|
this.companyBranchService
|
|
9570
9591
|
.list({ filterQuery: filterQuery, displayFields: displayFields, sort: sort })
|
|
@@ -9606,6 +9627,11 @@
|
|
|
9606
9627
|
})
|
|
9607
9628
|
.filter(function (value) { return !!value; })
|
|
9608
9629
|
.join(" and ");
|
|
9630
|
+
var employer = this.filterFormGroup.get('employer').value;
|
|
9631
|
+
if (employer) {
|
|
9632
|
+
var companyFilter = "e070emp.codEmp eq " + employer.codEmp;
|
|
9633
|
+
filterQuery = filterQuery ? filterQuery + " and " + companyFilter : companyFilter;
|
|
9634
|
+
}
|
|
9609
9635
|
var displayFields = mergeUnique(this.companyBranchLookupDisplayFields, this.companyBranchAdvancedDisplayFields);
|
|
9610
9636
|
this.companyBranchService
|
|
9611
9637
|
.list({ page: page, sort: sort, filterQuery: filterQuery, displayFields: displayFields })
|
|
@@ -12983,6 +13009,9 @@
|
|
|
12983
13009
|
this.setStorageFiltersIntoForm(this.filterFormGroup);
|
|
12984
13010
|
this.gridColumns = this.getGridColumns();
|
|
12985
13011
|
this.filterFields = this.getFilterFields();
|
|
13012
|
+
this.filterFormGroup.get('employer').valueChanges.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
13013
|
+
_this.filterFormGroup.get('companyBranch').setValue(null);
|
|
13014
|
+
});
|
|
12986
13015
|
this.setHotkeys();
|
|
12987
13016
|
if (this.permissions.incluir) {
|
|
12988
13017
|
this.collectiveActions.push({
|
|
@@ -13378,6 +13407,11 @@
|
|
|
13378
13407
|
})
|
|
13379
13408
|
.filter(function (value) { return !!value; })
|
|
13380
13409
|
.join(" or ");
|
|
13410
|
+
var employer = this.filterFormGroup.get('employer').value;
|
|
13411
|
+
if (employer) {
|
|
13412
|
+
var companyFilter = "e070emp.codEmp eq " + employer.codEmp;
|
|
13413
|
+
filterQuery = filterQuery ? filterQuery + " and " + companyFilter : companyFilter;
|
|
13414
|
+
}
|
|
13381
13415
|
var displayFields = mergeUnique(this.companyBranchLookupDisplayFields, this.companyBranchAdvancedDisplayFields);
|
|
13382
13416
|
this.companyBranchService
|
|
13383
13417
|
.list({ filterQuery: filterQuery, displayFields: displayFields, sort: sort })
|
|
@@ -13415,6 +13449,11 @@
|
|
|
13415
13449
|
})
|
|
13416
13450
|
.filter(function (value) { return !!value; })
|
|
13417
13451
|
.join(" and ");
|
|
13452
|
+
var employer = this.filterFormGroup.get('employer').value;
|
|
13453
|
+
if (employer) {
|
|
13454
|
+
var companyFilter = "e070emp.codEmp eq " + employer.codEmp;
|
|
13455
|
+
filterQuery = filterQuery ? filterQuery + " and " + companyFilter : companyFilter;
|
|
13456
|
+
}
|
|
13418
13457
|
var displayFields = mergeUnique(this.companyBranchLookupDisplayFields, this.companyBranchAdvancedDisplayFields);
|
|
13419
13458
|
this.companyBranchService
|
|
13420
13459
|
.list({ page: page, sort: sort, filterQuery: filterQuery, displayFields: displayFields })
|
|
@@ -15283,12 +15322,12 @@
|
|
|
15283
15322
|
return [
|
|
15284
15323
|
new angularComponents.FormField({
|
|
15285
15324
|
name: "code",
|
|
15286
|
-
label: this.translateService.instant("hcm_contract.employment_contract.
|
|
15325
|
+
label: this.translateService.instant("hcm_contract.employment_contract.employee_dependent_cod_pes"),
|
|
15287
15326
|
type: angularComponents.FieldType.Integer,
|
|
15288
15327
|
}),
|
|
15289
15328
|
new angularComponents.FormField({
|
|
15290
15329
|
name: "name",
|
|
15291
|
-
label: this.translateService.instant("hcm_contract.employment_contract.
|
|
15330
|
+
label: this.translateService.instant("hcm_contract.employment_contract.employee_dependent_nom_pes"),
|
|
15292
15331
|
type: angularComponents.FieldType.String,
|
|
15293
15332
|
}),
|
|
15294
15333
|
];
|