@colijnit/transaction 254.1.19 → 254.1.21
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.
- package/bundles/colijnit-transaction.umd.js +82 -27
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction-254.1.19.tgz +0 -0
- package/colijnit-transaction-254.1.20.tgz +0 -0
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/payment/payment.component.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.js +5 -5
- package/esm2015/lib/component/transaction-header-fields/transaction-header-remaining-amount.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +3 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +15 -5
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +15 -5
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +13 -4
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.component.js +10 -4
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-sales-quotation/transaction-quick-access-sales-quotation.component.js +18 -6
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +5 -2
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +2 -2
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +79 -29
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-sales-quotation/transaction-quick-access-sales-quotation.component.d.ts +3 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.d.ts +3 -1
- package/lib/component/transaction-search/transaction-search-result/style/_layout.scss +1 -1
- package/package.json +2 -2
|
@@ -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 = "254.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "254.1.21";
|
|
37
|
+
this.publishDate = "12-7-2024 12:37:39";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -21575,11 +21575,12 @@
|
|
|
21575
21575
|
|
|
21576
21576
|
var TransactionQuickAccessSendMethodBaseComponent = /** @class */ (function (_super) {
|
|
21577
21577
|
__extends(TransactionQuickAccessSendMethodBaseComponent, _super);
|
|
21578
|
-
function TransactionQuickAccessSendMethodBaseComponent(transactionEventService, iconCacheService, screenConfigService, imageService, dictionaryService, transactionService, changeDetector, dialogService) {
|
|
21578
|
+
function TransactionQuickAccessSendMethodBaseComponent(transactionEventService, iconCacheService, screenConfigService, searchService, imageService, dictionaryService, transactionService, changeDetector, dialogService) {
|
|
21579
21579
|
var _this = _super.call(this, transactionEventService, iconCacheService, screenConfigService, imageService, dictionaryService, transactionService, changeDetector) || this;
|
|
21580
21580
|
_this.transactionEventService = transactionEventService;
|
|
21581
21581
|
_this.iconCacheService = iconCacheService;
|
|
21582
21582
|
_this.screenConfigService = screenConfigService;
|
|
21583
|
+
_this.searchService = searchService;
|
|
21583
21584
|
_this.imageService = imageService;
|
|
21584
21585
|
_this.dictionaryService = dictionaryService;
|
|
21585
21586
|
_this.transactionService = transactionService;
|
|
@@ -21756,6 +21757,7 @@
|
|
|
21756
21757
|
{ type: TransactionEventService },
|
|
21757
21758
|
{ type: IconCacheService },
|
|
21758
21759
|
{ type: TransactionScreenConfigurationService },
|
|
21760
|
+
{ type: TransactionSearchService },
|
|
21759
21761
|
{ type: TransactionImageService },
|
|
21760
21762
|
{ type: DictionaryService },
|
|
21761
21763
|
{ type: TransactionService },
|
|
@@ -22020,13 +22022,16 @@
|
|
|
22020
22022
|
TransactionQuickAccessOverviewComponent.prototype.emailDocument = function (request) {
|
|
22021
22023
|
return __awaiter(this, void 0, void 0, function () {
|
|
22022
22024
|
var emailHistoricOrderConfirmationRequest$1, emailOrderConfirmationRequest$1, result;
|
|
22025
|
+
var _this = this;
|
|
22023
22026
|
return __generator(this, function (_a) {
|
|
22024
22027
|
switch (_a.label) {
|
|
22025
22028
|
case 0:
|
|
22026
22029
|
if (!this.sendDocumentsComponent.selected) return [3 /*break*/, 2];
|
|
22027
22030
|
emailHistoricOrderConfirmationRequest$1 = Object.assign(new emailHistoricOrderConfirmationRequest.EmailHistoricOrderConfirmationRequest(), request);
|
|
22028
22031
|
this._prepareHistoricRequest(emailHistoricOrderConfirmationRequest$1);
|
|
22029
|
-
return [4 /*yield*/, this.transactionService.emailHistoricOrderConfirmation(emailHistoricOrderConfirmationRequest$1)
|
|
22032
|
+
return [4 /*yield*/, this.transactionService.emailHistoricOrderConfirmation(emailHistoricOrderConfirmationRequest$1).then(function () {
|
|
22033
|
+
_this.searchService.searchTransactions();
|
|
22034
|
+
})];
|
|
22030
22035
|
case 1:
|
|
22031
22036
|
_a.sent();
|
|
22032
22037
|
return [3 /*break*/, 4];
|
|
@@ -22038,6 +22043,7 @@
|
|
|
22038
22043
|
if (result instanceof coDocument.CoDocument) {
|
|
22039
22044
|
this.signatureDocumentId = result.documentId;
|
|
22040
22045
|
}
|
|
22046
|
+
this.searchService.searchTransactions();
|
|
22041
22047
|
_a.label = 4;
|
|
22042
22048
|
case 4: return [2 /*return*/];
|
|
22043
22049
|
}
|
|
@@ -22063,7 +22069,9 @@
|
|
|
22063
22069
|
if (!this.sendDocumentsComponent.selected) return [3 /*break*/, 2];
|
|
22064
22070
|
pdfHistoricOrderConfirmationRequest$1 = Object.assign(new pdfHistoricOrderConfirmationRequest.PdfHistoricOrderConfirmationRequest(), request);
|
|
22065
22071
|
this._prepareHistoricRequest(pdfHistoricOrderConfirmationRequest$1);
|
|
22066
|
-
return [4 /*yield*/, this.transactionService.pdfHistoricOrderConfirmation(pdfHistoricOrderConfirmationRequest$1)
|
|
22072
|
+
return [4 /*yield*/, this.transactionService.pdfHistoricOrderConfirmation(pdfHistoricOrderConfirmationRequest$1).then(function () {
|
|
22073
|
+
_this.searchService.searchTransactions();
|
|
22074
|
+
})];
|
|
22067
22075
|
case 1:
|
|
22068
22076
|
_a.sent();
|
|
22069
22077
|
return [3 /*break*/, 3];
|
|
@@ -22073,6 +22081,7 @@
|
|
|
22073
22081
|
if (result instanceof coDocument.CoDocument) {
|
|
22074
22082
|
_this.signatureDocumentId = result.documentId;
|
|
22075
22083
|
}
|
|
22084
|
+
_this.searchService.searchTransactions();
|
|
22076
22085
|
});
|
|
22077
22086
|
_a.label = 3;
|
|
22078
22087
|
case 3: return [2 /*return*/];
|
|
@@ -22090,7 +22099,9 @@
|
|
|
22090
22099
|
if (!this.sendDocumentsComponent.selected) return [3 /*break*/, 2];
|
|
22091
22100
|
printHistoricOrderConfirmationRequest$1 = Object.assign(new printHistoricOrderConfirmationRequest.PrintHistoricOrderConfirmationRequest(), request);
|
|
22092
22101
|
this._prepareHistoricRequest(printHistoricOrderConfirmationRequest$1);
|
|
22093
|
-
return [4 /*yield*/, this.transactionService.printHistoricOrderConfirmation(printHistoricOrderConfirmationRequest$1)
|
|
22102
|
+
return [4 /*yield*/, this.transactionService.printHistoricOrderConfirmation(printHistoricOrderConfirmationRequest$1).then(function () {
|
|
22103
|
+
_this.searchService.searchTransactions();
|
|
22104
|
+
})];
|
|
22094
22105
|
case 1:
|
|
22095
22106
|
_a.sent();
|
|
22096
22107
|
return [3 /*break*/, 3];
|
|
@@ -22100,6 +22111,7 @@
|
|
|
22100
22111
|
if (result instanceof coDocument.CoDocument) {
|
|
22101
22112
|
_this.signatureDocumentId = result.documentId;
|
|
22102
22113
|
}
|
|
22114
|
+
_this.searchService.searchTransactions();
|
|
22103
22115
|
});
|
|
22104
22116
|
_a.label = 3;
|
|
22105
22117
|
case 3: return [2 /*return*/];
|
|
@@ -22747,15 +22759,20 @@
|
|
|
22747
22759
|
return this.transactionService.getDeliveryNotePrintLayouts(this.transactionInfo.uuid);
|
|
22748
22760
|
};
|
|
22749
22761
|
TransactionQuickAccessOrderDeliveryComponent.prototype.pdfDocument = function (reportingDocumentPdfBaseRequest) {
|
|
22762
|
+
var _this = this;
|
|
22750
22763
|
if (this.sendDocumentsComponent.selected) {
|
|
22751
22764
|
var pdfHistoricDeliveryNoteRequest$1 = Object.assign(new pdfHistoricDeliveryNoteRequest.PdfHistoricDeliveryNoteRequest(), reportingDocumentPdfBaseRequest);
|
|
22752
22765
|
this._prepareHistoricRequest(pdfHistoricDeliveryNoteRequest$1);
|
|
22753
|
-
this.transactionService.pdfHistoricDeliveryNote(pdfHistoricDeliveryNoteRequest$1)
|
|
22766
|
+
this.transactionService.pdfHistoricDeliveryNote(pdfHistoricDeliveryNoteRequest$1).then(function () {
|
|
22767
|
+
_this.searchService.searchTransactions();
|
|
22768
|
+
});
|
|
22754
22769
|
}
|
|
22755
22770
|
else {
|
|
22756
22771
|
var pdfDeliveryNoteRequest$1 = Object.assign(new pdfDeliveryNoteRequest.PdfDeliveryNoteRequest(), reportingDocumentPdfBaseRequest);
|
|
22757
22772
|
this._prepareRequest(pdfDeliveryNoteRequest$1);
|
|
22758
|
-
this.transactionService.pdfDeliveryNote(pdfDeliveryNoteRequest$1)
|
|
22773
|
+
this.transactionService.pdfDeliveryNote(pdfDeliveryNoteRequest$1).then(function () {
|
|
22774
|
+
_this.searchService.searchTransactions();
|
|
22775
|
+
});
|
|
22759
22776
|
}
|
|
22760
22777
|
};
|
|
22761
22778
|
TransactionQuickAccessOrderDeliveryComponent.prototype.printDocument = function (reportingDocumentPrintBaseRequest) {
|
|
@@ -22763,7 +22780,9 @@
|
|
|
22763
22780
|
if (this.sendDocumentsComponent.selected) {
|
|
22764
22781
|
var printHistoricDeliveryNoteRequest$1 = Object.assign(new printHistoricDeliveryNoteRequest.PrintHistoricDeliveryNoteRequest(), reportingDocumentPrintBaseRequest);
|
|
22765
22782
|
this._prepareHistoricRequest(printHistoricDeliveryNoteRequest$1);
|
|
22766
|
-
this.transactionService.printHistoricDeliveryNote(printHistoricDeliveryNoteRequest$1)
|
|
22783
|
+
this.transactionService.printHistoricDeliveryNote(printHistoricDeliveryNoteRequest$1).then(function () {
|
|
22784
|
+
_this.searchService.searchTransactions();
|
|
22785
|
+
});
|
|
22767
22786
|
}
|
|
22768
22787
|
else {
|
|
22769
22788
|
var printDeliveryNoteRequest$1 = Object.assign(new printDeliveryNoteRequest.PrintDeliveryNoteRequest(), reportingDocumentPrintBaseRequest);
|
|
@@ -22772,6 +22791,7 @@
|
|
|
22772
22791
|
if (result instanceof coDocument.CoDocument) {
|
|
22773
22792
|
_this.signatureDocumentId = result.documentId;
|
|
22774
22793
|
}
|
|
22794
|
+
_this.searchService.searchTransactions();
|
|
22775
22795
|
});
|
|
22776
22796
|
}
|
|
22777
22797
|
};
|
|
@@ -22780,7 +22800,9 @@
|
|
|
22780
22800
|
if (this.sendDocumentsComponent.selected) {
|
|
22781
22801
|
var emailHistoricDeliveryNoteRequest$1 = Object.assign(new emailHistoricDeliveryNoteRequest.EmailHistoricDeliveryNoteRequest(), reportingDocumentEmailBaseRequest);
|
|
22782
22802
|
this._prepareHistoricRequest(emailHistoricDeliveryNoteRequest$1);
|
|
22783
|
-
this.transactionService.emailHistoricDeliveryNote(emailHistoricDeliveryNoteRequest$1)
|
|
22803
|
+
this.transactionService.emailHistoricDeliveryNote(emailHistoricDeliveryNoteRequest$1).then(function () {
|
|
22804
|
+
_this.searchService.searchTransactions();
|
|
22805
|
+
});
|
|
22784
22806
|
}
|
|
22785
22807
|
else {
|
|
22786
22808
|
var emailDeliveryNoteRequest$1 = Object.assign(new emailDeliveryNoteRequest.EmailDeliveryNoteRequest(), reportingDocumentEmailBaseRequest);
|
|
@@ -22789,6 +22811,7 @@
|
|
|
22789
22811
|
if (result instanceof coDocument.CoDocument) {
|
|
22790
22812
|
_this.signatureDocumentId = result.documentId;
|
|
22791
22813
|
}
|
|
22814
|
+
_this.searchService.searchTransactions();
|
|
22792
22815
|
});
|
|
22793
22816
|
}
|
|
22794
22817
|
};
|
|
@@ -23432,9 +23455,12 @@
|
|
|
23432
23455
|
};
|
|
23433
23456
|
TransactionQuickAccessPurchaseOrderOverviewComponent.prototype.emailDocument = function (request) {
|
|
23434
23457
|
return __awaiter(this, void 0, void 0, function () {
|
|
23458
|
+
var _this = this;
|
|
23435
23459
|
return __generator(this, function (_a) {
|
|
23436
23460
|
switch (_a.label) {
|
|
23437
|
-
case 0: return [4 /*yield*/, this.transactionService.emailPurchaseOrder(request)
|
|
23461
|
+
case 0: return [4 /*yield*/, this.transactionService.emailPurchaseOrder(request).then(function () {
|
|
23462
|
+
_this.searchService.searchTransactions();
|
|
23463
|
+
})];
|
|
23438
23464
|
case 1:
|
|
23439
23465
|
_a.sent();
|
|
23440
23466
|
return [2 /*return*/];
|
|
@@ -23455,18 +23481,24 @@
|
|
|
23455
23481
|
TransactionQuickAccessPurchaseOrderOverviewComponent.prototype.pdfDocument = function (request) {
|
|
23456
23482
|
return __awaiter(this, void 0, void 0, function () {
|
|
23457
23483
|
var pdfPurchaseOrderRequest$1;
|
|
23484
|
+
var _this = this;
|
|
23458
23485
|
return __generator(this, function (_a) {
|
|
23459
23486
|
pdfPurchaseOrderRequest$1 = Object.assign(new pdfPurchaseOrderRequest.PdfPurchaseOrderRequest(), request);
|
|
23460
|
-
this.transactionService.pdfPurchaseOrder(pdfPurchaseOrderRequest$1)
|
|
23487
|
+
this.transactionService.pdfPurchaseOrder(pdfPurchaseOrderRequest$1).then(function () {
|
|
23488
|
+
_this.searchService.searchTransactions();
|
|
23489
|
+
});
|
|
23461
23490
|
return [2 /*return*/];
|
|
23462
23491
|
});
|
|
23463
23492
|
});
|
|
23464
23493
|
};
|
|
23465
23494
|
TransactionQuickAccessPurchaseOrderOverviewComponent.prototype.printDocument = function (request) {
|
|
23466
23495
|
return __awaiter(this, void 0, void 0, function () {
|
|
23496
|
+
var _this = this;
|
|
23467
23497
|
return __generator(this, function (_a) {
|
|
23468
23498
|
switch (_a.label) {
|
|
23469
|
-
case 0: return [4 /*yield*/, this.transactionService.printPurchaseOrder(request)
|
|
23499
|
+
case 0: return [4 /*yield*/, this.transactionService.printPurchaseOrder(request).then(function () {
|
|
23500
|
+
_this.searchService.searchTransactions();
|
|
23501
|
+
})];
|
|
23470
23502
|
case 1:
|
|
23471
23503
|
_a.sent();
|
|
23472
23504
|
return [2 /*return*/];
|
|
@@ -23763,7 +23795,7 @@
|
|
|
23763
23795
|
TransactionPurchaseOrderLineComponent.decorators = [
|
|
23764
23796
|
{ type: i0.Component, args: [{
|
|
23765
23797
|
selector: "co-transaction-purchase-order-line",
|
|
23766
|
-
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"transactionLine.selected\"\n [showColorIndicator]=\"showColorIndicator\"\n [colorIndicatorColor]=\"colorIndicatorColor\"\n (click)=\"handleOpenSidePanel($event)\"\n (checkboxValueChanged)=\"transactionLine.selected = $event\"\n (dragover)=\"handleDragOver($event)\"\n (drop)=\"handleDrop($event)\"\n (dragleave)=\"handleDragLeave($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"transaction-line-wrapper\">\n <div class=\"transaction-line-extended-wrapper\">\n <div class=\"column1\">\n <co-transaction-line-delivery-date-button\n [screenConfigurationObject]=\"cfgNames.DeliveryDate\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-date-button>\n <co-transaction-line-statusbar data-action=\"openSidePanel\"\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderOrderConfirmation\"\n ></co-transaction-line-statusbar>\n </div>\n <div class=\"column3\">\n <co-transaction-line-vat-button\n [screenConfigurationObject]=\"cfgNames.LineVat\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\">\n </co-transaction-line-vat-button>\n <div class=\"transaction-line-totals\">\n <co-input-text class=\"transaction-line-totals-price\"\n [model]=\"transactionLine.purchasePortalLine.grossOrderPrice | coCurrency: true\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-line-discount-button\n [screenConfigurationObject]=\"cfgNames.LineDiscount\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <div class=\"transaction-line-totals-amount\">\n <co-input-text\n [model]=\"transactionLine.amount\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n <co-input-text class=\"transaction-line-totals-total\"\n [model]=\"transactionLine.displayNetLineTotal | coCurrency: true\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n </div>\n <div class=\"column3\">\n <div class=\"column-inner\">\n <co-input-text\n [model]=\"transactionLine.purchasePortalLine.articleNoSupplier ? transactionLine.purchasePortalLine.articleNoSupplier : '-'\"\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularIndustryTag)\"\n [customHeight]=\"true\"\n [readonly]=\"true\"\n ></co-input-text>\n <co-transaction-line-supplier-delivery-date-button\n [screenConfigurationObject]=\"cfgNames.LineConfirmedDate\"\n [transactionLine]=\"transactionLine\"\n ></co-transaction-line-supplier-delivery-date-button>\n </div>\n </div>\n </div>\n\n <div class=\"transaction-line-section\" data-action=\"openSidePanel\">\n <div class=\"transaction-line-totals\">\n <div class=\"transaction-line-totals-amount\">\n <co-input-text\n [screenConfigurationObject]=\"cfgNames.LineConfirmedAmount\"\n [(model)]=\"+transactionLine.quantityPurchaseToConfirm\"\n [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"\n [forceReadonly]=\"true\"\n [digitsOnly]=\"true\"\n ></co-input-text>\n<!-- <co-input-number-picker class=\"amount-number-picker\"-->\n<!-- [screenConfigurationObject]=\"cfgNames.LineConfirmedAmount\"-->\n<!-- [required]=\"true\"-->\n<!-- [(model)]=\"+transactionLine.quantityPurchaseToConfirm\"-->\n<!-- [decimals]=\"decimals\"-->\n<!-- [min]=\"1\"-->\n<!-- [max]=\"+transactionLine.purchasePortalLine.amountOrdered\"-->\n<!-- [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"-->\n<!-- ></co-input-number-picker>-->\n </div>\n <co-transaction-line-confirmed-price class=\"transaction-line-confirmed-price price\"\n [screenConfigurationObject]=\"cfgNames.LineConfirmedPrice\"\n [(price)]=\"transactionLine.purchasePortalLine.confirmedPrice\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-confirmed-price>\n </div>\n </div>\n </div>\n </co-transaction-base-line>\n ",
|
|
23798
|
+
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"transactionLine.selected\"\n [showColorIndicator]=\"showColorIndicator\"\n [colorIndicatorColor]=\"colorIndicatorColor\"\n (click)=\"handleOpenSidePanel($event)\"\n (checkboxValueChanged)=\"transactionLine.selected = $event\"\n (dragover)=\"handleDragOver($event)\"\n (drop)=\"handleDrop($event)\"\n (dragleave)=\"handleDragLeave($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"transaction-line-wrapper\">\n <div class=\"transaction-line-extended-wrapper\">\n <div class=\"column1\">\n <span class=\"transaction-field-label\" [textContent]=\"'WAREHOUSE_AND_STATUS' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-delivery-date-button\n [screenConfigurationObject]=\"cfgNames.DeliveryDate\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-date-button>\n <co-transaction-line-statusbar data-action=\"openSidePanel\"\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderOrderConfirmation\"\n ></co-transaction-line-statusbar>\n </div>\n <div class=\"column3\">\n <span class=\"transaction-field-label\" [textContent]=\"'TOTALS_AND_DISCOUNT' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-vat-button\n [screenConfigurationObject]=\"cfgNames.LineVat\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\">\n </co-transaction-line-vat-button>\n <div class=\"transaction-line-totals\">\n <co-input-text class=\"transaction-line-totals-price\"\n [model]=\"transactionLine.purchasePortalLine.grossOrderPrice | coCurrency: true\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-line-discount-button\n [screenConfigurationObject]=\"cfgNames.LineDiscount\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <div class=\"transaction-line-totals-amount\">\n <co-input-text\n [model]=\"transactionLine.amount\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n <co-input-text class=\"transaction-line-totals-total\"\n [model]=\"transactionLine.displayNetLineTotal | coCurrency: true\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n </div>\n <div class=\"column3\">\n <div class=\"column-inner\">\n <co-input-text\n [model]=\"transactionLine.purchasePortalLine.articleNoSupplier ? transactionLine.purchasePortalLine.articleNoSupplier : '-'\"\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularIndustryTag)\"\n [customHeight]=\"true\"\n [readonly]=\"true\"\n ></co-input-text>\n <co-transaction-line-supplier-delivery-date-button\n [screenConfigurationObject]=\"cfgNames.LineConfirmedDate\"\n [transactionLine]=\"transactionLine\"\n ></co-transaction-line-supplier-delivery-date-button>\n </div>\n </div>\n </div>\n\n <div class=\"transaction-line-section\" data-action=\"openSidePanel\">\n <div class=\"transaction-line-totals\">\n <div class=\"transaction-line-totals-amount\">\n <co-input-text\n [screenConfigurationObject]=\"cfgNames.LineConfirmedAmount\"\n [(model)]=\"+transactionLine.quantityPurchaseToConfirm\"\n [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"\n [forceReadonly]=\"true\"\n [digitsOnly]=\"true\"\n ></co-input-text>\n<!-- <co-input-number-picker class=\"amount-number-picker\"-->\n<!-- [screenConfigurationObject]=\"cfgNames.LineConfirmedAmount\"-->\n<!-- [required]=\"true\"-->\n<!-- [(model)]=\"+transactionLine.quantityPurchaseToConfirm\"-->\n<!-- [decimals]=\"decimals\"-->\n<!-- [min]=\"1\"-->\n<!-- [max]=\"+transactionLine.purchasePortalLine.amountOrdered\"-->\n<!-- [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"-->\n<!-- ></co-input-number-picker>-->\n </div>\n <co-transaction-line-confirmed-price class=\"transaction-line-confirmed-price price\"\n [screenConfigurationObject]=\"cfgNames.LineConfirmedPrice\"\n [(price)]=\"transactionLine.purchasePortalLine.confirmedPrice\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-confirmed-price>\n </div>\n </div>\n </div>\n </co-transaction-base-line>\n ",
|
|
23767
23799
|
encapsulation: i0.ViewEncapsulation.None,
|
|
23768
23800
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
23769
23801
|
},] }
|
|
@@ -24024,15 +24056,20 @@
|
|
|
24024
24056
|
return this.transactionService.getInvoicePrintLayouts(this.transactionInfo.uuid);
|
|
24025
24057
|
};
|
|
24026
24058
|
TransactionQuickAccessInvoiceComponent.prototype.pdfDocument = function (request) {
|
|
24059
|
+
var _this = this;
|
|
24027
24060
|
if (this.sendDocumentsComponent.selected) {
|
|
24028
24061
|
var pdfHistoricInvoiceRequest$1 = Object.assign(new pdfHistoricInvoiceRequest.PdfHistoricInvoiceRequest(), request);
|
|
24029
24062
|
this._prepareHistoricRequest(pdfHistoricInvoiceRequest$1);
|
|
24030
|
-
this.transactionService.pdfHistoricInvoice(pdfHistoricInvoiceRequest$1)
|
|
24063
|
+
this.transactionService.pdfHistoricInvoice(pdfHistoricInvoiceRequest$1).then(function () {
|
|
24064
|
+
_this.searchService.searchTransactions();
|
|
24065
|
+
});
|
|
24031
24066
|
}
|
|
24032
24067
|
else {
|
|
24033
24068
|
var pdfInvoiceRequest$1 = Object.assign(new pdfInvoiceRequest.PdfInvoiceRequest(), request);
|
|
24034
24069
|
if (this._prepareRequest(pdfInvoiceRequest$1)) {
|
|
24035
|
-
this.transactionService.pdfInvoice(pdfInvoiceRequest$1)
|
|
24070
|
+
this.transactionService.pdfInvoice(pdfInvoiceRequest$1).then(function () {
|
|
24071
|
+
_this.searchService.searchTransactions();
|
|
24072
|
+
});
|
|
24036
24073
|
}
|
|
24037
24074
|
}
|
|
24038
24075
|
};
|
|
@@ -24041,7 +24078,9 @@
|
|
|
24041
24078
|
if (this.sendDocumentsComponent.selected) {
|
|
24042
24079
|
var printHistoricInvoiceRequest$1 = Object.assign(new printHistoricInvoiceRequest.PrintHistoricInvoiceRequest(), request);
|
|
24043
24080
|
this._prepareHistoricRequest(printHistoricInvoiceRequest$1);
|
|
24044
|
-
this.transactionService.printHistoricInvoice(printHistoricInvoiceRequest$1)
|
|
24081
|
+
this.transactionService.printHistoricInvoice(printHistoricInvoiceRequest$1).then(function () {
|
|
24082
|
+
_this.searchService.searchTransactions();
|
|
24083
|
+
});
|
|
24045
24084
|
}
|
|
24046
24085
|
else {
|
|
24047
24086
|
var printInvoiceRequest$1 = Object.assign(new printInvoiceRequest.PrintInvoiceRequest(), request);
|
|
@@ -24050,6 +24089,7 @@
|
|
|
24050
24089
|
if (result instanceof coDocument.CoDocument) {
|
|
24051
24090
|
_this.signatureDocumentId = result.documentId;
|
|
24052
24091
|
}
|
|
24092
|
+
_this.searchService.searchTransactions();
|
|
24053
24093
|
});
|
|
24054
24094
|
}
|
|
24055
24095
|
}
|
|
@@ -24059,7 +24099,9 @@
|
|
|
24059
24099
|
if (this.sendDocumentsComponent.selected) {
|
|
24060
24100
|
var emailHistoricInvoiceRequest$1 = Object.assign(new emailHistoricInvoiceRequest.EmailHistoricInvoiceRequest(), request);
|
|
24061
24101
|
this._prepareHistoricRequest(emailHistoricInvoiceRequest$1);
|
|
24062
|
-
this.transactionService.emailHistoricInvoice(emailHistoricInvoiceRequest$1)
|
|
24102
|
+
this.transactionService.emailHistoricInvoice(emailHistoricInvoiceRequest$1).then(function () {
|
|
24103
|
+
_this.searchService.searchTransactions();
|
|
24104
|
+
});
|
|
24063
24105
|
}
|
|
24064
24106
|
else {
|
|
24065
24107
|
var emailInvoiceRequest$1 = Object.assign(new emailInvoiceRequest.EmailInvoiceRequest(), request);
|
|
@@ -24068,6 +24110,7 @@
|
|
|
24068
24110
|
if (result instanceof coDocument.CoDocument) {
|
|
24069
24111
|
_this.signatureDocumentId = result.documentId;
|
|
24070
24112
|
}
|
|
24113
|
+
_this.searchService.searchTransactions();
|
|
24071
24114
|
});
|
|
24072
24115
|
}
|
|
24073
24116
|
}
|
|
@@ -25273,11 +25316,12 @@
|
|
|
25273
25316
|
|
|
25274
25317
|
var TransactionQuickAccessSalesQuotationComponent = /** @class */ (function (_super) {
|
|
25275
25318
|
__extends(TransactionQuickAccessSalesQuotationComponent, _super);
|
|
25276
|
-
function TransactionQuickAccessSalesQuotationComponent(transactionEventService, iconCacheService, screenConfigService, imageService, dictionaryService, transactionService, changeDetector, dialogService, transactionCreationService) {
|
|
25277
|
-
var _this = _super.call(this, transactionEventService, iconCacheService, screenConfigService, imageService, dictionaryService, transactionService, changeDetector, dialogService) || this;
|
|
25319
|
+
function TransactionQuickAccessSalesQuotationComponent(transactionEventService, iconCacheService, screenConfigService, searchService, imageService, dictionaryService, transactionService, changeDetector, dialogService, transactionCreationService) {
|
|
25320
|
+
var _this = _super.call(this, transactionEventService, iconCacheService, screenConfigService, searchService, imageService, dictionaryService, transactionService, changeDetector, dialogService) || this;
|
|
25278
25321
|
_this.transactionEventService = transactionEventService;
|
|
25279
25322
|
_this.iconCacheService = iconCacheService;
|
|
25280
25323
|
_this.screenConfigService = screenConfigService;
|
|
25324
|
+
_this.searchService = searchService;
|
|
25281
25325
|
_this.imageService = imageService;
|
|
25282
25326
|
_this.dictionaryService = dictionaryService;
|
|
25283
25327
|
_this.transactionService = transactionService;
|
|
@@ -25306,13 +25350,16 @@
|
|
|
25306
25350
|
TransactionQuickAccessSalesQuotationComponent.prototype.emailDocument = function (request) {
|
|
25307
25351
|
return __awaiter(this, void 0, void 0, function () {
|
|
25308
25352
|
var emailHistoricQuotationRequest$1, emailQuotationRequest$1, result;
|
|
25353
|
+
var _this = this;
|
|
25309
25354
|
return __generator(this, function (_b) {
|
|
25310
25355
|
switch (_b.label) {
|
|
25311
25356
|
case 0:
|
|
25312
25357
|
if (!this.sendDocumentsComponent.selected) return [3 /*break*/, 2];
|
|
25313
25358
|
emailHistoricQuotationRequest$1 = Object.assign(new emailHistoricQuotationRequest.EmailHistoricQuotationRequest(), request);
|
|
25314
25359
|
this._prepareHistoricRequest(emailHistoricQuotationRequest$1);
|
|
25315
|
-
return [4 /*yield*/, this.transactionService.emailHistoricQuotation(emailHistoricQuotationRequest$1)
|
|
25360
|
+
return [4 /*yield*/, this.transactionService.emailHistoricQuotation(emailHistoricQuotationRequest$1).then(function () {
|
|
25361
|
+
_this.searchService.searchTransactions();
|
|
25362
|
+
})];
|
|
25316
25363
|
case 1:
|
|
25317
25364
|
_b.sent();
|
|
25318
25365
|
return [3 /*break*/, 4];
|
|
@@ -25324,6 +25371,7 @@
|
|
|
25324
25371
|
if (result instanceof coDocument.CoDocument) {
|
|
25325
25372
|
this.signatureDocumentId = result.documentId;
|
|
25326
25373
|
}
|
|
25374
|
+
this.searchService.searchTransactions();
|
|
25327
25375
|
_b.label = 4;
|
|
25328
25376
|
case 4: return [2 /*return*/];
|
|
25329
25377
|
}
|
|
@@ -25356,7 +25404,9 @@
|
|
|
25356
25404
|
if (!this.sendDocumentsComponent.selected) return [3 /*break*/, 2];
|
|
25357
25405
|
pdfHistoricQuotationRequest$1 = Object.assign(new pdfHistoricQuotationRequest.PdfHistoricQuotationRequest(), request);
|
|
25358
25406
|
this._prepareHistoricRequest(pdfHistoricQuotationRequest$1);
|
|
25359
|
-
return [4 /*yield*/, this.transactionService.pdfHistoricQuotation(pdfHistoricQuotationRequest$1)
|
|
25407
|
+
return [4 /*yield*/, this.transactionService.pdfHistoricQuotation(pdfHistoricQuotationRequest$1).then(function () {
|
|
25408
|
+
_this.searchService.searchTransactions();
|
|
25409
|
+
})];
|
|
25360
25410
|
case 1:
|
|
25361
25411
|
_b.sent();
|
|
25362
25412
|
return [3 /*break*/, 3];
|
|
@@ -25366,6 +25416,7 @@
|
|
|
25366
25416
|
if (result instanceof coDocument.CoDocument) {
|
|
25367
25417
|
_this.signatureDocumentId = result.documentId;
|
|
25368
25418
|
}
|
|
25419
|
+
_this.searchService.searchTransactions();
|
|
25369
25420
|
});
|
|
25370
25421
|
_b.label = 3;
|
|
25371
25422
|
case 3: return [2 /*return*/];
|
|
@@ -25383,7 +25434,9 @@
|
|
|
25383
25434
|
if (!this.sendDocumentsComponent.selected) return [3 /*break*/, 2];
|
|
25384
25435
|
printHistoricQuotationRequest$1 = Object.assign(new printHistoricQuotationRequest.PrintHistoricQuotationRequest(), request);
|
|
25385
25436
|
this._prepareHistoricRequest(printHistoricQuotationRequest$1);
|
|
25386
|
-
return [4 /*yield*/, this.transactionService.printHistoricQuotation(printHistoricQuotationRequest$1)
|
|
25437
|
+
return [4 /*yield*/, this.transactionService.printHistoricQuotation(printHistoricQuotationRequest$1).then(function () {
|
|
25438
|
+
_this.searchService.searchTransactions();
|
|
25439
|
+
})];
|
|
25387
25440
|
case 1:
|
|
25388
25441
|
_b.sent();
|
|
25389
25442
|
return [3 /*break*/, 3];
|
|
@@ -25393,6 +25446,7 @@
|
|
|
25393
25446
|
if (result instanceof coDocument.CoDocument) {
|
|
25394
25447
|
_this.signatureDocumentId = result.documentId;
|
|
25395
25448
|
}
|
|
25449
|
+
_this.searchService.searchTransactions();
|
|
25396
25450
|
});
|
|
25397
25451
|
_b.label = 3;
|
|
25398
25452
|
case 3: return [2 /*return*/];
|
|
@@ -25454,6 +25508,7 @@
|
|
|
25454
25508
|
{ type: TransactionEventService },
|
|
25455
25509
|
{ type: IconCacheService },
|
|
25456
25510
|
{ type: TransactionScreenConfigurationService },
|
|
25511
|
+
{ type: TransactionSearchService },
|
|
25457
25512
|
{ type: TransactionImageService },
|
|
25458
25513
|
{ type: DictionaryService },
|
|
25459
25514
|
{ type: TransactionService },
|
|
@@ -33208,7 +33263,7 @@
|
|
|
33208
33263
|
PaymentComponent.decorators = [
|
|
33209
33264
|
{ type: i0.Component, args: [{
|
|
33210
33265
|
selector: "co-payment",
|
|
33211
|
-
template: "\n <div class=\"payment-wrapper\">\n <div class=\"payment-methods-register-wrapper\">\n <div class=\"payment-methods-wrapper\">\n <div class=\"payment-methods-header\">\n <span class=\"payment-header-title\" [textContent]=\"'SELECT' | localize\"></span>\n <!--span class=\"payment-header-title extra\" [textContent]=\"'FREE' | localize:false\"></span-->\n <span class=\"payment-header-title\" [textContent]=\"'PAYMENT_METHOD' | localize:false\"></span>\n </div>\n <div class=\"payment-methods co-small-scrollbar\">\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <ng-container *ngIf=\"!showLoader\">\n <co-payment-tile *ngFor=\"let paymentMethod of paymentMethods; let index = index\"\n [image]=\"paymentMethod.image\"\n [description]=\"paymentMethod.payment.description\"\n [selected]=\"paymentMethodIdx === index\"\n (selectedChange)=\"paymentMethodSelected(paymentMethod.payment, index)\"\n ></co-payment-tile>\n </ng-container>\n </div>\n </div>\n <div class=\"payment-cash-register-wrapper\" *ngIf=\"showCashRegisters\">\n <div class=\"payment-cash-register-header\">\n <span class=\"payment-header-title\" [textContent]=\"'SELECT_CASH_REGISTER' | localize\"></span>\n </div>\n <div class=\"payment-methods\">\n <co-payment-tile *ngFor=\"let cashRegister of cashRegisters; let index = index\"\n [icon]=\"cashRegister.icon\"\n [description]=\"cashRegister.description\"\n [selected]=\"cashRegisterIdx === index\"\n (selectedChange)=\"cashRegisterSelected(cashRegister, index)\"\n ></co-payment-tile>\n </div>\n\n <co-list-of-values [label]=\"'CASH_DRAWER' | localize\"\n [(model)]=\"activeCashDrawer\"\n [displayField]=\"'nr'\"\n [collection]=\"cashDrawers\"\n [multiselect]=\"false\"\n [required]=\"false\"\n [searchDisabled]=\"true\"\n (modelChange)=\"handleDrawerChanged($event)\"\n ></co-list-of-values>\n\n </div>\n </div>\n <div class=\"payment-to-pay-wrapper\">\n <div class=\"payment-to-pay-total\">\n <div class=\"payment-to-pay-header\">\n <span class=\"payment-header-title\" [textContent]=\"'TOTAL_AMOUNT_TO_PAY' | localize\"></span>\n <span class=\"payment-total-pay\" [textContent]=\"amount === 0 ? amount : (amount | coCurrency)\"></span>\n </div>\n <div class=\"payment-input-button-wrapper\">\n <div class=\"payment-input-button\">\n <co-payment-to-pay\n [amountToPay]=\"
|
|
33266
|
+
template: "\n <div class=\"payment-wrapper\">\n <div class=\"payment-methods-register-wrapper\">\n <div class=\"payment-methods-wrapper\">\n <div class=\"payment-methods-header\">\n <span class=\"payment-header-title\" [textContent]=\"'SELECT' | localize\"></span>\n <!--span class=\"payment-header-title extra\" [textContent]=\"'FREE' | localize:false\"></span-->\n <span class=\"payment-header-title\" [textContent]=\"'PAYMENT_METHOD' | localize:false\"></span>\n </div>\n <div class=\"payment-methods co-small-scrollbar\">\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <ng-container *ngIf=\"!showLoader\">\n <co-payment-tile *ngFor=\"let paymentMethod of paymentMethods; let index = index\"\n [image]=\"paymentMethod.image\"\n [description]=\"paymentMethod.payment.description\"\n [selected]=\"paymentMethodIdx === index\"\n (selectedChange)=\"paymentMethodSelected(paymentMethod.payment, index)\"\n ></co-payment-tile>\n </ng-container>\n </div>\n </div>\n <div class=\"payment-cash-register-wrapper\" *ngIf=\"showCashRegisters\">\n <div class=\"payment-cash-register-header\">\n <span class=\"payment-header-title\" [textContent]=\"'SELECT_CASH_REGISTER' | localize\"></span>\n </div>\n <div class=\"payment-methods\">\n <co-payment-tile *ngFor=\"let cashRegister of cashRegisters; let index = index\"\n [icon]=\"cashRegister.icon\"\n [description]=\"cashRegister.description\"\n [selected]=\"cashRegisterIdx === index\"\n (selectedChange)=\"cashRegisterSelected(cashRegister, index)\"\n ></co-payment-tile>\n </div>\n\n <co-list-of-values [label]=\"'CASH_DRAWER' | localize\"\n [(model)]=\"activeCashDrawer\"\n [displayField]=\"'nr'\"\n [collection]=\"cashDrawers\"\n [multiselect]=\"false\"\n [required]=\"false\"\n [searchDisabled]=\"true\"\n (modelChange)=\"handleDrawerChanged($event)\"\n ></co-list-of-values>\n\n </div>\n </div>\n <div class=\"payment-to-pay-wrapper\">\n <div class=\"payment-to-pay-total\">\n <div class=\"payment-to-pay-header\">\n <span class=\"payment-header-title\" [textContent]=\"'TOTAL_AMOUNT_TO_PAY' | localize\"></span>\n <span class=\"payment-total-pay\" [textContent]=\"amount === 0 ? amount : (amount | coCurrency)\"></span>\n </div>\n <div class=\"payment-input-button-wrapper\">\n <div class=\"payment-input-button\">\n <co-payment-to-pay\n [amountToPay]=\"paymentService.amountToPay\"></co-payment-to-pay>\n <div class=\"payment-to-pay-button\">\n <co-button [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\" (click)=\"handlePayment()\"\n [disabled]=\"paymentService.amountToPay === 0\"></co-button>\n </div>\n </div>\n <div class=\"payment-error-message\" *ngIf=\"paymentService.statusMessage\"\n [textContent]=\"paymentService.statusMessage\"></div>\n </div>\n </div>\n\n <div class=\"payment-deposit\">\n <co-deposit-payment [branch]=\"branch\" [transactionUuid]=\"transactionUuid\"></co-deposit-payment>\n </div>\n <co-key-pad class=\"payment-to-pay-keypad\" *ngIf=\"showKeyPad\"\n [showValue]=\"false\"\n [emitModelChangeOnEnter]=\"false\"\n [model]=\"paymentService.amountToPay\"\n (modelChange)=\"handleKeyPadModelChange($event)\"\n (enterClick)=\"handlePayment()\"\n ></co-key-pad>\n </div>\n </div>\n <co-dialog *ngIf=\"paymentService.showPspQrCode\" (closeClick)=\"paymentService.showPspQrCode = false\">\n <co-payment-qr-code\n [qrCodeImage]=\"paymentService.qrCodeImage\"\n ></co-payment-qr-code>\n </co-dialog>\n ",
|
|
33212
33267
|
providers: [
|
|
33213
33268
|
TransactionPaymentService
|
|
33214
33269
|
],
|
|
@@ -35509,7 +35564,7 @@
|
|
|
35509
35564
|
TransactionHeaderPopupRelationComponent.decorators = [
|
|
35510
35565
|
{ type: i0.Component, args: [{
|
|
35511
35566
|
selector: 'co-transaction-header-popup-relation',
|
|
35512
|
-
template: "\n <!--co-transaction-filter-categories [categories]=\"categories\" (categoryClick)=\"handleNavigationClick($event)\"></co-transaction-filter-categories-->\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]=\"'01'\"></span>\n <span class=\"label-description\" [textContent]=\"'PERSONAL_DATA' | localize\"></span>\n </div>\n <div class=\"service-read-only-wrapper\" *ngIf=\"readonly || forceReadonly\">\n <div class=\"service-data-read-only\">\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"'NAME_AND_ADDRESS' | localize\"></span>\n <span class=\"toggle-change\" [textContent]=\"'CHANGE' | localize\" (click)=\"readonly = false; forceReadonly = false\"></span>\n </div>\n <div class=\"service-relation-data row\">\n <div class=\"double-column\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'FIRST_NAME' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.firstName\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'PREFIX' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.prefix\"></span>\n </div>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'LAST_NAME' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.familyName\"></span>\n </div>\n </div>\n <div class=\"service-address-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'ADDRESS' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress.streetName + ' ' + relation.primaryInvoiceAddress.houseNo\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'POSTAL_CODE' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress.postalCode\"></span>\n </div>\n </div>\n <div class=\"service-address-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'CITY' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress.city\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'COUNTRY' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress.countryId\"></span>\n </div>\n </div>\n </div>\n <div class=\"service-data-read-only\">\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"'CONTACT_OPTIONS' | localize\"></span>\n </div>\n <div class=\"service-relation-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'EMAIL' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryEmail\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'PHONE' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"service-data-column\" *ngIf=\"!readonly && !forceReadonly\">\n <co-relation-type *ngIf=\"relationKind === relKind.Customer\"\n [screenConfigurationObject]=\"cfgNames.RelationType\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n ></co-relation-type>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <relation-customer-groups\n [screenConfigurationObject]=\"cfgNames.RelationCustomerGroup\"\n [readonly]=\"readonly || forceReadonly\"\n [model]=\"customerGroup\"\n (modelChange)=\"handleChangeCustomGroup($event)\"\n ></relation-customer-groups>\n </ng-container>\n <co-relation-general\n [configNames]=\"relationGeneralConfigNames\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n [relationType]=\"relation.type\"\n [relationKind]=\"relationKind\"\n (inputChangeForSuggestions)=\"handleInputChange($event)\"\n ></co-relation-general>\n <co-relation-addresses\n [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n [(relation)]=\"relation\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.DeliveryAddress\"\n [selectedNawNr]=\"deliveryAddressNawNr\"\n (selectedNawNrChange)=\"setIndexDeliveryAddress($event)\"\n ></co-relation-addresses>\n <co-relation-contact-details\n [configNames]=\"configNames?.contactDetails\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n [relationKind]=\"relationKind\"\n [showInviteForAccount]=\"false\"\n (inputChangeForSuggestions)=\"inputChangeForSuggestions.emit($event)\"\n ></co-relation-contact-details>\n </div>\n </div>\n <div *ngIf=\"showInvoiceAddress\" class=\"transaction-header-popup-section\" [screenConfigurationObject]=\"cfgNames.RelationAddressesHeader\" screenConfigNativeElement>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <div class=\"transaction-header-popup-section-label\">\n <span [textContent]=\"'02'\"></span>\n <span class=\"label-description\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n </div>\n <div class=\"service-data-column\">\n <co-input-checkbox [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [(model)]=\"invoiceAddressSameAsDeliveryAddress\"\n [label]=\"'SAME_AS_DELIVERY' | localize\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n (modelChange)=\"checkSameAddress($event)\"\n ></co-input-checkbox>\n <div class=\"overview-delivery-invoice-address\" *ngIf=\"!invoiceAddressSameAsDeliveryAddress\" @showHideInvoiceAddress>\n <co-relation-addresses\n [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n [(relation)]=\"relation\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.BillingAddress\"\n [selectedNawNr]=\"invoiceAddressNawNr\"\n (selectedNawNrChange)=\"setIndexInvoiceAddress($event)\"\n ></co-relation-addresses>\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n <div class=\"header-relation-content\" *ngIf=\"showPrivacy\">\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PRIVACY_PREFERENCES' | localize\"></div>\n <co-relation-preferences [readonly]=\"readonly || forceReadonly\" [relation]=\"relation\"></co-relation-preferences>\n </div>\n </div>\n </co-form>\n </div>\n ",
|
|
35567
|
+
template: "\n <!--co-transaction-filter-categories [categories]=\"categories\" (categoryClick)=\"handleNavigationClick($event)\"></co-transaction-filter-categories-->\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]=\"'01'\"></span>\n <span class=\"label-description\" [textContent]=\"'PERSONAL_DATA' | localize\"></span>\n </div>\n <div class=\"service-read-only-wrapper\" *ngIf=\"readonly || forceReadonly\">\n <div class=\"service-data-read-only\">\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"'NAME_AND_ADDRESS' | localize\"></span>\n <span class=\"toggle-change\" [textContent]=\"'CHANGE' | localize\" (click)=\"readonly = false; forceReadonly = false\"></span>\n </div>\n <div class=\"service-relation-data row\">\n <div class=\"double-column\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'FIRST_NAME' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.firstName\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'PREFIX' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.prefix\"></span>\n </div>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'LAST_NAME' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.familyName\"></span>\n </div>\n </div>\n <div class=\"service-address-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'ADDRESS' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress?.streetName + ' ' + relation.primaryInvoiceAddress?.houseNo\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'POSTAL_CODE' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress?.postalCode\"></span>\n </div>\n </div>\n <div class=\"service-address-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'CITY' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress?.city\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'COUNTRY' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress?.countryId\"></span>\n </div>\n </div>\n </div>\n <div class=\"service-data-read-only\">\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"'CONTACT_OPTIONS' | localize\"></span>\n </div>\n <div class=\"service-relation-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'EMAIL' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryEmail\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'PHONE' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"service-data-column\" *ngIf=\"!readonly && !forceReadonly\">\n <co-relation-type *ngIf=\"relationKind === relKind.Customer\"\n [screenConfigurationObject]=\"cfgNames.RelationType\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n ></co-relation-type>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <relation-customer-groups\n [screenConfigurationObject]=\"cfgNames.RelationCustomerGroup\"\n [readonly]=\"readonly || forceReadonly\"\n [model]=\"customerGroup\"\n (modelChange)=\"handleChangeCustomGroup($event)\"\n ></relation-customer-groups>\n </ng-container>\n <co-relation-general\n [configNames]=\"relationGeneralConfigNames\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n [relationType]=\"relation.type\"\n [relationKind]=\"relationKind\"\n (inputChangeForSuggestions)=\"handleInputChange($event)\"\n ></co-relation-general>\n <co-relation-addresses\n [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n [(relation)]=\"relation\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.DeliveryAddress\"\n [selectedNawNr]=\"deliveryAddressNawNr\"\n (selectedNawNrChange)=\"setIndexDeliveryAddress($event)\"\n ></co-relation-addresses>\n <co-relation-contact-details\n [configNames]=\"configNames?.contactDetails\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n [relationKind]=\"relationKind\"\n [showInviteForAccount]=\"false\"\n (inputChangeForSuggestions)=\"inputChangeForSuggestions.emit($event)\"\n ></co-relation-contact-details>\n </div>\n </div>\n <div *ngIf=\"showInvoiceAddress\" class=\"transaction-header-popup-section\" [screenConfigurationObject]=\"cfgNames.RelationAddressesHeader\" screenConfigNativeElement>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <div class=\"transaction-header-popup-section-label\">\n <span [textContent]=\"'02'\"></span>\n <span class=\"label-description\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n </div>\n <div class=\"service-data-column\">\n <co-input-checkbox [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [(model)]=\"invoiceAddressSameAsDeliveryAddress\"\n [label]=\"'SAME_AS_DELIVERY' | localize\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n (modelChange)=\"checkSameAddress($event)\"\n ></co-input-checkbox>\n <div class=\"overview-delivery-invoice-address\" *ngIf=\"!invoiceAddressSameAsDeliveryAddress\" @showHideInvoiceAddress>\n <co-relation-addresses\n [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n [(relation)]=\"relation\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.BillingAddress\"\n [selectedNawNr]=\"invoiceAddressNawNr\"\n (selectedNawNrChange)=\"setIndexInvoiceAddress($event)\"\n ></co-relation-addresses>\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n <div class=\"header-relation-content\" *ngIf=\"showPrivacy\">\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PRIVACY_PREFERENCES' | localize\"></div>\n <co-relation-preferences [readonly]=\"readonly || forceReadonly\" [relation]=\"relation\"></co-relation-preferences>\n </div>\n </div>\n </co-form>\n </div>\n ",
|
|
35513
35568
|
animations: [
|
|
35514
35569
|
animations.trigger("showHideInvoiceAddress", [
|
|
35515
35570
|
animations.state("void", animations.style({ height: 0, opacity: 0 })),
|
|
@@ -40495,7 +40550,7 @@
|
|
|
40495
40550
|
request.transactionUuid = _this.transactionUuid;
|
|
40496
40551
|
_this._paymentConnectorService.calculateAmountToPayWithLineSelection(request).then(function (data) {
|
|
40497
40552
|
_this.transactionService.remainingAmount = data ? data.amountToPay : 0;
|
|
40498
|
-
_this.remainingAmountChange.next(
|
|
40553
|
+
_this.remainingAmountChange.next(data ? data.amountSelected : 0);
|
|
40499
40554
|
});
|
|
40500
40555
|
}
|
|
40501
40556
|
}));
|
|
@@ -45843,7 +45898,7 @@
|
|
|
45843
45898
|
});
|
|
45844
45899
|
};
|
|
45845
45900
|
TransactionSearchResultComponent.prototype.onSelectAllOrders = function () {
|
|
45846
|
-
this.searchService.transactions.forEach(function (item) { return item.selected =
|
|
45901
|
+
this.searchService.transactions.forEach(function (item) { return item.selected = !item.selected; });
|
|
45847
45902
|
};
|
|
45848
45903
|
TransactionSearchResultComponent.prototype._createRequestLines = function (selectedLines) {
|
|
45849
45904
|
return selectedLines.map(function (line) {
|