@colijnit/sharedcomponents 1.0.38 → 1.0.39

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.
@@ -2817,7 +2817,7 @@
2817
2817
  if (!!this.stockHistory) return [3 /*break*/, 2];
2818
2818
  stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2819
2819
  stockHistoryInformation.type = "V";
2820
- stockHistoryInformation.goodId = this.article;
2820
+ stockHistoryInformation.goodId = this.article.goodId;
2821
2821
  _a = this;
2822
2822
  return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2823
2823
  case 1:
@@ -2837,7 +2837,7 @@
2837
2837
  if (!!this.orderSupplyStockHistory) return [3 /*break*/, 2];
2838
2838
  stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2839
2839
  stockHistoryInformation.type = "O";
2840
- stockHistoryInformation.goodId = this.article;
2840
+ stockHistoryInformation.goodId = this.article.goodId;
2841
2841
  _a = this;
2842
2842
  return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2843
2843
  case 1:
@@ -2857,7 +2857,7 @@
2857
2857
  if (!!this.orderCommissionStockHistory) return [3 /*break*/, 2];
2858
2858
  stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2859
2859
  stockHistoryInformation.type = "C";
2860
- stockHistoryInformation.goodId = this.article;
2860
+ stockHistoryInformation.goodId = this.article.goodId;
2861
2861
  _a = this;
2862
2862
  return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2863
2863
  case 1:
@@ -2877,7 +2877,7 @@
2877
2877
  if (!!this.orderStockHistory) return [3 /*break*/, 2];
2878
2878
  stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2879
2879
  stockHistoryInformation.type = "B";
2880
- stockHistoryInformation.goodId = this.article;
2880
+ stockHistoryInformation.goodId = this.article.goodId;
2881
2881
  _a = this;
2882
2882
  return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2883
2883
  case 1:
@@ -2897,7 +2897,7 @@
2897
2897
  if (!!this.orderAllocationStockHistory) return [3 /*break*/, 2];
2898
2898
  stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
2899
2899
  stockHistoryInformation.type = "T";
2900
- stockHistoryInformation.goodId = this.article;
2900
+ stockHistoryInformation.goodId = this.article.goodId;
2901
2901
  _a = this;
2902
2902
  return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
2903
2903
  case 1:
@@ -3092,30 +3092,6 @@
3092
3092
  this._stockService = _stockService;
3093
3093
  this.icons = exports["ɵbi"];
3094
3094
  }
3095
- StockHistoryComponent.prototype.openSendMethodDialog = function (data) {
3096
- if (!(this._stockService.printLayoutParams instanceof printPriceStickers_bo.PrintPriceStickers)) {
3097
- this._stockService.printLayoutParams.goodId = data.goodId;
3098
- this._stockService.printLayoutParams.warehouse = data.warehouseNo;
3099
- }
3100
- };
3101
- StockHistoryComponent.prototype.getStockHistory = function () {
3102
- return __awaiter(this, void 0, void 0, function () {
3103
- var stockHistoryInformation, _a;
3104
- return __generator(this, function (_b) {
3105
- switch (_b.label) {
3106
- case 0:
3107
- stockHistoryInformation = new getStockHistoryRequest.GetStockHistoryRequest();
3108
- stockHistoryInformation.type = "B";
3109
- stockHistoryInformation.goodId = this.articleGoodId;
3110
- _a = this;
3111
- return [4 /*yield*/, this._stockService.getStockHistory(stockHistoryInformation)];
3112
- case 1:
3113
- _a.stockHistory = _b.sent();
3114
- return [2 /*return*/];
3115
- }
3116
- });
3117
- });
3118
- };
3119
3095
  return StockHistoryComponent;
3120
3096
  }());
3121
3097
  StockHistoryComponent.decorators = [