@colijnit/transaction 255.1.39 → 255.1.40

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.
Files changed (26) hide show
  1. package/bundles/colijnit-transaction.umd.js +95 -23
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction-255.1.39.tgz +0 -0
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/lib/component/core/base/transaction-payment-base.component.js +12 -4
  6. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +2 -1
  7. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +2 -2
  8. package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.component.js +22 -7
  9. package/esm2015/lib/component/transaction-service-overview/components/transaction-service-message.component.js +3 -3
  10. package/esm2015/lib/component/transaction-service-overview/components/transaction-service-message.module.js +4 -3
  11. package/esm2015/lib/component/transaction-service-overview/transaction-service-overview.component.js +5 -3
  12. package/esm2015/lib/enum/transaction-cfg-name.enum.js +3 -1
  13. package/esm2015/lib/service/transaction-create.service.js +12 -1
  14. package/esm2015/lib/service/transaction-payment.service.js +9 -3
  15. package/esm2015/lib/service/transaction.service.js +11 -4
  16. package/esm2015/lib/transaction-version.js +3 -3
  17. package/fesm2015/colijnit-transaction.js +74 -23
  18. package/fesm2015/colijnit-transaction.js.map +1 -1
  19. package/lib/component/core/base/transaction-payment-base.component.d.ts +5 -2
  20. package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.component.d.ts +2 -1
  21. package/lib/component/transaction-service-overview/transaction-service-overview.component.d.ts +2 -0
  22. package/lib/enum/transaction-cfg-name.enum.d.ts +2 -1
  23. package/lib/service/transaction-create.service.d.ts +2 -0
  24. package/lib/service/transaction-payment.service.d.ts +3 -1
  25. package/lib/service/transaction.service.d.ts +2 -1
  26. package/package.json +1 -1
@@ -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.39";
37
- this.publishDate = "20-9-2024 17:21:27";
36
+ this.symVer = "255.1.40";
37
+ this.publishDate = "23-9-2024 18:21:43";
38
38
  }
39
39
  return Version;
40
40
  }());
@@ -11581,6 +11581,8 @@
11581
11581
  TransactionCfgName["StickerAmount"] = "stickerAmount";
11582
11582
  TransactionCfgName["LineWarehouseLocationReceived"] = "lineWarehouseLocationReceived";
11583
11583
  /* Invoice_check rubric */
11584
+ /* Service Overview Tab*/
11585
+ TransactionCfgName["ServiceMessage"] = "serviceMessage";
11584
11586
  })(exports.TransactionCfgName || (exports.TransactionCfgName = {}));
11585
11587
 
