@colijnit/transaction 255.1.9 → 255.1.10

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.
@@ -33,8 +33,8 @@
33
33
  function Version() {
34
34
  this.name = "@colijnit/transaction";
35
35
  this.description = "Colijn IT transaction package";
36
- this.symVer = "255.1.9";
37
- this.publishDate = "12-8-2024 16:11:56";
36
+ this.symVer = "255.1.10";
37
+ this.publishDate = "12-8-2024 19:22:25";
38
38
  }
39
39
  return Version;
40
40
  }());
@@ -38221,7 +38221,7 @@
38221
38221
  TransactionHeaderPopupCreateServiceComponent.decorators = [
38222
38222
  { type: i0.Component, args: [{
38223
38223
  selector: 'co-transaction-header-popup-create-service',
38224
- template: "\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div class=\"header-relation-content\">\n <div class=\"transaction-header-popup-section general\">\n <div class=\"transaction-header-popup-section-label\">\n <span [textContent]=\"'02'\"></span>\n <span class=\"label-description\" [textContent]=\"'SERVICE_DETAILS' | localize\"></span>\n </div>\n <div class=\"create-transaction-buttons\" *ngIf=\"buttonsVisible\">\n <co-button [label]=\"'SEARCH_ORDER' | localize\" (click)=\"createOrderWithTransactionLineClicked()\" [disabled]=\"forceReadonly\"></co-button>\n <co-button [label]=\"'SEARCH_PRODUCT' | localize\" (click)=\"createOrderWithArticleClicked()\" [disabled]=\"forceReadonly\"></co-button>\n <co-button [label]=\"'WITHOUT_PRODUCT' | localize\" (click)=\"createOrderFromSLAClicked()\" [disabled]=\"forceReadonly\"></co-button>\n </div>\n <div *ngIf=\"createViaTransLine\" class=\"create-via-transaction\">\n<!--\n <co-input-search [useLeftIcon]=\"false\" [useRightIcon]=\"true\" [label]=\"'TRANSACTION' | localize\" (rightIconClick)=\"searchTransactionClicked_handler()\"></co-input-search>\n-->\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"existingTransactionTitleText\"></span>\n <span class=\"toggle-change\" [textContent]=\"'CHANGE' | localize\" (click)=\"createOrderFromSLAClicked(); forceReadonly = false\"></span>\n </div>\n <div *ngIf=\"existingTransactionLine\" class=\"create-via-transaction-result-display\">\n <co-image-display [model]=\"existingTransactionLine?.articleImageData\"></co-image-display>\n <span [textContent]=\"existingTransactionLine?.goodDescription\"></span>\n <span [textContent]=\"existingTransactionLine?.articleBoundConcatenatedText\"></span>\n <span [textContent]=\"existingTransactionLine?.price | currency: 'EUR'\"></span>\n </div>\n <div *ngIf=\"chosenTransactionLine\" class=\"create-via-transaction-result-display\">\n <co-image-display [model]=\"transactionImage\"></co-image-display>\n <span [textContent]=\"chosenTransactionLine?.goodDescription\"></span>\n <!--<span [textContent]=\"existingTransactionLine?.articleBoundConcatenatedText\"></span>-->\n <!--<span [textContent]=\"existingTransactionLine?.price | currency: 'EUR'\"></span>-->\n </div>\n </div>\n <div *ngIf=\"createViaProduct\" class=\"create-via-product\">\n<!--\n <co-input-search [useLeftIcon]=\"false\" [useRightIcon]=\"true\" [label]=\"'ARTICLE' | localize\" (rightIconClick)=\"searchArticleClicked_handler()\" [(model)]=\"articleSearchText\"></co-input-search>\n -->\n <div class=\"create-via-product-result-display\">\n <co-image-display [model]=\"chosenArticle?.imageData\"></co-image-display>\n <span [textContent]=\"chosenArticle?.description\"></span>\n <span [textContent]=\"chosenArticle?.price | currency: 'EUR'\"></span>\n </div>\n </div>\n <div *ngIf=\"createViaOldTrans\">\n <co-input-text [placeholder]=\"'TRANSACTION' | localize\" [(model)]=\"oldOrderId\" [required]=\"createViaOldTrans\" [disabled]=\"forceReadonly\"></co-input-text>\n <co-input-text [placeholder]=\"'PRODUCT' | localize\" [(model)]=\"oldGoodId\" [required]=\"createViaOldTrans\" [disabled]=\"forceReadonly\"></co-input-text>\n </div>\n </div>\n </div>\n </co-form>\n <co-dialog-catalog *ngIf=\"showCatalogPopup\"\n [showNavigation]=\"false\"\n [options]=\"catalogOptions\"\n [parameters]=\"catalogParameters\"\n [returnArticleOnTileClick]=\"true\"\n (closeClick)=\"showCatalogPopup = false\"\n (articleClicked)=\"handleCatalogArticleClick($event)\"\n >\n </co-dialog-catalog >\n <co-dialog-transaction-search *ngIf=\"showTransLinePopup\"\n [relation]=\"this.relation\"\n (lineClicked)=\"handleTransactinLineClick($event)\"\n (closeClick)=\"closeTransactionPopup()\">\n </co-dialog-transaction-search>\n </div>\n ",
38224
+ template: "\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div class=\"header-relation-content\">\n <div class=\"transaction-header-popup-section general\">\n <div class=\"transaction-header-popup-section-label\">\n <span [textContent]=\"'02'\"></span>\n <span class=\"label-description\" [textContent]=\"'SERVICE_DETAILS' | localize\"></span>\n </div>\n <div class=\"create-transaction-buttons\" *ngIf=\"buttonsVisible\">\n <co-button [label]=\"'SEARCH_ORDER' | localize\" (click)=\"createOrderWithTransactionLineClicked()\" [disabled]=\"forceReadonly\"></co-button>\n <co-button [label]=\"'SEARCH_PRODUCT' | localize\" (click)=\"createOrderWithArticleClicked()\" [disabled]=\"forceReadonly\"></co-button>\n <co-button [label]=\"'WITHOUT_PRODUCT' | localize\" (click)=\"createOrderFromSLAClicked()\" [disabled]=\"forceReadonly\"></co-button>\n </div>\n <div *ngIf=\"createViaTransLine\" class=\"create-via-transaction\">\n<!--\n <co-input-search [useLeftIcon]=\"false\" [useRightIcon]=\"true\" [label]=\"'TRANSACTION' | localize\" (rightIconClick)=\"searchTransactionClicked_handler()\"></co-input-search>\n-->\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"existingTransactionTitleText\"></span>\n <span class=\"toggle-change\" [textContent]=\"'CHANGE' | localize\" (click)=\"createOrderWithTransactionLineClicked(); forceReadonly = false\"></span>\n </div>\n <div *ngIf=\"existingTransactionLine\" class=\"create-via-transaction-result-display\">\n <co-image-display [model]=\"existingTransactionLine?.articleImageData\"></co-image-display>\n <span [textContent]=\"existingTransactionLine?.goodDescription\"></span>\n <span [textContent]=\"existingTransactionLine?.articleBoundConcatenatedText\"></span>\n <span [textContent]=\"existingTransactionLine?.price | currency: 'EUR'\"></span>\n </div>\n <div *ngIf=\"chosenTransactionLine\" class=\"create-via-transaction-result-display\">\n <co-image-display [model]=\"transactionImage\"></co-image-display>\n <span [textContent]=\"chosenTransactionLine?.goodDescription\"></span>\n </div>\n </div>\n <div *ngIf=\"createViaProduct\" class=\"create-via-product\">\n <div class=\"create-via-product-result-display\">\n <co-image-display [model]=\"chosenArticle?.imageData\"></co-image-display>\n <span [textContent]=\"chosenArticle?.description\"></span>\n <span [textContent]=\"chosenArticle?.price | currency: 'EUR'\"></span>\n </div>\n </div>\n <div *ngIf=\"createViaOldTrans\">\n <co-input-text [placeholder]=\"'TRANSACTION' | localize\" [(model)]=\"oldOrderId\" [required]=\"createViaOldTrans\" [disabled]=\"forceReadonly\"></co-input-text>\n <co-input-text [placeholder]=\"'PRODUCT' | localize\" [(model)]=\"oldGoodId\" [required]=\"createViaOldTrans\" [disabled]=\"forceReadonly\"></co-input-text>\n </div>\n </div>\n </div>\n </co-form>\n <co-dialog-catalog *ngIf=\"showCatalogPopup\"\n [showNavigation]=\"false\"\n [options]=\"catalogOptions\"\n [parameters]=\"catalogParameters\"\n [returnArticleOnTileClick]=\"true\"\n (closeClick)=\"showCatalogPopup = false\"\n (articleClicked)=\"handleCatalogArticleClick($event)\"\n >\n </co-dialog-catalog >\n <co-dialog-transaction-search *ngIf=\"showTransLinePopup\"\n [relation]=\"this.relation\"\n (lineClicked)=\"handleTransactinLineClick($event)\"\n (closeClick)=\"closeTransactionPopup()\">\n </co-dialog-transaction-search>\n </div>\n ",
38225
38225
  providers: [
38226
38226
  corecomponents_v12.FormMasterService
38227
38227
  ],
@@ -38876,7 +38876,12 @@
38876
38876
  DialogTransactionSearchComponent.prototype.ngOnInit = function () {
38877
38877
  return __awaiter(this, void 0, void 0, function () {
38878
38878
  return __generator(this, function (_a) {
38879
- return [2 /*return*/];
38879
+ switch (_a.label) {
38880
+ case 0: return [4 /*yield*/, this.searchTransactions()];
38881
+ case 1:
38882
+ _a.sent();
38883
+ return [2 /*return*/];
38884
+ }
38880
38885
  });
38881
38886
  });
38882
38887
  };
@@ -38888,6 +38893,14 @@
38888
38893
  DialogTransactionSearchComponent.prototype.transLineClicked = function (line) {
38889
38894
  this.lineClicked.emit(line);
38890
38895
  };
38896
+ DialogTransactionSearchComponent.prototype.searchTransactions = function () {
38897
+ return __awaiter(this, void 0, void 0, function () {
38898
+ return __generator(this, function (_a) {
38899
+ this.transactionSearchService.searchTransactions();
38900
+ return [2 /*return*/];
38901
+ });
38902
+ });
38903
+ };
38891
38904
  return DialogTransactionSearchComponent;
38892
38905
  }());
38893
38906
  DialogTransactionSearchComponent.decorators = [