@senior-gestao-pessoas/payroll-core 9.0.0-c4899b4a-0967-4eae-90b5-b17be4646913 → 9.0.0-f40bdf86-0d4f-4dcf-b599-4b4842ae68be

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.
@@ -1298,9 +1298,6 @@
1298
1298
  EmployeeSummaryService.prototype.getEmployeeBasicInformations = function () {
1299
1299
  return this.employeeBasicInformations.asObservable();
1300
1300
  };
1301
- EmployeeSummaryService.prototype.findEmployeeCompleteParameterizable = function (path, autocompleteEmployee) {
1302
- return this.http.post("hcm/payroll/queries/" + path, autocompleteEmployee);
1303
- };
1304
1301
  EmployeeSummaryService.ctorParameters = function () { return [
1305
1302
  { type: http.HttpClient }
1306
1303
  ]; };
@@ -3548,8 +3545,7 @@
3548
3545
  InputRestAutoCompleteEmployeeModelComponent.prototype.ngOnInit = function () {
3549
3546
  var _this = this;
3550
3547
  this.activatedRoute.data.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (data) {
3551
- _this._useWorkflow = !!(data && data.useWorkflow);
3552
- console.log('useWorkflow: ', _this._useWorkflow);
3548
+ _this.useWorkflow = !!(data && data.useWorkflow);
3553
3549
  });
3554
3550
  };
3555
3551
  InputRestAutoCompleteEmployeeModelComponent.prototype.filterQuery = function (event) {
@@ -3611,12 +3607,13 @@
3611
3607
  if (this.employeeType) {
3612
3608
  returnFilter['employeeType'] = this.employeeType;
3613
3609
  }
3614
- if (!this._useWorkflow) {
3615
- returnFilter['timeTrackingResumeType'] = { key: "AWAY" };
3610
+ /**
3611
+ * If para uso do BPO
3612
+ * Serve para tirar os colaboradores demitidos do dropbox do autocomplete
3613
+ */
3614
+ if (this.useWorkflow === false) {
3615
+ returnFilter['timeTrackingResumeType'] = { key: "FIRED" };
3616
3616
  }
3617
- // if (this._useWorkflow === false) {
3618
- // returnFilter['timeTrackingResumeType'] = {key: "AWAY"};
3619
- // }
3620
3617
  return returnFilter;
3621
3618
  };
3622
3619
  /**