@colijnit/transaction 257.1.62 → 257.1.64
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 +40 -30
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.component.js +50 -46
- package/esm2015/lib/component/transaction-header/transaction-header-customer-portal/transaction-header-customer-portal.component.js +2 -1
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-delivery.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-drop-shipment-button.component.js +30 -25
- package/esm2015/lib/component/transaction-search/transaction-batch-process-dialog/transaction-batch-process-dialog.component.js +2 -2
- package/esm2015/lib/service/transaction-base.service.js +3 -3
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +83 -73
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.component.d.ts +2 -2
- package/lib/component/transaction-header/transaction-header-customer-portal/style/_layout.scss +4 -1
- package/package.json +1 -1
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
function Version() {
|
|
34
34
|
this.name = "@colijnit/transaction";
|
|
35
35
|
this.description = "Colijn IT transaction package";
|
|
36
|
-
this.symVer = "257.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "257.1.64";
|
|
37
|
+
this.publishDate = "02/06/2025, 18:22:24";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -15373,7 +15373,7 @@
|
|
|
15373
15373
|
return [4 /*yield*/, this.connector.getTransactionById(transactionId)];
|
|
15374
15374
|
case 1:
|
|
15375
15375
|
transactionInfoResponse = _a.sent();
|
|
15376
|
-
if (!transactionInfoResponse.isSuccess) return [3 /*break*/, 3];
|
|
15376
|
+
if (!(transactionInfoResponse && transactionInfoResponse.isSuccess)) return [3 /*break*/, 3];
|
|
15377
15377
|
return [4 /*yield*/, this.rememberCurrentTransaction(transactionInfoResponse)];
|
|
15378
15378
|
case 2:
|
|
15379
15379
|
_a.sent();
|
|
@@ -15402,7 +15402,7 @@
|
|
|
15402
15402
|
case 1:
|
|
15403
15403
|
transactionInfoResponse = _a.sent();
|
|
15404
15404
|
finished = true;
|
|
15405
|
-
if (!transactionInfoResponse.isSuccess) return [3 /*break*/, 3];
|
|
15405
|
+
if (!(transactionInfoResponse && transactionInfoResponse.isSuccess)) return [3 /*break*/, 3];
|
|
15406
15406
|
return [4 /*yield*/, this.rememberCurrentTransaction(transactionInfoResponse)];
|
|
15407
15407
|
case 2:
|
|
15408
15408
|
_a.sent();
|
|
@@ -33707,33 +33707,44 @@
|
|
|
33707
33707
|
};
|
|
33708
33708
|
DialogTransactionLineWarehouseComponent.prototype.handleOkClick = function () {
|
|
33709
33709
|
return __awaiter(this, void 0, void 0, function () {
|
|
33710
|
-
var warehouseUpdateSuccess,
|
|
33710
|
+
var warehouseUpdateSuccess, oldWarehouse_1, oldSourceWarehouse, sourceSuccess;
|
|
33711
|
+
var _this = this;
|
|
33711
33712
|
return __generator(this, function (_a) {
|
|
33712
33713
|
switch (_a.label) {
|
|
33713
33714
|
case 0:
|
|
33714
33715
|
warehouseUpdateSuccess = true;
|
|
33715
|
-
if (
|
|
33716
|
-
|
|
33717
|
-
|
|
33718
|
-
|
|
33719
|
-
|
|
33720
|
-
|
|
33721
|
-
|
|
33722
|
-
|
|
33716
|
+
if (this.transactionLine.warehouseNumber !== this.warehouse) {
|
|
33717
|
+
oldWarehouse_1 = this.transactionLine.warehouseNumber;
|
|
33718
|
+
this.transactionService.tryToLockTransaction(this.transactionInfo.id, this.transactionInfo.version).then(function (locked) { return __awaiter(_this, void 0, void 0, function () {
|
|
33719
|
+
var warehouseSuccess;
|
|
33720
|
+
return __generator(this, function (_a) {
|
|
33721
|
+
switch (_a.label) {
|
|
33722
|
+
case 0:
|
|
33723
|
+
if (!locked) return [3 /*break*/, 2];
|
|
33724
|
+
return [4 /*yield*/, this.transactionService.updateWarehouseTransactionLine(this.transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, this.warehouse)];
|
|
33725
|
+
case 1:
|
|
33726
|
+
warehouseSuccess = _a.sent();
|
|
33727
|
+
if (!warehouseSuccess) {
|
|
33728
|
+
this.transactionLine.warehouseNumber = oldWarehouse_1;
|
|
33729
|
+
warehouseUpdateSuccess = false;
|
|
33730
|
+
}
|
|
33731
|
+
_a.label = 2;
|
|
33732
|
+
case 2: return [2 /*return*/];
|
|
33733
|
+
}
|
|
33734
|
+
});
|
|
33735
|
+
}); });
|
|
33723
33736
|
}
|
|
33724
|
-
|
|
33725
|
-
case 2:
|
|
33726
|
-
if (!(this.transactionLine.interBranchSourceWarehouseNr !== this.sourceWarehouse)) return [3 /*break*/, 4];
|
|
33737
|
+
if (!(this.transactionLine.interBranchSourceWarehouseNr !== this.sourceWarehouse)) return [3 /*break*/, 2];
|
|
33727
33738
|
oldSourceWarehouse = this.transactionLine.interBranchSourceWarehouseNr;
|
|
33728
33739
|
return [4 /*yield*/, this.transactionService.updateTransactionLineInterBranchSourceWarehouse(this.transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, this.sourceWarehouse)];
|
|
33729
|
-
case
|
|
33740
|
+
case 1:
|
|
33730
33741
|
sourceSuccess = _a.sent();
|
|
33731
33742
|
if (!sourceSuccess) {
|
|
33732
33743
|
this.transactionLine.warehouseNumber = oldSourceWarehouse;
|
|
33733
33744
|
warehouseUpdateSuccess = false;
|
|
33734
33745
|
}
|
|
33735
|
-
_a.label =
|
|
33736
|
-
case
|
|
33746
|
+
_a.label = 2;
|
|
33747
|
+
case 2:
|
|
33737
33748
|
if (warehouseUpdateSuccess) {
|
|
33738
33749
|
this.handleClose(AppPopupButtonType.Ok);
|
|
33739
33750
|
}
|
|
@@ -33768,13 +33779,13 @@
|
|
|
33768
33779
|
}(DialogTransactionLineBaseComponent));
|
|
33769
33780
|
DialogTransactionLineWarehouseComponent.decorators = [
|
|
33770
33781
|
{ type: i0.Component, args: [{
|
|
33771
|
-
selector:
|
|
33772
|
-
template: "\n
|
|
33782
|
+
selector: 'co-dialog-transaction-line-warehouse',
|
|
33783
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleCloseDialog($event, buttonType.Cancel)\">\n\n <div class=\"warehouse-tabs\">\n <div class=\"warehouse-tab\" [textContent]=\"'SOURCE_WAREHOUSE' | localize\" [class.active]=\"activeTab === tab.Source\"\n (click)=\"showTab(tab.Source)\"></div>\n <div class=\"warehouse-tab\" [textContent]=\"'TARGET_WAREHOUSE' | localize\" [class.active]=\"activeTab === tab.Target\"\n (click)=\"showTab(tab.Target)\"></div>\n </div>\n\n <co-transaction-line-warehouse *ngIf=\"activeTab === tab.Source\"\n [useModel]=\"false\"\n [value]=\"sourceWarehouse\"\n [searchText]=\"searchText\"\n (valueChange)=\"handleSourceValueChange($event)\"\n ></co-transaction-line-warehouse>\n <co-transaction-line-warehouse *ngIf=\"activeTab === tab.Target\"\n [useModel]=\"false\"\n [value]=\"warehouse\"\n [searchText]=\"searchText\"\n (valueChange)=\"handleTargetValueChange($event)\"\n ></co-transaction-line-warehouse>\n\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'WAREHOUSE'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n\n <ng-template #footerTemplate>\n\n <div class=\"transaction-line-warehouse-cc-section\">\n <div class=\"transaction-line-warehouse-cc-warehouses-section\">\n <co-icon class=\"icon\" [iconData]=\"iconCacheService.getIcon(icons.RegularWarehouseCircleArrowRight)\"></co-icon>\n <co-input-text [readonly]=\"true\" [placeholder]=\"'SOURCE_WAREHOUSE' | localize\" [model]=\"interBranchSourceWarehouseDescription\"></co-input-text>\n <co-icon class=\"icon\" [iconData]=\"iconCacheService.getIcon(icons.RegularWarehouseCircleArrowLeft)\"></co-icon>\n <co-input-text [readonly]=\"true\" [placeholder]=\"'TARGET_WAREHOUSE' | localize\" [model]=\"warehouseDescription\"></co-input-text>\n </div>\n </div>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
33773
33784
|
encapsulation: i0.ViewEncapsulation.None
|
|
33774
33785
|
},] }
|
|
33775
33786
|
];
|
|
33776
33787
|
DialogTransactionLineWarehouseComponent.propDecorators = {
|
|
33777
|
-
showClass: [{ type: i0.HostBinding, args: [
|
|
33788
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-dialog-transaction-line-warehouse',] }]
|
|
33778
33789
|
};
|
|
33779
33790
|
|
|
33780
33791
|
var TransactionLineWarehouseComponent = /** @class */ (function (_super) {
|
|
@@ -37240,13 +37251,12 @@
|
|
|
37240
37251
|
}(TransactionLineBaseComponent));
|
|
37241
37252
|
TransactionLineDropShipmentButtonComponent.decorators = [
|
|
37242
37253
|
{ type: i0.Component, args: [{
|
|
37243
|
-
selector:
|
|
37244
|
-
template: "\n
|
|
37254
|
+
selector: 'co-transaction-line-drop-shipment-button',
|
|
37255
|
+
template: "\n <div class=\"inside-field\">\n <co-transaction-line-label\n *ngIf=\"transactionService.internalParameterAllowsDropShipment && supplierAllowsDropShipment && inputLabel\"\n [insideLabel]=\"'DROPSHIPMENT'\">\n </co-transaction-line-label>\n <co-transaction-button\n *ngIf=\"transactionService.internalParameterAllowsDropShipment && supplierAllowsDropShipment\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [label]=\"'DROPSHIPMENT' | localize\"\n (click)=\"handleToggleDropShipment($event)\">\n </co-transaction-button>\n <co-transaction-button\n *ngIf=\"!transactionService.internalParameterAllowsDropShipment || !supplierAllowsDropShipment\"\n class=\"disabled-button\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [label]=\"'DROPSHIPMENT_NO' | localize\">\n </co-transaction-button>\n </div>\n\n <co-dialog-transaction-line-warehouse\n *ngIf=\"showDialogWarehouse && !readonly\"\n [autoClose]=\"true\"\n (close)=\"showDialogWarehouse = false\">\n </co-dialog-transaction-line-warehouse>\n ",
|
|
37245
37256
|
providers: [{
|
|
37246
37257
|
provide: corecomponents_v12.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
37247
37258
|
useExisting: i0.forwardRef(function () { return TransactionLineDropShipmentButtonComponent; })
|
|
37248
|
-
}
|
|
37249
|
-
],
|
|
37259
|
+
}],
|
|
37250
37260
|
encapsulation: i0.ViewEncapsulation.None
|
|
37251
37261
|
},] }
|
|
37252
37262
|
];
|
|
@@ -37265,7 +37275,7 @@
|
|
|
37265
37275
|
TransactionLineDropShipmentButtonComponent.propDecorators = {
|
|
37266
37276
|
showLabel: [{ type: i0.Input }],
|
|
37267
37277
|
inputLabel: [{ type: i0.Input }],
|
|
37268
|
-
showClass: [{ type: i0.HostBinding, args: [
|
|
37278
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-line-drop-shipment-button',] }]
|
|
37269
37279
|
};
|
|
37270
37280
|
|
|
37271
37281
|
var TransactionLineDropShipmentButtonModule = /** @class */ (function () {
|
|
@@ -46648,7 +46658,7 @@
|
|
|
46648
46658
|
BatchProcessDialogComponent.decorators = [
|
|
46649
46659
|
{ type: i0.Component, args: [{
|
|
46650
46660
|
selector: "co-batch-process-dialog",
|
|
46651
|
-
template: "\n <header>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.GearSolid)\"></co-icon>\n <h3 class=\"title\" [textContent]=\"'RUNNING_PROCESSES' | localize\"></h3>\n <co-icon\n class=\"close-icon\"\n [iconData]=\"iconCacheService.getIcon(icons.Crossskinny)\"\n (click)=\"onCloseDialog()\">\n </co-icon>\n </header>\n <div class=\"batch-items\">\n <div class=\"batch-item\" *ngFor=\"let progressItem of this.batchJobProgress\">\n <h4 [textContent]=\"(progressItem.batchJobName).toUpperCase() | localize\"></h4>\n <div class=\"total-number\">\n <span [textContent]=\"'TOTAL_QUANTITY' | localize\"></span>\n <span>: {{ progressItem.numberToProcess }}</span>\n <co-icon\n *ngIf=\"progressItem.numberProcessed === progressItem.numberToProcess\"\n class=\"delete-icon\"\n [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\"\n (click)=\"deleteProcess(progressItem)\">\n </co-icon>\n </div>\n <div [textContent]=\"progressItem.startDatetime | date\"></div>\n\n <div class=\"progress-bar-container\">\n <div\n class=\"progress-bar\"\n [style.width.%]=\"(progressItem.numberProcessed / progressItem.numberToProcess) * 100\">\n </div>\n </div>\n\n <div class=\"errors\" [textContent]=\"progressItem.errors\"></div>\n </div>\n </div>\n ",
|
|
46661
|
+
template: "\n <header>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.GearSolid)\"></co-icon>\n <h3 class=\"title\" [textContent]=\"'RUNNING_PROCESSES' | localize\"></h3>\n <co-icon\n class=\"close-icon\"\n [iconData]=\"iconCacheService.getIcon(icons.Crossskinny)\"\n (click)=\"onCloseDialog()\">\n </co-icon>\n </header>\n <div class=\"batch-items\">\n <div class=\"batch-item\" *ngFor=\"let progressItem of this.batchJobProgress\">\n <h4 [textContent]=\"(progressItem.batchJobName).toUpperCase() | localize\"></h4>\n <div class=\"total-number\">\n <span [textContent]=\"'TOTAL_QUANTITY' | localize\"></span>\n <span>: {{ progressItem.numberToProcess }}</span>\n <co-icon\n *ngIf=\"progressItem.numberProcessed === progressItem.numberToProcess\"\n class=\"delete-icon\"\n [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\"\n (click)=\"deleteProcess(progressItem)\">\n </co-icon>\n </div>\n <div [textContent]=\"progressItem.startDatetime | date: 'dd.MM.yyyy HH:mm'\"></div>\n\n <div class=\"progress-bar-container\">\n <div\n class=\"progress-bar\"\n [style.width.%]=\"(progressItem.numberProcessed / progressItem.numberToProcess) * 100\">\n </div>\n </div>\n\n <div class=\"errors\" [textContent]=\"progressItem.errors\"></div>\n </div>\n </div>\n ",
|
|
46652
46662
|
encapsulation: i0.ViewEncapsulation.None
|
|
46653
46663
|
},] }
|
|
46654
46664
|
];
|
|
@@ -52582,7 +52592,7 @@
|
|
|
52582
52592
|
TransactionHeaderPopupDeliveryComponent.decorators = [
|
|
52583
52593
|
{ type: i0.Component, args: [{
|
|
52584
52594
|
selector: 'co-transaction-header-popup-delivery',
|
|
52585
|
-
template: "\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'DELIVERY_DETAILS' | localize\"></div>\n <div class=\"transaction-header-popup-two-column-grid\">\n <co-transaction-header-delivery-method-button [screenConfigurationObject]=\"cfgNames.DeliveryMethod\" [lockAndSave]=\"false\"></co-transaction-header-delivery-method-button>\n <co-transaction-header-partial-delivery [screenConfigurationObject]=\"cfgNames.PartialDelivery\" [lockAndSave]=\"false\"></co-transaction-header-partial-delivery>\n <co-transaction-header-delivery-date [screenConfigurationObject]=\"cfgNames.DeliveryDate\" [lockAndSave]=\"
|
|
52595
|
+
template: "\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'DELIVERY_DETAILS' | localize\"></div>\n <div class=\"transaction-header-popup-two-column-grid\">\n <co-transaction-header-delivery-method-button [screenConfigurationObject]=\"cfgNames.DeliveryMethod\" [lockAndSave]=\"false\"></co-transaction-header-delivery-method-button>\n <co-transaction-header-partial-delivery [screenConfigurationObject]=\"cfgNames.PartialDelivery\" [lockAndSave]=\"false\"></co-transaction-header-partial-delivery>\n <co-transaction-header-delivery-date [screenConfigurationObject]=\"cfgNames.DeliveryDate\" [lockAndSave]=\"true\"></co-transaction-header-delivery-date>\n <co-transaction-header-deliverydate-definitive-button [screenConfigurationObject]=\"cfgNames.DeliveryDateDefinitive\" [class.closed]=\"transactionInfo.deliveryDateDefinitive\" [big]=\"true\" [lockAndSave]=\"false\"></co-transaction-header-deliverydate-definitive-button>\n <co-transaction-header-preferred-delivery-date [screenConfigurationObject]=\"cfgNames.PreferedDeliveryDate\" class=\"header-delivery-date-checkbox\" [lockAndSave]=\"false\"></co-transaction-header-preferred-delivery-date>\n <co-transaction-header-preferred-delivery-time [screenConfigurationObject]=\"cfgNames.DeliveryTime\" [lockAndSave]=\"false\"></co-transaction-header-preferred-delivery-time>\n </div>\n </div>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'DELIVERY_OPTIONS' | localize\"></div>\n <div class=\"transaction-header-popup-two-column-grid\">\n <co-transaction-header-delivery-options [screenConfigurationObject]=\"cfgNames.DeliveryOptions\" [lockAndSave]=\"false\"></co-transaction-header-delivery-options>\n </div>\n </div>\n <div class=\"transaction-header-popup-section\">\n <co-transaction-header-remarks [screenConfigurationObject]=\"cfgNames.Remarks\" [lockAndSave]=\"false\"></co-transaction-header-remarks>\n <co-transaction-header-reference [screenConfigurationObject]=\"cfgNames.Reference\" [lockAndSave]=\"false\"></co-transaction-header-reference>\n <co-transaction-header-relation-reference [screenConfigurationObject]=\"cfgNames.ReferenceRelation\" [lockAndSave]=\"false\"></co-transaction-header-relation-reference>\n </div>\n </co-form>\n </div>\n ",
|
|
52586
52596
|
encapsulation: i0.ViewEncapsulation.None
|
|
52587
52597
|
},] }
|
|
52588
52598
|
];
|
|
@@ -57617,7 +57627,7 @@
|
|
|
57617
57627
|
TransactionHeaderCustomerPortalComponent.decorators = [
|
|
57618
57628
|
{ type: i0.Component, args: [{
|
|
57619
57629
|
selector: 'co-transaction-header-customer-portal',
|
|
57620
|
-
template: "\n <div class=\"transaction-header-customer-portal\">\n <div class=\"transaction-order-lines-wrapper\">\n <div class=\"transaction-order-info\" *ngIf=\"transaction.transactionInfo.transactionKind !== 'S'\">\n <div class=\"order-number-info\">\n <span [textContent]=\"'ORDER_NUMBER' | localize\"></span>\n <span [textContent]=\"transaction.transactionInfo.transactionNr\"></span>\n </div>\n <div class=\"order-details-info\">\n <div class=\"order-detail-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingClock)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transaction.transactionInfo.transactionDate | date:'dd-MM-yyyy'\"></span>\n </div>\n </div>\n <div class=\"order-detail-section\" *ngIf=\"transaction.transactionInfo.deliveryDate\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularTruckMovingClock)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd-MM-yyyy'\"></span>\n </div>\n </div>\n <div class=\"order-detail-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingTag)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transactionTotal?.netAmount | coCurrency: true\"></span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"transaction-order-info service-wrapper\" *ngIf=\"transaction.transactionInfo.transactionKind == 'S'\">\n <div class=\"order-number-info\">\n <span [textContent]=\"'SERVICE_NUMBER' | localize\"></span>\n <span [textContent]=\"transaction.transactionInfo.transactionNr\"></span>\n </div>\n <div class=\"order-details-info\">\n <div class=\"order-detail-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingClock)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transaction.transactionInfo.transactionDate | date:'dd-MM-yyyy'\"></span>\n </div>\n </div>\n <div class=\"order-detail-section\" *ngIf=\"transaction.transactionInfo.deliveryDate\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularTruckMovingClock)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd-MM-yyyy'\"></span>\n </div>\n </div>\n <div class=\"order-detail-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingTag)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transactionTotal?.netAmount | coCurrency: true\"></span>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"planning-request-button-wrapper\" *ngIf=\"showPreferredPlanning && !showPlanningDialog\"\n (click)=\"checkCanPlanDelivery()\">\n <div class=\"preferred-delivery-date\">\n <span [textContent]=\"'PREFERRED_DELIVERY_DATE_HEADER' | localize\"></span>\n <span [textContent]=\"transaction.transactionInfo.preferredDeliveryDate | date:'dd-MM-yyyy'\"></span>\n </div>\n <co-icon class=\"planning-request-button\" [class.co-transaction-check]=\"transaction.transactionInfo.deliveryDateDefinitive\"\n [iconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </div>\n <co-dialog-transaction-planning-request\n *ngIf=\"showPlanningDialog\"\n (closeClick)=\"showPlanningDialog = false\">\n </co-dialog-transaction-planning-request>\n </div>\n ",
|
|
57630
|
+
template: "\n <div class=\"transaction-header-customer-portal\">\n <div class=\"transaction-order-lines-wrapper\">\n <div class=\"transaction-order-info\" *ngIf=\"transaction.transactionInfo.transactionKind !== 'S'\">\n <div class=\"order-number-info\">\n <span [textContent]=\"'ORDER_NUMBER' | localize\"></span>\n <span [textContent]=\"transaction.transactionInfo.transactionNr\"></span>\n </div>\n <div class=\"order-details-info\">\n <div class=\"order-detail-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingClock)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transaction.transactionInfo.transactionDate | date:'dd-MM-yyyy'\"></span>\n </div>\n </div>\n <div class=\"order-detail-section\" *ngIf=\"transaction.transactionInfo.deliveryDate\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularTruckMovingClock)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd-MM-yyyy'\"></span>\n <span class=\"expected\" *ngIf=\"!transaction.transactionInfo.deliveryDateDefinitive\" [textContent]=\"'EXPECTED_DELIVERY_DATE' | localize\"></span>\n </div>\n </div>\n <div class=\"order-detail-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingTag)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transactionTotal?.netAmount | coCurrency: true\"></span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"transaction-order-info service-wrapper\" *ngIf=\"transaction.transactionInfo.transactionKind == 'S'\">\n <div class=\"order-number-info\">\n <span [textContent]=\"'SERVICE_NUMBER' | localize\"></span>\n <span [textContent]=\"transaction.transactionInfo.transactionNr\"></span>\n </div>\n <div class=\"order-details-info\">\n <div class=\"order-detail-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingClock)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transaction.transactionInfo.transactionDate | date:'dd-MM-yyyy'\"></span>\n </div>\n </div>\n <div class=\"order-detail-section\" *ngIf=\"transaction.transactionInfo.deliveryDate\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularTruckMovingClock)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd-MM-yyyy'\"></span>\n </div>\n </div>\n <div class=\"order-detail-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingTag)\" class=\"store-icon\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"transactionTotal?.netAmount | coCurrency: true\"></span>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"planning-request-button-wrapper\" *ngIf=\"showPreferredPlanning && !showPlanningDialog\"\n (click)=\"checkCanPlanDelivery()\">\n <div class=\"preferred-delivery-date\">\n <span [textContent]=\"'PREFERRED_DELIVERY_DATE_HEADER' | localize\"></span>\n <span [textContent]=\"transaction.transactionInfo.preferredDeliveryDate | date:'dd-MM-yyyy'\"></span>\n </div>\n <co-icon class=\"planning-request-button\" [class.co-transaction-check]=\"transaction.transactionInfo.deliveryDateDefinitive\"\n [iconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </div>\n <co-dialog-transaction-planning-request\n *ngIf=\"showPlanningDialog\"\n (closeClick)=\"showPlanningDialog = false\">\n </co-dialog-transaction-planning-request>\n </div>\n ",
|
|
57621
57631
|
encapsulation: i0.ViewEncapsulation.None
|
|
57622
57632
|
},] }
|
|
57623
57633
|
];
|