@colijnit/transaction 255.1.37 → 255.1.38
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 +23 -8
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +2 -2
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-service-order/transaction-lines-side-panel-service-order.component.js +59 -46
- package/esm2015/lib/component/transaction-service-overview/components/transaction-service-message.component.js +1 -2
- package/esm2015/lib/component/transaction-service-overview/transaction-service-overview.component.js +3 -3
- package/esm2015/lib/enum/icon.enum.js +3 -1
- package/esm2015/lib/model/icon-svg.js +3 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +67 -52
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-service-order/style/_layout.scss +16 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-service-order/transaction-lines-side-panel-service-order.component.d.ts +2 -0
- package/lib/component/transaction-service-overview/style/_layout.scss +4 -0
- package/lib/enum/icon.enum.d.ts +2 -0
- package/package.json +1 -1
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
function Version() {
|
|
34
34
|
this.name = "@colijnit/transaction";
|
|
35
35
|
this.description = "Colijn IT transaction package";
|
|
36
|
-
this.symVer = "255.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "255.1.38";
|
|
37
|
+
this.publishDate = "12-9-2024 14:26:15";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -747,6 +747,8 @@
|
|
|
747
747
|
Icon["IndustrySolid"] = "industry_solid";
|
|
748
748
|
Icon["Invoice"] = "invoice";
|
|
749
749
|
Icon["LessThanSolid"] = "less_than_solid";
|
|
750
|
+
Icon["LightCreditCardCheck"] = "light_credit_card_check";
|
|
751
|
+
Icon["LightEuroSignMinus"] = "light_euro_sign_minus";
|
|
750
752
|
Icon["LinkRegular"] = "link_regular";
|
|
751
753
|
Icon["LinkSimpleSolid"] = "link_simple_solid";
|
|
752
754
|
Icon["ListRegular"] = "list_regular";
|
|
@@ -894,6 +896,8 @@
|
|
|
894
896
|
"industry_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M32 32C14.3 32 0 46.3 0 64V304v48 80c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-48V304 152.2c0-18.2-19.4-29.7-35.4-21.1L320 215.4V152.2c0-18.2-19.4-29.7-35.4-21.1L128 215.4V64c0-17.7-14.3-32-32-32H32z\"/></svg>",
|
|
895
897
|
"invoice": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M64 464H320c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm80 48c0-8.8 7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16H96c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16H96c-8.8 0-16-7.2-16-16zM192 400c0-8.8 7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16H208c-8.8 0-16-7.2-16-16zM112 224H272c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H112c-17.7 0-32-14.3-32-32V256c0-17.7 14.3-32 32-32z\"/></svg>",
|
|
896
898
|
"less_than_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M380.6 81.7c7.9 15.8 1.5 35-14.3 42.9L103.6 256 366.3 387.4c15.8 7.9 22.2 27.1 14.3 42.9s-27.1 22.2-42.9 14.3l-320-160C6.8 279.2 0 268.1 0 256s6.8-23.2 17.7-28.6l320-160c15.8-7.9 35-1.5 42.9 14.3z\"/></svg>",
|
|
899
|
+
"light_credit_card_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 96C0 60.7 28.7 32 64 32l448 0c35.3 0 64 28.7 64 64l0 115.2c-10.1-5.2-20.8-9.4-32-12.6l0-38.6L32 160l0 64 362.8 0c-12.9 9.1-24.5 19.9-34.6 32L32 256l0 160c0 17.7 14.3 32 32 32l275.2 0c5.9 11.4 12.9 22.2 21.1 32L64 480c-35.3 0-64-28.7-64-64L0 96zm32 0l0 32 512 0 0-32c0-17.7-14.3-32-32-32L64 64C46.3 64 32 78.3 32 96zM96 368c0-8.8 7.2-16 16-16l64 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16zm128 0c0-8.8 7.2-16 16-16l80.7 0c-.5 5.3-.7 10.6-.7 16s.2 10.7 .7 16L240 384c-8.8 0-16-7.2-16-16zm128 0c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm32 0c0 61.9 50.1 112 112 112s112-50.1 112-112s-50.1-112-112-112s-112 50.1-112 112zm44.7-11.3c6.2-6.2 16.4-6.2 22.6 0L480 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6z\"/></svg>",
|
|
900
|
+
"light_euro_sign_minus": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M0 208c0-8.8 7.2-16 16-16l25.3 0C68.8 99.5 154.5 32 256 32l49 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-49 0c-83.6 0-154.7 53.4-181.1 128L272 192c8.8 0 16 7.2 16 16s-7.2 16-16 16L66.7 224c-1.8 10.4-2.7 21.1-2.7 32s1 21.6 2.7 32L272 288c1 0 2.1 .1 3 .3c-5.1 10.1-9.3 20.7-12.4 31.7L74.9 320c26.4 74.6 97.5 128 181.1 128l19.2 0c5.9 11.4 12.9 22.2 21.1 32L256 480C154.5 480 68.8 412.5 41.3 320L16 320c-8.8 0-16-7.2-16-16s7.2-16 16-16l18.3 0c-1.5-10.5-2.3-21.1-2.3-32s.8-21.5 2.3-32L16 224c-8.8 0-16-7.2-16-16zM288 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm32 0c0 61.9 50.1 112 112 112s112-50.1 112-112s-50.1-112-112-112s-112 50.1-112 112zm32 0c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16z\"/></svg>",
|
|
897
901
|
"link_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M59.7 244.8C3.5 301 3.5 392.1 59.7 448.2c53.6 53.6 139.5 56.4 196.5 6.5l6.1-5.4-31.6-36.1-6.1 5.4c-38 33.2-95.2 31.3-130.9-4.4c-37.4-37.4-37.4-98.1 0-135.6L207 165.4c37.4-37.4 98.1-37.4 135.6 0c35.7 35.7 37.6 92.9 4.4 130.9l-5.4 6.1L377.7 334l5.4-6.1c49.9-57 47-142.9-6.5-196.5c-56.2-56.2-147.3-56.2-203.5 0L59.7 244.8zm520.6 22.4c56.2-56.2 56.2-147.3 0-203.5C526.8 10.2 440.9 7.3 383.9 57.2l-6.1 5.4 31.6 36.1 6.1-5.4c38-33.2 95.2-31.3 130.9 4.4c37.4 37.4 37.4 98.1 0 135.6L433.1 346.6c-37.4 37.4-98.2 37.4-135.6 0c-35.7-35.7-37.6-92.9-4.4-130.9l4.7-5.4-36.1-31.6-4.7 5.4c-49.8 57-46.9 142.9 6.6 196.4c56.2 56.2 147.3 56.2 203.5 0L580.3 267.2z\"/></svg>",
|
|
898
902
|
"link_simple_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M0 256C0 167.6 71.6 96 160 96h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-53 0-96 43-96 96s43 96 96 96h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H352c-17.7 0-32-14.3-32-32s14.3-32 32-32h64c53 0 96-43 96-96s-43-96-96-96H352c-17.7 0-32-14.3-32-32s14.3-32 32-32h64c88.4 0 160 71.6 160 160zM192 224H384c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32z\"/></svg>",
|
|
899
903
|
"list_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M88 48C101.3 48 112 58.75 112 72V120C112 133.3 101.3 144 88 144H40C26.75 144 16 133.3 16 120V72C16 58.75 26.75 48 40 48H88zM488 72C501.3 72 512 82.75 512 96C512 109.3 501.3 120 488 120H184C170.7 120 160 109.3 160 96C160 82.75 170.7 72 184 72H488zM488 232C501.3 232 512 242.7 512 256C512 269.3 501.3 280 488 280H184C170.7 280 160 269.3 160 256C160 242.7 170.7 232 184 232H488zM488 392C501.3 392 512 402.7 512 416C512 429.3 501.3 440 488 440H184C170.7 440 160 429.3 160 416C160 402.7 170.7 392 184 392H488zM16 232C16 218.7 26.75 208 40 208H88C101.3 208 112 218.7 112 232V280C112 293.3 101.3 304 88 304H40C26.75 304 16 293.3 16 280V232zM88 368C101.3 368 112 378.7 112 392V440C112 453.3 101.3 464 88 464H40C26.75 464 16 453.3 16 440V392C16 378.7 26.75 368 40 368H88z\"/></svg>",
|
|
@@ -27510,11 +27514,15 @@
|
|
|
27510
27514
|
_this.transactionService = transactionService;
|
|
27511
27515
|
_this.changeDetector = changeDetector;
|
|
27512
27516
|
_this.Icon = Icon;
|
|
27517
|
+
_this.showDetails = false;
|
|
27513
27518
|
return _this;
|
|
27514
27519
|
}
|
|
27515
27520
|
TransactionLinesSidePanelServiceOrderComponent.prototype.showClass = function () {
|
|
27516
27521
|
return true;
|
|
27517
27522
|
};
|
|
27523
|
+
TransactionLinesSidePanelServiceOrderComponent.prototype.showDetailsClick = function () {
|
|
27524
|
+
this.showDetails = !this.showDetails;
|
|
27525
|
+
};
|
|
27518
27526
|
TransactionLinesSidePanelServiceOrderComponent.prototype.ngOnInit = function () {
|
|
27519
27527
|
var _super = Object.create(null, {
|
|
27520
27528
|
ngOnInit: { get: function () { return _super_1.prototype.ngOnInit; } }
|
|
@@ -27539,8 +27547,15 @@
|
|
|
27539
27547
|
TransactionLinesSidePanelServiceOrderComponent.decorators = [
|
|
27540
27548
|
{ type: i0.Component, args: [{
|
|
27541
27549
|
selector: 'co-transaction-lines-side-panel-service-order',
|
|
27542
|
-
template: "\n <div class=\"full-details-wrapper\">\n <div class=\"details-wrapper\">\n <div class=\"details-label-wrapper\">\n <label class=\"detail-label\" [textContent]=\"'ARTICLE_DETAILS' | localize\"\n ></label>\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.ChevronDownRegular)\"></co-icon>\n </div>\n <div class=\"details-display articles\">\n <div class=\"article-description\">\n <!--co-input-text [(model)]=\"transactionServiceInfo.productName\"\n class=\"detail-text-field\" [readonly]=\"true\"></co-input-text-->\n <div class=\"art-details\">\n <label class=\"label\" [textContent]=\"'DESCRIPTION'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceArticleDescription\"></span>\n </div>\n </div>\n <div class=\"art-amount-batch\">\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'AMOUNT'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceQuantity\"></span>\n </div>\n <!--div class=\"detail\">\n <label class=\"label\" [textContent]=\"'BATCH_NUMBER'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceBatchNr\"></span>\n </div-->\n </div>\n <co-image-display class=\"image-display\" [model]=\"image\"></co-image-display>\n </div>\n </div>\n
|
|
27543
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
27550
|
+
template: "\n <div class=\"full-details-wrapper\">\n <div class=\"details-wrapper\">\n <div class=\"details-label-wrapper clickable\" (click)=\"showDetailsClick()\">\n <label class=\"detail-label\" [textContent]=\"'ARTICLE_DETAILS' | localize\"\n ></label>\n <co-icon [class.active]=\"showDetails\" [iconData]=\"iconCacheService.getIcon(icons.ChevronDownRegular)\"></co-icon>\n </div>\n <div class=\"details-display articles\">\n <div class=\"article-description\">\n <!--co-input-text [(model)]=\"transactionServiceInfo.productName\"\n class=\"detail-text-field\" [readonly]=\"true\"></co-input-text-->\n <div class=\"art-details\">\n <label class=\"label\" [textContent]=\"'DESCRIPTION'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceArticleDescription\"></span>\n </div>\n </div>\n <div class=\"art-amount-batch\">\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'AMOUNT'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceQuantity\"></span>\n </div>\n <!--div class=\"detail\">\n <label class=\"label\" [textContent]=\"'BATCH_NUMBER'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceBatchNr\"></span>\n </div-->\n </div>\n <co-image-display class=\"image-display\" [model]=\"image\"></co-image-display>\n </div>\n </div>\n <div class=\"show-details-wrapper\"\n *ngIf=\"showDetails\"\n [@slideToggle]=\"showDetails ? 'open' : 'closed'\">\n <div class=\"details-wrapper\">\n <div class=\"details-label-wrapper\">\n <label class=\"detail-label\" [textContent]=\"'SALESORDER_DETAIL' | localize\"\n ></label>\n </div>\n <div class=\"details-display\">\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'ORDERNUMBER'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceTransactionNr\"></span>\n </div>\n <div class=\"vertical-line\"></div>\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'ORDER_DATE'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceTransactionDate | date : 'd-MM-yyyy'\"></span>\n </div>\n <div class=\"vertical-line\"></div>\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'DELIVERY_DATE'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceDeliveryDate | date : 'd-MM-yyyy'\"></span>\n </div>\n <div class=\"vertical-line\"></div>\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'REFERENCE'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.priority\"></span>\n </div>\n </div>\n </div>\n <div class=\"details-wrapper\">\n <div class=\"details-label-wrapper\">\n <label class=\"detail-label\" [textContent]=\"'PURCHASEORDER_DETAIL' | localize\"\n ></label>\n </div>\n <div class=\"details-display supplier\">\n <div class=\"top-details\">\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'ORDERNUMBER'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourcePurchaseTransactionNr\"></span>\n </div>\n <div class=\"vertical-line\"></div>\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'ORDER_DATE'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourcePurchaseTransactionDate | date : 'd-MM-yyyy'\"></span>\n </div>\n <div class=\"vertical-line\"></div>\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'RECEIVED'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourcePurchaseTransactionReceiptDate | date : 'd-MM-yyyy'\"></span>\n </div>\n <div class=\"vertical-line\"></div>\n <div class=\"detail\">\n <label class=\"label\" [textContent]=\"'REFERENCE'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceRefSupplier\"></span>\n </div>\n </div>\n <div class=\"bottom-details\">\n <div class=\"detail supplier\">\n <label class=\"label\" [textContent]=\"'SUPPLIER'| localize\"></label>\n <span class=\"value\" [textContent]=\"transactionServiceInfo.sourceSupplierName\"></span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n ",
|
|
27551
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
27552
|
+
animations: [
|
|
27553
|
+
animations.trigger('slideToggle', [
|
|
27554
|
+
animations.state('void', animations.style({ height: '0px', overflow: 'hidden' })),
|
|
27555
|
+
animations.state('*', animations.style({ height: '*', overflow: 'hidden' })),
|
|
27556
|
+
animations.transition('void <=> *', animations.animate('300ms ease-in-out')),
|
|
27557
|
+
])
|
|
27558
|
+
]
|
|
27544
27559
|
},] }
|
|
27545
27560
|
];
|
|
27546
27561
|
TransactionLinesSidePanelServiceOrderComponent.ctorParameters = function () { return [
|
|
@@ -41748,7 +41763,7 @@
|
|
|
41748
41763
|
TransactionHeaderOrderComponent.decorators = [
|
|
41749
41764
|
{ type: i0.Component, args: [{
|
|
41750
41765
|
selector: "co-transaction-header-order",
|
|
41751
|
-
template: "\n <co-transaction-header-block\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hiddenBlockTemplate]=\"hiddenBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #firstBlock>\n <div class=\"transaction-header-block-row\" (click)=\"showDialog = true\">\n <div class=\"header-order-total-wrapper\" [screenConfigurationObject]=\"cfgNames.HeaderOrderOrderTotalHeader\" screenConfigNativeElement>\n <span class=\"header-order-total-label co-transaction-label\" [textContent]=\"'ORDER_TOTAL' | localize\"></span>\n <div class=\"header-order-total\" [textContent]=\"transactionTotal.netAmount | coCurrency\"></div>\n </div>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"transaction-header-block-row\" (click)=\"showDialog = true\" [screenConfigurationObject]=\"cfgNames.HeaderOrderDiscountHeader\" screenConfigNativeElement>\n <div class=\"transaction-header-discount-button\">\n <div class=\"header-discount\" (click)=\"openDiscount($event)\">\n <co-icon class=\"header-discount-icon\" [iconData]=\"iconCacheService.getIcon(icons.
|
|
41766
|
+
template: "\n <co-transaction-header-block\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hiddenBlockTemplate]=\"hiddenBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #firstBlock>\n <div class=\"transaction-header-block-row\" (click)=\"showDialog = true\">\n <div class=\"header-order-total-wrapper\" [screenConfigurationObject]=\"cfgNames.HeaderOrderOrderTotalHeader\" screenConfigNativeElement>\n <span class=\"header-order-total-label co-transaction-label\" [textContent]=\"'ORDER_TOTAL' | localize\"></span>\n <div class=\"header-order-total\" [textContent]=\"transactionTotal.netAmount | coCurrency\"></div>\n </div>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"transaction-header-block-row\" (click)=\"showDialog = true\" [screenConfigurationObject]=\"cfgNames.HeaderOrderDiscountHeader\" screenConfigNativeElement>\n <div class=\"transaction-header-discount-button\">\n <div class=\"header-discount\" (click)=\"openDiscount($event)\">\n <co-icon class=\"header-discount-icon\" [iconData]=\"iconCacheService.getIcon(icons.LightEuroSignMinus)\"></co-icon>\n </div>\n </div>\n </div>\n </ng-template>\n <ng-template #hiddenBlock>\n <div class=\"transaction-header-block-row\" [screenConfigurationObject]=\"cfgNames.HeaderOrderDefinitiveHeader\" screenConfigNativeElement>\n <div class=\"header-order-definitive\">\n <co-transaction-header-definitive class=\"transaction-header-order-definitive\"\n [screenConfigurationObject]=\"cfgNames.HeaderOrderDefinitiveHeader\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-header-definitive>\n </div>\n <!--span class=\"header-order-line-amount-label co-transaction-label\" [textContent]=\"'ORDER_LINES' | localize\"></span>\n <div class=\"header-order-line-amount\" [textContent]=\"transactionLines.length\"></div-->\n </div>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryDescription]=\"'ORDER_INFORMATION1'\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n<!--\n\n <co-dialog class=\"transaction-header-order-dialog\" [customCssClass]=\"'co-small-scrollbar'\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showDialog\"\n (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title\" [textContent]=\"'ORDER_INFORMATION1' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"order-dialog-section\">\n <div class=\"section-wrapper\">\n <div class=\"section-header\" [textContent]=\"'BASE_INFO1' | localize | prepend:'01 '\"></div>\n <div class=\"two-column-grid\">\n <co-transaction-header-branch [simple]=\"true\" [transaction]=\"transaction\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-branch>\n <co-transaction-header-sales-person [transactionInfo]=\"transactionInfo\"></co-transaction-header-sales-person>\n <co-transaction-header-administrative-relation\n [transactionInfo]=\"transactionInfo\"></co-transaction-header-administrative-relation>\n <co-transaction-header-price-kind [transaction]=\"transaction\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-price-kind>\n <co-transaction-header-currency [transaction]=\"transaction\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-currency>\n <co-transaction-header-payment-condition\n [transactionInfo]=\"transactionInfo\"></co-transaction-header-payment-condition>\n </div>\n </div>\n <div class=\"section-wrapper\">\n <div class=\"section-header\" [textContent]=\"'ORDER_PARAMETERS' | localize | prepend:'02 '\"></div>\n <div class=\"section-sub-title\" [textContent]=\"'ON_HOLD_CODES' | localize\"></div>\n <co-transaction-header-hold-codes [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-hold-codes>\n <div class=\"section-sub-title\" [textContent]=\"'MARKETING_CODE' | localize\"></div>\n <co-transaction-header-marketing [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-marketing>\n </div>\n </div>\n </co-dialog>\n-->\n <co-dialog-transaction-header-discount class=\"discount-dialog\" *ngIf=\"showDialogDiscount\"\n [screenConfigurationObject]=\"cfgNames.DiscountPriceInformationHeader\"\n [transactionInfo]=\"transactionInfo\"\n [transactionTotal]=\"transactionTotal\"\n (close)=\"showDialogDiscount = false\">\n </co-dialog-transaction-header-discount>\n ",
|
|
41752
41767
|
providers: [{
|
|
41753
41768
|
provide: corecomponents_v12.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
41754
41769
|
useExisting: i0.forwardRef(function () { return TransactionHeaderOrderComponent; })
|
|
@@ -41879,7 +41894,7 @@
|
|
|
41879
41894
|
TransactionHeaderPaymentComponent.decorators = [
|
|
41880
41895
|
{ type: i0.Component, args: [{
|
|
41881
41896
|
selector: "co-transaction-header-payment",
|
|
41882
|
-
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\" (click)=\"showDialog = true\">\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\" (click)=\"showDialog = true\">\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=\"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 <div class=\"header-payment-button-wrapper\" (click)=\"openPayment($event)\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentPaymentHeader\" screenConfigNativeElement>\n <co-icon class=\"header-order-icon\" [iconData]=\"iconCacheService.getIcon(icons.
|
|
41897
|
+
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\" (click)=\"showDialog = true\">\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\" (click)=\"showDialog = true\">\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=\"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 <div class=\"header-payment-button-wrapper\" (click)=\"openPayment($event)\" [screenConfigurationObject]=\"cfgNames.HeaderPaymentPaymentHeader\" screenConfigNativeElement>\n <co-icon class=\"header-order-icon\" [iconData]=\"iconCacheService.getIcon(icons.LightCreditCardCheck)\">\n </co-icon>\n\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=\"co-dialog-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 [remainingPayment]=\"showRemainingPayment\"\n [currencyId]=\"transactionInfo.currencyId\"\n [doNotFetchAmountToPayForRemaining]=\"true\"\n ></co-payment>\n </co-dialog>\n ",
|
|
41883
41898
|
providers: [
|
|
41884
41899
|
{ provide: corecomponents_v12.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return TransactionHeaderPaymentComponent; }) }
|
|
41885
41900
|
],
|
|
@@ -51907,7 +51922,7 @@
|
|
|
51907
51922
|
TransactionServiceOverviewComponent.decorators = [
|
|
51908
51923
|
{ type: i0.Component, args: [{
|
|
51909
51924
|
selector: "co-transaction-service-overview",
|
|
51910
|
-
template: "\n <div class=\"service-overview-wrapper\">\n <div class=\"message-and-task-wrapper\">\n <div class=\"service-message-and-image-wrapper\">\n <div class=\"service-message-wrapper\">\n <label class=\"label service-label\" [textContent]=\"'SERVICE_REPORT'| localize\"></label>\n <co-transaction-service-message class=\"transaction-service-message\" [transaction]=\"transaction\">\n </co-transaction-service-message>\n
|
|
51925
|
+
template: "\n <div class=\"service-overview-wrapper\">\n <div class=\"message-and-task-wrapper\">\n <div class=\"service-message-and-image-wrapper\">\n <div class=\"service-message-wrapper\">\n <label class=\"label service-label\" [textContent]=\"'SERVICE_REPORT'| localize\"></label>\n <span *ngIf=\"transactionServiceInfo && transactionServiceInfo.wizardQuestionsAndAnswers\"\n [textContent]=\"transactionServiceInfo.wizardQuestionsAndAnswers\"></span>\n <co-transaction-service-message class=\"transaction-service-message\" [transaction]=\"transaction\">\n </co-transaction-service-message>\n </div>\n <co-files-upload (documentChangeEvent)=\"upsertDocument($event)\"\n (documentDeleted)=\"deleteDocument($event)\"\n [label]=\"'ADD_IMAGES' | localize\"\n [documents]=\"documents\"\n [isEditable]=\"false\">\n </co-files-upload>\n <div class=\"service-order-lines-wrapper\">\n <div class=\"service-message-extra-wrapper\">\n <co-list-of-values [label]=\"'PRIORITY'| localize\" displayField=\"description\" [model]=\"priorityModel\"\n [collection]=\"priorityDomainColl\"\n (modelChange)=\"setPriority($event)\"></co-list-of-values>\n <co-list-of-values [label]=\"'CAUSE_CODE' | localize\" displayField=\"description\" [model]=\"causeCodeModel\"\n [collection]=\"causeCodeColl\"\n (modelChange)=\"setCauseCode($event)\"></co-list-of-values>\n <co-list-of-values [label]=\"'ENTRY_TYPE' | localize\" displayField=\"description\" [model]=\"entryTypeModel\"\n [collection]=\"entryTypeColl\"\n (modelChange)=\"setEntryType($event)\"></co-list-of-values>\n </div>\n <co-transaction-lines-side-panel\n class=\"higher-max-width\"\n [posOrderData]=\"posOrderData\"\n [transaction]=\"transaction\">\n </co-transaction-lines-side-panel>\n </div>\n\n </div>\n <div class=\"activity-list-component-wrapper\">\n <div class=\"activity-task-creator-wrapper\">\n <co-component-activity-list #openActivities [showActivityHeader]=\"showActivityHeader\" [table]=\"TableName.Transactions\" [key]=\"transactionInfo.id.toString()\" (refreshRequested)=\"finishedActivitiesRefreshRequested()\">\n </co-component-activity-list>\n <co-task-creator [table]=\"TableName.Transactions\" [remarkAndWorkKey]=\"transactionInfo.id.toString()\" [taskKey]=\"transactionInfo.transactionNr.toString()\"\n [author]=\"transactionService.loggedInUser\" [branchNo]=\"transactionInfo.branch.relationNr.toString()\"\n [workflowCategoryType]=\"WorkflowCategoryType.ServiceOrder\"\n (activityCreated)=\"fullActivitiesRefreshRequested()\"></co-task-creator>\n </div>\n <div class=\"activity-list-conv-wrapper\">\n <label class=\"label history-label\" [textContent]=\"'HISTORIC_ACTIVITY_CHAT'| localize\"></label>\n <co-activity-list [activities]=\"activities\"></co-activity-list>\n </div>\n </div>\n </div>\n </div>\n\n ",
|
|
51911
51926
|
encapsulation: i0.ViewEncapsulation.None
|
|
51912
51927
|
},] }
|
|
51913
51928
|
];
|
|
@@ -51973,7 +51988,7 @@
|
|
|
51973
51988
|
TransactionServiceMessageComponent.decorators = [
|
|
51974
51989
|
{ type: i0.Component, args: [{
|
|
51975
51990
|
selector: "co-transaction-service-message",
|
|
51976
|
-
template: "\n <co-input-textarea #input\n [model]=\"transactionServiceInfo.reportMessage\"\n
|
|
51991
|
+
template: "\n <co-input-textarea #input\n [model]=\"transactionServiceInfo.reportMessage\"\n [readonly]=\"readonly\"\n [showSaveCancel]=\"true\"\n ></co-input-textarea>\n ",
|
|
51977
51992
|
encapsulation: i0.ViewEncapsulation.None
|
|
51978
51993
|
},] }
|
|
51979
51994
|
];
|