@colijnit/transaction 12.1.153 → 12.1.155
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 +175 -32
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction-12.1.153.tgz +0 -0
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/cache/service/business-object-cache-manager.service.js +7 -1
- package/esm2015/lib/cache/service/select-single-cache.service.js +7 -4
- package/esm2015/lib/component/checkout/checkout.component.js +5 -1
- package/esm2015/lib/component/core/base/transaction-base.component.js +14 -1
- package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +4 -3
- package/esm2015/lib/component/payment/payment.component.js +54 -37
- package/esm2015/lib/component/payment/payment.module.js +4 -3
- package/esm2015/lib/component/transaction/transaction.component.js +4 -1
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +8 -5
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +2 -1
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.js +4 -1
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +2 -6
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons-popup.component.js +14 -1
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +26 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.js +36 -6
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +5 -5
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +3 -3
- package/esm2015/lib/service/relation.service.js +19 -11
- package/esm2015/lib/service/transaction-base.service.js +9 -1
- package/esm2015/lib/service/transaction-event.service.js +2 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +206 -72
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/cache/service/business-object-cache-manager.service.d.ts +3 -0
- package/lib/cache/service/select-single-cache.service.d.ts +5 -5
- package/lib/component/checkout/checkout.component.d.ts +4 -0
- package/lib/component/core/base/transaction-base.component.d.ts +5 -0
- package/lib/component/deposit-payment/style/_layout.scss +3 -1
- package/lib/component/deposit-payment/style/_material-definition.scss +2 -2
- package/lib/component/payment/payment.component.d.ts +4 -1
- package/lib/component/payment/style/_layout.scss +64 -35
- package/lib/component/payment/style/_material-definition.scss +1 -1
- package/lib/component/payment/style/_theme.scss +0 -3
- package/lib/component/payment-tile/style/_layout.scss +5 -3
- package/lib/component/payment-to-pay/style/_layout.scss +6 -5
- package/lib/component/payment-to-pay/style/_material-definition.scss +4 -4
- package/lib/component/stepper/style/_material-definition.scss +4 -4
- package/lib/component/transaction/style/_layout.scss +1 -1
- package/lib/component/transaction/transaction.component.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +17 -0
- package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons-popup.component.d.ts +3 -0
- package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.d.ts +7 -0
- package/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.d.ts +6 -1
- package/lib/service/transaction-base.service.d.ts +2 -0
- package/lib/service/transaction-event.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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.155";
|
|
36
|
+
this.publishDate = "27-10-2023 14:50:46";
|
|
37
37
|
}
|
|
38
38
|
return Version;
|
|
39
39
|
}());
|
|
@@ -1270,6 +1270,7 @@
|
|
|
1270
1270
|
this.headerPopupWantsToClose = new rxjs.Subject();
|
|
1271
1271
|
this.headerPopupClose = new rxjs.Subject();
|
|
1272
1272
|
this.addDocumentToLineClicked = new rxjs.Subject();
|
|
1273
|
+
this.reopenExternalOrderClicked = new rxjs.Subject();
|
|
1273
1274
|
this.activeRubricChange = new rxjs.BehaviorSubject(TransactionTypeCategory.SalesOrderOverview);
|
|
1274
1275
|
this.quantitySelectedLineChanged = new rxjs.BehaviorSubject(undefined);
|
|
1275
1276
|
this.lineSelectedForDelivery = new rxjs.BehaviorSubject(undefined);
|
|
@@ -1557,6 +1558,13 @@
|
|
|
1557
1558
|
var cacheId = id.toString();
|
|
1558
1559
|
return this._selectSingleCache.has(key) && this._selectSingleCache.get(key)[cacheId];
|
|
1559
1560
|
};
|
|
1561
|
+
BusinessObjectCacheManagerService.prototype.deleteSingleCacheItem = function (key, id) {
|
|
1562
|
+
if (id === void 0) { id = BusinessObjectCacheManagerService._NullBoId; }
|
|
1563
|
+
var cacheId = id.toString();
|
|
1564
|
+
if (this._selectSingleCache.has(key)) {
|
|
1565
|
+
this._selectSingleCache.delete(key);
|
|
1566
|
+
}
|
|
1567
|
+
};
|
|
1560
1568
|
// Returns the parameterized cache item with the given key. T is the type of the cache value items requested, e.g. Color.
|
|
1561
1569
|
BusinessObjectCacheManagerService.prototype.getSelectMultipleParameterCacheItem = function (key) {
|
|
1562
1570
|
return this._selectMultipleParameterizedCache.get(key);
|
|
@@ -6657,7 +6665,11 @@
|
|
|
6657
6665
|
function SelectSingleCacheService(_boCacheManager) {
|
|
6658
6666
|
this._boCacheManager = _boCacheManager;
|
|
6659
6667
|
}
|
|
6660
|
-
SelectSingleCacheService.prototype.requestCache = function (clazz, sourceId, loadFunction) {
|
|
6668
|
+
SelectSingleCacheService.prototype.requestCache = function (clazz, sourceId, loadFunction, reload) {
|
|
6669
|
+
if (reload === void 0) { reload = false; }
|
|
6670
|
+
if (reload) {
|
|
6671
|
+
this._boCacheManager.deleteSingleCacheItem(clazz, sourceId);
|
|
6672
|
+
}
|
|
6661
6673
|
if (!this._boCacheManager.hasSingleCacheItem(clazz, sourceId)) {
|
|
6662
6674
|
this._createCacheItem(clazz, sourceId, loadFunction);
|
|
6663
6675
|
}
|
|
@@ -8724,6 +8736,7 @@
|
|
|
8724
8736
|
this._relation = nulRelationObject.NULL_CUSTOMER_FULL_OBJECT;
|
|
8725
8737
|
this._transactionLine = new transactionLineInfo_bo.TransactionLineInfo();
|
|
8726
8738
|
this._transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
8739
|
+
this._orderLineSets = [];
|
|
8727
8740
|
this._transactionTotal = new transactionTotal_bo.TransactionTotal();
|
|
8728
8741
|
this._baseSubs = [];
|
|
8729
8742
|
}
|
|
@@ -8844,12 +8857,25 @@
|
|
|
8844
8857
|
this._transactionInfo.headerInfoStatus.hasOwnProperty('isFullyDelivered') &&
|
|
8845
8858
|
this._transactionInfo.headerInfoStatus.isFullyDelivered;
|
|
8846
8859
|
this._checkHeaderReadonly();
|
|
8860
|
+
if (this._transactionInfo.orderLineSets) {
|
|
8861
|
+
this.orderLineSets = this._transactionInfo.orderLineSets;
|
|
8862
|
+
}
|
|
8847
8863
|
this.transactionInfoSet();
|
|
8848
8864
|
}
|
|
8849
8865
|
},
|
|
8850
8866
|
enumerable: false,
|
|
8851
8867
|
configurable: true
|
|
8852
8868
|
});
|
|
8869
|
+
Object.defineProperty(TransactionBaseComponent.prototype, "orderLineSets", {
|
|
8870
|
+
get: function () {
|
|
8871
|
+
return this._orderLineSets;
|
|
8872
|
+
},
|
|
8873
|
+
set: function (value) {
|
|
8874
|
+
this._orderLineSets = value;
|
|
8875
|
+
},
|
|
8876
|
+
enumerable: false,
|
|
8877
|
+
configurable: true
|
|
8878
|
+
});
|
|
8853
8879
|
Object.defineProperty(TransactionBaseComponent.prototype, "transactionTotal", {
|
|
8854
8880
|
get: function () {
|
|
8855
8881
|
return this._transactionTotal;
|
|
@@ -8971,6 +8997,8 @@
|
|
|
8971
8997
|
// overridden by descendents
|
|
8972
8998
|
TransactionBaseComponent.prototype.transactionInfoSet = function () {
|
|
8973
8999
|
};
|
|
9000
|
+
TransactionBaseComponent.prototype.orderLineSetsSet = function () {
|
|
9001
|
+
};
|
|
8974
9002
|
TransactionBaseComponent.prototype.addLineTooltipMessage = function (message) {
|
|
8975
9003
|
if (this.lineTooltipMessages.indexOf(message) < 0) {
|
|
8976
9004
|
this.lineTooltipMessages.push("<i>" + message + "</i>");
|
|
@@ -9048,6 +9076,7 @@
|
|
|
9048
9076
|
transaction: [{ type: i0.Input }],
|
|
9049
9077
|
transactionLine: [{ type: i0.Input }],
|
|
9050
9078
|
transactionInfo: [{ type: i0.Input }],
|
|
9079
|
+
orderLineSets: [{ type: i0.Input }],
|
|
9051
9080
|
transactionTotal: [{ type: i0.Input }],
|
|
9052
9081
|
relation: [{ type: i0.Input }],
|
|
9053
9082
|
lockAndSave: [{ type: i0.Input }],
|
|
@@ -9404,14 +9433,16 @@
|
|
|
9404
9433
|
this._boFactory = new businessObjectFactory.BusinessObjectFactory();
|
|
9405
9434
|
}
|
|
9406
9435
|
RelationService.prototype.getCustomerFullObject = function (relationNo) {
|
|
9407
|
-
|
|
9408
|
-
return this.
|
|
9409
|
-
|
|
9436
|
+
var _this = this;
|
|
9437
|
+
return this._selectSingleCacheService.requestCache(customerFullObject_bo.CustomerFullObject, relationNo, function () {
|
|
9438
|
+
return _this._adapterService.getCustomerFullObject(relationNo);
|
|
9439
|
+
}).getValue();
|
|
9410
9440
|
};
|
|
9411
9441
|
RelationService.prototype.getSupplierFullObject = function (relationNo) {
|
|
9412
|
-
|
|
9413
|
-
return this.
|
|
9414
|
-
|
|
9442
|
+
var _this = this;
|
|
9443
|
+
return this._selectSingleCacheService.requestCache(supplierFullObject_bo.SupplierFullObject, relationNo, function () {
|
|
9444
|
+
return _this._adapterService.getSupplierFullObject(relationNo);
|
|
9445
|
+
}).getValue();
|
|
9415
9446
|
};
|
|
9416
9447
|
RelationService.prototype.insertAddress = function (address) {
|
|
9417
9448
|
return this._adapterService.insertAddress(address);
|
|
@@ -9420,22 +9451,34 @@
|
|
|
9420
9451
|
return this._adapterService.updateAddress(address);
|
|
9421
9452
|
};
|
|
9422
9453
|
RelationService.prototype.insertCustomer = function (relation) {
|
|
9423
|
-
|
|
9454
|
+
var _this = this;
|
|
9455
|
+
return this._selectSingleCacheService.requestCache(customerFullObject_bo.CustomerFullObject, relation.relationNumber, function () {
|
|
9456
|
+
return _this._adapterService.insertCustomer(relation);
|
|
9457
|
+
}, true).getValue();
|
|
9424
9458
|
};
|
|
9425
9459
|
RelationService.prototype.updateCustomer = function (relation) {
|
|
9426
9460
|
return __awaiter(this, void 0, void 0, function () {
|
|
9461
|
+
var _this = this;
|
|
9427
9462
|
return __generator(this, function (_a) {
|
|
9428
|
-
return [2 /*return*/, this.
|
|
9463
|
+
return [2 /*return*/, this._selectSingleCacheService.requestCache(customerFullObject_bo.CustomerFullObject, relation.relationNumber, function () {
|
|
9464
|
+
return _this._adapterService.updateCustomer(relation);
|
|
9465
|
+
}, true).getValue()];
|
|
9429
9466
|
});
|
|
9430
9467
|
});
|
|
9431
9468
|
};
|
|
9432
9469
|
RelationService.prototype.insertSupplier = function (relation) {
|
|
9433
|
-
|
|
9470
|
+
var _this = this;
|
|
9471
|
+
return this._selectSingleCacheService.requestCache(supplierFullObject_bo.SupplierFullObject, relation.relationNumber, function () {
|
|
9472
|
+
return _this._adapterService.insertSupplier(relation);
|
|
9473
|
+
}, true).getValue();
|
|
9434
9474
|
};
|
|
9435
9475
|
RelationService.prototype.updateSupplier = function (relation) {
|
|
9436
9476
|
return __awaiter(this, void 0, void 0, function () {
|
|
9477
|
+
var _this = this;
|
|
9437
9478
|
return __generator(this, function (_a) {
|
|
9438
|
-
return [2 /*return*/, this.
|
|
9479
|
+
return [2 /*return*/, this._selectSingleCacheService.requestCache(supplierFullObject_bo.SupplierFullObject, relation.relationNumber, function () {
|
|
9480
|
+
return _this._adapterService.updateSupplier(relation);
|
|
9481
|
+
}, true).getValue()];
|
|
9439
9482
|
});
|
|
9440
9483
|
});
|
|
9441
9484
|
};
|
|
@@ -9832,6 +9875,22 @@
|
|
|
9832
9875
|
var clazz = this._getRelationClass(this.transactionKind);
|
|
9833
9876
|
this.relation = new clazz;
|
|
9834
9877
|
};
|
|
9878
|
+
TransactionBaseService.prototype.setRelationOnTransaction = function (relationNr, relationKind) {
|
|
9879
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9880
|
+
var relation;
|
|
9881
|
+
return __generator(this, function (_a) {
|
|
9882
|
+
switch (_a.label) {
|
|
9883
|
+
case 0: return [4 /*yield*/, this.relationService.getRelation(relationKind, relationNr)];
|
|
9884
|
+
case 1:
|
|
9885
|
+
relation = _a.sent();
|
|
9886
|
+
if (relation) {
|
|
9887
|
+
this.relation = relation;
|
|
9888
|
+
}
|
|
9889
|
+
return [2 /*return*/];
|
|
9890
|
+
}
|
|
9891
|
+
});
|
|
9892
|
+
});
|
|
9893
|
+
};
|
|
9835
9894
|
TransactionBaseService.prototype.resetCurrentTransaction = function () {
|
|
9836
9895
|
this.currentTransaction = new transactionInfoResponse_bo.TransactionInfoResponse();
|
|
9837
9896
|
this._relation = new customerFullObject_bo.CustomerFullObject();
|
|
@@ -13608,6 +13667,9 @@
|
|
|
13608
13667
|
this.service.transactionKind = this.transactionType;
|
|
13609
13668
|
this.relationType = this.service.getRelationKindFromTransactionKind();
|
|
13610
13669
|
this.service.createNewRelation();
|
|
13670
|
+
if (this.relationNr) {
|
|
13671
|
+
this.service.setRelationOnTransaction(this.relationNr, this.relationType);
|
|
13672
|
+
}
|
|
13611
13673
|
};
|
|
13612
13674
|
CheckoutComponent.prototype.ngOnDestroy = function () {
|
|
13613
13675
|
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
@@ -13777,6 +13839,7 @@
|
|
|
13777
13839
|
checkoutDelivery: [{ type: i0.ViewChild, args: ["checkoutDelivery",] }],
|
|
13778
13840
|
checkoutPayment: [{ type: i0.ViewChild, args: ["checkoutPayment",] }],
|
|
13779
13841
|
newTransaction: [{ type: i0.Input }],
|
|
13842
|
+
relationNr: [{ type: i0.Input }],
|
|
13780
13843
|
sellerId: [{ type: i0.Input }],
|
|
13781
13844
|
transactionType: [{ type: i0.Input }],
|
|
13782
13845
|
showCreateTransactionButton: [{ type: i0.Input }],
|
|
@@ -17171,8 +17234,8 @@
|
|
|
17171
17234
|
.map(function (line) {
|
|
17172
17235
|
var details = new purchaseOrderConfirmationLineDetails.PurchaseOrderConfirmationLineDetails();
|
|
17173
17236
|
details.lineNumber = line.lineNr;
|
|
17174
|
-
details.amountConfirmed = line.
|
|
17175
|
-
details.confirmedDate = _this.purchaseOrderConfirmation.confirmationDate;
|
|
17237
|
+
details.amountConfirmed = +line.purchasePortalLine.amountToBeConfirmed;
|
|
17238
|
+
details.confirmedDate = line.purchasePortalLine.deliveryDateConfirmed ? new Date(line.purchasePortalLine.deliveryDateConfirmed) : _this.purchaseOrderConfirmation.confirmationDate;
|
|
17176
17239
|
details.confirmedPrice = +line.purchasePortalLine.confirmedPrice;
|
|
17177
17240
|
return details;
|
|
17178
17241
|
});
|
|
@@ -17774,12 +17837,19 @@
|
|
|
17774
17837
|
function TransactionLineActionButtonsPopupComponent(iconCacheService) {
|
|
17775
17838
|
this.iconCacheService = iconCacheService;
|
|
17776
17839
|
this.icons = Icon;
|
|
17840
|
+
this.canReopenExternalOrder = false;
|
|
17841
|
+
this.reopenExternalOrderClick = new i0.EventEmitter();
|
|
17777
17842
|
this.addDocumentButtonClick = new i0.EventEmitter();
|
|
17778
17843
|
this.articleTextButtonClick = new i0.EventEmitter();
|
|
17779
17844
|
this.transactionTextButtonClick = new i0.EventEmitter();
|
|
17780
17845
|
this.sidePanelButtonClick = new i0.EventEmitter();
|
|
17781
17846
|
this.showClass = true;
|
|
17782
17847
|
}
|
|
17848
|
+
TransactionLineActionButtonsPopupComponent.prototype.HandleReopenExternalOrderClick = function (event) {
|
|
17849
|
+
event.preventDefault();
|
|
17850
|
+
event.stopPropagation();
|
|
17851
|
+
this.reopenExternalOrderClick.emit();
|
|
17852
|
+
};
|
|
17783
17853
|
TransactionLineActionButtonsPopupComponent.prototype.handleAddDocumentButtonClick = function (event) {
|
|
17784
17854
|
event.preventDefault();
|
|
17785
17855
|
event.stopPropagation();
|
|
@@ -17805,7 +17875,7 @@
|
|
|
17805
17875
|
TransactionLineActionButtonsPopupComponent.decorators = [
|
|
17806
17876
|
{ type: i0.Component, args: [{
|
|
17807
17877
|
selector: "co-transaction-line-action-buttons-popup",
|
|
17808
|
-
template: "\n <div class=\"transaction-line-action-buttons-popup-wrapper\" [overlay]=\"parentForOverlay\" [rightAlign]=\"true\">\n <div class=\"action-button-wrapper\" (click)=\"handleAddDocumentButtonClick($event)\" [screenConfigurationObject]=\"configNames?.addDocumentBtn\" screenConfigNativeElement>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.Attachments)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'ADD_DOCUMENT' | localize\"></div>\n </div>\n <div class=\"action-button-wrapper\" (click)=\"handleArticleTextButtonClick($event)\" [screenConfigurationObject]=\"configNames?.addProductTextBtn\" screenConfigNativeElement>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.TextSizeSolid)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"></div>\n </div>\n <div class=\"action-button-wrapper\" (click)=\"handleTransactionTextButtonClick($event)\" [screenConfigurationObject]=\"configNames?.addLineTextBtn\" screenConfigNativeElement>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'ORDER_TEXT_LINE' | localize\"></div>\n </div>\n <div class=\"action-button-wrapper\" (click)=\"handleSidePanelButtonClick($event)\" [screenConfigurationObject]=\"configNames?.sidePanelBtn\" screenConfigNativeElement>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.ObjectIntersectSolid)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'SIDE_PANEL' | localize\"></div>\n </div>\n </div>\n ",
|
|
17878
|
+
template: "\n <div class=\"transaction-line-action-buttons-popup-wrapper\" [overlay]=\"parentForOverlay\" [rightAlign]=\"true\">\n <div class=\"action-button-wrapper\" *ngIf=\"canReopenExternalOrder\" (click)=\"HandleReopenExternalOrderClick($event)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.DetailView)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'REOPEN_EXTERNAL_ORDER' | localize\"></div>\n </div>\n <div class=\"action-button-wrapper\" (click)=\"handleAddDocumentButtonClick($event)\" [screenConfigurationObject]=\"configNames?.addDocumentBtn\" screenConfigNativeElement>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.Attachments)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'ADD_DOCUMENT' | localize\"></div>\n </div>\n <div class=\"action-button-wrapper\" (click)=\"handleArticleTextButtonClick($event)\" [screenConfigurationObject]=\"configNames?.addProductTextBtn\" screenConfigNativeElement>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.TextSizeSolid)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"></div>\n </div>\n <div class=\"action-button-wrapper\" (click)=\"handleTransactionTextButtonClick($event)\" [screenConfigurationObject]=\"configNames?.addLineTextBtn\" screenConfigNativeElement>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'ORDER_TEXT_LINE' | localize\"></div>\n </div>\n <div class=\"action-button-wrapper\" (click)=\"handleSidePanelButtonClick($event)\" [screenConfigurationObject]=\"configNames?.sidePanelBtn\" screenConfigNativeElement>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.ObjectIntersectSolid)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'SIDE_PANEL' | localize\"></div>\n </div>\n </div>\n ",
|
|
17809
17879
|
providers: [{
|
|
17810
17880
|
provide: corecomponents_v12.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
17811
17881
|
useExisting: i0.forwardRef(function () { return TransactionLineActionButtonsPopupComponent; })
|
|
@@ -17820,6 +17890,8 @@
|
|
|
17820
17890
|
TransactionLineActionButtonsPopupComponent.propDecorators = {
|
|
17821
17891
|
configNames: [{ type: i0.Input }],
|
|
17822
17892
|
parentForOverlay: [{ type: i0.Input }],
|
|
17893
|
+
canReopenExternalOrder: [{ type: i0.Input }],
|
|
17894
|
+
reopenExternalOrderClick: [{ type: i0.Output }],
|
|
17823
17895
|
addDocumentButtonClick: [{ type: i0.Output }],
|
|
17824
17896
|
articleTextButtonClick: [{ type: i0.Output }],
|
|
17825
17897
|
transactionTextButtonClick: [{ type: i0.Output }],
|
|
@@ -17855,6 +17927,16 @@
|
|
|
17855
17927
|
enumerable: false,
|
|
17856
17928
|
configurable: true
|
|
17857
17929
|
});
|
|
17930
|
+
Object.defineProperty(TransactionLineActionButtonsComponent.prototype, "orderLineSets", {
|
|
17931
|
+
get: function () {
|
|
17932
|
+
return this._orderLineSets;
|
|
17933
|
+
},
|
|
17934
|
+
set: function (value) {
|
|
17935
|
+
this._orderLineSets = value;
|
|
17936
|
+
},
|
|
17937
|
+
enumerable: false,
|
|
17938
|
+
configurable: true
|
|
17939
|
+
});
|
|
17858
17940
|
TransactionLineActionButtonsComponent.prototype.showClass = function () {
|
|
17859
17941
|
return true;
|
|
17860
17942
|
};
|
|
@@ -17870,6 +17952,9 @@
|
|
|
17870
17952
|
this._hidePopup();
|
|
17871
17953
|
}
|
|
17872
17954
|
};
|
|
17955
|
+
TransactionLineActionButtonsComponent.prototype.reopenExternalOrderClick = function () {
|
|
17956
|
+
this._eventService.reopenExternalOrderClicked.next(this._orderLineSet);
|
|
17957
|
+
};
|
|
17873
17958
|
TransactionLineActionButtonsComponent.prototype.handleAddDocumentButtonClick = function () {
|
|
17874
17959
|
this._eventService.addDocumentToLineClicked.next(this.transactionLine);
|
|
17875
17960
|
};
|
|
@@ -17891,7 +17976,9 @@
|
|
|
17891
17976
|
TransactionLineActionButtonsComponent.prototype._showPopup = function () {
|
|
17892
17977
|
var _this = this;
|
|
17893
17978
|
this.showActionButtons = true;
|
|
17894
|
-
|
|
17979
|
+
var canReopenExternalOrder = this._isReopenableExternalCatalogLine();
|
|
17980
|
+
this._actionButtonsPopupComponentRef = this._overlayService.createComponent(TransactionLineActionButtonsPopupComponent, { parentForOverlay: this.elementRef, configNames: this.configNames, canReopenExternalOrder: canReopenExternalOrder }, {
|
|
17981
|
+
reopenExternalOrderClick: function () { return _this.reopenExternalOrderClick(); },
|
|
17895
17982
|
addDocumentButtonClick: function () { return _this.handleAddDocumentButtonClick(); },
|
|
17896
17983
|
articleTextButtonClick: function () { return _this.handleArticleText(); },
|
|
17897
17984
|
transactionTextButtonClick: function () { return _this.handleTransactionText(); },
|
|
@@ -17902,6 +17989,19 @@
|
|
|
17902
17989
|
this.showActionButtons = false;
|
|
17903
17990
|
this._overlayService.removeComponent(this._actionButtonsPopupComponentRef);
|
|
17904
17991
|
};
|
|
17992
|
+
TransactionLineActionButtonsComponent.prototype._isReopenableExternalCatalogLine = function () {
|
|
17993
|
+
var _this = this;
|
|
17994
|
+
if (!this.transactionLine.orderLineSetCode) {
|
|
17995
|
+
return false;
|
|
17996
|
+
}
|
|
17997
|
+
this._orderLineSet = this.orderLineSets.find(function (o) { return o.orderLineSetCode === _this.transactionLine.orderLineSetCode; });
|
|
17998
|
+
if (!this._orderLineSet) {
|
|
17999
|
+
return false;
|
|
18000
|
+
}
|
|
18001
|
+
if (this._orderLineSet.aupOrderNr || this._orderLineSet.vdProjectId || this._orderLineSet.wtProjectNr) {
|
|
18002
|
+
return true;
|
|
18003
|
+
}
|
|
18004
|
+
};
|
|
17905
18005
|
return TransactionLineActionButtonsComponent;
|
|
17906
18006
|
}());
|
|
17907
18007
|
TransactionLineActionButtonsComponent.decorators = [
|
|
@@ -17925,6 +18025,7 @@
|
|
|
17925
18025
|
TransactionLineActionButtonsComponent.propDecorators = {
|
|
17926
18026
|
configNames: [{ type: i0.Input }],
|
|
17927
18027
|
transactionLine: [{ type: i0.Input }],
|
|
18028
|
+
orderLineSets: [{ type: i0.Input }],
|
|
17928
18029
|
waitingForUserAction: [{ type: i0.Output }],
|
|
17929
18030
|
transactionArticleTextOverviewButtonClicked: [{ type: i0.Output }],
|
|
17930
18031
|
transactionTextButtonClicked: [{ type: i0.Output }],
|
|
@@ -18913,6 +19014,9 @@
|
|
|
18913
19014
|
}
|
|
18914
19015
|
TransactionPurchaseOrderLineBaseComponent.prototype.ngOnInit = function () {
|
|
18915
19016
|
var _this = this;
|
|
19017
|
+
if (this.transactionLine.purchasePortalLine.amountToBeConfirmed === null || this.transactionLine.purchasePortalLine.amountToBeConfirmed === undefined) {
|
|
19018
|
+
this.transactionLine.purchasePortalLine.amountToBeConfirmed = this.transactionLine.amount.toString();
|
|
19019
|
+
}
|
|
18916
19020
|
this._subs.push(this.transactionEventService.selectAllSalesOrderLinesForPurchase.subscribe(function (value) {
|
|
18917
19021
|
_this.selected = value && _this.showCheckboxForLine;
|
|
18918
19022
|
_this.detectChanges();
|
|
@@ -18997,7 +19101,7 @@
|
|
|
18997
19101
|
TransactionPurchaseOrderLineComponent.decorators = [
|
|
18998
19102
|
{ type: i0.Component, args: [{
|
|
18999
19103
|
selector: "co-transaction-purchase-order-line",
|
|
19000
|
-
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"selected\"\n (click)=\"handleOpenSidePanel($event)\"\n (checkboxValueChanged)=\"selected = $event\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"transaction-line-content-wrapper\">\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 class=\"transaction-line-content\" data-action=\"openSidePanel\">\n <co-input-text\n [screenConfigurationObject]=\"cfgNames.LineAmount\"\n [model]=\"transactionLine.amount\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-input-text class=\"transaction-input-right-align\"\n [screenConfigurationObject]=\"cfgNames.LineGrossOrderPrice\"\n [model]=\"transactionLine.purchasePortalLine.grossOrderPrice | coCurrency\"\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 <co-input-text class=\"transaction-input-right-align\"\n [screenConfigurationObject]=\"cfgNames.LineNetOrderPrice\"\n [model]=\"transactionLine.purchasePortalLine.netOrderPrice | coCurrency\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-line-delivery-date-button\n [screenConfigurationObject]=\"cfgNames.DeliveryDate\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-date-button>\n </div>\n <div class=\"transaction-line-content\" data-action=\"openSidePanel\">\n <co-input-text\n [screenConfigurationObject]=\"cfgNames.LineArticleNrSupplier\"\n [model]=\"transactionLine.purchasePortalLine.articleNoSupplier ? transactionLine.purchasePortalLine.articleNoSupplier : '-'\"\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularIndustryTag)\"\n [customHeight]=\"true\"\n
|
|
19104
|
+
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"selected\"\n (click)=\"handleOpenSidePanel($event)\"\n (checkboxValueChanged)=\"selected = $event\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"transaction-line-content-wrapper\">\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 class=\"transaction-line-content\" data-action=\"openSidePanel\">\n <co-input-text\n [screenConfigurationObject]=\"cfgNames.LineAmount\"\n [model]=\"transactionLine.amount\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-input-text class=\"transaction-input-right-align\"\n [screenConfigurationObject]=\"cfgNames.LineGrossOrderPrice\"\n [model]=\"transactionLine.purchasePortalLine.grossOrderPrice | coCurrency\"\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 <co-input-text class=\"transaction-input-right-align\"\n [screenConfigurationObject]=\"cfgNames.LineNetOrderPrice\"\n [model]=\"transactionLine.purchasePortalLine.netOrderPrice | coCurrency\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-line-delivery-date-button\n [screenConfigurationObject]=\"cfgNames.DeliveryDate\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-date-button>\n </div>\n <div class=\"transaction-line-content\" data-action=\"openSidePanel\">\n <co-input-text\n [screenConfigurationObject]=\"cfgNames.LineArticleNrSupplier\"\n [model]=\"transactionLine.purchasePortalLine.articleNoSupplier ? transactionLine.purchasePortalLine.articleNoSupplier : '-'\"\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularIndustryTag)\"\n [customHeight]=\"true\"\n ></co-input-text>\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 <co-input-number-picker class=\"amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineConfirmedAmount\"\n [required]=\"true\"\n [(model)]=\"transactionLine.purchasePortalLine.amountToBeConfirmed\"\n [min]=\"1\"\n [max]=\"+transactionLine.purchasePortalLine.amountOrdered\"\n [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"\n ></co-input-number-picker>\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 </co-transaction-base-line>\n ",
|
|
19001
19105
|
encapsulation: i0.ViewEncapsulation.None,
|
|
19002
19106
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
19003
19107
|
},] }
|
|
@@ -21367,7 +21471,7 @@
|
|
|
21367
21471
|
TransactionBaseLineComponent.decorators = [
|
|
21368
21472
|
{ type: i0.Component, args: [{
|
|
21369
21473
|
selector: "co-transaction-base-line",
|
|
21370
|
-
template: "\n <div class=\"transaction-base-line-wrapper\" data-action=\"openSidePanel\">\n <div class=\"transaction-base-line-section\" [class.line-start]=\"!preview\">\n <co-input-checkbox *ngIf=\"checkbox\" class=\"transaction-line-checkbox\"\n [model]=\"checkboxValue\"\n (modelChange)=\"checkboxValueChanged.emit($event)\"\n ></co-input-checkbox>\n <co-transaction-line-image-and-description\n *ngIf=\"transactionLine.isArticle\" class=\"transaction-line-image-and-description-wrapper\"\n [preview]=\"preview\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (handleDeleteLine)=\"deleteTransactionLineClick($event)\"\n (openArticleTextClicked)=\"handleOpenArticleText($event)\"\n ></co-transaction-line-image-and-description>\n </div>\n <div class=\"transaction-base-line-section\" [class.line-end]=\"!preview\" [class.preview-margin]=\"preview\">\n <ng-content></ng-content>\n <div *ngIf=\"!preview && actionButtons && showActionsButton\" class=\"transaction-line-buttons\">\n <co-transaction-line-action-buttons\n [configNames]=\"actionButtonsConfigNames\"\n [transactionLine]=\"transactionLine\"\n (waitingForUserAction)=\"waitingForUserAction.next($event)\"\n (sidePanelButtonClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-line-action-buttons>\n </div>\n </div>\n </div>\n ",
|
|
21474
|
+
template: "\n <div class=\"transaction-base-line-wrapper\" data-action=\"openSidePanel\">\n <div class=\"transaction-base-line-section\" [class.line-start]=\"!preview\">\n <co-input-checkbox *ngIf=\"checkbox\" class=\"transaction-line-checkbox\"\n [model]=\"checkboxValue\"\n (modelChange)=\"checkboxValueChanged.emit($event)\"\n ></co-input-checkbox>\n <co-transaction-line-image-and-description\n *ngIf=\"transactionLine.isArticle\" class=\"transaction-line-image-and-description-wrapper\"\n [preview]=\"preview\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (handleDeleteLine)=\"deleteTransactionLineClick($event)\"\n (openArticleTextClicked)=\"handleOpenArticleText($event)\"\n ></co-transaction-line-image-and-description>\n </div>\n <div class=\"transaction-base-line-section\" [class.line-end]=\"!preview\" [class.preview-margin]=\"preview\">\n <ng-content></ng-content>\n <div *ngIf=\"!preview && actionButtons && showActionsButton\" class=\"transaction-line-buttons\">\n <co-transaction-line-action-buttons\n [configNames]=\"actionButtonsConfigNames\"\n [transactionLine]=\"transactionLine\"\n [orderLineSets]=\"orderLineSets\"\n (waitingForUserAction)=\"waitingForUserAction.next($event)\"\n (sidePanelButtonClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-line-action-buttons>\n </div>\n </div>\n </div>\n ",
|
|
21371
21475
|
encapsulation: i0.ViewEncapsulation.None,
|
|
21372
21476
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
21373
21477
|
},] }
|
|
@@ -22436,7 +22540,7 @@
|
|
|
22436
22540
|
TransactionLineDeliveryDateButtonComponent.decorators = [
|
|
22437
22541
|
{ type: i0.Component, args: [{
|
|
22438
22542
|
selector: "co-transaction-line-delivery-date-button",
|
|
22439
|
-
template: "\n <co-transaction-button\n #parentComponent\n class=\"big center-align\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(icons.SharpLightTruckMovingClock)\"\n [label]=\"transactionLine.deliveryDate | date:'d MMM yyyy'\"\n [rightIconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"\n (click)=\"handleShowHideClick()\"\n
|
|
22543
|
+
template: "\n <co-transaction-button\n #parentComponent\n class=\"big center-align\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(icons.SharpLightTruckMovingClock)\"\n [label]=\"transactionLine.deliveryDate | date:'d MMM yyyy'\"\n [rightIconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"\n (click)=\"handleShowHideClick()\"\n ></co-transaction-button>\n ",
|
|
22440
22544
|
providers: [
|
|
22441
22545
|
corecomponents_v12.OverlayService,
|
|
22442
22546
|
{
|
|
@@ -24599,11 +24703,12 @@
|
|
|
24599
24703
|
]; };
|
|
24600
24704
|
|
|
24601
24705
|
var PaymentComponent = /** @class */ (function () {
|
|
24602
|
-
function PaymentComponent(_transactionService, _sharedService, _paymentService, _transactionEventService) {
|
|
24706
|
+
function PaymentComponent(_transactionService, _sharedService, _paymentService, _transactionEventService, iconCacheService) {
|
|
24603
24707
|
this._transactionService = _transactionService;
|
|
24604
24708
|
this._sharedService = _sharedService;
|
|
24605
24709
|
this._paymentService = _paymentService;
|
|
24606
24710
|
this._transactionEventService = _transactionEventService;
|
|
24711
|
+
this.iconCacheService = iconCacheService;
|
|
24607
24712
|
this.icons = Icon;
|
|
24608
24713
|
this.updateDepositAmount = true;
|
|
24609
24714
|
this.payed = new i0.EventEmitter();
|
|
@@ -24616,6 +24721,7 @@
|
|
|
24616
24721
|
this.showPspQrCode = false;
|
|
24617
24722
|
this.showLoader = true;
|
|
24618
24723
|
this.amountToPay = 0;
|
|
24724
|
+
this.depositAmount = 0;
|
|
24619
24725
|
this.statusMessage = "";
|
|
24620
24726
|
this._amount = 0;
|
|
24621
24727
|
this._paymentStatusPollIntervalMs = 5000;
|
|
@@ -24733,6 +24839,7 @@
|
|
|
24733
24839
|
info = _a.sent();
|
|
24734
24840
|
if (info) {
|
|
24735
24841
|
this.amountToPay = info.depositRemainderAmount;
|
|
24842
|
+
this.depositAmount = info.depositAmount;
|
|
24736
24843
|
}
|
|
24737
24844
|
return [3 /*break*/, 3];
|
|
24738
24845
|
case 2:
|
|
@@ -24872,7 +24979,7 @@
|
|
|
24872
24979
|
PaymentComponent.decorators = [
|
|
24873
24980
|
{ type: i0.Component, args: [{
|
|
24874
24981
|
selector: "co-payment",
|
|
24875
|
-
template: "\n <div class=\"payment-wrapper\">\n <div class=\"payment-methods-
|
|
24982
|
+
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 </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]=\"depositAmount === 0 ? depositAmount : (depositAmount | coCurrency)\"></span>\n </div>\n <div class=\"payment-input-button-wrapper\">\n <div class=\"payment-input-button\">\n <co-payment-to-pay [amountToPay]=\"amountToPay\"></co-payment-to-pay>\n <div class=\"payment-to-pay-button\">\n <co-button [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\" (click)=\"handlePayment()\" [disabled]=\"amountToPay === 0\"></co-button>\n </div>\n </div>\n <div class=\"payment-error-message\" *ngIf=\"statusMessage\" [textContent]=\"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\"\n [showValue]=\"false\"\n [emitModelChangeOnEnter]=\"false\"\n [model]=\"amountToPay\"\n (modelChange)=\"handleKeyPadModelChange($event)\"\n (enterClick)=\"handlePayment()\"\n ></co-key-pad>\n </div>\n </div>\n <co-dialog *ngIf=\"showPspQrCode\" (closeClick)=\"showPspQrCode = false\">\n <co-payment-qr-code\n [qrCodeImage]=\"qrCodeImage\"\n ></co-payment-qr-code>\n </co-dialog>\n ",
|
|
24876
24983
|
encapsulation: i0.ViewEncapsulation.None
|
|
24877
24984
|
},] }
|
|
24878
24985
|
];
|
|
@@ -24880,7 +24987,8 @@
|
|
|
24880
24987
|
{ type: TransactionService },
|
|
24881
24988
|
{ type: SharedService },
|
|
24882
24989
|
{ type: PaymentService },
|
|
24883
|
-
{ type: TransactionEventService }
|
|
24990
|
+
{ type: TransactionEventService },
|
|
24991
|
+
{ type: IconCacheService }
|
|
24884
24992
|
]; };
|
|
24885
24993
|
PaymentComponent.propDecorators = {
|
|
24886
24994
|
transId: [{ type: i0.Input }],
|
|
@@ -25037,7 +25145,7 @@
|
|
|
25037
25145
|
DepositPaymentComponent.decorators = [
|
|
25038
25146
|
{ type: i0.Component, args: [{
|
|
25039
25147
|
selector: "co-deposit-payment",
|
|
25040
|
-
template: "\n <div class=\"down-payment-payments-title\" [textContent]=\"'PAYMENTS_MADE' | localize\" *ngIf=\"showTitle\"></div>\n <div class=\"down-payment-payments-wrapper\">\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <div class=\"down-payment-payments\" *ngFor=\"let payment of depositPayments\">\n <co-payment-tile\n [image]=\"payment.paymentMethod?.image\"\n [description]=\"payment.paymentMethod?.payment.description\"\n ></co-payment-tile>\n <div class=\"
|
|
25148
|
+
template: "\n <div class=\"down-payment-payments-title\" [textContent]=\"'PAYMENTS_MADE' | localize\" *ngIf=\"showTitle\"></div>\n <div class=\"down-payment-payments-wrapper\">\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <div class=\"down-payment-payments\" *ngFor=\"let payment of depositPayments\">\n <co-payment-tile\n [image]=\"payment.paymentMethod?.image\"\n [description]=\"payment.paymentMethod?.payment.description\"\n ></co-payment-tile>\n <div class=\"down-payment-date-wrapper\">\n <div class=\"down-payment-date\" [textContent]=\"payment.depositPayment?.date | date:'d MMMM yyyy'\"></div>\n </div>\n <div class=\"down-payment-amount-wrapper\">\n <div class=\"down-payment-amount\" [textContent]=\"payment.depositPayment?.depositPaymentAmount | coCurrency\"></div>\n </div>\n </div>\n </div>\n ",
|
|
25041
25149
|
encapsulation: i0.ViewEncapsulation.None
|
|
25042
25150
|
},] }
|
|
25043
25151
|
];
|
|
@@ -25136,7 +25244,8 @@
|
|
|
25136
25244
|
PaymentQrCodeModule,
|
|
25137
25245
|
DepositPaymentModule,
|
|
25138
25246
|
LoaderModule,
|
|
25139
|
-
PaymentToPayModule
|
|
25247
|
+
PaymentToPayModule,
|
|
25248
|
+
corecomponents_v12.IconModule
|
|
25140
25249
|
],
|
|
25141
25250
|
declarations: [
|
|
25142
25251
|
PaymentComponent
|
|
@@ -29634,6 +29743,9 @@
|
|
|
29634
29743
|
// Adjust the width condition as needed
|
|
29635
29744
|
return this.screenWidth < 1280; // Show the div if screen width is smaller than 1280px
|
|
29636
29745
|
};
|
|
29746
|
+
TransactionComponent.prototype.addExternalOrderLines = function (request) {
|
|
29747
|
+
this.service.addExternalCatalogArticle(request);
|
|
29748
|
+
};
|
|
29637
29749
|
TransactionComponent.prototype._getTransaction = function () {
|
|
29638
29750
|
var _this = this;
|
|
29639
29751
|
if (this.transactionNr && this.transactionKind) {
|
|
@@ -30012,7 +30124,7 @@
|
|
|
30012
30124
|
TransactionHeaderPaymentComponent.decorators = [
|
|
30013
30125
|
{ type: i0.Component, args: [{
|
|
30014
30126
|
selector: "co-transaction-header-payment",
|
|
30015
|
-
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 *ngIf=\"showRemainingPayment\"\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\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentAvatarHeader\" screenConfigNativeElement>\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\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentAmountHeader\" screenConfigNativeElement>\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 [screenConfigurationObject]=\"cfgNames.HeaderPaymentAmountHeader\"\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\">\n <div class=\"transaction-header-icon\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentAvatarHeader\" screenConfigNativeElement>\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\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentAmountHeader\" screenConfigNativeElement>\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 [screenConfigurationObject]=\"cfgNames.HeaderPaymentAmountHeader\"\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\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentPercentageHeader\" screenConfigNativeElement>\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'%' | localize\"></div>\n <co-transaction-header-deposit-percentage class=\"transaction-header-deposit\"\n [screenConfigurationObject]=\"cfgNames.HeaderPaymentPercentageHeader\"\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)\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentPaymentHeader\" screenConfigNativeElement>\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 [activeCategoryDescription]=\"'PAYMENT_INFORMATION'\"\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\" [
|
|
30127
|
+
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 *ngIf=\"showRemainingPayment\"\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\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentAvatarHeader\" screenConfigNativeElement>\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\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentAmountHeader\" screenConfigNativeElement>\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 [screenConfigurationObject]=\"cfgNames.HeaderPaymentAmountHeader\"\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\">\n <div class=\"transaction-header-icon\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentAvatarHeader\" screenConfigNativeElement>\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\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentAmountHeader\" screenConfigNativeElement>\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 [screenConfigurationObject]=\"cfgNames.HeaderPaymentAmountHeader\"\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\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentPercentageHeader\" screenConfigNativeElement>\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'%' | localize\"></div>\n <co-transaction-header-deposit-percentage class=\"transaction-header-deposit\"\n [screenConfigurationObject]=\"cfgNames.HeaderPaymentPercentageHeader\"\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)\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentPaymentHeader\" screenConfigNativeElement>\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 [activeCategoryDescription]=\"'PAYMENT_INFORMATION'\"\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\" [modal]=\"true\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showPaymentDialog\" (closeClick)=\"showPaymentDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"payment-wrapper-popup-title\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.CreditCardRegularCheck)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"'PAYMENT_METHOD' | localize\"></div>\n </div>\n </ng-template>\n <co-payment\n [transId]=\"transactionInfo.id\"\n [branch]=\"transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"showRemainingPayment ? remainingToPay : toPay\"\n [updateDepositAmount]=\"!showRemainingPayment\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
|
|
30016
30128
|
providers: [{
|
|
30017
30129
|
provide: corecomponents_v12.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
30018
30130
|
useExisting: i0.forwardRef(function () { return TransactionHeaderPaymentComponent; })
|
|
@@ -31876,8 +31988,6 @@
|
|
|
31876
31988
|
existingBatch.docAmount = this.docDeliveryBatch.docAmount;
|
|
31877
31989
|
existingBatch.docDate = this.docDeliveryBatch.docDate;
|
|
31878
31990
|
existingBatch.reference = this.docDeliveryBatch.reference;
|
|
31879
|
-
existingBatch.docAmountOrg = this.docDeliveryBatch.docAmountOrg;
|
|
31880
|
-
existingBatch.docDateOrg = this.docDeliveryBatch.docDateOrg;
|
|
31881
31991
|
}
|
|
31882
31992
|
else { // or create a new one
|
|
31883
31993
|
this.docDeliveryBatch.deleteLine = 'F';
|
|
@@ -31919,7 +32029,7 @@
|
|
|
31919
32029
|
};
|
|
31920
32030
|
TransactionLinePurchaseConfirmationComponent.prototype.handleSelectHistoryRow = function (row) {
|
|
31921
32031
|
this.docDeliveryBatch = row;
|
|
31922
|
-
|
|
32032
|
+
this.docDeliveryBatch.docDate = new Date(row.docDate);
|
|
31923
32033
|
};
|
|
31924
32034
|
TransactionLinePurchaseConfirmationComponent.prototype.handleCancelClick = function () {
|
|
31925
32035
|
this._initNewDocDeliveryBatch();
|
|
@@ -31932,7 +32042,9 @@
|
|
|
31932
32042
|
};
|
|
31933
32043
|
TransactionLinePurchaseConfirmationComponent.prototype._initNewDocDeliveryBatch = function () {
|
|
31934
32044
|
this.docDeliveryBatch = new docDeliveryBatch_bo.DocDeliveryBatch();
|
|
31935
|
-
this.docDeliveryBatch.docAmount =
|
|
32045
|
+
this.docDeliveryBatch.docAmount = this.transactionLine.purchasePortalLine.docBatchArray.length === 0
|
|
32046
|
+
? +this.transactionLine.amount
|
|
32047
|
+
: +this.transactionLine.purchasePortalLine.amountOrdered;
|
|
31936
32048
|
this.docDeliveryBatch.confirmedPrice = +this.transactionLine.purchasePortalLine.netOrderPrice;
|
|
31937
32049
|
};
|
|
31938
32050
|
return TransactionLinePurchaseConfirmationComponent;
|
|
@@ -34886,19 +34998,49 @@
|
|
|
34886
34998
|
_this._overlayService = _overlayService;
|
|
34887
34999
|
_this._elementRef = _elementRef;
|
|
34888
35000
|
_this.icons = Icon;
|
|
35001
|
+
_this.showCalender = false;
|
|
34889
35002
|
return _this;
|
|
34890
35003
|
}
|
|
34891
35004
|
TransactionLineSupplierDeliveryDateButtonComponent.prototype.showClass = function () {
|
|
34892
35005
|
return true;
|
|
34893
35006
|
};
|
|
34894
|
-
TransactionLineSupplierDeliveryDateButtonComponent.prototype.
|
|
35007
|
+
TransactionLineSupplierDeliveryDateButtonComponent.prototype.handleShowHideClick = function () {
|
|
35008
|
+
this.showCalender = !this.showCalender;
|
|
35009
|
+
if (this.showCalender) {
|
|
35010
|
+
this._showPopup();
|
|
35011
|
+
}
|
|
35012
|
+
else {
|
|
35013
|
+
this._hidePopup();
|
|
35014
|
+
}
|
|
35015
|
+
};
|
|
35016
|
+
TransactionLineSupplierDeliveryDateButtonComponent.prototype._showPopup = function () {
|
|
35017
|
+
var _this = this;
|
|
35018
|
+
this.showCalender = true;
|
|
35019
|
+
this._calendarPopupComponentRef = this._overlayService.createComponent(corecomponents_v12.CalendarComponent, {
|
|
35020
|
+
parentForOverlay: this.parentComponent,
|
|
35021
|
+
selectedDate: new Date(this.transactionLine.purchasePortalLine.deliveryDateConfirmed
|
|
35022
|
+
? this.transactionLine.purchasePortalLine.deliveryDateConfirmed
|
|
35023
|
+
: new Date())
|
|
35024
|
+
}, {
|
|
35025
|
+
dateSelected: function (date) { return _this._handleDateChanged(date); },
|
|
35026
|
+
clickedOutside: function () { return _this.handleShowHideClick(); }
|
|
35027
|
+
});
|
|
35028
|
+
};
|
|
35029
|
+
TransactionLineSupplierDeliveryDateButtonComponent.prototype._handleDateChanged = function (date) {
|
|
35030
|
+
this.transactionLine.purchasePortalLine.deliveryDateConfirmed = date.toDateString();
|
|
35031
|
+
this.handleShowHideClick();
|
|
35032
|
+
this.detectChanges();
|
|
35033
|
+
};
|
|
35034
|
+
TransactionLineSupplierDeliveryDateButtonComponent.prototype._hidePopup = function () {
|
|
35035
|
+
this.showCalender = false;
|
|
35036
|
+
this._overlayService.removeComponent(this._calendarPopupComponentRef);
|
|
34895
35037
|
};
|
|
34896
35038
|
return TransactionLineSupplierDeliveryDateButtonComponent;
|
|
34897
35039
|
}(TransactionBaseComponent));
|
|
34898
35040
|
TransactionLineSupplierDeliveryDateButtonComponent.decorators = [
|
|
34899
35041
|
{ type: i0.Component, args: [{
|
|
34900
35042
|
selector: 'co-transaction-line-supplier-delivery-date-button',
|
|
34901
|
-
template: "\n <co-transaction-button class=\"big center-align\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(icons.RegularIndustryClock)\"\n [label]=\"transactionLine.purchasePortalLine.deliveryDateConfirmed | date:'d MMM yyyy'\"\n [rightIconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"\n (click)=\"
|
|
35043
|
+
template: "\n <co-transaction-button #parentComponent class=\"big center-align\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(icons.RegularIndustryClock)\"\n [label]=\"transactionLine.purchasePortalLine.deliveryDateConfirmed | date:'d MMM yyyy'\"\n [rightIconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"\n (click)=\"handleShowHideClick()\"\n ></co-transaction-button>\n ",
|
|
34902
35044
|
providers: [
|
|
34903
35045
|
corecomponents_v12.OverlayService,
|
|
34904
35046
|
{
|
|
@@ -34921,6 +35063,7 @@
|
|
|
34921
35063
|
{ type: i0.ElementRef }
|
|
34922
35064
|
]; };
|
|
34923
35065
|
TransactionLineSupplierDeliveryDateButtonComponent.propDecorators = {
|
|
35066
|
+
parentComponent: [{ type: i0.ViewChild, args: ['parentComponent', { read: i0.ElementRef },] }],
|
|
34924
35067
|
showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-line-supplier-delivery-date-button',] }]
|
|
34925
35068
|
};
|
|
34926
35069
|
|