@colijnit/transaction 12.1.147 → 12.1.148
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 +167 -170
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +43 -43
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +44 -44
- package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +1 -2
- package/esm2015/lib/component/checkout/checkout.module.js +2 -2
- package/esm2015/lib/component/core/base/transaction-base.component.js +6 -4
- package/esm2015/lib/component/payment/payment.component.js +12 -15
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +5 -5
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +4 -4
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +1 -2
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.module.js +7 -7
- package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery/transaction-header-partial-delivery.component.js +48 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery/transaction-header-partial-delivery.module.js +26 -0
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-picked-line/transaction-picked-line.component.js +3 -3
- package/esm2015/lib/component/transaction-line/transaction-picked-line/transaction-picked-line.module.js +9 -9
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.js +3 -3
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.js +3 -3
- package/esm2015/lib/component/transaction-line/transaction-to-be-picked-line/transaction-to-be-picked-line.component.js +3 -3
- package/esm2015/lib/component/transaction-line/transaction-to-be-picked-line/transaction-to-be-picked-line.module.js +9 -9
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.component.js +4 -4
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.module.js +5 -5
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +2 -2
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +2 -2
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +2 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +18 -14
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +1 -1
- package/esm2015/lib/service/transaction.service.js +1 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +108 -102
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/transaction-base.component.d.ts +1 -0
- package/lib/component/payment/payment.component.d.ts +0 -1
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +5 -5
- package/lib/component/transaction-header/transaction-header-delivery/style/material.scss +1 -0
- package/lib/component/transaction-header-fields/transaction-header-partial-delivery/style/_layout.scss +18 -0
- package/lib/component/transaction-header-fields/transaction-header-partial-delivery/style/_material-definition.scss +0 -0
- package/lib/component/transaction-header-fields/transaction-header-partial-delivery/style/_theme.scss +4 -0
- package/lib/component/transaction-header-fields/transaction-header-partial-delivery/style/material.scss +4 -0
- package/lib/component/transaction-header-fields/{transaction-header-partial-delivery.component.d.ts → transaction-header-partial-delivery/transaction-header-partial-delivery.component.d.ts} +1 -1
- package/lib/component/transaction-line/transaction-picked-line/transaction-picked-line.component.d.ts +2 -2
- package/lib/component/transaction-line/transaction-to-be-picked-line/transaction-to-be-picked-line.component.d.ts +1 -1
- package/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.component.d.ts +2 -2
- package/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.d.ts +1 -1
- package/package.json +1 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery.component.js +0 -44
- package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery.module.js +0 -24
- /package/lib/component/transaction-header-fields/{transaction-header-partial-delivery.module.d.ts → transaction-header-partial-delivery/transaction-header-partial-delivery.module.d.ts} +0 -0
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
function Version() {
|
|
33
33
|
this.name = "@colijnit/transaction";
|
|
34
34
|
this.description = "Colijn IT transaction package";
|
|
35
|
-
this.symVer = "12.1.
|
|
36
|
-
this.publishDate = "
|
|
35
|
+
this.symVer = "12.1.148";
|
|
36
|
+
this.publishDate = "30-9-2023 12:06:31";
|
|
37
37
|
}
|
|
38
38
|
return Version;
|
|
39
39
|
}());
|
|
@@ -7996,6 +7996,7 @@
|
|
|
7996
7996
|
this.preview = false;
|
|
7997
7997
|
this.readonly = false;
|
|
7998
7998
|
this.relationChange = new i0.EventEmitter();
|
|
7999
|
+
this.showLoader = false;
|
|
7999
8000
|
this.isService = false;
|
|
8000
8001
|
this.lineOperationStatuses = [];
|
|
8001
8002
|
this.transactionLines = [];
|
|
@@ -8070,8 +8071,8 @@
|
|
|
8070
8071
|
this.transactionSet();
|
|
8071
8072
|
}
|
|
8072
8073
|
this.hasMultipleLines = this.transactionLines.length + this.deliveryCostLines.length > 1;
|
|
8073
|
-
this.canAllLinesBeDelivered = this.transactionLines.filter(function (l) { return l.articleLineStatus ? (l.articleLineStatus.quantityToDeliver === 0
|
|
8074
|
-
this.canAllLinesBeInvoiced = this.transactionLines.filter(function (l) { return l.articleLineStatus ? (l.articleLineStatus.quantityToInvoice === 0
|
|
8074
|
+
this.canAllLinesBeDelivered = this.transactionLines.filter(function (l) { return l.articleLineStatus ? (l.articleLineStatus.quantityToDeliver === 0) : false; }).length === 0;
|
|
8075
|
+
this.canAllLinesBeInvoiced = this.transactionLines.filter(function (l) { return l.articleLineStatus ? (l.articleLineStatus.quantityToInvoice === 0) : false; }).length === 0;
|
|
8075
8076
|
this.hasLinesToDeliver = this.transactionInfo.allowPartialDelivery ?
|
|
8076
8077
|
this.transactionLines.filter(function (l) { return l.articleLineStatus ? l.articleLineStatus.quantityToDeliver !== 0 : false; }).length > 0 :
|
|
8077
8078
|
this.transactionLines.filter(function (l) { return l.articleLineStatus ? l.articleLineStatus.quantityToDeliver === 0 : false; }).length === 0;
|
|
@@ -8354,7 +8355,8 @@
|
|
|
8354
8355
|
readonly: [{ type: i0.HostBinding, args: ['class.read-only',] }, { type: i0.Input }],
|
|
8355
8356
|
relationChange: [{ type: i0.Output }],
|
|
8356
8357
|
isText: [{ type: i0.HostBinding, args: ['class.is-text',] }],
|
|
8357
|
-
isArticle: [{ type: i0.HostBinding, args: ['class.is-article',] }]
|
|
8358
|
+
isArticle: [{ type: i0.HostBinding, args: ['class.is-article',] }],
|
|
8359
|
+
showLoader: [{ type: i0.HostBinding, args: ["class.show-loader",] }]
|
|
8358
8360
|
};
|
|
8359
8361
|
|
|
8360
8362
|
var DialogTransactionBaseComponent = /** @class */ (function (_super) {
|
|
@@ -15794,7 +15796,7 @@
|
|
|
15794
15796
|
TransactionLineImageAndDescriptionComponent.decorators = [
|
|
15795
15797
|
{ type: i0.Component, args: [{
|
|
15796
15798
|
selector: "co-transaction-line-image-and-description",
|
|
15797
|
-
template: "\n <div class=\"transaction-line-image\" [class.preview]=\"preview\">\n <co-image-display [model]=\"image\"></co-image-display>\n </div>\n <div class=\"transaction-line-description\" data-action=\"openSidePanel\">\n <div class=\"description-wrapper\">\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n <div class=\"transaction-line-article-number-wrapper\" *ngIf=\"!popUpView\">\n <span *ngIf=\"transactionLine.goodDescription && transactionLine.articleNumber\">|</span>\n <span [textContent]=\"transactionLine.articleNumber\"></span>\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\"\n (click)=\"deleteTransactionLineClick($event)\"></co-icon>\n </div>\n\n </div>\n <div *ngIf=\"!preview && !popUpView && transactionLine.articleBoundConcatenatedText\" class=\"article-text-wrapper\">\n <div [ngClass]=\"{'article-text-expand': true, 'large-article': !expanded}\">\n <div class=\"article-text\" *ngFor=\"let text of transactionLine.articleTextAsArray\">\n <span [innerHTML]=\"text | safeHtml\" (dblclick)=\"handleOpenArticleText(text)\"></span>\n </div>\n </div>\n <div *ngIf=\"calculateTotalCharacterCount() > 100\" class=\"expand-wrapper\" (click)=\"expandClicked()\">\n <co-icon [iconData]=\"expanded ? iconCacheService.getIcon(icons.TriangleUp) : iconCacheService.getIcon(icons.TriangleDown) \"></co-icon>\n <span class=\"expand-text\" [textContent]=\"!expanded ? ('SHOW_MORE' | localize) : ('SHOW_LESS' | localize)\"></span>\n </div>\n </div>\n <div *ngIf=\"!
|
|
15799
|
+
template: "\n <div class=\"transaction-line-image\" [class.preview]=\"preview\">\n <co-image-display [model]=\"image\"></co-image-display>\n </div>\n <div class=\"transaction-line-description\" data-action=\"openSidePanel\">\n <div class=\"description-wrapper\">\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n <div class=\"transaction-line-article-number-wrapper\" *ngIf=\"!popUpView\">\n <span *ngIf=\"transactionLine.goodDescription && transactionLine.articleNumber\">|</span>\n <span [textContent]=\"transactionLine.articleNumber\"></span>\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\"\n (click)=\"deleteTransactionLineClick($event)\"></co-icon>\n </div>\n\n </div>\n <div *ngIf=\"!preview && !popUpView && transactionLine.articleBoundConcatenatedText\" class=\"article-text-wrapper\">\n <div [ngClass]=\"{'article-text-expand': true, 'large-article': !expanded}\">\n <div class=\"article-text\" *ngFor=\"let text of transactionLine.articleTextAsArray\">\n <span [innerHTML]=\"text | safeHtml\" (dblclick)=\"handleOpenArticleText(text)\"></span>\n </div>\n </div>\n <div *ngIf=\"calculateTotalCharacterCount() > 100\" class=\"expand-wrapper\" (click)=\"expandClicked()\">\n <co-icon [iconData]=\"expanded ? iconCacheService.getIcon(icons.TriangleUp) : iconCacheService.getIcon(icons.TriangleDown) \"></co-icon>\n <span class=\"expand-text\" [textContent]=\"!expanded ? ('SHOW_MORE' | localize) : ('SHOW_LESS' | localize)\"></span>\n </div>\n </div>\n <div *ngIf=\"!popUpView && transactionLine.configurationReadable\">\n <span [innerHTML]=\"transactionLine.configurationReadable\"></span>\n </div>\n </div>\n ",
|
|
15798
15800
|
encapsulation: i0.ViewEncapsulation.None,
|
|
15799
15801
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
15800
15802
|
},] }
|
|
@@ -20089,33 +20091,39 @@
|
|
|
20089
20091
|
};
|
|
20090
20092
|
TransactionLinesComponent.prototype.handleDrop = function (event) {
|
|
20091
20093
|
return __awaiter(this, void 0, void 0, function () {
|
|
20092
|
-
var from_1, to_1, beingDropped, target;
|
|
20094
|
+
var from_1, to_1, beingDropped, target, e_1;
|
|
20093
20095
|
var _this = this;
|
|
20094
20096
|
return __generator(this, function (_a) {
|
|
20095
20097
|
switch (_a.label) {
|
|
20096
|
-
case 0:
|
|
20098
|
+
case 0:
|
|
20099
|
+
_a.trys.push([0, 2, , 3]);
|
|
20100
|
+
from_1 = event.previousIndex;
|
|
20101
|
+
to_1 = event.currentIndex;
|
|
20102
|
+
if (from_1 === to_1) {
|
|
20103
|
+
return [2 /*return*/];
|
|
20104
|
+
}
|
|
20105
|
+
beingDropped = this.transactionLines[from_1];
|
|
20106
|
+
target = this.transactionLines[to_1];
|
|
20107
|
+
// set items in correct order
|
|
20108
|
+
dragDrop.moveItemInArray(this.transactionLines, from_1, to_1);
|
|
20109
|
+
return [4 /*yield*/, this.lockTransaction()];
|
|
20097
20110
|
case 1:
|
|
20098
20111
|
if (_a.sent()) {
|
|
20099
|
-
|
|
20100
|
-
|
|
20101
|
-
to_1
|
|
20102
|
-
|
|
20103
|
-
return [2 /*return*/];
|
|
20104
|
-
}
|
|
20105
|
-
beingDropped = this.transactionLines[from_1];
|
|
20106
|
-
target = this.transactionLines[to_1];
|
|
20107
|
-
// set items in correct order
|
|
20108
|
-
dragDrop.moveItemInArray(this.transactionLines, from_1, to_1);
|
|
20109
|
-
this.transactionService.changeLineSequence(beingDropped.uuid, from_1 > to_1 ? target.lineNr : null, from_1 < to_1 ? target.lineNr : null).catch(function () {
|
|
20110
|
-
// something went wrong, reset drop
|
|
20111
|
-
dragDrop.moveItemInArray(_this.transactionLines, to_1, from_1);
|
|
20112
|
-
});
|
|
20113
|
-
}
|
|
20114
|
-
catch (e) {
|
|
20115
|
-
console.error(e);
|
|
20116
|
-
}
|
|
20112
|
+
this.transactionService.changeLineSequence(beingDropped.uuid, from_1 > to_1 ? target.lineNr : null, from_1 < to_1 ? target.lineNr : null).catch(function () {
|
|
20113
|
+
// something went wrong, reset drop
|
|
20114
|
+
dragDrop.moveItemInArray(_this.transactionLines, to_1, from_1);
|
|
20115
|
+
});
|
|
20117
20116
|
}
|
|
20118
|
-
|
|
20117
|
+
else {
|
|
20118
|
+
// couldn't lock, reset drop
|
|
20119
|
+
dragDrop.moveItemInArray(this.transactionLines, to_1, from_1);
|
|
20120
|
+
}
|
|
20121
|
+
return [3 /*break*/, 3];
|
|
20122
|
+
case 2:
|
|
20123
|
+
e_1 = _a.sent();
|
|
20124
|
+
console.error(e_1);
|
|
20125
|
+
return [3 /*break*/, 3];
|
|
20126
|
+
case 3: return [2 /*return*/];
|
|
20119
20127
|
}
|
|
20120
20128
|
});
|
|
20121
20129
|
});
|
|
@@ -20773,7 +20781,7 @@
|
|
|
20773
20781
|
this.readonly = true;
|
|
20774
20782
|
this.addLineTooltipMessage(this.dictionaryService.get("NO_FREE_COMMISSION_CODE"));
|
|
20775
20783
|
}
|
|
20776
|
-
if (this.lineHasLogisticalState || this.lineIsOrdered) {
|
|
20784
|
+
if (this.lineHasLogisticalState || (this.lineIsOrdered && this.transactionLine.commissionCode === "0")) {
|
|
20777
20785
|
this.readonly = true;
|
|
20778
20786
|
this.addLineTooltipMessage(this.dictionaryService.get("ORDER_LINE_HAS_LOGISTICAL_STATE"));
|
|
20779
20787
|
}
|
|
@@ -21160,7 +21168,7 @@
|
|
|
21160
21168
|
};
|
|
21161
21169
|
TransactionLineWarehouseComponent.prototype.transactionLineSet = function () {
|
|
21162
21170
|
_super.prototype.transactionLineSet.call(this);
|
|
21163
|
-
if (this.lineHasLogisticalState && this.lineIsOrdered) {
|
|
21171
|
+
if (this.lineHasLogisticalState && (this.lineIsOrdered && this.transactionLine.commissionCode === "0")) {
|
|
21164
21172
|
this.readonly = true;
|
|
21165
21173
|
this.addLineTooltipMessage(this.dictionaryService.get("ORDER_LINE_HAS_LOGISTICAL_STATE"));
|
|
21166
21174
|
}
|
|
@@ -23630,7 +23638,6 @@
|
|
|
23630
23638
|
this._paymentService = _paymentService;
|
|
23631
23639
|
this._transactionEventService = _transactionEventService;
|
|
23632
23640
|
this.icons = Icon;
|
|
23633
|
-
this.updateDepositAmount = false;
|
|
23634
23641
|
this.payed = new i0.EventEmitter();
|
|
23635
23642
|
this.paymentMethodIdx = 0;
|
|
23636
23643
|
this.cashRegisterIdx = 0;
|
|
@@ -23665,21 +23672,15 @@
|
|
|
23665
23672
|
return __awaiter(this, void 0, void 0, function () {
|
|
23666
23673
|
var _this = this;
|
|
23667
23674
|
return __generator(this, function (_a) {
|
|
23668
|
-
|
|
23669
|
-
|
|
23670
|
-
|
|
23671
|
-
|
|
23672
|
-
|
|
23673
|
-
|
|
23674
|
-
|
|
23675
|
-
|
|
23676
|
-
|
|
23677
|
-
_this.showLoader = false;
|
|
23678
|
-
_this._getDepositPaymentInfo();
|
|
23679
|
-
_this._prepareCashRegisters();
|
|
23680
|
-
});
|
|
23681
|
-
return [2 /*return*/];
|
|
23682
|
-
}
|
|
23675
|
+
// if (this.updateDepositAmount) {
|
|
23676
|
+
// await this._transactionService.updateHeaderTransactionDepositAmount(this.transactionUuid, this.amountToPay, true);
|
|
23677
|
+
// }
|
|
23678
|
+
this._getPaymentMethods().then(function () {
|
|
23679
|
+
_this.showLoader = false;
|
|
23680
|
+
_this._getDepositPaymentInfo();
|
|
23681
|
+
_this._prepareCashRegisters();
|
|
23682
|
+
});
|
|
23683
|
+
return [2 /*return*/];
|
|
23683
23684
|
});
|
|
23684
23685
|
});
|
|
23685
23686
|
};
|
|
@@ -23736,7 +23737,7 @@
|
|
|
23736
23737
|
switch (_a.label) {
|
|
23737
23738
|
case 0:
|
|
23738
23739
|
this.showKeyPad = false;
|
|
23739
|
-
return [4 /*yield*/, this._getDepositPaymentInfo(
|
|
23740
|
+
return [4 /*yield*/, this._getDepositPaymentInfo()];
|
|
23740
23741
|
case 1:
|
|
23741
23742
|
_a.sent();
|
|
23742
23743
|
this._handlePayment(false);
|
|
@@ -23758,19 +23759,13 @@
|
|
|
23758
23759
|
var info;
|
|
23759
23760
|
return __generator(this, function (_a) {
|
|
23760
23761
|
switch (_a.label) {
|
|
23761
|
-
case 0:
|
|
23762
|
-
if (!(this.updateDepositAmount || force)) return [3 /*break*/, 2];
|
|
23763
|
-
return [4 /*yield*/, this._paymentService.getDepositPaymentInfo(this.transactionUuid)];
|
|
23762
|
+
case 0: return [4 /*yield*/, this._paymentService.getDepositPaymentInfo(this.transactionUuid)];
|
|
23764
23763
|
case 1:
|
|
23765
23764
|
info = _a.sent();
|
|
23766
23765
|
if (info) {
|
|
23767
23766
|
this.amountToPay = info.depositRemainderAmount;
|
|
23768
23767
|
}
|
|
23769
|
-
return [
|
|
23770
|
-
case 2:
|
|
23771
|
-
this.amountToPay = this._amount;
|
|
23772
|
-
_a.label = 3;
|
|
23773
|
-
case 3: return [2 /*return*/];
|
|
23768
|
+
return [2 /*return*/];
|
|
23774
23769
|
}
|
|
23775
23770
|
});
|
|
23776
23771
|
});
|
|
@@ -23918,7 +23913,6 @@
|
|
|
23918
23913
|
transId: [{ type: i0.Input }],
|
|
23919
23914
|
transactionUuid: [{ type: i0.Input }],
|
|
23920
23915
|
branch: [{ type: i0.Input }],
|
|
23921
|
-
updateDepositAmount: [{ type: i0.Input }],
|
|
23922
23916
|
amount: [{ type: i0.Input }],
|
|
23923
23917
|
currencyId: [{ type: i0.Input }],
|
|
23924
23918
|
payed: [{ type: i0.Output }],
|
|
@@ -24683,7 +24677,7 @@
|
|
|
24683
24677
|
CheckoutOverviewPaymentComponent.decorators = [
|
|
24684
24678
|
{ type: i0.Component, args: [{
|
|
24685
24679
|
selector: "co-checkout-overview-payment",
|
|
24686
|
-
template: "\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'YOUR_DATA' | localize\"></span>\n <div class=\"two-column-grid\">\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'DELIVERY_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"deliveryAddress.displayAddress\"></span>\n <span [textContent]=\"deliveryAddress.displayPostal\"></span>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"invoiceAddress.displayAddress\"></span>\n <span [textContent]=\"invoiceAddress.displayPostal\"></span>\n </div>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'CONTACT_DETAILS' | localize\"></span>\n <span [textContent]=\"relation.primaryEmail\"></span>\n <span [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeYourDataClick.emit()\"></div>\n </div>\n </div>\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'DELIVERY' | localize\"></span>\n <div class=\"overview-address\">\n <div class=\"overview-row\">\n <span [textContent]=\"'EXPECTED_DELIVERY_DATE' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd MMM yyyy'\"></span>\n </div>\n <div class=\"overview-row\">\n <span [textContent]=\"'DELIVERY_METHOD' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryMethod\"></span>\n </div>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeDeliveryClick.emit()\"></div>\n </div>\n </div>\n <co-payment *ngIf=\"showPayment\"\n [
|
|
24680
|
+
template: "\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'YOUR_DATA' | localize\"></span>\n <div class=\"two-column-grid\">\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'DELIVERY_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"deliveryAddress.displayAddress\"></span>\n <span [textContent]=\"deliveryAddress.displayPostal\"></span>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"invoiceAddress.displayAddress\"></span>\n <span [textContent]=\"invoiceAddress.displayPostal\"></span>\n </div>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'CONTACT_DETAILS' | localize\"></span>\n <span [textContent]=\"relation.primaryEmail\"></span>\n <span [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeYourDataClick.emit()\"></div>\n </div>\n </div>\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'DELIVERY' | localize\"></span>\n <div class=\"overview-address\">\n <div class=\"overview-row\">\n <span [textContent]=\"'EXPECTED_DELIVERY_DATE' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd MMM yyyy'\"></span>\n </div>\n <div class=\"overview-row\">\n <span [textContent]=\"'DELIVERY_METHOD' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryMethod\"></span>\n </div>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeDeliveryClick.emit()\"></div>\n </div>\n </div>\n <co-payment *ngIf=\"showPayment\"\n [transId]=\"transaction.transactionInfo.id\"\n [branch]=\"transaction.transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [amount]=\"transaction.transactionInfo.depositAmount || transaction.transactionTotal.netAmount\"\n [currencyId]=\"transaction.transactionInfo.currencyId\"\n (payed)=\"handlePayed()\"\n ></co-payment>\n ",
|
|
24687
24681
|
encapsulation: i0.ViewEncapsulation.None
|
|
24688
24682
|
},] }
|
|
24689
24683
|
];
|
|
@@ -25438,72 +25432,6 @@
|
|
|
25438
25432
|
},] }
|
|
25439
25433
|
];
|
|
25440
25434
|
|
|
25441
|
-
var TransactionHeaderPartialDeliveryComponent = /** @class */ (function (_super) {
|
|
25442
|
-
__extends(TransactionHeaderPartialDeliveryComponent, _super);
|
|
25443
|
-
function TransactionHeaderPartialDeliveryComponent() {
|
|
25444
|
-
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
25445
|
-
_this.showClass = true;
|
|
25446
|
-
return _this;
|
|
25447
|
-
}
|
|
25448
|
-
TransactionHeaderPartialDeliveryComponent.prototype.commit = function (allow) {
|
|
25449
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
25450
|
-
var oldPartial, success;
|
|
25451
|
-
return __generator(this, function (_a) {
|
|
25452
|
-
switch (_a.label) {
|
|
25453
|
-
case 0:
|
|
25454
|
-
if (!(this.transactionInfo.allowPartialDelivery !== allow)) return [3 /*break*/, 2];
|
|
25455
|
-
oldPartial = this.transactionInfo.allowPartialDelivery;
|
|
25456
|
-
return [4 /*yield*/, this.transactionService.updateHeaderTransactionPartialDelivery(this.transactionInfo.uuid, allow, this.lockAndSave)];
|
|
25457
|
-
case 1:
|
|
25458
|
-
success = _a.sent();
|
|
25459
|
-
if (!success) {
|
|
25460
|
-
this.transactionInfo.allowPartialDelivery = oldPartial;
|
|
25461
|
-
return [2 /*return*/, success];
|
|
25462
|
-
}
|
|
25463
|
-
else {
|
|
25464
|
-
this.transactionEventService.allowPartialDeliveryChanged.next(allow);
|
|
25465
|
-
}
|
|
25466
|
-
_a.label = 2;
|
|
25467
|
-
case 2: return [2 /*return*/, true];
|
|
25468
|
-
}
|
|
25469
|
-
});
|
|
25470
|
-
});
|
|
25471
|
-
};
|
|
25472
|
-
return TransactionHeaderPartialDeliveryComponent;
|
|
25473
|
-
}(TransactionBaseComponent));
|
|
25474
|
-
TransactionHeaderPartialDeliveryComponent.decorators = [
|
|
25475
|
-
{ type: i0.Component, args: [{
|
|
25476
|
-
selector: "co-transaction-header-partial-delivery",
|
|
25477
|
-
template: "\n <co-input-checkbox\n [readonly]=\"headerReadonly\"\n [label]=\"'PART_DELIVERY' | localize\"\n [model]=\"transactionInfo.allowPartialDelivery\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"handleCommit($event)\">\n </co-input-checkbox>\n ",
|
|
25478
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
25479
|
-
},] }
|
|
25480
|
-
];
|
|
25481
|
-
TransactionHeaderPartialDeliveryComponent.propDecorators = {
|
|
25482
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-header-partial-delivery",] }]
|
|
25483
|
-
};
|
|
25484
|
-
|
|
25485
|
-
var TransactionHeaderPartialDeliveryModule = /** @class */ (function () {
|
|
25486
|
-
function TransactionHeaderPartialDeliveryModule() {
|
|
25487
|
-
}
|
|
25488
|
-
return TransactionHeaderPartialDeliveryModule;
|
|
25489
|
-
}());
|
|
25490
|
-
TransactionHeaderPartialDeliveryModule.decorators = [
|
|
25491
|
-
{ type: i0.NgModule, args: [{
|
|
25492
|
-
imports: [
|
|
25493
|
-
common.CommonModule,
|
|
25494
|
-
PipeModule,
|
|
25495
|
-
corecomponents_v12.InputCheckboxModule,
|
|
25496
|
-
corecomponents_v12.TooltipDirectiveModule
|
|
25497
|
-
],
|
|
25498
|
-
declarations: [
|
|
25499
|
-
TransactionHeaderPartialDeliveryComponent
|
|
25500
|
-
],
|
|
25501
|
-
exports: [
|
|
25502
|
-
TransactionHeaderPartialDeliveryComponent
|
|
25503
|
-
]
|
|
25504
|
-
},] }
|
|
25505
|
-
];
|
|
25506
|
-
|
|
25507
25435
|
var TransactionHeaderPopupComponent = /** @class */ (function (_super) {
|
|
25508
25436
|
__extends(TransactionHeaderPopupComponent, _super);
|
|
25509
25437
|
function TransactionHeaderPopupComponent(transactionEventService, service, iconCacheService, transactionScreenConfigurationService, dictionaryService, imageService, changeDetector, dialogService, formMasterService, relationService) {
|
|
@@ -27766,6 +27694,75 @@
|
|
|
27766
27694
|
},] }
|
|
27767
27695
|
];
|
|
27768
27696
|
|
|
27697
|
+
var TransactionHeaderPartialDeliveryComponent = /** @class */ (function (_super) {
|
|
27698
|
+
__extends(TransactionHeaderPartialDeliveryComponent, _super);
|
|
27699
|
+
function TransactionHeaderPartialDeliveryComponent() {
|
|
27700
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
27701
|
+
_this.showClass = true;
|
|
27702
|
+
return _this;
|
|
27703
|
+
}
|
|
27704
|
+
TransactionHeaderPartialDeliveryComponent.prototype.commit = function (allow) {
|
|
27705
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
27706
|
+
var oldPartial, success;
|
|
27707
|
+
return __generator(this, function (_a) {
|
|
27708
|
+
switch (_a.label) {
|
|
27709
|
+
case 0:
|
|
27710
|
+
if (!(this.transactionInfo.allowPartialDelivery !== allow)) return [3 /*break*/, 2];
|
|
27711
|
+
this.showLoader = true;
|
|
27712
|
+
oldPartial = this.transactionInfo.allowPartialDelivery;
|
|
27713
|
+
return [4 /*yield*/, this.transactionService.updateHeaderTransactionPartialDelivery(this.transactionInfo.uuid, allow, this.lockAndSave)];
|
|
27714
|
+
case 1:
|
|
27715
|
+
success = _a.sent();
|
|
27716
|
+
this.showLoader = false;
|
|
27717
|
+
if (!success) {
|
|
27718
|
+
this.transactionInfo.allowPartialDelivery = oldPartial;
|
|
27719
|
+
return [2 /*return*/, success];
|
|
27720
|
+
}
|
|
27721
|
+
else {
|
|
27722
|
+
this.transactionEventService.allowPartialDeliveryChanged.next(allow);
|
|
27723
|
+
}
|
|
27724
|
+
_a.label = 2;
|
|
27725
|
+
case 2: return [2 /*return*/, true];
|
|
27726
|
+
}
|
|
27727
|
+
});
|
|
27728
|
+
});
|
|
27729
|
+
};
|
|
27730
|
+
return TransactionHeaderPartialDeliveryComponent;
|
|
27731
|
+
}(TransactionBaseComponent));
|
|
27732
|
+
TransactionHeaderPartialDeliveryComponent.decorators = [
|
|
27733
|
+
{ type: i0.Component, args: [{
|
|
27734
|
+
selector: "co-transaction-header-partial-delivery",
|
|
27735
|
+
template: "\n <co-loader *ngIf=\"showLoader\"></co-loader>\n <co-input-checkbox\n [readonly]=\"headerReadonly\"\n [label]=\"'PART_DELIVERY' | localize\"\n [model]=\"transactionInfo.allowPartialDelivery\"\n [tooltip]=\"tooltipMessage\"\n [disabled]=\"showLoader\"\n (modelChange)=\"handleCommit($event)\">\n </co-input-checkbox>\n ",
|
|
27736
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
27737
|
+
},] }
|
|
27738
|
+
];
|
|
27739
|
+
TransactionHeaderPartialDeliveryComponent.propDecorators = {
|
|
27740
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-header-partial-delivery",] }]
|
|
27741
|
+
};
|
|
27742
|
+
|
|
27743
|
+
var TransactionHeaderPartialDeliveryModule = /** @class */ (function () {
|
|
27744
|
+
function TransactionHeaderPartialDeliveryModule() {
|
|
27745
|
+
}
|
|
27746
|
+
return TransactionHeaderPartialDeliveryModule;
|
|
27747
|
+
}());
|
|
27748
|
+
TransactionHeaderPartialDeliveryModule.decorators = [
|
|
27749
|
+
{ type: i0.NgModule, args: [{
|
|
27750
|
+
imports: [
|
|
27751
|
+
common.CommonModule,
|
|
27752
|
+
PipeModule,
|
|
27753
|
+
corecomponents_v12.InputCheckboxModule,
|
|
27754
|
+
corecomponents_v12.TooltipDirectiveModule,
|
|
27755
|
+
LoaderModule
|
|
27756
|
+
],
|
|
27757
|
+
declarations: [
|
|
27758
|
+
TransactionHeaderPartialDeliveryComponent
|
|
27759
|
+
],
|
|
27760
|
+
exports: [
|
|
27761
|
+
TransactionHeaderPartialDeliveryComponent
|
|
27762
|
+
]
|
|
27763
|
+
},] }
|
|
27764
|
+
];
|
|
27765
|
+
|
|
27769
27766
|
var TransactionHeaderPopupModule = /** @class */ (function () {
|
|
27770
27767
|
function TransactionHeaderPopupModule() {
|
|
27771
27768
|
}
|
|
@@ -27801,7 +27798,6 @@
|
|
|
27801
27798
|
TransactionHeaderDeliveryMethodButtonModule,
|
|
27802
27799
|
corecomponents_v12.ButtonModule,
|
|
27803
27800
|
TransactionHeaderDefinitiveModule,
|
|
27804
|
-
TransactionHeaderPartialDeliveryModule,
|
|
27805
27801
|
TransactionHeaderDeliveryDateModule,
|
|
27806
27802
|
TransactionHeaderPreferredDeliveryDateModule,
|
|
27807
27803
|
TransactionHeaderDeliverydateDefinitiveButtonModule,
|
|
@@ -27816,7 +27812,8 @@
|
|
|
27816
27812
|
corecomponents_v12.InputTextModule,
|
|
27817
27813
|
TransactionHeaderScoringChanceModule,
|
|
27818
27814
|
TransactionHeaderRetailStadiumModule,
|
|
27819
|
-
TransactionHeaderScoringDateModule
|
|
27815
|
+
TransactionHeaderScoringDateModule,
|
|
27816
|
+
TransactionHeaderPartialDeliveryModule
|
|
27820
27817
|
],
|
|
27821
27818
|
declarations: [
|
|
27822
27819
|
TransactionHeaderPopupComponent,
|
|
@@ -27855,10 +27852,10 @@
|
|
|
27855
27852
|
TransactionHeaderDeliveryMethodModule,
|
|
27856
27853
|
TransactionHeaderPreferredDeliveryDateModule,
|
|
27857
27854
|
DialogTransactionHeaderDeliveryMethodModule,
|
|
27858
|
-
TransactionHeaderPartialDeliveryModule,
|
|
27859
27855
|
TransactionHeaderPopupModule,
|
|
27860
27856
|
TransactionHeaderDeliveryMethodButtonModule,
|
|
27861
|
-
TransactionHeaderDeliverydateDefinitiveButtonModule
|
|
27857
|
+
TransactionHeaderDeliverydateDefinitiveButtonModule,
|
|
27858
|
+
TransactionHeaderPartialDeliveryModule
|
|
27862
27859
|
],
|
|
27863
27860
|
declarations: [
|
|
27864
27861
|
TransactionHeaderDeliveryComponent
|
|
@@ -28741,7 +28738,7 @@
|
|
|
28741
28738
|
TransactionHeaderPaymentComponent.decorators = [
|
|
28742
28739
|
{ type: i0.Component, args: [{
|
|
28743
28740
|
selector: "co-transaction-header-payment",
|
|
28744
|
-
template: "\n <div class=\"transaction-header-payment-wrapper\">\n <div class=\"transaction-header-payment-wrapper-content\" [class.show-remaining]=\"showRemainingPayment\">\n <co-transaction-header-block\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n [hiddenBlockTemplate]=\"hiddenBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <co-transaction-header-block\n [firstBlockTemplate]=\"firstBlockRest\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n </div>\n </div>\n <ng-template #firstBlock>\n <div class=\"transaction-header-block-row\">\n <div class=\"transaction-header-icon\">\n <co-icon class=\"header-order-icon\"\n (click)=\"showDialog = true\"\n [iconData]=\"iconCacheService.getIcon(icons.CreditCardRegular)\">\n </co-icon>\n </div>\n <div class=\"header-downpayment-amount-wrapper\">\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_AMOUNT' | localize\"></div>\n <co-transaction-header-deposit-amount class=\"transaction-header-deposit\"\n [transaction]=\"transaction\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-amount>\n </div>\n </div>\n </ng-template>\n <ng-template #firstBlockRest>\n <div class=\"transaction-header-block-row\" *ngIf=\"showRemainingPayment\">\n <div class=\"transaction-header-icon\">\n <co-icon class=\"header-order-icon\"\n (click)=\"showPaymentDialog = true\"\n [iconData]=\"iconCacheService.getIcon(icons.CreditCardRegularCheck)\">\n </co-icon>\n </div>\n <div class=\"header-remaining-payment-amount-wrapper\">\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'REMAINING_PAYMENT' | localize\"></div>\n <co-transaction-header-remaining-amount class=\"transaction-header-remaining\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n (remainingAmountChange)=\"remainingToPay = $event\"\n ></co-transaction-header-remaining-amount>\n </div>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"transaction-header-block-row\">\n <div class=\"header-downpayment-percentage-wrapper\">\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'%' | localize\"></div>\n <co-transaction-header-deposit-percentage class=\"transaction-header-deposit\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-percentage>\n </div>\n </div>\n </ng-template>\n <ng-template #thirdBlock>\n <div class=\"transaction-header-block-row\">\n <div class=\"header-payment-button-wrapper\" (click)=\"openPayment($event)\">\n <co-icon class=\"header-order-icon\" [iconData]=\"iconCacheService.getIcon(icons.CreditCardRegularCheck)\">\n </co-icon>\n <div class=\"spacer\"></div>\n <div class=\"payment-payed-wrapper\">\n <!--div class=\"header-payed-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_DONE' | localize\"></div-->\n <span class=\"payment-paid\" [class.success]=\"paid >= toPay\" [textContent]=\"(paid | coCurrency) || 0\"></span>\n </div>\n <!--co-transaction-header-payment-button *ngIf=\"transactionInfo.transactionKind !== transKind.PurchaseOrder\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-header-payment-button-->\n </div>\n </div>\n </ng-template>\n <ng-template #hiddenBlock>\n <!--div class=\"transaction-header-block-row\">\n <div class=\"header-branch-label co-transaction-label\" [textContent]=\"'BRANCH' | localize\"></div>\n <div class=\"branch-label\" [textContent]=\"transactionInfo.branch?.familyName\"></div>\n </div-->\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"2\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n<!--\n <co-dialog class=\"transaction-header-payment-dialog\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title\" [textContent]=\"'PAYMENT_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"payment-dialog-section\">\n <co-deposit-payment [branch]=\"transactionInfo.branch?.relationNr\" [transactionUuid]=\"transactionInfo.uuid\"></co-deposit-payment>\n </div>\n </co-dialog>\n-->\n <co-dialog class=\"payment-dialog\" [customCssClass]=\"'co-small-scrollbar'\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"showPaymentDialog = false\"\n >\n <co-payment\n [
|
|
28741
|
+
template: "\n <div class=\"transaction-header-payment-wrapper\">\n <div class=\"transaction-header-payment-wrapper-content\" [class.show-remaining]=\"showRemainingPayment\">\n <co-transaction-header-block\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n [hiddenBlockTemplate]=\"hiddenBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <co-transaction-header-block\n [firstBlockTemplate]=\"firstBlockRest\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n </div>\n </div>\n <ng-template #firstBlock>\n <div class=\"transaction-header-block-row\">\n <div class=\"transaction-header-icon\">\n <co-icon class=\"header-order-icon\"\n (click)=\"showDialog = true\"\n [iconData]=\"iconCacheService.getIcon(icons.CreditCardRegular)\">\n </co-icon>\n </div>\n <div class=\"header-downpayment-amount-wrapper\">\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_AMOUNT' | localize\"></div>\n <co-transaction-header-deposit-amount class=\"transaction-header-deposit\"\n [transaction]=\"transaction\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-amount>\n </div>\n </div>\n </ng-template>\n <ng-template #firstBlockRest>\n <div class=\"transaction-header-block-row\" *ngIf=\"showRemainingPayment\">\n <div class=\"transaction-header-icon\">\n <co-icon class=\"header-order-icon\"\n (click)=\"showPaymentDialog = true\"\n [iconData]=\"iconCacheService.getIcon(icons.CreditCardRegularCheck)\">\n </co-icon>\n </div>\n <div class=\"header-remaining-payment-amount-wrapper\">\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'REMAINING_PAYMENT' | localize\"></div>\n <co-transaction-header-remaining-amount class=\"transaction-header-remaining\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n (remainingAmountChange)=\"remainingToPay = $event\"\n ></co-transaction-header-remaining-amount>\n </div>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"transaction-header-block-row\">\n <div class=\"header-downpayment-percentage-wrapper\">\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'%' | localize\"></div>\n <co-transaction-header-deposit-percentage class=\"transaction-header-deposit\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-percentage>\n </div>\n </div>\n </ng-template>\n <ng-template #thirdBlock>\n <div class=\"transaction-header-block-row\">\n <div class=\"header-payment-button-wrapper\" (click)=\"openPayment($event)\">\n <co-icon class=\"header-order-icon\" [iconData]=\"iconCacheService.getIcon(icons.CreditCardRegularCheck)\">\n </co-icon>\n <div class=\"spacer\"></div>\n <div class=\"payment-payed-wrapper\">\n <!--div class=\"header-payed-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_DONE' | localize\"></div-->\n <span class=\"payment-paid\" [class.success]=\"paid >= toPay\" [textContent]=\"(paid | coCurrency) || 0\"></span>\n </div>\n <!--co-transaction-header-payment-button *ngIf=\"transactionInfo.transactionKind !== transKind.PurchaseOrder\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-header-payment-button-->\n </div>\n </div>\n </ng-template>\n <ng-template #hiddenBlock>\n <!--div class=\"transaction-header-block-row\">\n <div class=\"header-branch-label co-transaction-label\" [textContent]=\"'BRANCH' | localize\"></div>\n <div class=\"branch-label\" [textContent]=\"transactionInfo.branch?.familyName\"></div>\n </div-->\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"2\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n<!--\n <co-dialog class=\"transaction-header-payment-dialog\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title\" [textContent]=\"'PAYMENT_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"payment-dialog-section\">\n <co-deposit-payment [branch]=\"transactionInfo.branch?.relationNr\" [transactionUuid]=\"transactionInfo.uuid\"></co-deposit-payment>\n </div>\n </co-dialog>\n-->\n <co-dialog class=\"payment-dialog\" [customCssClass]=\"'co-small-scrollbar'\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"showPaymentDialog = false\"\n >\n <co-payment\n [transId]=\"transactionInfo.id\"\n [branch]=\"transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"showRemainingPayment ? remainingToPay : toPay\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
|
|
28745
28742
|
encapsulation: i0.ViewEncapsulation.None
|
|
28746
28743
|
},] }
|
|
28747
28744
|
];
|
|
@@ -39127,50 +39124,50 @@
|
|
|
39127
39124
|
exports["ɵh"] = CacheField;
|
|
39128
39125
|
exports["ɵha"] = DialogTransactionHeaderDeliveryMethodModule;
|
|
39129
39126
|
exports["ɵhb"] = DialogTransactionHeaderDeliveryMethodComponent;
|
|
39130
|
-
exports["ɵhc"] =
|
|
39131
|
-
exports["ɵhd"] =
|
|
39132
|
-
exports["ɵhe"] =
|
|
39133
|
-
exports["ɵhf"] =
|
|
39134
|
-
exports["ɵhg"] =
|
|
39135
|
-
exports["ɵhh"] =
|
|
39136
|
-
exports["ɵhi"] =
|
|
39137
|
-
exports["ɵhj"] =
|
|
39138
|
-
exports["ɵhk"] =
|
|
39139
|
-
exports["ɵhl"] =
|
|
39140
|
-
exports["ɵhm"] =
|
|
39141
|
-
exports["ɵhn"] =
|
|
39142
|
-
exports["ɵho"] =
|
|
39143
|
-
exports["ɵhp"] =
|
|
39144
|
-
exports["ɵhq"] =
|
|
39145
|
-
exports["ɵhr"] =
|
|
39146
|
-
exports["ɵhs"] =
|
|
39147
|
-
exports["ɵht"] =
|
|
39148
|
-
exports["ɵhu"] =
|
|
39149
|
-
exports["ɵhv"] =
|
|
39150
|
-
exports["ɵhw"] =
|
|
39151
|
-
exports["ɵhx"] =
|
|
39152
|
-
exports["ɵhy"] =
|
|
39153
|
-
exports["ɵhz"] =
|
|
39127
|
+
exports["ɵhc"] = TransactionHeaderPopupModule;
|
|
39128
|
+
exports["ɵhd"] = TransactionFilterCategoriesModule;
|
|
39129
|
+
exports["ɵhe"] = TransactionFilterCategoriesComponent;
|
|
39130
|
+
exports["ɵhf"] = TransactionHeaderBranchModule;
|
|
39131
|
+
exports["ɵhg"] = TransactionHeaderBranchComponent;
|
|
39132
|
+
exports["ɵhh"] = TransactionHeaderSalesPersonModule;
|
|
39133
|
+
exports["ɵhi"] = TransactionHeaderSalesPersonComponent;
|
|
39134
|
+
exports["ɵhj"] = TransactionHeaderAdministrativeRelationModule;
|
|
39135
|
+
exports["ɵhk"] = TransactionHeaderAdministrativeRelationComponent;
|
|
39136
|
+
exports["ɵhl"] = TransactionHeaderPriceKindModule;
|
|
39137
|
+
exports["ɵhm"] = TransactionHeaderPriceKindComponent;
|
|
39138
|
+
exports["ɵhn"] = TransactionHeaderCurrencyModule;
|
|
39139
|
+
exports["ɵho"] = TransactionHeaderCurrencyComponent;
|
|
39140
|
+
exports["ɵhp"] = TransactionHeaderPaymentConditionModule;
|
|
39141
|
+
exports["ɵhq"] = TransactionHeaderPaymentConditionComponent;
|
|
39142
|
+
exports["ɵhr"] = TransactionHeaderHoldCodesModule;
|
|
39143
|
+
exports["ɵhs"] = TransactionHeaderHoldCodesComponent;
|
|
39144
|
+
exports["ɵht"] = TransactionHeaderMarketingModule;
|
|
39145
|
+
exports["ɵhu"] = TransactionHeaderMarketingComponent;
|
|
39146
|
+
exports["ɵhv"] = TransactionHeaderDeliveryMethodButtonModule;
|
|
39147
|
+
exports["ɵhw"] = TransactionHeaderDeliveryMethodButtonComponent;
|
|
39148
|
+
exports["ɵhx"] = TransactionHeaderDefinitiveModule;
|
|
39149
|
+
exports["ɵhy"] = TransactionHeaderDefinitiveComponent;
|
|
39150
|
+
exports["ɵhz"] = TransactionHeaderDeliverydateDefinitiveButtonModule;
|
|
39154
39151
|
exports["ɵi"] = SelectMultipleParameterizedCacheService;
|
|
39155
|
-
exports["ɵia"] =
|
|
39156
|
-
exports["ɵib"] =
|
|
39157
|
-
exports["ɵic"] =
|
|
39158
|
-
exports["ɵid"] =
|
|
39159
|
-
exports["ɵie"] =
|
|
39160
|
-
exports["ɵif"] =
|
|
39161
|
-
exports["ɵig"] =
|
|
39162
|
-
exports["ɵih"] =
|
|
39163
|
-
exports["ɵii"] =
|
|
39164
|
-
exports["ɵij"] =
|
|
39165
|
-
exports["ɵik"] =
|
|
39166
|
-
exports["ɵil"] =
|
|
39167
|
-
exports["ɵim"] =
|
|
39168
|
-
exports["ɵin"] =
|
|
39169
|
-
exports["ɵio"] =
|
|
39170
|
-
exports["ɵip"] =
|
|
39171
|
-
exports["ɵiq"] =
|
|
39172
|
-
exports["ɵir"] =
|
|
39173
|
-
exports["ɵis"] =
|
|
39152
|
+
exports["ɵia"] = TransactionHeaderDeliverydateDefinitiveButtonComponent;
|
|
39153
|
+
exports["ɵib"] = TransactionHeaderDepositPercentageModule;
|
|
39154
|
+
exports["ɵic"] = TransactionHeaderDepositPercentageComponent;
|
|
39155
|
+
exports["ɵid"] = TransactionHeaderDepositAmountModule;
|
|
39156
|
+
exports["ɵie"] = TransactionHeaderDepositAmountComponent;
|
|
39157
|
+
exports["ɵif"] = TransactionHeaderPaymentButtonModule;
|
|
39158
|
+
exports["ɵig"] = TransactionHeaderPaymentButtonComponent;
|
|
39159
|
+
exports["ɵih"] = TransactionHeaderDivideEvenlyModule;
|
|
39160
|
+
exports["ɵii"] = TransactionHeaderDivideEvenlyComponent;
|
|
39161
|
+
exports["ɵij"] = TransactionHeaderAmountToSettleModule;
|
|
39162
|
+
exports["ɵik"] = TransactionHeaderAmountToSettleComponent;
|
|
39163
|
+
exports["ɵil"] = TransactionHeaderScoringChanceModule;
|
|
39164
|
+
exports["ɵim"] = TransactionHeaderScoringChanceComponent;
|
|
39165
|
+
exports["ɵin"] = TransactionHeaderRetailStadiumModule;
|
|
39166
|
+
exports["ɵio"] = TransactionHeaderRetailStadiumComponent;
|
|
39167
|
+
exports["ɵip"] = TransactionHeaderScoringDateModule;
|
|
39168
|
+
exports["ɵiq"] = TransactionHeaderScoringDateComponent;
|
|
39169
|
+
exports["ɵir"] = TransactionHeaderPartialDeliveryModule;
|
|
39170
|
+
exports["ɵis"] = TransactionHeaderPartialDeliveryComponent;
|
|
39174
39171
|
exports["ɵit"] = TransactionHeaderPopupComponent;
|
|
39175
39172
|
exports["ɵiu"] = TransactionHeaderPopupRelationComponent;
|
|
39176
39173
|
exports["ɵiv"] = TransactionHeaderPopupBaseComponent;
|