mobicloud-core 1.0.160 → 1.0.161

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.
@@ -1927,7 +1927,7 @@
1927
1927
  return __awaiter(this, void 0, void 0, function () {
1928
1928
  var url;
1929
1929
  var _this = this;
1930
- return __generator(this, function (_l) {
1930
+ return __generator(this, function (_m) {
1931
1931
  url = "" + this.cloudDataService.getMobiManagementApiUrl('PayrollApi/PayrollEmployees');
1932
1932
  this.httpGet(url).then(function (response) {
1933
1933
  response.subscribe(function (payroll_employees) {
@@ -1947,11 +1947,11 @@
1947
1947
  if (requestTimeout === void 0) { requestTimeout = 30000; }
1948
1948
  return __awaiter(this, void 0, void 0, function () {
1949
1949
  var httpHeaderValues, httpHeaders;
1950
- return __generator(this, function (_l) {
1951
- switch (_l.label) {
1950
+ return __generator(this, function (_m) {
1951
+ switch (_m.label) {
1952
1952
  case 0: return [4 /*yield*/, this.cloudDataService.httpHeaderValues_Json()];
1953
1953
  case 1:
1954
- httpHeaderValues = _l.sent();
1954
+ httpHeaderValues = _m.sent();
1955
1955
  httpHeaders = new http.HttpHeaders(httpHeaderValues);
1956
1956
  return [2 /*return*/, this.httpClient.get(url, { headers: httpHeaders })
1957
1957
  .pipe(operators.timeout(requestTimeout), operators.catchError(this.cloudDataService.handleError))
@@ -2030,7 +2030,7 @@
2030
2030
  };
2031
2031
  EmployeeProfileComponent.prototype.saveEmployee = function () {
2032
2032
  var _this = this;
2033
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2033
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
2034
2034
  if (((_a = this.employee) === null || _a === void 0 ? void 0 : _a.Id) && this.employee_store) {
2035
2035
  this.isLoadingData = true;
2036
2036
  this.loadingText = $localize(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject([":@@Updating-Text-Employee:Updating employee..."], [":@@Updating-Text-Employee:Updating employee..."])));
@@ -2046,6 +2046,7 @@
2046
2046
  update_values.InventLocationId = (_h = this.formEmployee) === null || _h === void 0 ? void 0 : _h.InventLocationId;
2047
2047
  update_values.SupervisorId = (_j = this.formEmployee) === null || _j === void 0 ? void 0 : _j.SupervisorId;
2048
2048
  update_values.PayrollNumber = (_k = this.formEmployee) === null || _k === void 0 ? void 0 : _k.PayrollNumber;
2049
+ update_values.PayrollIntervalId = (_l = this.formEmployee) === null || _l === void 0 ? void 0 : _l.PayrollIntervalId;
2049
2050
  }
2050
2051
  this.employee_store.update(this.employee.Id, update_values)
2051
2052
  .then(function (dataObj) {
@@ -2151,7 +2152,7 @@
2151
2152
  };
2152
2153
  EmployeeProfileComponent.prototype.createPayrollIntervalDataSource = function () {
2153
2154
  return __awaiter(this, void 0, void 0, function () {
2154
- return __generator(this, function (_l) {
2155
+ return __generator(this, function (_m) {
2155
2156
  this.payrollInterval_ds = new DataSource__default['default']({
2156
2157
  store: new ODataStore__default['default']({
2157
2158
  url: this.cloudDataService.getMobiManagementODataUrl("PayrollInterval"),