11586
11588
  var TransactionScreenConfigurationService = /** @class */ (function (_super) {
@@ -12216,7 +12218,7 @@
12216
12218
  DialogTransactionLineWarehouseCcComponent.decorators = [
12217
12219
  { type: i0.Component, args: [{
12218
12220
  selector: "co-dialog-transaction-line-warehouse-cc",
12219
- template: "\n <co-dialog\n [customCssClass]=\"'co-small-scrollbar'\"\n [headerTemplate]=\"dialogHeader\"\n [footerTemplate]=\"footerTemplate\"\n (closeClick)=\"handleCloseDialog($event, buttonType.Cancel)\">\n <div class=\"transaction-line-warehouse-cc-section flex\">\n <co-input-number-picker\n class=\"quantity-number-picker\"\n [(model)]=\"quantity\" [min]=\"1\"\n [decimals]=\"decimals\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n (modelChange)=\"handleQuantityChange($event)\">\n </co-input-number-picker>\n <co-button\n *ngIf=\"showDirectSell\"\n class=\"bordered\"\n [iconData]=\"iconCacheService.getIcon(icons.IndustryRegular)\"\n (click)=\"directSellModalVisible = true\">\n </co-button>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\" *ngIf=\"transactionKind !== transKind.PurchaseOrder\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n <co-transaction-line-commission-code\n [transactionLine]=\"transactionLine\"\n [value]=\"commissionCode\"\n [useModel]=\"false\"\n (valueChange)=\"handleCommissionCodeChange($event)\"></co-transaction-line-commission-code>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'WAREHOUSE' | localize\"></div>\n <co-transaction-line-warehouse\n [transactionLine]=\"transactionLine\"\n [value]=\"warehouse\"\n [useModel]=\"false\"\n (valueChange)=\"handleWarehouseChange($event)\"></co-transaction-line-warehouse>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"co-dialog-header-title\" [textContent]=\"'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"handleOkClick()\"></co-button>\n <co-button class=\"close-button\"\n [iconData]=\"iconCacheService.getIcon(icons.Crossskinny)\"\n (click)=\"handleCloseDialog($event, buttonType.Cancel)\"></co-button>\n </div>\n </ng-template>\n\n <co-dialog-sell\n *ngIf=\"directSellModalVisible\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [lineUuid]=\"transactionLine.uuid\"\n [goodId]=\"transactionLine.goodId\"\n (showDirectSellModal)=\"showDirectSellModal($event)\">\n </co-dialog-sell>\n ",
12221
+ template: "\n <co-dialog\n [customCssClass]=\"'co-small-scrollbar'\"\n [headerTemplate]=\"dialogHeader\"\n [footerTemplate]=\"footerTemplate\"\n (closeClick)=\"handleCloseDialog($event, buttonType.Cancel)\">\n <div class=\"transaction-line-warehouse-cc-section flex\">\n <co-input-number-picker\n class=\"quantity-number-picker\"\n [(model)]=\"quantity\" [min]=\"1\"\n [decimals]=\"decimals\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n (modelChange)=\"handleQuantityChange($event)\">\n </co-input-number-picker>\n <co-button\n *ngIf=\"showDirectSell\"\n class=\"bordered\"\n [iconData]=\"iconCacheService.getIcon(icons.IndustryRegular)\"\n (click)=\"directSellModalVisible = true\">\n </co-button>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\" *ngIf=\"transactionKind !== transKind.PurchaseOrder\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n <co-transaction-line-commission-code\n [transactionLine]=\"transactionLine\"\n [value]=\"commissionCode\"\n [useModel]=\"false\"\n (valueChange)=\"handleCommissionCodeChange($event)\"></co-transaction-line-commission-code>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'WAREHOUSE' | localize\"></div>\n <co-transaction-line-warehouse\n [transactionLine]=\"transactionLine\"\n [value]=\"warehouse\"\n [useModel]=\"false\"\n [transactionInfo]=\"transactionInfo\"\n (valueChange)=\"handleWarehouseChange($event)\"></co-transaction-line-warehouse>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"co-dialog-header-title\" [textContent]=\"'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"handleOkClick()\"></co-button>\n <co-button class=\"close-button\"\n [iconData]=\"iconCacheService.getIcon(icons.Crossskinny)\"\n (click)=\"handleCloseDialog($event, buttonType.Cancel)\"></co-button>\n </div>\n </ng-template>\n\n <co-dialog-sell\n *ngIf=\"directSellModalVisible\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [lineUuid]=\"transactionLine.uuid\"\n [goodId]=\"transactionLine.goodId\"\n (showDirectSellModal)=\"showDirectSellModal($event)\">\n </co-dialog-sell>\n ",
12220
12222
  encapsulation: i0.ViewEncapsulation.None
12221
12223
  },] }
12222
12224
  ];
@@ -16262,9 +16264,16 @@
16262
16264
  TransactionService.prototype.getWarehouses = function () {
16263
16265
  return this.connector.getWarehouses(this.currentBranch);
16264
16266
  };
16265
- TransactionService.prototype.getWarehouseStockInfoByGoodAndBranch = function (goodId) {
16266
- var transactionBranch = this.currentTransaction && this.currentTransaction.transactionInfo && this.currentTransaction.transactionInfo.branch ?
16267
- this.currentTransaction.transactionInfo.branch.relationNr : this.currentBranch;
16267
+ TransactionService.prototype.getWarehouseStockInfoByGoodAndBranch = function (goodId, transactionInfo) {
16268
+ var transactionBranch;
16269
+ if (transactionInfo && transactionInfo.branch) {
16270
+ transactionBranch = transactionInfo.branch.relationNr;
16271
+ }
16272
+ else if (this.currentTransaction && this.currentTransaction.transactionInfo && this.currentTransaction.transactionInfo.branch)
16273
+ transactionBranch = this.currentTransaction.transactionInfo.branch.relationNr;
16274
+ else {
16275
+ transactionBranch = this.currentBranch;
16276
+ }
16268
16277
  return this.connector.getWarehouseStockInfoByGoodAndBranch(goodId, transactionBranch);
16269
16278
  };
16270
16279
  TransactionService.prototype.getMaxConfirmedDeliveryDateForPurchaseOrder = function (transId) {
@@ -27040,12 +27049,36 @@
27040
27049
  });
27041
27050
  };
27042
27051
  TransactionLinesSidePanelCashDeskComponent.prototype.paymentMethodSelected = function (method, index) {
27043
- this.cashRegisterNr = this.posOrderData ? this.posOrderData.cashRegisterNr : this.transaction.transactionInfo.cashRegisterNr;
27044
- this.cashRegisterGroupId = this.posOrderData ? this.posOrderData.cashRegisterGroupId : this.transaction.transactionInfo.cashRegisterGroupId;
27045
- this.cashRegisterDrawerId = this.posOrderData ? this.posOrderData.cashDrawerId : undefined;
27046
- this.printerName = this.posOrderData ? this.posOrderData.printerName : undefined;
27047
- this.selectedPaymentMethod = method;
27048
- this.showCashRegisterPaymentDialog = true;
27052
+ return __awaiter(this, void 0, void 0, function () {
27053
+ var registers, register;
27054
+ var _this = this;
27055
+ return __generator(this, function (_a) {
27056
+ switch (_a.label) {
27057
+ case 0:
27058
+ this.cashRegisterNr = this.posOrderData ? this.posOrderData.cashRegisterNr : this.transaction.transactionInfo.cashRegisterNr;
27059
+ this.cashRegisterGroupId = this.posOrderData ? this.posOrderData.cashRegisterGroupId : this.transaction.transactionInfo.cashRegisterGroupId;
27060
+ this.cashRegisterDrawerId = this.posOrderData ? this.posOrderData.cashDrawerId : undefined;
27061
+ this.printerName = this.posOrderData ? this.posOrderData.printerName : undefined;
27062
+ if (!((this.cashRegisterDrawerId === undefined || this.cashRegisterDrawerId === null) ||
27063
+ (this.printerName === undefined || this.printerName === null))) return [3 /*break*/, 2];
27064
+ return [4 /*yield*/, this.transactionService.getCashRegisters(this.transactionInfo.branch.relationNr, this.cashRegisterGroupId)];
27065
+ case 1:
27066
+ registers = _a.sent();
27067
+ register = registers.find(function (c) { return c.nr === _this.cashRegisterNr; });
27068
+ if (register !== undefined && register !== null) {
27069
+ if (this.cashRegisterDrawerId === undefined || this.cashRegisterDrawerId === null) {
27070
+ this.cashRegisterDrawerNr = register.defaultDrawerNumber;
27071
+ }
27072
+ this.printerName = this.printerName ? this.printerName : register.defaultPrinter;
27073
+ }
27074
+ _a.label = 2;
27075
+ case 2:
27076
+ this.selectedPaymentMethod = method;
27077
+ this.showCashRegisterPaymentDialog = true;
27078
+ return [2 /*return*/];
27079
+ }
27080
+ });
27081
+ });
27049
27082
  };
27050
27083
  TransactionLinesSidePanelCashDeskComponent.prototype._getPaymentMethods = function () {
27051
27084
  var _this = this;
@@ -27059,7 +27092,7 @@
27059
27092
  TransactionLinesSidePanelCashDeskComponent.decorators = [
27060
27093
  { type: i0.Component, args: [{
27061
27094
  selector: 'co-transaction-lines-side-panel-cash-desk',
27062
- template: "\n <div class=\"cash-register-button-wrapper\">\n <co-button class=\"expense-button\" [iconData]=\"iconCacheService.getIcon(icons.UpFromLineRegular)\"\n [label]=\"'EXPENSE' | localize\" (click)=\"showExpenseDialog = true\">\n </co-button>\n </div>\n <div class=\"cash-register-payment-methods-wrapper\">\n <co-payment-tile *ngFor=\"let paymentMethod of paymentMethods; let index = index\"\n [image]=\"paymentMethod.image\"\n [description]=\"paymentMethod.payment.description\"\n [showRadioButton]=\"false\"\n (selectedChange)=\"paymentMethodSelected(paymentMethod, index)\"\n ></co-payment-tile>\n </div>\n <co-transaction-cash-register-payment-dialog *ngIf=\"showCashRegisterPaymentDialog\"\n [transactionNr]=\"transaction.transactionInfo.transactionNr\"\n [transId]=\"transaction.transactionInfo.id\"\n [branch]=\"transaction.transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [amount]=\"transaction.transactionTotal.netAmount\"\n [currencyId]=\"transaction.transactionInfo.currencyId\"\n [relation]=\"relation\"\n [paymentViewModel]=\"selectedPaymentMethod\"\n [cashRegisterNr]=\"cashRegisterNr\"\n [cashRegisterGroupId]=\"cashRegisterGroupId\"\n [cashRegisterDrawerId]=\"cashRegisterDrawerId\"\n [printerName]=\"printerName\"\n [emailLayout]=\"emailLayout\"\n [printerLayout]=\"printerLayout\"\n (posOrderPayed)=\"handlePayed()\"\n (closeDialog)=\"showCashRegisterPaymentDialog = false\"\n >\n </co-transaction-cash-register-payment-dialog>\n <co-transaction-cash-register-order-expense-dialog *ngIf=\"showExpenseDialog\"\n [transaction]=\"this.transaction\"\n (cancelClicked)=\"showExpenseDialog = false\"\n (okayClicked)=\"createExpenseForOrder($event)\"\n >\n </co-transaction-cash-register-order-expense-dialog>\n ",
27095
+ template: "\n <div class=\"cash-register-button-wrapper\">\n <co-button class=\"expense-button\" [iconData]=\"iconCacheService.getIcon(icons.UpFromLineRegular)\"\n [label]=\"'EXPENSE' | localize\" (click)=\"showExpenseDialog = true\">\n </co-button>\n </div>\n <div class=\"cash-register-payment-methods-wrapper\">\n <co-payment-tile *ngFor=\"let paymentMethod of paymentMethods; let index = index\"\n [image]=\"paymentMethod.image\"\n [description]=\"paymentMethod.payment.description\"\n [showRadioButton]=\"false\"\n (selectedChange)=\"paymentMethodSelected(paymentMethod, index)\"\n ></co-payment-tile>\n </div>\n <co-transaction-cash-register-payment-dialog *ngIf=\"showCashRegisterPaymentDialog\"\n [transactionNr]=\"transaction.transactionInfo.transactionNr\"\n [transId]=\"transaction.transactionInfo.id\"\n [branch]=\"transaction.transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [amount]=\"transaction.transactionTotal.netAmount\"\n [currencyId]=\"transaction.transactionInfo.currencyId\"\n [relation]=\"relation\"\n [paymentViewModel]=\"selectedPaymentMethod\"\n [cashRegisterNr]=\"cashRegisterNr\"\n [cashRegisterGroupId]=\"cashRegisterGroupId\"\n [cashRegisterDrawerId]=\"cashRegisterDrawerId\"\n [cashRegisterDrawerNr]=\"cashRegisterDrawerNr\"\n [printerName]=\"printerName\"\n [emailLayout]=\"emailLayout\"\n [printerLayout]=\"printerLayout\"\n (posOrderPayed)=\"handlePayed()\"\n (closeDialog)=\"showCashRegisterPaymentDialog = false\"\n >\n </co-transaction-cash-register-payment-dialog>\n <co-transaction-cash-register-order-expense-dialog *ngIf=\"showExpenseDialog\"\n [transaction]=\"this.transaction\"\n (cancelClicked)=\"showExpenseDialog = false\"\n (okayClicked)=\"createExpenseForOrder($event)\"\n >\n </co-transaction-cash-register-order-expense-dialog>\n ",
27063
27096
  encapsulation: i0.ViewEncapsulation.None
27064
27097
  },] }
27065
27098
  ];
@@ -29411,7 +29444,7 @@
29411
29444
  TransactionLineWarehouseComponent.prototype.ngOnInit = function () {
29412
29445
  var _this = this;
29413
29446
  this.viewModels.length = 0;
29414
- this.transactionService.getWarehouseStockInfoByGoodAndBranch(this.transactionLine.goodId).then(function (warehouses) {
29447
+ this.transactionService.getWarehouseStockInfoByGoodAndBranch(this.transactionLine.goodId, this.transactionInfo).then(function (warehouses) {
29415
29448
  _this.collection = !_this.transactionLine.dropShipment ? warehouses.slice() : warehouses.slice().filter(function (warehouse) { return warehouse.dropShipment; });
29416
29449
  _this.detectChanges();
29417
29450
  });
@@ -33788,7 +33821,17 @@
33788
33821
  },
33789
33822
  set: function (value) {
33790
33823
  this._cashRegisterDrawerNr = value;
33791
- this.setCashDrawerIdIfValifDrawer(this._cashRegisterDrawerNr);
33824
+ this.setCashDrawerIdIfValidDrawer(this._cashRegisterDrawerNr);
33825
+ },
33826
+ enumerable: false,
33827
+ configurable: true
33828
+ });
33829
+ Object.defineProperty(TransactionPaymentService.prototype, "cashRegisterDrawerId", {
33830
+ get: function () {
33831
+ return this._cashRegisterDrawerId;
33832
+ },
33833
+ set: function (value) {
33834
+ this._cashRegisterDrawerId = value;
33792
33835
  },
33793
33836
  enumerable: false,
33794
33837
  configurable: true
@@ -34033,7 +34076,7 @@
34033
34076
  TransactionPaymentService.prototype._dataUriToBase64 = function (uri, mimeType) {
34034
34077
  return uri ? "data:" + mimeType + ";base64," + uri : "";
34035
34078
  };
34036
- TransactionPaymentService.prototype.setCashDrawerIdIfValifDrawer = function (drawerNr) {
34079
+ TransactionPaymentService.prototype.setCashDrawerIdIfValidDrawer = function (drawerNr) {
34037
34080
  return __awaiter(this, void 0, void 0, function () {
34038
34081
  var request, drawers;
34039
34082
  var _this = this;
@@ -34186,7 +34229,18 @@
34186
34229
  },
34187
34230
  set: function (value) {
34188
34231
  this._cashRegisterDrawerId = value;
34189
- this.paymentService.cashRegisterDrawerNr = this._cashRegisterDrawerId;
34232
+ this.paymentService.cashRegisterDrawerId = this._cashRegisterDrawerId;
34233
+ },
34234
+ enumerable: false,
34235
+ configurable: true
34236
+ });
34237
+ Object.defineProperty(TransactionPaymentBaseComponent.prototype, "cashRegisterDrawerNr", {
34238
+ get: function () {
34239
+ return this._cashRegisterDrawerNr;
34240
+ },
34241
+ set: function (value) {
34242
+ this._cashRegisterDrawerNr = value;
34243
+ this.paymentService.cashRegisterDrawerNr = this._cashRegisterDrawerNr;
34190
34244
  },
34191
34245
  enumerable: false,
34192
34246
  configurable: true
@@ -34292,7 +34346,7 @@
34292
34346
  this.cashRegisterIdx = index;
34293
34347
  this.cashRegisterNr = cashRegister.nr;
34294
34348
  this.cashRegisterGroupId = cashRegister.group;
34295
- this.cashRegisterDrawerId = cashRegister.defaultDrawerNumber;
34349
+ this.cashRegisterDrawerNr = cashRegister.defaultDrawerNumber;
34296
34350
  this.paymentService.printerName = cashRegister.defaultPrinter;
34297
34351
  };
34298
34352
  TransactionPaymentBaseComponent.prototype.handlePayment = function () {
@@ -34335,7 +34389,7 @@
34335
34389
  if (currentCashRegister) {
34336
34390
  _this.cashRegisterNr = currentCashRegister.nr;
34337
34391
  _this.cashRegisterGroupId = currentCashRegister.group;
34338
- _this.cashRegisterDrawerId = currentCashRegister.defaultDrawerNumber;
34392
+ _this.cashRegisterDrawerNr = currentCashRegister.defaultDrawerNumber;
34339
34393
  _this.prepareCashDrawers(currentCashRegister.group);
34340
34394
  _this.paymentService.printerName = currentCashRegister.defaultPrinter;
34341
34395
  }
@@ -34376,6 +34430,7 @@
34376
34430
  cashRegisterNr: [{ type: i0.Input }],
34377
34431
  cashRegisterGroupId: [{ type: i0.Input }],
34378
34432
  cashRegisterDrawerId: [{ type: i0.Input }],
34433
+ cashRegisterDrawerNr: [{ type: i0.Input }],
34379
34434
  printerName: [{ type: i0.Input }],
34380
34435
  emailLayout: [{ type: i0.Input }],
34381
34436
  printerLayout: [{ type: i0.Input }],
@@ -39455,8 +39510,23 @@
39455
39510
  });
39456
39511
  });
39457
39512
  };
39513
+ //In this case we need information about a separate transaction to add info from it to the transaction we actually wish to create.
39514
+ //As such we need to fetch a transaction but just return it. Not set it on the service.
39515
+ TransactionCreateService.prototype.getSeparateTransactionById = function (transactionId) {
39516
+ return __awaiter(this, void 0, void 0, function () {
39517
+ return __generator(this, function (_a) {
39518
+ switch (_a.label) {
39519
+ case 0: return [4 /*yield*/, this.connector.getTransactionById(transactionId)];
39520
+ case 1: return [2 /*return*/, _a.sent()];
39521
+ }
39522
+ });
39523
+ });
39524
+ };
39458
39525
  return TransactionCreateService;
39459
- }(TransactionService));
39526
+ }(TransactionService));
39527
+ TransactionCreateService.decorators = [
39528
+ { type: i0.Injectable }
39529
+ ];
39460
39530
 
39461
39531
  var TransactionHeaderPopupServiceFieldsComponent = /** @class */ (function () {
39462
39532
  function TransactionHeaderPopupServiceFieldsComponent(transactionService) {
@@ -51960,6 +52030,7 @@
51960
52030
  _this._dialogService = _dialogService;
51961
52031
  _this.TableName = tableName_enum.TableName;
51962
52032
  _this.WorkflowCategoryType = workflowCategory_enum.WorkflowCategoryType;
52033
+ _this.cfgNames = exports.TransactionCfgName;
51963
52034
  _this.Icon = Icon;
51964
52035
  _this._editMode = false;
51965
52036
  _this.priorityDomainColl = [];
@@ -52171,7 +52242,7 @@
52171
52242
  TransactionServiceOverviewComponent.decorators = [
52172
52243
  { type: i0.Component, args: [{
52173
52244
  selector: "co-transaction-service-overview",
52174
- template: "\n <div class=\"service-overview-wrapper\">\n <div class=\"message-and-task-wrapper\">\n <div class=\"service-message-and-image-wrapper\">\n <div class=\"service-message-wrapper\">\n <label class=\"label service-label\" [textContent]=\"'SERVICE_REPORT'| localize\"></label>\n <span *ngIf=\"transactionServiceInfo && transactionServiceInfo.wizardQuestionsAndAnswers\"\n [textContent]=\"transactionServiceInfo.wizardQuestionsAndAnswers\"></span>\n <co-transaction-service-message class=\"transaction-service-message\" [transaction]=\"transaction\">\n </co-transaction-service-message>\n </div>\n <co-files-upload (documentChangeEvent)=\"upsertDocument($event)\"\n (documentDeleted)=\"deleteDocument($event)\"\n [label]=\"'ADD_IMAGES' | localize\"\n [documents]=\"documents\"\n [isEditable]=\"false\">\n </co-files-upload>\n <div class=\"service-order-lines-wrapper\">\n <div class=\"service-message-extra-wrapper\">\n <co-list-of-values [label]=\"'PRIORITY'| localize\" displayField=\"description\" [model]=\"priorityModel\"\n [collection]=\"priorityDomainColl\"\n (modelChange)=\"setPriority($event)\"></co-list-of-values>\n <co-list-of-values [label]=\"'CAUSE_CODE' | localize\" displayField=\"description\" [model]=\"causeCodeModel\"\n [collection]=\"causeCodeColl\"\n (modelChange)=\"setCauseCode($event)\"></co-list-of-values>\n <co-list-of-values [label]=\"'ENTRY_TYPE' | localize\" displayField=\"description\" [model]=\"entryTypeModel\"\n [collection]=\"entryTypeColl\"\n (modelChange)=\"setEntryType($event)\"></co-list-of-values>\n </div>\n <co-transaction-lines-side-panel\n class=\"higher-max-width\"\n [posOrderData]=\"posOrderData\"\n [transaction]=\"transaction\">\n </co-transaction-lines-side-panel>\n </div>\n\n </div>\n <div class=\"activity-list-component-wrapper\">\n <div class=\"activity-task-creator-wrapper\">\n <co-component-activity-list #openActivities [showActivityHeader]=\"showActivityHeader\" [table]=\"TableName.Transactions\" [key]=\"transactionInfo.id.toString()\" (refreshRequested)=\"finishedActivitiesRefreshRequested()\">\n </co-component-activity-list>\n <co-task-creator [table]=\"TableName.Transactions\" [remarkAndWorkKey]=\"transactionInfo.id.toString()\" [taskKey]=\"transactionInfo.transactionNr.toString()\"\n [author]=\"transactionService.loggedInUser\" [branchNo]=\"transactionInfo.branch.relationNr.toString()\"\n [workflowCategoryType]=\"WorkflowCategoryType.ServiceOrder\"\n (activityCreated)=\"fullActivitiesRefreshRequested()\"></co-task-creator>\n </div>\n <div class=\"activity-list-conv-wrapper\">\n <label class=\"label history-label\" [textContent]=\"'HISTORIC_ACTIVITY_CHAT'| localize\"></label>\n <co-activity-list [activities]=\"activities\"></co-activity-list>\n </div>\n </div>\n </div>\n </div>\n\n ",
52245
+ template: "\n <div class=\"service-overview-wrapper\">\n <div class=\"message-and-task-wrapper\">\n <div class=\"service-message-and-image-wrapper\">\n <div class=\"service-message-wrapper\">\n <label class=\"label service-label\" [textContent]=\"'SERVICE_REPORT'| localize\"></label>\n <span *ngIf=\"transactionServiceInfo && transactionServiceInfo.wizardQuestionsAndAnswers\"\n [textContent]=\"transactionServiceInfo.wizardQuestionsAndAnswers\"></span> <!--[screenConfigurationObject]=\"\" screenConfigNativeElement-->\n <co-transaction-service-message class=\"transaction-service-message\" [transaction]=\"transaction\">\n </co-transaction-service-message>\n </div>\n <co-files-upload (documentChangeEvent)=\"upsertDocument($event)\"\n (documentDeleted)=\"deleteDocument($event)\"\n [label]=\"'ADD_IMAGES' | localize\"\n [documents]=\"documents\"\n [isEditable]=\"false\">\n </co-files-upload>\n <div class=\"service-order-lines-wrapper\">\n <div class=\"service-message-extra-wrapper\">\n <co-list-of-values [label]=\"'PRIORITY'| localize\" displayField=\"description\" [model]=\"priorityModel\"\n [collection]=\"priorityDomainColl\"\n (modelChange)=\"setPriority($event)\"></co-list-of-values>\n <co-list-of-values [label]=\"'CAUSE_CODE' | localize\" displayField=\"description\" [model]=\"causeCodeModel\"\n [collection]=\"causeCodeColl\"\n (modelChange)=\"setCauseCode($event)\"></co-list-of-values>\n <co-list-of-values [label]=\"'ENTRY_TYPE' | localize\" displayField=\"description\" [model]=\"entryTypeModel\"\n [collection]=\"entryTypeColl\"\n (modelChange)=\"setEntryType($event)\"></co-list-of-values>\n </div>\n <co-transaction-lines-side-panel\n class=\"higher-max-width\"\n [posOrderData]=\"posOrderData\"\n [transaction]=\"transaction\">\n </co-transaction-lines-side-panel>\n </div>\n\n </div>\n <div class=\"activity-list-component-wrapper\">\n <div class=\"activity-task-creator-wrapper\">\n <co-component-activity-list #openActivities [showActivityHeader]=\"showActivityHeader\" [table]=\"TableName.Transactions\" [key]=\"transactionInfo.id.toString()\" (refreshRequested)=\"finishedActivitiesRefreshRequested()\">\n </co-component-activity-list>\n <co-task-creator [table]=\"TableName.Transactions\" [remarkAndWorkKey]=\"transactionInfo.id.toString()\" [taskKey]=\"transactionInfo.transactionNr.toString()\"\n [author]=\"transactionService.loggedInUser\" [branchNo]=\"transactionInfo.branch.relationNr.toString()\"\n [workflowCategoryType]=\"WorkflowCategoryType.ServiceOrder\"\n (activityCreated)=\"fullActivitiesRefreshRequested()\"></co-task-creator>\n </div>\n <div class=\"activity-list-conv-wrapper\">\n <label class=\"label history-label\" [textContent]=\"'HISTORIC_ACTIVITY_CHAT'| localize\"></label>\n <co-activity-list [activities]=\"activities\"></co-activity-list>\n </div>\n </div>\n </div>\n </div>\n\n ",
52175
52246
  encapsulation: i0.ViewEncapsulation.None
52176
52247
  },] }
52177
52248
  ];
@@ -52237,7 +52308,7 @@
52237
52308
  TransactionServiceMessageComponent.decorators = [
52238
52309
  { type: i0.Component, args: [{
52239
52310
  selector: "co-transaction-service-message",
52240
- template: "\n <co-input-textarea #input\n [model]=\"transactionServiceInfo.reportMessage\"\n [readonly]=\"readonly\"\n [showSaveCancel]=\"true\"\n ></co-input-textarea>\n ",
52311
+ template: "\n <co-input-textarea #input\n [model]=\"transactionServiceInfo.reportMessage\"\n [forceReadonly]=\"readonly\"\n [showSaveCancel]=\"true\"\n ></co-input-textarea> <!--[screenConfigurationObject]=\"cfgNames.ServiceMessage\"-->\n ",
52241
52312
  encapsulation: i0.ViewEncapsulation.None
52242
52313
  },] }
52243
52314
  ];
@@ -52256,7 +52327,8 @@
52256
52327
  common.CommonModule,
52257
52328
  corecomponents_v12.InputTextModule,
52258
52329
  PipeModule,
52259
- corecomponents_v12.InputTextareaModule
52330
+ corecomponents_v12.InputTextareaModule,
52331
+ corecomponents_v12.ScreenConfigurationModule
52260
52332
  ],
52261
52333
  declarations: [
52262
52334
  TransactionServiceMessageComponent