@colijnit/transaction 12.1.55 → 12.1.57
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 +661 -388
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +221 -219
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +222 -220
- package/esm2015/lib/assets/dictionary/text.properties.js +3 -1
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +2 -2
- package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.js +2 -2
- package/esm2015/lib/component/core/base/components/warehouse/warehouse.component.js +2 -2
- package/esm2015/lib/component/core/base/transaction-base.component.js +4 -2
- package/esm2015/lib/component/core/base/transaction-line-base.component.js +5 -1
- package/esm2015/lib/component/dialog/dialog-header-search/dialog-header-search.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.js +4 -4
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/dialog-transaction-line-commission-code.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +2 -2
- package/esm2015/lib/component/discount/discount.component.js +2 -2
- package/esm2015/lib/component/down-payment/down-payment.component.js +71 -0
- package/esm2015/lib/component/down-payment/down-payment.module.js +25 -0
- package/esm2015/lib/component/payment/payment.component.js +54 -35
- package/esm2015/lib/component/payment/payment.module.js +4 -2
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +2 -2
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +2 -2
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +2 -2
- package/esm2015/lib/component/transaction/transaction.component.js +14 -4
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +3 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +27 -6
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-amount.component.js +5 -5
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.component.js +5 -5
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.js +34 -23
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +14 -14
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.module.js +4 -3
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +13 -13
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +10 -4
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.js +4 -2
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +2 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +7 -4
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +23 -6
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +4 -3
- package/esm2015/lib/component/transaction-totals/transaction-totals.component.js +3 -3
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/down-payment-view-model.js +7 -0
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/service/dynamic-component.service.js +4 -1
- package/esm2015/lib/service/payment.service.js +39 -4
- package/esm2015/lib/service/transaction-connector-adapter.service.js +14 -1
- package/fesm2015/colijnit-transaction.js +412 -172
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/components/characteristic-answer/style/_layout.scss +1 -1
- package/lib/component/core/base/components/warehouse/style/_layout.scss +1 -1
- package/lib/component/core/base/transaction-line-base.component.d.ts +1 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-vat/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/style/_layout.scss +1 -1
- package/lib/component/down-payment/down-payment.component.d.ts +16 -0
- package/lib/component/down-payment/down-payment.module.d.ts +2 -0
- package/lib/component/down-payment/style/_layout.scss +62 -0
- package/lib/component/down-payment/style/_material-definition.scss +20 -0
- package/lib/component/down-payment/style/_theme.scss +4 -0
- package/lib/component/down-payment/style/material.scss +4 -0
- package/lib/component/payment/payment.component.d.ts +8 -1
- package/lib/component/payment/style/_layout.scss +26 -5
- package/lib/component/payment/style/_material-definition.scss +3 -0
- package/lib/component/payment/style/material.scss +1 -0
- package/lib/component/relation/relation-addresses/style/_layout.scss +1 -1
- package/lib/component/transaction/transaction.component.d.ts +6 -2
- package/lib/component/transaction-button-bar/style/_material-definition.scss +2 -1
- package/lib/component/transaction-button-bar/style/_theme.scss +21 -0
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +7 -1
- package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +15 -3
- package/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.d.ts +2 -1
- package/lib/component/transaction-line/transaction-receive-goods-line/style/_layout.scss +1 -2
- package/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.d.ts +3 -3
- package/lib/component/transaction-line-action-buttons/style/_layout.scss +29 -18
- package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +14 -8
- package/lib/component/transaction-line-action-buttons/style/_theme.scss +4 -4
- package/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.d.ts +2 -0
- package/lib/component/transaction-line-image-and-description/style/_layout.scss +1 -0
- package/lib/component/transaction-line-image-and-description/style/_material-definition.scss +1 -0
- package/lib/component/transaction-line-image-and-description/style/_theme.scss +3 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +6 -4
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +7 -2
- package/lib/component/transaction-receiving-goods-details/style/_layout.scss +10 -7
- package/lib/component/transaction-receiving-goods-details/style/_material-definition.scss +3 -3
- package/lib/component/transaction-receiving-goods-history/style/_layout.scss +1 -1
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/model/down-payment-view-model.d.ts +7 -0
- package/lib/service/dynamic-component.service.d.ts +2 -1
- package/lib/service/payment.service.d.ts +7 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +2 -0
- package/lib/style/_variables.scss +18 -2
- package/lib/style/transaction-globals.scss +4 -3
- package/package.json +3 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, EventEmitter, Component, ViewEncapsulation, Input, HostBinding, ChangeDetectorRef, Output, Directive, Injector, ComponentFactoryResolver, ApplicationRef, ViewChild, Pipe, NgModule, ElementRef, ContentChildren, HostListener } from '@angular/core';
|
|
3
|
+
import { Injectable, EventEmitter, Component, ViewEncapsulation, Input, HostBinding, ChangeDetectorRef, Output, Directive, Injector, ComponentFactoryResolver, ApplicationRef, ViewChild, Pipe, NgModule, ElementRef, ContentChildren, HostListener, ViewChildren } from '@angular/core';
|
|
4
4
|
import { PendingReasonType } from '@colijnit/transactionapi/build/enum/pending-reason-type.enum';
|
|
5
5
|
import { SequenceName } from '@colijnit/transactionapi/build/enum/sequence-name.enum';
|
|
6
6
|
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
@@ -54,6 +54,7 @@ import * as i1 from '@angular/platform-browser';
|
|
|
54
54
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
55
55
|
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
|
|
56
56
|
import { SupplierFullObject } from '@colijnit/transactionapi/build/model/supplier-full-object.bo';
|
|
57
|
+
import { TransactionDownPaymentInfo } from '@colijnit/transactionapi/build/model/transaction-down-payment-info.bo';
|
|
57
58
|
import { RelationStatus } from '@colijnit/transactionapi/build/enum/relation-status.enum';
|
|
58
59
|
import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
|
|
59
60
|
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
@@ -65,7 +66,7 @@ import { ResolveHeaderPendingReasonRequest } from '@colijnit/transactionapi/buil
|
|
|
65
66
|
import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
|
|
66
67
|
import { NULL_CUSTOMER_FULL_OBJECT, NULL_RELATION_OBJECT } from '@colijnit/transactionapi/build/model/nul-relation-object';
|
|
67
68
|
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
68
|
-
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputTextComponent, InputListboxModule, DropDownModule, InputSearchModule, ColumnAlign, SimpleGridColumnDirective, ObserveVisibilityModule, ColorSequenceService, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, InputNumberPickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, CarouselModule, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, ClickoutsideModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
69
|
+
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputTextComponent, InputListboxModule, DropDownModule, InputSearchModule, ColumnAlign, SimpleGridColumnDirective, ObserveVisibilityModule, ColorSequenceService, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, InputNumberPickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, CarouselModule, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, ClickoutsideModule, CheckmarkOverlayModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
69
70
|
import { FlexModule } from '@angular/flex-layout';
|
|
70
71
|
import { AddressType } from '@colijnit/transactionapi/build/enum/address-type.enum';
|
|
71
72
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
@@ -80,9 +81,9 @@ import { PagingParameters } from '@colijnit/transactionapi/build/model/paging-pa
|
|
|
80
81
|
import { TransactionSearchViewRequest } from '@colijnit/transactionapi/build/model/transaction-search-view-request';
|
|
81
82
|
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
82
83
|
import { GetPurchaseOrderConfirmation } from '@colijnit/transactionapi/build/model/get-purchase-order-confirmation';
|
|
83
|
-
import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-status.enum';
|
|
84
84
|
import { ReceiveGoodsForPurchaseOrderRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo';
|
|
85
85
|
import { PurchaseOrderLineReceiptDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo';
|
|
86
|
+
import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-status.enum';
|
|
86
87
|
import { RelationRequest } from '@colijnit/transactionapi/build/model/relation-request';
|
|
87
88
|
import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
|
|
88
89
|
import { CoDocument } from '@colijnit/sharedapi/build/model/co-document.bo';
|
|
@@ -405,6 +406,7 @@ class Dictionary {
|
|
|
405
406
|
"PAYMENT": "Betaling",
|
|
406
407
|
"PAYMENT_INFORMATION": "Betaalinformatie",
|
|
407
408
|
"PAYMENT_METHOD": "Betaalmethode",
|
|
409
|
+
"PAYMENTS_MADE": "Verrichte betalingen",
|
|
408
410
|
"PERSONAL_DATA": "Basisgegevens",
|
|
409
411
|
"PICKED": "Gepickt",
|
|
410
412
|
"PHONE_NO": "Telefoonnummer",
|
|
@@ -752,6 +754,7 @@ class Dictionary {
|
|
|
752
754
|
"PAYMENT": "Payment",
|
|
753
755
|
"PAYMENT_INFORMATION": "Payment information",
|
|
754
756
|
"PAYMENT_METHOD": "Payment method",
|
|
757
|
+
"PAYMENTS_MADE": "Payments made",
|
|
755
758
|
"PERSONAL_DATA": "Personal data",
|
|
756
759
|
"PHONE_NO": "Telephone number",
|
|
757
760
|
"PLANNING": "Planning",
|
|
@@ -2059,6 +2062,7 @@ var Icon;
|
|
|
2059
2062
|
Icon["EllipsisLight"] = "ellipsis_light";
|
|
2060
2063
|
Icon["FileCircleInfoSolid"] = "file_circle_info_solid";
|
|
2061
2064
|
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
2065
|
+
Icon["GearSolid"] = "gear_solid";
|
|
2062
2066
|
Icon["GripDotsVerticalSolid"] = "grip_dots_vertical_solid";
|
|
2063
2067
|
Icon["IdealLogo"] = "ideal_logo";
|
|
2064
2068
|
Icon["InboxInSolid"] = "inbox_in_solid";
|
|
@@ -2129,6 +2133,7 @@ const IconSvg = {
|
|
|
2129
2133
|
"ellipsis_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M352 256C352 238.3 366.3 224 384 224C401.7 224 416 238.3 416 256C416 273.7 401.7 288 384 288C366.3 288 352 273.7 352 256zM192 256C192 238.3 206.3 224 224 224C241.7 224 256 238.3 256 256C256 273.7 241.7 288 224 288C206.3 288 192 273.7 192 256zM96 256C96 273.7 81.67 288 64 288C46.33 288 32 273.7 32 256C32 238.3 46.33 224 64 224C81.67 224 96 238.3 96 256z\"/></svg>",
|
|
2130
2134
|
"file_circle_info_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M0 64C0 28.65 28.65 0 64 0H224V128C224 145.7 238.3 160 256 160H384V198.6C310.1 219.5 256 287.4 256 368C256 427.1 285.1 479.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM256 128V0L384 128H256zM288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM432 320C445.3 320 456 309.3 456 296C456 282.7 445.3 272 432 272C418.7 272 408 282.7 408 296C408 309.3 418.7 320 432 320zM416 384L416 432C407.2 432 400 439.2 400 448C400 456.8 407.2 464 416 464H448C456.8 464 464 456.8 464 448C464 439.2 456.8 432 448 432V368C448 359.2 440.8 352 432 352H416C407.2 352 400 359.2 400 368C400 376.8 407.2 384 416 384z\"/></svg>",
|
|
2131
2135
|
"file_pdf_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M88 304H80V256H88C101.3 256 112 266.7 112 280C112 293.3 101.3 304 88 304zM192 256H200C208.8 256 216 263.2 216 272V336C216 344.8 208.8 352 200 352H192V256zM224 0V128C224 145.7 238.3 160 256 160H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H224zM64 224C55.16 224 48 231.2 48 240V368C48 376.8 55.16 384 64 384C72.84 384 80 376.8 80 368V336H88C118.9 336 144 310.9 144 280C144 249.1 118.9 224 88 224H64zM160 368C160 376.8 167.2 384 176 384H200C226.5 384 248 362.5 248 336V272C248 245.5 226.5 224 200 224H176C167.2 224 160 231.2 160 240V368zM288 224C279.2 224 272 231.2 272 240V368C272 376.8 279.2 384 288 384C296.8 384 304 376.8 304 368V320H336C344.8 320 352 312.8 352 304C352 295.2 344.8 288 336 288H304V256H336C344.8 256 352 248.8 352 240C352 231.2 344.8 224 336 224H288zM256 0L384 128H256V0z\"/></svg>",
|
|
2136
|
+
"gear_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M200 0H312l17.2 78.4c15.8 6.5 30.6 15.1 44 25.4l76.5-24.4 56 97-59.4 54.1c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l59.4 54.1-56 97-76.5-24.4c-13.4 10.3-28.2 18.9-44 25.4L312 512H200l-17.2-78.4c-15.8-6.5-30.6-15.1-44-25.4L62.3 432.5l-56-97 59.4-54.1C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L6.3 176.5l56-97 76.5 24.4c13.4-10.3 28.2-18.9 44-25.4L200 0zm56 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z\"/></svg>",
|
|
2132
2137
|
"grip_dots_vertical_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><path d=\"M48 144c26.5 0 48-21.5 48-48s-21.5-48-48-48S0 69.5 0 96s21.5 48 48 48zm0 160c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM96 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 144c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48 112c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z\"/></svg>",
|
|
2133
2138
|
"ideal_logo": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 306.1 269.8\" style=\"enable-background:new 0 0 306.1 269.8;\" ><style type=\"text/css\">.st0{fill:#FFFFFF;}.st1{fill:#CC0066;}</style><g><g><path class=\"st0\" d=\"M0,20v229.8c0,11,9,20,20,20h137.3c103.8,0,148.8-58.1,148.8-135.2C306.1,57.9,261.1,0,157.3,0H20C9,0,0,9,0,20z\"/><path class=\"st1\" d=\"M91.9,56.4v169.8h73.9c67.1,0,96.2-37.9,96.2-91.5c0-51.3-29.1-91.1-96.2-91.1h-61.1C97.6,43.6,91.9,49.4,91.9,56.4z\"/><g><g><path d=\"M157.3,251.5H37.9c-10.6,0-19.2-8.6-19.2-19.2V37.6c0-10.6,8.6-19.2,19.2-19.2h119.4c113.3,0,130.2,72.9,130.2,116.3C287.5,210,241.2,251.5,157.3,251.5z M37.9,24.8c-7.1,0-12.8,5.7-12.8,12.8v194.7c0,7.1,5.7,12.8,12.8,12.8h119.4c79.8,0,123.8-39.2,123.8-110.4c0-95.6-77.6-109.9-123.8-109.9H37.9z\"/></g></g></g><g><path class=\"st0\" d=\"M117.9,111.8c2.6,0,5,0.4,7.3,1.2c2.3,0.8,4.2,2.1,5.9,3.7c1.6,1.7,2.9,3.8,3.9,6.2c0.9,2.5,1.4,5.4,1.4,8.8c0,3-0.4,5.7-1.1,8.2c-0.8,2.5-1.9,4.7-3.4,6.5c-1.5,1.8-3.4,3.2-5.7,4.3c-2.3,1-5,1.6-8.1,1.6h-17.5v-40.6H117.9z M117.3,144.9c1.3,0,2.5-0.2,3.8-0.6c1.2-0.4,2.3-1.1,3.2-2.1c0.9-1,1.7-2.2,2.3-3.8c0.6-1.6,0.9-3.4,0.9-5.7c0-2-0.2-3.9-0.6-5.5c-0.4-1.6-1.1-3.1-2-4.2s-2.1-2.1-3.6-2.7c-1.5-0.6-3.3-0.9-5.5-0.9h-6.4v25.6H117.3z\"/><path class=\"st0\" d=\"M172.5,111.8v7.5h-21.4v8.7h19.7v6.9h-19.7v9.9H173v7.5h-30.8v-40.6H172.5z\"/><path class=\"st0\" d=\"M203.1,111.8l15.2,40.6H209l-3.1-9h-15.2l-3.2,9h-9l15.3-40.6H203.1z M203.6,136.7l-5.1-14.9h-0.1l-5.3,14.9H203.6z\"/><path class=\"st0\" d=\"M232.8,111.8v33.1h19.8v7.5h-28.7v-40.6H232.8z\"/></g><g><circle cx=\"58.5\" cy=\"132.1\" r=\"18.7\"/></g><path d=\"M72.6,226.2L72.6,226.2c-15.7,0-28.3-12.7-28.3-28.3v-22.1c0-7.8,6.3-14.2,14.2-14.2h0c7.8,0,14.2,6.3,14.2,14.2V226.2z\"/></g></svg>",
|
|
2134
2139
|
"inbox_in_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M288 32V210.7l41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7V32c0-17.7 14.3-32 32-32s32 14.3 32 32zM48 320h76.2c12.1 0 23.2 6.8 28.6 17.7l14.3 28.6c5.4 10.8 16.5 17.7 28.6 17.7H316.2c12.1 0 23.2-6.8 28.6-17.7l14.3-28.6c5.4-10.8 16.5-17.7 28.6-17.7H464c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48z\"/></svg>",
|
|
@@ -2255,7 +2260,7 @@ ConfirmationDialogComponent.decorators = [
|
|
|
2255
2260
|
</div>
|
|
2256
2261
|
</co-dialog>
|
|
2257
2262
|
<ng-template #headerTemplate>
|
|
2258
|
-
<div class="title" [textContent]="title | localize"></div>
|
|
2263
|
+
<div class="co-transaction-dialog-header-title" [textContent]="title | localize"></div>
|
|
2259
2264
|
</ng-template>
|
|
2260
2265
|
<ng-template #footerTemplate>
|
|
2261
2266
|
<div class="button-wrapper">
|
|
@@ -2341,7 +2346,7 @@ CharacteristicAnswerComponent.decorators = [
|
|
|
2341
2346
|
</ng-container>
|
|
2342
2347
|
</co-dialog>
|
|
2343
2348
|
<ng-template #headerTemplate>
|
|
2344
|
-
<div class="title" [textContent]="title"></div>
|
|
2349
|
+
<div class="co-transaction-dialog-header-title" [textContent]="title"></div>
|
|
2345
2350
|
</ng-template>
|
|
2346
2351
|
<ng-template #footerTemplate>
|
|
2347
2352
|
<div class="dialog-footer-button-wrapper">
|
|
@@ -2505,6 +2510,10 @@ class TransactionLineBaseComponent extends TransactionFilterPopupBaseComponent {
|
|
|
2505
2510
|
// overridden by descendents
|
|
2506
2511
|
transactionInfoSet() {
|
|
2507
2512
|
}
|
|
2513
|
+
stopPropagation(event) {
|
|
2514
|
+
event.preventDefault();
|
|
2515
|
+
event.stopPropagation();
|
|
2516
|
+
}
|
|
2508
2517
|
}
|
|
2509
2518
|
TransactionLineBaseComponent.decorators = [
|
|
2510
2519
|
{ type: Directive }
|
|
@@ -2598,7 +2607,7 @@ DialogTransactionLineCommissionCodeComponent.decorators = [
|
|
|
2598
2607
|
(valueChange)="handleValueChange($event)"></co-transaction-line-commission-code>
|
|
2599
2608
|
</co-dialog>
|
|
2600
2609
|
<ng-template #dialogHeader>
|
|
2601
|
-
<div class="dialog-header-title" [textContent]="'COMMISSION_CODE' | localize"></div>
|
|
2610
|
+
<div class="co-transaction-dialog-header-title" [textContent]="'COMMISSION_CODE' | localize"></div>
|
|
2602
2611
|
</ng-template>
|
|
2603
2612
|
<ng-template #footerTemplate>
|
|
2604
2613
|
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
@@ -2620,6 +2629,9 @@ class DynamicComponentService {
|
|
|
2620
2629
|
this.injector = injector;
|
|
2621
2630
|
this._componentRefs = [];
|
|
2622
2631
|
}
|
|
2632
|
+
getComponentRefs() {
|
|
2633
|
+
return this._componentRefs;
|
|
2634
|
+
}
|
|
2623
2635
|
createComponent(componentClass, inputs, outputs, providers) {
|
|
2624
2636
|
return new Promise((resolve) => {
|
|
2625
2637
|
if (providers) {
|
|
@@ -2780,7 +2792,7 @@ DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
|
2780
2792
|
</div>
|
|
2781
2793
|
</co-dialog>
|
|
2782
2794
|
<ng-template #dialogHeader>
|
|
2783
|
-
<div class="dialog-header-title" [textContent]="'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize"></div>
|
|
2795
|
+
<div class="co-transaction-dialog-header-title" [textContent]="'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize"></div>
|
|
2784
2796
|
</ng-template>
|
|
2785
2797
|
<ng-template #footerTemplate>
|
|
2786
2798
|
<div class="dialog-footer-button-wrapper">
|
|
@@ -4249,6 +4261,18 @@ class TransactionConnectorAdapterService {
|
|
|
4249
4261
|
}
|
|
4250
4262
|
});
|
|
4251
4263
|
}
|
|
4264
|
+
getDownPaymentInfo(uuid) {
|
|
4265
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4266
|
+
const response = yield this.connector.getDownPaymentInfo(uuid);
|
|
4267
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
4268
|
+
return this._boFactory.makeWithRawBackendData(TransactionDownPaymentInfo, response.resultObject);
|
|
4269
|
+
}
|
|
4270
|
+
else {
|
|
4271
|
+
this._handleExceptionFromResponse(response);
|
|
4272
|
+
return null;
|
|
4273
|
+
}
|
|
4274
|
+
});
|
|
4275
|
+
}
|
|
4252
4276
|
getGoodsReceiptStatus(transId, lineNr) {
|
|
4253
4277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4254
4278
|
const response = yield this.connector.getGoodsReceiptStatus(transId, lineNr);
|
|
@@ -7314,7 +7338,7 @@ WarehouseComponent.decorators = [
|
|
|
7314
7338
|
</div>
|
|
7315
7339
|
</co-dialog>
|
|
7316
7340
|
<ng-template #headerTemplate>
|
|
7317
|
-
<div class="title" [textContent]="'WAREHOUSE' | localize"></div>
|
|
7341
|
+
<div class="co-transaction-dialog-header-title" [textContent]="'WAREHOUSE' | localize"></div>
|
|
7318
7342
|
</ng-template>
|
|
7319
7343
|
<ng-template #footerTemplate>
|
|
7320
7344
|
<div class="dialog-footer-button-wrapper">
|
|
@@ -8106,9 +8130,9 @@ TransactionTotalsComponent.decorators = [
|
|
|
8106
8130
|
<div class="transaction-totals-wrapper">
|
|
8107
8131
|
<span class="totals-gross label" [textContent]="'ORDER_GROSS' | localize"></span>
|
|
8108
8132
|
<span class="totals-gross value" [textContent]="transactionTotal?.grossAmount | coCurrency: true"></span>
|
|
8109
|
-
<ng-container *ngIf="transactionTotal?.
|
|
8133
|
+
<ng-container *ngIf="transactionTotal?.totalDiscountAmount">
|
|
8110
8134
|
<span class="totals-discount-amount label" [textContent]="'DISCOUNT_AMOUNT' | localize"></span>
|
|
8111
|
-
<span class="totals-discount-amount value" [class.transaction-negative-value]="transactionTotal?.
|
|
8135
|
+
<span class="totals-discount-amount value" [class.transaction-negative-value]="transactionTotal?.totalDiscountAmount < 0" [textContent]="transactionTotal?.totalDiscountAmount | coCurrency: true"></span>
|
|
8112
8136
|
</ng-container>
|
|
8113
8137
|
<ng-container *ngIf="transactionTotal?.transactionDiscountAmount">
|
|
8114
8138
|
<span class="totals-discount label" [textContent]="'TRANSACTION_DISCOUNT' | localize"></span>
|
|
@@ -8250,7 +8274,7 @@ DialogTransactionHeaderDiscountComponent.decorators = [
|
|
|
8250
8274
|
</div>
|
|
8251
8275
|
<div class="transaction-discount-overview-item">
|
|
8252
8276
|
<div class="title" [textContent]="'DISCOUNT' | localize"></div>
|
|
8253
|
-
<div class="value" [class.transaction-negative-value]="transactionTotal.
|
|
8277
|
+
<div class="value" [class.transaction-negative-value]="transactionTotal.totalDiscountAmount < 0" [textContent]="transactionTotal.totalDiscountAmount | coCurrency"></div>
|
|
8254
8278
|
</div>
|
|
8255
8279
|
<div class="transaction-discount-overview-item">
|
|
8256
8280
|
<div class="title" [textContent]="'ASSEMBLY_COSTS' | localize"></div>
|
|
@@ -8258,7 +8282,7 @@ DialogTransactionHeaderDiscountComponent.decorators = [
|
|
|
8258
8282
|
</div>
|
|
8259
8283
|
<div class="transaction-discount-overview-item">
|
|
8260
8284
|
<div class="title" [textContent]="'SURCHARGE_AMOUNT' | localize"></div>
|
|
8261
|
-
<div class="value" [class.transaction-negative-value]="transactionTotal.
|
|
8285
|
+
<div class="value" [class.transaction-negative-value]="transactionTotal.totalSurchargeAmount < 0" [textContent]="transactionTotal.totalSurchargeAmount | coCurrency"></div>
|
|
8262
8286
|
</div>
|
|
8263
8287
|
<div class="transaction-discount-overview-item">
|
|
8264
8288
|
<div class="title" [textContent]="'DELIVERY_COSTS' | localize"></div>
|
|
@@ -8272,7 +8296,7 @@ DialogTransactionHeaderDiscountComponent.decorators = [
|
|
|
8272
8296
|
</div>
|
|
8273
8297
|
</co-dialog>
|
|
8274
8298
|
<ng-template #dialogHeader>
|
|
8275
|
-
<div class="dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
8299
|
+
<div class="co-transaction-dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
8276
8300
|
</ng-template>
|
|
8277
8301
|
`,
|
|
8278
8302
|
encapsulation: ViewEncapsulation.None
|
|
@@ -8710,7 +8734,7 @@ TransactionLineImageAndDescriptionComponent.decorators = [
|
|
|
8710
8734
|
<div class="transaction-line-image" [class.preview]="preview">
|
|
8711
8735
|
<co-image-display [model]="image"></co-image-display>
|
|
8712
8736
|
</div>
|
|
8713
|
-
<div class="transaction-line-description">
|
|
8737
|
+
<div class="transaction-line-description" data-action="openSidePanel">
|
|
8714
8738
|
<div class="description-wrapper">
|
|
8715
8739
|
<co-transaction-line-description class="transaction-line-description-description"
|
|
8716
8740
|
[transactionLine]="line"
|
|
@@ -8994,7 +9018,7 @@ TransactionArticleTextComponent.decorators = [
|
|
|
8994
9018
|
</co-dialog>
|
|
8995
9019
|
|
|
8996
9020
|
<ng-template #headerTemplate>
|
|
8997
|
-
<span class="
|
|
9021
|
+
<span class="co-transaction-dialog-header-title" [textContent]="header"></span>
|
|
8998
9022
|
</ng-template>
|
|
8999
9023
|
<ng-template #footerTemplate>
|
|
9000
9024
|
<div class="button-wrapper">
|
|
@@ -9737,7 +9761,9 @@ class TransactionBaseComponent {
|
|
|
9737
9761
|
if (this._transaction.lineOperationStatuses) {
|
|
9738
9762
|
this.lineOperationStatuses = this._transaction.lineOperationStatuses;
|
|
9739
9763
|
}
|
|
9740
|
-
this.
|
|
9764
|
+
if (this._transaction.transactionInfo && this._transaction.transactionInfo.uuid) {
|
|
9765
|
+
this.transactionSet();
|
|
9766
|
+
}
|
|
9741
9767
|
}
|
|
9742
9768
|
}
|
|
9743
9769
|
get transaction() {
|
|
@@ -9849,14 +9875,82 @@ TransactionEventService.decorators = [
|
|
|
9849
9875
|
{ type: Injectable, args: [{ providedIn: "root" },] }
|
|
9850
9876
|
];
|
|
9851
9877
|
|
|
9878
|
+
class TransactionReceiveGoodsService {
|
|
9879
|
+
constructor(_transactionService, _transactionEventService) {
|
|
9880
|
+
this._transactionService = _transactionService;
|
|
9881
|
+
this._transactionEventService = _transactionEventService;
|
|
9882
|
+
this.lines = [];
|
|
9883
|
+
this._subscriptions = [];
|
|
9884
|
+
this._subscriptions.push(this._transactionEventService.commitReceivePurchaseOrders.subscribe((value => {
|
|
9885
|
+
this.handleReceiveSelectedPurchaseOrders(value);
|
|
9886
|
+
})), this._transactionEventService.transactionLineChanged.subscribe((value) => {
|
|
9887
|
+
this._handleTransactionLineChanged(value);
|
|
9888
|
+
}));
|
|
9889
|
+
}
|
|
9890
|
+
handleReceiveSelectedPurchaseOrders(value) {
|
|
9891
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9892
|
+
const selectedLines = this.lines.filter((line) => line.selected && line.quantityToReceive > 0);
|
|
9893
|
+
if (selectedLines.length > 0) {
|
|
9894
|
+
const receivedGoodsRequest = new ReceiveGoodsForPurchaseOrderRequest();
|
|
9895
|
+
receivedGoodsRequest.transId = selectedLines[0].transId;
|
|
9896
|
+
receivedGoodsRequest.receivedDate = value.date;
|
|
9897
|
+
receivedGoodsRequest.packingSlipNr = value.id;
|
|
9898
|
+
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS = [];
|
|
9899
|
+
selectedLines.forEach((line) => {
|
|
9900
|
+
const detail = new PurchaseOrderLineReceiptDetails();
|
|
9901
|
+
detail.lineNr = line.lineNr;
|
|
9902
|
+
detail.quantityToReceive = line.quantityToReceive;
|
|
9903
|
+
detail.warehouseNr = line.warehouseNumber;
|
|
9904
|
+
detail.locationNr = line.locationNr;
|
|
9905
|
+
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS.push(detail);
|
|
9906
|
+
});
|
|
9907
|
+
const response = yield this._transactionService.receiveGoodsForPurchaseOrder(receivedGoodsRequest);
|
|
9908
|
+
if (response) {
|
|
9909
|
+
this._handleAfterCommitReceivedOrders(selectedLines);
|
|
9910
|
+
}
|
|
9911
|
+
return !!response;
|
|
9912
|
+
}
|
|
9913
|
+
return false;
|
|
9914
|
+
});
|
|
9915
|
+
}
|
|
9916
|
+
_handleAfterCommitReceivedOrders(selectedLines) {
|
|
9917
|
+
selectedLines.forEach((line) => {
|
|
9918
|
+
line.quantityReceived += line.quantityToReceive;
|
|
9919
|
+
line.quantityToReceive -= line.quantityToReceive;
|
|
9920
|
+
this._transactionEventService.selectAllLines.next(false);
|
|
9921
|
+
});
|
|
9922
|
+
}
|
|
9923
|
+
_handleTransactionLineChanged(change) {
|
|
9924
|
+
const receiveGoodViewModel = this.lines.find((line) => line.lineNr === change.transactionLine.lineNr);
|
|
9925
|
+
if (receiveGoodViewModel) {
|
|
9926
|
+
receiveGoodViewModel.quantityToReceive = change.goodsReceiptStatus.quantityToReceive;
|
|
9927
|
+
receiveGoodViewModel.quantityReceived = change.goodsReceiptStatus.quantityReceived;
|
|
9928
|
+
}
|
|
9929
|
+
}
|
|
9930
|
+
}
|
|
9931
|
+
TransactionReceiveGoodsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionReceiveGoodsService_Factory() { return new TransactionReceiveGoodsService(i0.ɵɵinject(TransactionService), i0.ɵɵinject(TransactionEventService)); }, token: TransactionReceiveGoodsService, providedIn: "root" });
|
|
9932
|
+
TransactionReceiveGoodsService.decorators = [
|
|
9933
|
+
{ type: Injectable, args: [{
|
|
9934
|
+
providedIn: "root"
|
|
9935
|
+
},] }
|
|
9936
|
+
];
|
|
9937
|
+
TransactionReceiveGoodsService.ctorParameters = () => [
|
|
9938
|
+
{ type: TransactionService },
|
|
9939
|
+
{ type: TransactionEventService }
|
|
9940
|
+
];
|
|
9941
|
+
|
|
9852
9942
|
class TransactionQuickAccessReceivedGoodsComponent extends TransactionBaseComponent {
|
|
9853
|
-
constructor(iconService, _transactionService, _transactionEventService) {
|
|
9943
|
+
constructor(iconService, _transactionService, _transactionEventService, _receiveGoodsService) {
|
|
9854
9944
|
super(_transactionService);
|
|
9855
9945
|
this.iconService = iconService;
|
|
9856
9946
|
this._transactionService = _transactionService;
|
|
9857
9947
|
this._transactionEventService = _transactionEventService;
|
|
9948
|
+
this._receiveGoodsService = _receiveGoodsService;
|
|
9858
9949
|
this.icons = Icon;
|
|
9859
9950
|
this.localCheckboxState = true;
|
|
9951
|
+
this.awaitingResult = false;
|
|
9952
|
+
this.resultSuccessful = false;
|
|
9953
|
+
this.iconVisible = true;
|
|
9860
9954
|
// Route through event service instead
|
|
9861
9955
|
this.checkboxValueChanged = new EventEmitter();
|
|
9862
9956
|
}
|
|
@@ -9868,7 +9962,16 @@ class TransactionQuickAccessReceivedGoodsComponent extends TransactionBaseCompon
|
|
|
9868
9962
|
this.commitDate = new Date(timeElapsed);
|
|
9869
9963
|
}
|
|
9870
9964
|
handleCommitEvent(value) {
|
|
9871
|
-
this
|
|
9965
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9966
|
+
this.iconVisible = false;
|
|
9967
|
+
this.resultSuccessful = false;
|
|
9968
|
+
this.awaitingResult = true;
|
|
9969
|
+
this.resultSuccessful = yield this._receiveGoodsService.handleReceiveSelectedPurchaseOrders(value);
|
|
9970
|
+
this.awaitingResult = false;
|
|
9971
|
+
setTimeout(() => {
|
|
9972
|
+
this.iconVisible = true;
|
|
9973
|
+
}, 600);
|
|
9974
|
+
});
|
|
9872
9975
|
}
|
|
9873
9976
|
handleSelectAllLines(value) {
|
|
9874
9977
|
this._transactionEventService.selectAllLines.next(value);
|
|
@@ -9893,8 +9996,9 @@ TransactionQuickAccessReceivedGoodsComponent.decorators = [
|
|
|
9893
9996
|
></co-input-checkbox>
|
|
9894
9997
|
<div class="buttons">
|
|
9895
9998
|
<div class="button-wrapper receive" (click)="handleCommitEvent({date: this.commitDate, id: this.commitReferenceId})">
|
|
9896
|
-
<co-
|
|
9897
|
-
<
|
|
9999
|
+
<co-checkmark-overlay [successful]="resultSuccessful" [visible]="awaitingResult"></co-checkmark-overlay>
|
|
10000
|
+
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.GearSolid)" [class.hidden]="!iconVisible"></co-icon>
|
|
10001
|
+
<!-- <span class="button-title" [textContent]="'INSIDE' | localize"></span>-->
|
|
9898
10002
|
</div>
|
|
9899
10003
|
<div class="button-wrapper print">
|
|
9900
10004
|
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.PrintSolid)"></co-icon>
|
|
@@ -9908,7 +10012,8 @@ TransactionQuickAccessReceivedGoodsComponent.decorators = [
|
|
|
9908
10012
|
TransactionQuickAccessReceivedGoodsComponent.ctorParameters = () => [
|
|
9909
10013
|
{ type: IconCacheService },
|
|
9910
10014
|
{ type: TransactionService },
|
|
9911
|
-
{ type: TransactionEventService }
|
|
10015
|
+
{ type: TransactionEventService },
|
|
10016
|
+
{ type: TransactionReceiveGoodsService }
|
|
9912
10017
|
];
|
|
9913
10018
|
TransactionQuickAccessReceivedGoodsComponent.propDecorators = {
|
|
9914
10019
|
commitDate: [{ type: Input }],
|
|
@@ -10271,22 +10376,22 @@ TransactionLineActionButtonsComponent.decorators = [
|
|
|
10271
10376
|
(clickOutside)="handleShowHideClick()">
|
|
10272
10377
|
|
|
10273
10378
|
<co-button
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10379
|
+
class="transaction-line-overview-button circle action-button"
|
|
10380
|
+
[class.show]="showActionButtonsDelayed"
|
|
10381
|
+
[iconData]="iconCacheService.getIcon(icons.TextSizeSolid)"
|
|
10382
|
+
(click)="handleTransactionArticleTextOverview()"></co-button>
|
|
10278
10383
|
|
|
10279
10384
|
<co-button
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10385
|
+
class="transaction-line-add-text-button circle action-button"
|
|
10386
|
+
[class.show]="showActionButtonsDelayed"
|
|
10387
|
+
[iconData]="iconCacheService.getIcon(icons.TextSolid)"
|
|
10388
|
+
(click)="handleTransactionArticleText()"></co-button>
|
|
10284
10389
|
|
|
10285
10390
|
<co-button
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10391
|
+
class="transaction-line-show-sidebar-button circle action-button"
|
|
10392
|
+
[class.show]="showActionButtonsDelayed"
|
|
10393
|
+
[iconData]="iconCacheService.getIcon(icons.ObjectIntersectSolid)"
|
|
10394
|
+
(click)="handleShowSidePanel()"></co-button>
|
|
10290
10395
|
</div>
|
|
10291
10396
|
</div>
|
|
10292
10397
|
|
|
@@ -10650,60 +10755,6 @@ TransactionQuickAccessOrderDeliveryComponent.propDecorators = {
|
|
|
10650
10755
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-order-delivery",] }]
|
|
10651
10756
|
};
|
|
10652
10757
|
|
|
10653
|
-
class TransactionReceiveGoodsService {
|
|
10654
|
-
constructor(_transactionService, _transactionEventService) {
|
|
10655
|
-
this._transactionService = _transactionService;
|
|
10656
|
-
this._transactionEventService = _transactionEventService;
|
|
10657
|
-
this.lines = [];
|
|
10658
|
-
this._subscriptions = [];
|
|
10659
|
-
this._subscriptions.push(this._transactionEventService.commitReceivePurchaseOrders.subscribe((value => {
|
|
10660
|
-
this.handleReceiveSelectedPurchaseOrders(value);
|
|
10661
|
-
})));
|
|
10662
|
-
}
|
|
10663
|
-
handleReceiveSelectedPurchaseOrders(value) {
|
|
10664
|
-
const selectedLines = this.lines.filter((line) => line.selected && line.quantityToReceive > 0);
|
|
10665
|
-
if (selectedLines.length > 0) {
|
|
10666
|
-
const receivedGoodsRequest = new ReceiveGoodsForPurchaseOrderRequest();
|
|
10667
|
-
receivedGoodsRequest.transId = selectedLines[0].transId;
|
|
10668
|
-
receivedGoodsRequest.receivedDate = value.date;
|
|
10669
|
-
receivedGoodsRequest.packingSlipNr = value.id;
|
|
10670
|
-
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS = [];
|
|
10671
|
-
selectedLines.forEach((line) => {
|
|
10672
|
-
const detail = new PurchaseOrderLineReceiptDetails();
|
|
10673
|
-
detail.lineNr = line.lineNr;
|
|
10674
|
-
detail.quantityToReceive = line.quantityToReceive;
|
|
10675
|
-
detail.warehouseNr = line.warehouseNumber;
|
|
10676
|
-
detail.locationNr = line.locationNr;
|
|
10677
|
-
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS.push(detail);
|
|
10678
|
-
});
|
|
10679
|
-
this._transactionService.receiveGoodsForPurchaseOrder(receivedGoodsRequest).then((response) => {
|
|
10680
|
-
if (response) {
|
|
10681
|
-
this._handleAfterCommitReceivedOrders(selectedLines);
|
|
10682
|
-
}
|
|
10683
|
-
});
|
|
10684
|
-
}
|
|
10685
|
-
}
|
|
10686
|
-
_handleAfterCommitReceivedOrders(selectedLines) {
|
|
10687
|
-
selectedLines.forEach((line) => {
|
|
10688
|
-
line.quantityReceived += line.quantityToReceive;
|
|
10689
|
-
line.quantityToReceive -= line.quantityToReceive;
|
|
10690
|
-
if (line.quantityToReceive !== 0) {
|
|
10691
|
-
line.selected = false;
|
|
10692
|
-
}
|
|
10693
|
-
});
|
|
10694
|
-
}
|
|
10695
|
-
}
|
|
10696
|
-
TransactionReceiveGoodsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionReceiveGoodsService_Factory() { return new TransactionReceiveGoodsService(i0.ɵɵinject(TransactionService), i0.ɵɵinject(TransactionEventService)); }, token: TransactionReceiveGoodsService, providedIn: "root" });
|
|
10697
|
-
TransactionReceiveGoodsService.decorators = [
|
|
10698
|
-
{ type: Injectable, args: [{
|
|
10699
|
-
providedIn: "root"
|
|
10700
|
-
},] }
|
|
10701
|
-
];
|
|
10702
|
-
TransactionReceiveGoodsService.ctorParameters = () => [
|
|
10703
|
-
{ type: TransactionService },
|
|
10704
|
-
{ type: TransactionEventService }
|
|
10705
|
-
];
|
|
10706
|
-
|
|
10707
10758
|
class ReceiveGoodViewModel extends TransactionLineInfo {
|
|
10708
10759
|
}
|
|
10709
10760
|
|
|
@@ -10726,7 +10777,7 @@ class TransactionReceiveGoodsLineComponent extends TransactionLinesLineBaseCompo
|
|
|
10726
10777
|
this.allowPartialDelivery = this.service.currentTransaction.transactionInfo.allowPartialDelivery;
|
|
10727
10778
|
this._initViewModel();
|
|
10728
10779
|
this._subscriptions.push(this._transactionEventService.selectAllLines.subscribe((value) => {
|
|
10729
|
-
this.viewModel.selected = value;
|
|
10780
|
+
this.viewModel.selected = this.viewModel.quantityReceived === this.viewModel.amount ? false : value;
|
|
10730
10781
|
}), this.lineVisible.subscribe(() => this.handleRowVisible()));
|
|
10731
10782
|
}
|
|
10732
10783
|
ngOnDestroy() {
|
|
@@ -10739,7 +10790,6 @@ class TransactionReceiveGoodsLineComponent extends TransactionLinesLineBaseCompo
|
|
|
10739
10790
|
this.viewModel.quantityReceived = 0;
|
|
10740
10791
|
this.viewModel.lineNr = this.line.lineNr;
|
|
10741
10792
|
this.viewModel.transId = this.transactionId;
|
|
10742
|
-
this.viewModel.selected = true;
|
|
10743
10793
|
}
|
|
10744
10794
|
handleRowVisible() {
|
|
10745
10795
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10747,6 +10797,7 @@ class TransactionReceiveGoodsLineComponent extends TransactionLinesLineBaseCompo
|
|
|
10747
10797
|
const goodsReceiptStatus = yield this._transactionService.getGoodsReceiptStatus(this.transactionId, this.line.lineNr);
|
|
10748
10798
|
this.viewModel.quantityToReceive = goodsReceiptStatus.quantityToReceive;
|
|
10749
10799
|
this.viewModel.quantityReceived = goodsReceiptStatus.quantityReceived;
|
|
10800
|
+
this.viewModel.selected = this.viewModel.quantityReceived !== this.viewModel.amount && !this.viewModel.isSerialNrRequired && !this.viewModel.isBatchNrRequired;
|
|
10750
10801
|
this._transactionReceiveGoodsService.lines.push(this.viewModel);
|
|
10751
10802
|
}
|
|
10752
10803
|
});
|
|
@@ -10754,27 +10805,27 @@ class TransactionReceiveGoodsLineComponent extends TransactionLinesLineBaseCompo
|
|
|
10754
10805
|
changeLineAmount(amount) {
|
|
10755
10806
|
}
|
|
10756
10807
|
handleLineClicked(mouseClick) {
|
|
10808
|
+
const target = mouseClick.target;
|
|
10809
|
+
if (target && target.dataset && target.dataset['action'] && target.dataset['action'] === 'openSidePanel') {
|
|
10810
|
+
this._transactionEventService.openSidePanel.next(this.line);
|
|
10811
|
+
}
|
|
10757
10812
|
}
|
|
10758
10813
|
}
|
|
10759
10814
|
TransactionReceiveGoodsLineComponent.decorators = [
|
|
10760
10815
|
{ type: Component, args: [{
|
|
10761
10816
|
selector: "co-transaction-receive-goods-line",
|
|
10762
10817
|
template: `
|
|
10763
|
-
<co-transaction-base-line [line]="viewModel" [preview]="preview" [actionButtons]="false" (click)="handleLineClicked($event)">
|
|
10764
|
-
<div class="line-content-wrapper">
|
|
10765
|
-
<co-transaction-line-warehouse-button [transactionLine]="viewModel" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
|
|
10766
|
-
<co-transaction-line-warehouse-location-button [readonly]="viewModel.quantityReceived === viewModel.amount" [line]="viewModel"></co-transaction-line-warehouse-location-button>
|
|
10818
|
+
<co-transaction-base-line [line]="viewModel" [preview]="preview" [actionButtons]="false" (click)="handleLineClicked($event)" observeVisibility (visible)="handleRowVisible()">
|
|
10819
|
+
<div class="line-content-wrapper" data-action="openSidePanel">
|
|
10820
|
+
<co-transaction-line-warehouse-button [transactionLine]="viewModel" [readonly]="viewModel.quantityReceived === viewModel.amount" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
|
|
10821
|
+
<co-transaction-line-warehouse-location-button [readonly]="viewModel.quantityReceived === viewModel.amount || !viewModel.isLocationRequired" [line]="viewModel"></co-transaction-line-warehouse-location-button>
|
|
10767
10822
|
<co-editable-label class="transaction-line-totals-total price"
|
|
10768
10823
|
[model]="viewModel.amount.toString() + 'x'"
|
|
10769
10824
|
[readonly]="true"
|
|
10770
10825
|
></co-editable-label>
|
|
10771
|
-
<
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
[model]="(viewModel.amount - viewModel.quantityDelivered).toString()"
|
|
10775
|
-
[readonly]="true"
|
|
10776
|
-
></co-editable-label>
|
|
10777
|
-
<div class="transaction-line-totals-amount">
|
|
10826
|
+
<div class="transaction-line-totals-amount"
|
|
10827
|
+
[class.fully-delivered]="viewModel.quantityReceived === viewModel.amount"
|
|
10828
|
+
[class.partially-delivered]="viewModel.quantityReceived !== viewModel.amount">
|
|
10778
10829
|
<co-input-number-picker class="amount-number-picker"
|
|
10779
10830
|
[(model)]="viewModel.quantityToReceive"
|
|
10780
10831
|
[min]="!allowPartialDelivery ? viewModel.amount : 1"
|
|
@@ -11149,12 +11200,15 @@ class TransactionLinesComponent {
|
|
|
11149
11200
|
}
|
|
11150
11201
|
_handleCategory() {
|
|
11151
11202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11152
|
-
this.hasComponent = !!this._mappingService.getTransactionLineComponent(this.service.currentTransaction.transactionInfo.transactionKind, this._activeCategory);
|
|
11153
11203
|
if (this._activeCategory === TransactionTypeCategory.PurchaseOrderReceivedGoods) {
|
|
11154
11204
|
if (this.transactionLines.find(l => l.isLocationRequired)) {
|
|
11155
11205
|
const response = yield this._dialogService.showWarehouseLocation(this.transactionLines[0].warehouseNumber, false, false, true);
|
|
11156
11206
|
if (response.button === AppPopupButtonType.Ok) {
|
|
11157
|
-
this._receiveGoodsService.lines.forEach(line =>
|
|
11207
|
+
this._receiveGoodsService.lines.forEach(line => {
|
|
11208
|
+
if (line.isLocationRequired && !line.isBatchNrRequired && !line.isSerialNrRequired && line.quantityToReceive > 0) {
|
|
11209
|
+
line.locationNr = response.output;
|
|
11210
|
+
}
|
|
11211
|
+
});
|
|
11158
11212
|
}
|
|
11159
11213
|
}
|
|
11160
11214
|
}
|
|
@@ -11178,7 +11232,7 @@ TransactionLinesComponent.decorators = [
|
|
|
11178
11232
|
[class.show]="line === selectedTransactionLine && transactionLines.length > 1" cdkDragHandle
|
|
11179
11233
|
[iconData]="iconCacheService.getIcon(icons.GripDotsVerticalSolid)">
|
|
11180
11234
|
</co-icon>
|
|
11181
|
-
<co-transaction-line
|
|
11235
|
+
<co-transaction-line
|
|
11182
11236
|
[transactionType]="service.currentTransaction.transactionInfo.transactionKind"
|
|
11183
11237
|
[activeCategory]="activeCategory"
|
|
11184
11238
|
[transactionId]="transactionId"
|
|
@@ -11580,11 +11634,18 @@ DeliveryTypeTileModule.decorators = [
|
|
|
11580
11634
|
},] }
|
|
11581
11635
|
];
|
|
11582
11636
|
|
|
11637
|
+
class PaymentViewmodel {
|
|
11638
|
+
constructor(method) {
|
|
11639
|
+
this.payment = method;
|
|
11640
|
+
}
|
|
11641
|
+
}
|
|
11642
|
+
|
|
11583
11643
|
class PaymentService {
|
|
11584
|
-
constructor(_adapterService, _selectMultipleCacheService, _transactionService) {
|
|
11644
|
+
constructor(_adapterService, _selectMultipleCacheService, _transactionService, _sharedService) {
|
|
11585
11645
|
this._adapterService = _adapterService;
|
|
11586
11646
|
this._selectMultipleCacheService = _selectMultipleCacheService;
|
|
11587
11647
|
this._transactionService = _transactionService;
|
|
11648
|
+
this._sharedService = _sharedService;
|
|
11588
11649
|
}
|
|
11589
11650
|
updateHeaderTransactionToDownPay(uuid, downPayment) {
|
|
11590
11651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11620,6 +11681,11 @@ class PaymentService {
|
|
|
11620
11681
|
return this._adapterService.getPaymentLinkStatus(paymentLinkUUID);
|
|
11621
11682
|
});
|
|
11622
11683
|
}
|
|
11684
|
+
getDownPaymentInfo(uuid) {
|
|
11685
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11686
|
+
return this._adapterService.getDownPaymentInfo(uuid);
|
|
11687
|
+
});
|
|
11688
|
+
}
|
|
11623
11689
|
getPaymentMethods() {
|
|
11624
11690
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11625
11691
|
return this._selectMultipleCacheService.requestCache(PaymentMethod, () => {
|
|
@@ -11627,8 +11693,33 @@ class PaymentService {
|
|
|
11627
11693
|
}).getValue();
|
|
11628
11694
|
});
|
|
11629
11695
|
}
|
|
11696
|
+
getPaymentMethodsViewModels() {
|
|
11697
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11698
|
+
const result = [];
|
|
11699
|
+
const methods = yield this.getPaymentMethods();
|
|
11700
|
+
methods.forEach((m) => __awaiter(this, void 0, void 0, function* () {
|
|
11701
|
+
const paymentViewModel = new PaymentViewmodel(m);
|
|
11702
|
+
const imageDocs = m.documents.filter(d => d.isImageDocument());
|
|
11703
|
+
if (imageDocs && imageDocs.length) {
|
|
11704
|
+
const image = imageDocs[0];
|
|
11705
|
+
if (image.filePath) {
|
|
11706
|
+
paymentViewModel.image = image.filePath;
|
|
11707
|
+
}
|
|
11708
|
+
else {
|
|
11709
|
+
if (!image.thumbnailBody) {
|
|
11710
|
+
const content = yield this._sharedService.getDocumentContent(image.documentId);
|
|
11711
|
+
image.thumbnailBody = content;
|
|
11712
|
+
}
|
|
11713
|
+
paymentViewModel.image = image.thumbnailBodyAsDataUri;
|
|
11714
|
+
}
|
|
11715
|
+
}
|
|
11716
|
+
result.push(paymentViewModel);
|
|
11717
|
+
}));
|
|
11718
|
+
return result;
|
|
11719
|
+
});
|
|
11720
|
+
}
|
|
11630
11721
|
}
|
|
11631
|
-
PaymentService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PaymentService_Factory() { return new PaymentService(i0.ɵɵinject(TransactionConnectorAdapterService), i0.ɵɵinject(SelectMultipleCacheService), i0.ɵɵinject(TransactionService)); }, token: PaymentService, providedIn: "root" });
|
|
11722
|
+
PaymentService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PaymentService_Factory() { return new PaymentService(i0.ɵɵinject(TransactionConnectorAdapterService), i0.ɵɵinject(SelectMultipleCacheService), i0.ɵɵinject(TransactionService), i0.ɵɵinject(SharedService)); }, token: PaymentService, providedIn: "root" });
|
|
11632
11723
|
PaymentService.decorators = [
|
|
11633
11724
|
{ type: Injectable, args: [{
|
|
11634
11725
|
providedIn: "root"
|
|
@@ -11637,12 +11728,14 @@ PaymentService.decorators = [
|
|
|
11637
11728
|
PaymentService.ctorParameters = () => [
|
|
11638
11729
|
{ type: TransactionConnectorAdapterService },
|
|
11639
11730
|
{ type: SelectMultipleCacheService },
|
|
11640
|
-
{ type: TransactionService }
|
|
11731
|
+
{ type: TransactionService },
|
|
11732
|
+
{ type: SharedService }
|
|
11641
11733
|
];
|
|
11642
11734
|
|
|
11643
|
-
class
|
|
11644
|
-
constructor(
|
|
11645
|
-
this.
|
|
11735
|
+
class DownPaymentViewModel {
|
|
11736
|
+
constructor(downPayment, paymentMethodViewmodel) {
|
|
11737
|
+
this.downPayment = downPayment;
|
|
11738
|
+
this.paymentMethod = paymentMethodViewmodel;
|
|
11646
11739
|
}
|
|
11647
11740
|
}
|
|
11648
11741
|
|
|
@@ -11652,27 +11745,38 @@ class PaymentComponent {
|
|
|
11652
11745
|
this._sharedService = _sharedService;
|
|
11653
11746
|
this._paymentService = _paymentService;
|
|
11654
11747
|
this.icons = Icon;
|
|
11655
|
-
this.amount = 0;
|
|
11656
11748
|
this.payed = new EventEmitter();
|
|
11657
11749
|
this.paymentMethodIdx = 0;
|
|
11658
11750
|
this.cashRegisterIdx = 0;
|
|
11659
11751
|
this.paymentMethods = [];
|
|
11752
|
+
this.downPayments = [];
|
|
11660
11753
|
this.cashRegisters = [];
|
|
11661
11754
|
this.showCashRegisters = false;
|
|
11662
11755
|
this.showKeyPad = false;
|
|
11663
11756
|
this.showPspQrCode = false;
|
|
11664
11757
|
this.showLoader = true;
|
|
11758
|
+
this.showLoaderDownPayments = true;
|
|
11759
|
+
this.amountToPay = 0;
|
|
11760
|
+
this._amount = 0;
|
|
11665
11761
|
this._paymentStatusPollIntervalMs = 5000;
|
|
11666
11762
|
this._paymentStatusMaxPollInterval = 10;
|
|
11667
11763
|
this._paymentStatusPollIntervalCount = 0;
|
|
11668
11764
|
}
|
|
11765
|
+
set amount(value) {
|
|
11766
|
+
this._amount = value;
|
|
11767
|
+
this.amountToPay = this._amount;
|
|
11768
|
+
}
|
|
11769
|
+
get amount() {
|
|
11770
|
+
return this._amount;
|
|
11771
|
+
}
|
|
11669
11772
|
showClass() {
|
|
11670
11773
|
return true;
|
|
11671
11774
|
}
|
|
11672
11775
|
ngOnInit() {
|
|
11673
|
-
this._paymentService.updateHeaderTransactionToDownPay(this.transactionUuid, this.
|
|
11776
|
+
this._paymentService.updateHeaderTransactionToDownPay(this.transactionUuid, this.amountToPay).then(() => {
|
|
11674
11777
|
this._getPaymentMethods().then(() => {
|
|
11675
11778
|
this.showLoader = false;
|
|
11779
|
+
this._getDownpaymentInfo();
|
|
11676
11780
|
this._prepareCashRegisters();
|
|
11677
11781
|
});
|
|
11678
11782
|
});
|
|
@@ -11691,7 +11795,7 @@ class PaymentComponent {
|
|
|
11691
11795
|
const currentPaymentViewModel = this.paymentMethods[this.paymentMethodIdx];
|
|
11692
11796
|
this.currentPaymentMethod = currentPaymentViewModel.payment;
|
|
11693
11797
|
if (this.currentPaymentMethod && this.currentPaymentMethod.externalSourceId) { // psp payment
|
|
11694
|
-
this._paymentService.createIonePaymentLinkAndQRCode(this.transactionUuid, this.
|
|
11798
|
+
this._paymentService.createIonePaymentLinkAndQRCode(this.transactionUuid, this.amountToPay, this.currentPaymentMethod.code).then((response) => {
|
|
11695
11799
|
this._paymentResult = response;
|
|
11696
11800
|
if (this._paymentResult && this._paymentResult.imageBase64) {
|
|
11697
11801
|
this.qrCodeImage = this._dataUriToBase64(this._paymentResult.imageBase64, 'image/png');
|
|
@@ -11703,14 +11807,30 @@ class PaymentComponent {
|
|
|
11703
11807
|
}
|
|
11704
11808
|
else {
|
|
11705
11809
|
const currentCashRegister = this.cashRegisters[this.cashRegisterIdx];
|
|
11706
|
-
this._paymentService.registerSalesOrderPayment(this.transactionUuid, this.
|
|
11810
|
+
this._paymentService.registerSalesOrderPayment(this.transactionUuid, this.amountToPay, this.currencyId, this.currentPaymentMethod.code, currentCashRegister.group).then(() => __awaiter(this, void 0, void 0, function* () {
|
|
11707
11811
|
this.showKeyPad = false;
|
|
11708
|
-
this.
|
|
11709
|
-
|
|
11812
|
+
yield this._getDownpaymentInfo();
|
|
11813
|
+
if (this.amountToPay === 0) {
|
|
11814
|
+
this.payed.emit();
|
|
11815
|
+
}
|
|
11816
|
+
}));
|
|
11710
11817
|
}
|
|
11711
11818
|
}
|
|
11712
11819
|
handleKeyPadModelChange(model) {
|
|
11713
|
-
this.
|
|
11820
|
+
this.amountToPay = model;
|
|
11821
|
+
}
|
|
11822
|
+
_getDownpaymentInfo() {
|
|
11823
|
+
this.downPayments.length = 0;
|
|
11824
|
+
this._paymentService.getDownPaymentInfo(this.transactionUuid).then((info) => {
|
|
11825
|
+
this.amountToPay = (info.toDownPayAmount ? info.toDownPayAmount : 0) - (info.payedDownAmount ? info.payedDownAmount : 0);
|
|
11826
|
+
if (info.downPayments) {
|
|
11827
|
+
info.downPayments.forEach((dp) => {
|
|
11828
|
+
const paymentMethod = this.paymentMethods.find(pm => pm.payment.code === dp.paymentMethodCode);
|
|
11829
|
+
this.downPayments.push(new DownPaymentViewModel(dp, paymentMethod));
|
|
11830
|
+
});
|
|
11831
|
+
}
|
|
11832
|
+
this.showLoaderDownPayments = false;
|
|
11833
|
+
});
|
|
11714
11834
|
}
|
|
11715
11835
|
_dataUriToBase64(uri, mimeType) {
|
|
11716
11836
|
return uri ? "data:" + mimeType + ";base64," + uri : "";
|
|
@@ -11726,7 +11846,10 @@ class PaymentComponent {
|
|
|
11726
11846
|
if (status.payedDate) {
|
|
11727
11847
|
this._clearInterval();
|
|
11728
11848
|
this.showPspQrCode = false;
|
|
11729
|
-
this.
|
|
11849
|
+
yield this._getDownpaymentInfo();
|
|
11850
|
+
if (this.amountToPay === 0) {
|
|
11851
|
+
this.payed.emit();
|
|
11852
|
+
}
|
|
11730
11853
|
}
|
|
11731
11854
|
this._paymentStatusPollIntervalCount++;
|
|
11732
11855
|
}
|
|
@@ -11763,26 +11886,12 @@ class PaymentComponent {
|
|
|
11763
11886
|
});
|
|
11764
11887
|
}
|
|
11765
11888
|
_getPaymentMethods() {
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
const image = imageDocs[0];
|
|
11773
|
-
if (image.filePath) {
|
|
11774
|
-
paymentViewModel.image = image.filePath;
|
|
11775
|
-
}
|
|
11776
|
-
else {
|
|
11777
|
-
if (!image.thumbnailBody) {
|
|
11778
|
-
const content = yield this._sharedService.getDocumentContent(image.documentId);
|
|
11779
|
-
image.thumbnailBody = content;
|
|
11780
|
-
}
|
|
11781
|
-
paymentViewModel.image = image.thumbnailBodyAsDataUri;
|
|
11782
|
-
}
|
|
11783
|
-
}
|
|
11784
|
-
this.paymentMethods.push(paymentViewModel);
|
|
11785
|
-
}));
|
|
11889
|
+
return new Promise((resolve) => {
|
|
11890
|
+
this.paymentMethods.length = 0;
|
|
11891
|
+
this._paymentService.getPaymentMethodsViewModels().then((methods) => {
|
|
11892
|
+
this.paymentMethods = methods.slice();
|
|
11893
|
+
resolve();
|
|
11894
|
+
});
|
|
11786
11895
|
});
|
|
11787
11896
|
}
|
|
11788
11897
|
}
|
|
@@ -11797,7 +11906,7 @@ PaymentComponent.decorators = [
|
|
|
11797
11906
|
<span class="payment-header-title" [textContent]="'PAYMENT_METHOD' | localize:false"></span>
|
|
11798
11907
|
</div>
|
|
11799
11908
|
<div class="payment-methods">
|
|
11800
|
-
<transaction-loader *ngIf="showLoader"></transaction-loader>
|
|
11909
|
+
<transaction-loader class="loader" *ngIf="showLoader"></transaction-loader>
|
|
11801
11910
|
<ng-container *ngIf="!showLoader">
|
|
11802
11911
|
<co-payment-tile *ngFor="let paymentMethod of paymentMethods; let index = index"
|
|
11803
11912
|
[image]="paymentMethod.image"
|
|
@@ -11823,15 +11932,18 @@ PaymentComponent.decorators = [
|
|
|
11823
11932
|
<div class="payment-to-pay-wrapper">
|
|
11824
11933
|
<div class="payment-to-pay">
|
|
11825
11934
|
<div [textContent]="'TO_PAY' | localize"></div>
|
|
11826
|
-
<div class="payment-amount" [textContent]="
|
|
11935
|
+
<div class="payment-amount" [textContent]="amountToPay === 0 ? amountToPay : (amountToPay | priceDisplay)"></div>
|
|
11936
|
+
</div>
|
|
11937
|
+
<div class="payment-downpayment" [class.no-display]="!downPayments || downPayments.length === 0">
|
|
11938
|
+
<co-down-payment [transactionUuid]="transactionUuid" [downPayments]="downPayments" [showLoader]="showLoaderDownPayments"></co-down-payment>
|
|
11827
11939
|
</div>
|
|
11828
|
-
<div class="payment-to-pay-button">
|
|
11829
|
-
<co-button [label]="'PAY' | localize" (click)="handlePayment()"></co-button>
|
|
11940
|
+
<div class="payment-to-pay-button" [class.no-downpayments]="!downPayments || downPayments.length === 0">
|
|
11941
|
+
<co-button [label]="'PAY' | localize" (click)="handlePayment()" [disabled]="amountToPay === 0"></co-button>
|
|
11830
11942
|
</div>
|
|
11831
11943
|
<co-key-pad class="payment-to-pay-keypad"
|
|
11832
11944
|
[showValue]="false"
|
|
11833
11945
|
[emitModelChangeOnEnter]="false"
|
|
11834
|
-
[model]="
|
|
11946
|
+
[model]="amountToPay"
|
|
11835
11947
|
(modelChange)="handleKeyPadModelChange($event)"
|
|
11836
11948
|
(enterClick)="handlePayment()"
|
|
11837
11949
|
></co-key-pad>
|
|
@@ -11950,6 +12062,93 @@ PaymentQrCodeModule.decorators = [
|
|
|
11950
12062
|
},] }
|
|
11951
12063
|
];
|
|
11952
12064
|
|
|
12065
|
+
class DownPaymentComponent {
|
|
12066
|
+
constructor(_paymentService) {
|
|
12067
|
+
this._paymentService = _paymentService;
|
|
12068
|
+
this.showLoader = true;
|
|
12069
|
+
this.paymentMethods = [];
|
|
12070
|
+
}
|
|
12071
|
+
showClass() {
|
|
12072
|
+
return true;
|
|
12073
|
+
}
|
|
12074
|
+
ngOnInit() {
|
|
12075
|
+
this._prepareData();
|
|
12076
|
+
}
|
|
12077
|
+
_getDownpaymentInfo() {
|
|
12078
|
+
this.downPayments.length = 0;
|
|
12079
|
+
this._paymentService.getDownPaymentInfo(this.transactionUuid).then((info) => {
|
|
12080
|
+
if (info.downPayments) {
|
|
12081
|
+
info.downPayments.forEach((dp) => {
|
|
12082
|
+
const paymentMethod = this.paymentMethods.find(pm => pm.payment.code === dp.paymentMethodCode);
|
|
12083
|
+
this.downPayments.push(new DownPaymentViewModel(dp, paymentMethod));
|
|
12084
|
+
});
|
|
12085
|
+
}
|
|
12086
|
+
});
|
|
12087
|
+
}
|
|
12088
|
+
_prepareData() {
|
|
12089
|
+
if (!this.downPayments) {
|
|
12090
|
+
this.downPayments = [];
|
|
12091
|
+
this.showLoader = true;
|
|
12092
|
+
this.paymentMethods.length = 0;
|
|
12093
|
+
this._paymentService.getPaymentMethodsViewModels().then((methods) => {
|
|
12094
|
+
this.paymentMethods = methods.slice();
|
|
12095
|
+
this._getDownpaymentInfo();
|
|
12096
|
+
this.showLoader = false;
|
|
12097
|
+
});
|
|
12098
|
+
}
|
|
12099
|
+
}
|
|
12100
|
+
}
|
|
12101
|
+
DownPaymentComponent.decorators = [
|
|
12102
|
+
{ type: Component, args: [{
|
|
12103
|
+
selector: "co-down-payment",
|
|
12104
|
+
template: `
|
|
12105
|
+
<transaction-loader class="loader" *ngIf="showLoader"></transaction-loader>
|
|
12106
|
+
<div class="down-payment-payments-title" [textContent]="'PAYMENTS_MADE' | localize" *ngIf="downPayments && downPayments.length > 0"></div>
|
|
12107
|
+
<div class="down-payment-payments-wrapper">
|
|
12108
|
+
<div class="down-payment-payments" *ngFor="let payment of downPayments">
|
|
12109
|
+
<co-payment-tile
|
|
12110
|
+
[image]="payment.paymentMethod.image"
|
|
12111
|
+
[description]="payment.paymentMethod.payment.description"
|
|
12112
|
+
></co-payment-tile>
|
|
12113
|
+
<div class="down-payment-amount-wrapper">
|
|
12114
|
+
<div class="down-payment-amount" [textContent]="payment.downPayment.downPaymentAmount | coCurrency"></div>
|
|
12115
|
+
<div class="down-payment-date" [textContent]="payment.downPayment.date | date:'d MMMM yyyy'"></div>
|
|
12116
|
+
</div>
|
|
12117
|
+
</div>
|
|
12118
|
+
</div>
|
|
12119
|
+
`,
|
|
12120
|
+
encapsulation: ViewEncapsulation.None
|
|
12121
|
+
},] }
|
|
12122
|
+
];
|
|
12123
|
+
DownPaymentComponent.ctorParameters = () => [
|
|
12124
|
+
{ type: PaymentService }
|
|
12125
|
+
];
|
|
12126
|
+
DownPaymentComponent.propDecorators = {
|
|
12127
|
+
transactionUuid: [{ type: Input }],
|
|
12128
|
+
downPayments: [{ type: Input }],
|
|
12129
|
+
showLoader: [{ type: Input }],
|
|
12130
|
+
showClass: [{ type: HostBinding, args: ["class.co-down-payment",] }]
|
|
12131
|
+
};
|
|
12132
|
+
|
|
12133
|
+
class DownPaymentModule {
|
|
12134
|
+
}
|
|
12135
|
+
DownPaymentModule.decorators = [
|
|
12136
|
+
{ type: NgModule, args: [{
|
|
12137
|
+
imports: [
|
|
12138
|
+
CommonModule,
|
|
12139
|
+
CoreModule,
|
|
12140
|
+
PipeModule,
|
|
12141
|
+
PaymentTileModule
|
|
12142
|
+
],
|
|
12143
|
+
declarations: [
|
|
12144
|
+
DownPaymentComponent
|
|
12145
|
+
],
|
|
12146
|
+
exports: [
|
|
12147
|
+
DownPaymentComponent
|
|
12148
|
+
]
|
|
12149
|
+
},] }
|
|
12150
|
+
];
|
|
12151
|
+
|
|
11953
12152
|
class PaymentModule {
|
|
11954
12153
|
}
|
|
11955
12154
|
PaymentModule.decorators = [
|
|
@@ -11963,7 +12162,8 @@ PaymentModule.decorators = [
|
|
|
11963
12162
|
KeyPadModule,
|
|
11964
12163
|
CoDialogModule,
|
|
11965
12164
|
ButtonModule,
|
|
11966
|
-
PaymentQrCodeModule
|
|
12165
|
+
PaymentQrCodeModule,
|
|
12166
|
+
DownPaymentModule
|
|
11967
12167
|
],
|
|
11968
12168
|
declarations: [
|
|
11969
12169
|
PaymentComponent
|
|
@@ -12409,7 +12609,7 @@ RelationAddressesComponent.decorators = [
|
|
|
12409
12609
|
></co-relation-address>
|
|
12410
12610
|
</co-form>
|
|
12411
12611
|
<ng-template #templateHeader>
|
|
12412
|
-
<div class="title" [textContent]="'NEW_ADDRESS' | localize"></div>
|
|
12612
|
+
<div class="co-transaction-dialog-header-title" [textContent]="'NEW_ADDRESS' | localize"></div>
|
|
12413
12613
|
</ng-template>
|
|
12414
12614
|
<ng-template #templateFooter>
|
|
12415
12615
|
<div class="dialog-footer-button-wrapper">
|
|
@@ -13603,7 +13803,7 @@ DialogHeaderSearchComponent.decorators = [
|
|
|
13603
13803
|
selector: "co-dialog-header-search",
|
|
13604
13804
|
template: `
|
|
13605
13805
|
<div class="dialog-header-search-wrapper">
|
|
13606
|
-
<div class="dialog-header-
|
|
13806
|
+
<div class="co-transaction-dialog-header-title" [textContent]="title | localize"></div>
|
|
13607
13807
|
<co-input-search [placeholder]="searchPlaceholder | localize" [noIcon]="true" (modelChange)="handleSearch($event)"></co-input-search>
|
|
13608
13808
|
</div>
|
|
13609
13809
|
`,
|
|
@@ -13872,8 +14072,8 @@ class TransactionHeaderDownpaymentPercentageComponent extends TransactionHeaderB
|
|
|
13872
14072
|
}
|
|
13873
14073
|
commitDownpaymentPercentage(amount) {
|
|
13874
14074
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13875
|
-
if (this.transactionInfo
|
|
13876
|
-
const oldDownPayPercentage = this.transactionInfo.
|
|
14075
|
+
if (this.transactionInfo && this.transactionInfo.toDownPayPercentage !== amount) {
|
|
14076
|
+
const oldDownPayPercentage = this.transactionInfo.toDownPayPercentage;
|
|
13877
14077
|
const success = yield this._transactionService.updateHeaderTransactionDownpaymentPercentage(this.transactionInfo.uuid, amount);
|
|
13878
14078
|
if (!success) {
|
|
13879
14079
|
this.input.model = amount;
|
|
@@ -13891,13 +14091,13 @@ TransactionHeaderDownpaymentPercentageComponent.decorators = [
|
|
|
13891
14091
|
{ type: Component, args: [{
|
|
13892
14092
|
selector: "co-transaction-header-downpayment-percentage",
|
|
13893
14093
|
template: `
|
|
13894
|
-
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionInfo.
|
|
14094
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionInfo.toDownPayPercentage | append: '%'"></span>
|
|
13895
14095
|
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
13896
14096
|
[type]="'number'"
|
|
13897
14097
|
[placeholder]="showLabel ? ('DOWNPAYMENT_PERCENTAGE' | localize) : ''"
|
|
13898
14098
|
[showSaveCancel]="!readonly"
|
|
13899
14099
|
[readonly]="readonly"
|
|
13900
|
-
[model]="transactionInfo.
|
|
14100
|
+
[model]="transactionInfo.toDownPayPercentage"
|
|
13901
14101
|
(blur)="editMode = false"
|
|
13902
14102
|
></co-input-text>
|
|
13903
14103
|
`,
|
|
@@ -13968,8 +14168,8 @@ class TransactionHeaderDownpaymentAmountComponent extends TransactionHeaderBaseC
|
|
|
13968
14168
|
}
|
|
13969
14169
|
commitDownpaymentAmount(amount) {
|
|
13970
14170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13971
|
-
if (this.transactionInfo
|
|
13972
|
-
const oldDownPayPercentage = this.transactionInfo.
|
|
14171
|
+
if (this.transactionInfo && this.transactionInfo.toDownPayAmount !== amount) {
|
|
14172
|
+
const oldDownPayPercentage = this.transactionInfo.toDownPayAmount;
|
|
13973
14173
|
const success = yield this._transactionService.updateHeaderTransactionDownpaymentAmount(this.transactionInfo.uuid, amount);
|
|
13974
14174
|
if (!success) {
|
|
13975
14175
|
this.input.model = amount;
|
|
@@ -13987,13 +14187,13 @@ TransactionHeaderDownpaymentAmountComponent.decorators = [
|
|
|
13987
14187
|
{ type: Component, args: [{
|
|
13988
14188
|
selector: "co-transaction-header-downpayment-amount",
|
|
13989
14189
|
template: `
|
|
13990
|
-
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionInfo.
|
|
14190
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionInfo.toDownPayAmount | coCurrency"></span>
|
|
13991
14191
|
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
13992
14192
|
[type]="'number'"
|
|
13993
14193
|
[placeholder]="showLabel ? ('DOWNPAYMENT' | localize) : ''"
|
|
13994
14194
|
[showSaveCancel]="!readonly"
|
|
13995
14195
|
[readonly]="readonly"
|
|
13996
|
-
[model]="transactionInfo.
|
|
14196
|
+
[model]="transactionInfo.toDownPayAmount"
|
|
13997
14197
|
(blur)="editMode = false"
|
|
13998
14198
|
></co-input-text>
|
|
13999
14199
|
`,
|
|
@@ -14584,9 +14784,10 @@ TransactionLineSidePanelComponent.propDecorators = {
|
|
|
14584
14784
|
};
|
|
14585
14785
|
|
|
14586
14786
|
class TransactionComponent {
|
|
14587
|
-
constructor(iconCacheService, _service, _dynamicComponentService, _transactionEventService) {
|
|
14787
|
+
constructor(iconCacheService, _service, _appRef, _dynamicComponentService, _transactionEventService) {
|
|
14588
14788
|
this.iconCacheService = iconCacheService;
|
|
14589
14789
|
this._service = _service;
|
|
14790
|
+
this._appRef = _appRef;
|
|
14590
14791
|
this._dynamicComponentService = _dynamicComponentService;
|
|
14591
14792
|
this._transactionEventService = _transactionEventService;
|
|
14592
14793
|
this.viewModes = ContentViewMode;
|
|
@@ -14597,6 +14798,7 @@ class TransactionComponent {
|
|
|
14597
14798
|
this.showButtonBar = true;
|
|
14598
14799
|
this.activeViewMode = ContentViewMode.List;
|
|
14599
14800
|
this.activeCategory = TransactionTypeCategory.SalesOrderOverview;
|
|
14801
|
+
this.sidePanelOpen = false;
|
|
14600
14802
|
this._subs = [];
|
|
14601
14803
|
this._transaction = new TransactionInfoResponse();
|
|
14602
14804
|
this._subs.push(this._service.transactionUpdated.subscribe((transaction) => {
|
|
@@ -14643,6 +14845,12 @@ class TransactionComponent {
|
|
|
14643
14845
|
this.activeCategory = button.category;
|
|
14644
14846
|
}
|
|
14645
14847
|
handleShowSidePanel(line) {
|
|
14848
|
+
var _a;
|
|
14849
|
+
const sidePanelComponent = (_a = this._dynamicComponentService.getComponentRefs()
|
|
14850
|
+
.find((ref) => ref.instance instanceof TransactionLineSidePanelComponent)) === null || _a === void 0 ? void 0 : _a.instance;
|
|
14851
|
+
if (sidePanelComponent) {
|
|
14852
|
+
sidePanelComponent.handleCancelClick();
|
|
14853
|
+
}
|
|
14646
14854
|
this.sidePanelTransactionLine = line;
|
|
14647
14855
|
this._dynamicComponentService.createComponent(TransactionLineSidePanelComponent, {
|
|
14648
14856
|
transactionInfo: this.transaction.transactionInfo,
|
|
@@ -14719,6 +14927,7 @@ TransactionComponent.decorators = [
|
|
|
14719
14927
|
TransactionComponent.ctorParameters = () => [
|
|
14720
14928
|
{ type: IconCacheService },
|
|
14721
14929
|
{ type: TransactionService },
|
|
14930
|
+
{ type: ApplicationRef },
|
|
14722
14931
|
{ type: DynamicComponentService },
|
|
14723
14932
|
{ type: TransactionEventService }
|
|
14724
14933
|
];
|
|
@@ -14729,7 +14938,8 @@ TransactionComponent.propDecorators = {
|
|
|
14729
14938
|
showHeader: [{ type: Input }],
|
|
14730
14939
|
showQuickAccess: [{ type: HostBinding, args: ['class.show-quick-access',] }, { type: Input }],
|
|
14731
14940
|
showButtonBar: [{ type: HostBinding, args: ['class.show-button-bar',] }, { type: Input }],
|
|
14732
|
-
showClass: [{ type: HostBinding, args: ["class.co-transaction",] }]
|
|
14941
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction",] }],
|
|
14942
|
+
sidePanelComponents: [{ type: ViewChildren, args: [TransactionLineSidePanelComponent,] }]
|
|
14733
14943
|
};
|
|
14734
14944
|
|
|
14735
14945
|
class TransactionHeaderComponent {
|
|
@@ -15062,8 +15272,8 @@ TransactionHeaderOrderComponent.decorators = [
|
|
|
15062
15272
|
<ng-template #secondBlock>
|
|
15063
15273
|
<div class="transaction-line-button custom-width" (click)="handleShowDiscountDialog($event)">
|
|
15064
15274
|
<span class="co-transaction-label" [textContent]="'DISCOUNT' | localize"></span>
|
|
15065
|
-
<span class="co-transaction-overflow-ellipsis transaction-discount" [class.transaction-negative-value]="transactionTotal.
|
|
15066
|
-
[textContent]="transactionTotal.
|
|
15275
|
+
<span class="co-transaction-overflow-ellipsis transaction-discount" [class.transaction-negative-value]="transactionTotal.totalDiscountAmount < 0"
|
|
15276
|
+
[textContent]="transactionTotal.totalDiscountAmount | coCurrency"></span>
|
|
15067
15277
|
</div>
|
|
15068
15278
|
</ng-template>
|
|
15069
15279
|
<ng-template #thirdBlock>
|
|
@@ -15106,14 +15316,17 @@ TransactionHeaderOrderModule.decorators = [
|
|
|
15106
15316
|
];
|
|
15107
15317
|
|
|
15108
15318
|
class TransactionHeaderPaymentComponent extends TransactionBaseComponent {
|
|
15109
|
-
constructor(iconService, service) {
|
|
15319
|
+
constructor(iconService, service, _paymentService) {
|
|
15110
15320
|
super(service);
|
|
15111
15321
|
this.iconService = iconService;
|
|
15112
15322
|
this.service = service;
|
|
15323
|
+
this._paymentService = _paymentService;
|
|
15113
15324
|
this.icons = Icon;
|
|
15114
15325
|
this.transactionKind = TransactionKind;
|
|
15115
15326
|
this.showDialog = false;
|
|
15116
15327
|
this.showPaymentDialog = false;
|
|
15328
|
+
this.paid = 0;
|
|
15329
|
+
this.toPay = 0;
|
|
15117
15330
|
}
|
|
15118
15331
|
showClass() {
|
|
15119
15332
|
return true;
|
|
@@ -15123,6 +15336,17 @@ class TransactionHeaderPaymentComponent extends TransactionBaseComponent {
|
|
|
15123
15336
|
event.stopPropagation();
|
|
15124
15337
|
this.showPaymentDialog = true;
|
|
15125
15338
|
}
|
|
15339
|
+
transactionSet() {
|
|
15340
|
+
this._getDownpaymentInfo();
|
|
15341
|
+
}
|
|
15342
|
+
_getDownpaymentInfo() {
|
|
15343
|
+
this._paymentService.getDownPaymentInfo(this.transactionInfo.uuid).then((info) => {
|
|
15344
|
+
if (info) {
|
|
15345
|
+
this.toPay = info.toDownPayAmount;
|
|
15346
|
+
this.paid = info.payedDownAmount;
|
|
15347
|
+
}
|
|
15348
|
+
});
|
|
15349
|
+
}
|
|
15126
15350
|
}
|
|
15127
15351
|
TransactionHeaderPaymentComponent.decorators = [
|
|
15128
15352
|
{ type: Component, args: [{
|
|
@@ -15141,9 +15365,14 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
15141
15365
|
<div class="header-block-balance" *ngIf="transactionInfo.transactionKind !== transactionKind.PurchaseOrder" (click)="openPayment($event)">
|
|
15142
15366
|
<co-icon class="payment-icon" [iconData]="iconService.getIcon(icons.CreditCardSolid)"></co-icon>
|
|
15143
15367
|
<div class="payment-payed-wrapper">
|
|
15144
|
-
<
|
|
15145
|
-
|
|
15146
|
-
|
|
15368
|
+
<ng-container *ngIf="toPay === paid">
|
|
15369
|
+
<span class="payment-paid" [textContent]="paid | priceDisplay"></span>
|
|
15370
|
+
</ng-container>
|
|
15371
|
+
<ng-container *ngIf="toPay !== paid">
|
|
15372
|
+
<span class="payment-paid" [textContent]="paid | priceDisplay"></span>
|
|
15373
|
+
<span class="payment-divider" [textContent]="'/'"></span>
|
|
15374
|
+
<span class="payment-to-pay" [textContent]="toPay | priceDisplay"></span>
|
|
15375
|
+
</ng-container>
|
|
15147
15376
|
</div>
|
|
15148
15377
|
</div>
|
|
15149
15378
|
</ng-template>
|
|
@@ -15196,7 +15425,8 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
15196
15425
|
];
|
|
15197
15426
|
TransactionHeaderPaymentComponent.ctorParameters = () => [
|
|
15198
15427
|
{ type: IconCacheService },
|
|
15199
|
-
{ type: TransactionService }
|
|
15428
|
+
{ type: TransactionService },
|
|
15429
|
+
{ type: PaymentService }
|
|
15200
15430
|
];
|
|
15201
15431
|
TransactionHeaderPaymentComponent.propDecorators = {
|
|
15202
15432
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-payment",] }]
|
|
@@ -17673,7 +17903,7 @@ TransactionArticleTextOverviewComponent.decorators = [
|
|
|
17673
17903
|
</div>
|
|
17674
17904
|
</div>
|
|
17675
17905
|
</co-dialog>
|
|
17676
|
-
<ng-template #headerTemplate><span [textContent]="header"></span></ng-template>
|
|
17906
|
+
<ng-template #headerTemplate><span class="co-transaction-dialog-header-title" [textContent]="header"></span></ng-template>
|
|
17677
17907
|
<ng-template #footerTemplate>
|
|
17678
17908
|
<div class="button-wrapper">
|
|
17679
17909
|
<co-button [label]="'OK' | localize" (click)="onOkClick($event)"></co-button>
|
|
@@ -18003,7 +18233,7 @@ DialogTransactionLineDiscountComponent.decorators = [
|
|
|
18003
18233
|
</div>
|
|
18004
18234
|
</co-dialog>
|
|
18005
18235
|
<ng-template #dialogHeader>
|
|
18006
|
-
<div class="dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
18236
|
+
<div class="co-transaction-dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
18007
18237
|
<div class="transaction-line-button big" (click)="openThePriceListDialog()">
|
|
18008
18238
|
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.priceListDescription"></span>
|
|
18009
18239
|
</div>
|
|
@@ -18254,7 +18484,7 @@ DiscountComponent.decorators = [
|
|
|
18254
18484
|
</co-form>
|
|
18255
18485
|
</co-dialog>
|
|
18256
18486
|
<ng-template #headerTemplate>
|
|
18257
|
-
<div class="
|
|
18487
|
+
<div class="co-transaction-dialog-header-title" [textContent]="discountHeader | localize"></div>
|
|
18258
18488
|
</ng-template>
|
|
18259
18489
|
<ng-template #footerTemplate>
|
|
18260
18490
|
<div fxLayout="row" fxLayoutGap="10px" fxLayoutAlign="end">
|
|
@@ -18392,11 +18622,12 @@ TransactionQuickAccessReceivedGoodsModule.decorators = [
|
|
|
18392
18622
|
{ type: NgModule, args: [{
|
|
18393
18623
|
imports: [
|
|
18394
18624
|
CommonModule,
|
|
18625
|
+
IconModule,
|
|
18395
18626
|
InputTextModule,
|
|
18396
18627
|
PipeModule,
|
|
18397
18628
|
InputCheckboxModule,
|
|
18398
18629
|
InputDatePickerModule,
|
|
18399
|
-
|
|
18630
|
+
CheckmarkOverlayModule
|
|
18400
18631
|
],
|
|
18401
18632
|
declarations: [
|
|
18402
18633
|
TransactionQuickAccessReceivedGoodsComponent
|
|
@@ -18911,7 +19142,9 @@ class TransactionLineWarehouseLocationButtonComponent {
|
|
|
18911
19142
|
return true;
|
|
18912
19143
|
}
|
|
18913
19144
|
openWarehouseLocationDialog(line) {
|
|
18914
|
-
this.
|
|
19145
|
+
if (!this.readonly) {
|
|
19146
|
+
this._dialogService.showWarehouseLocation(line.warehouseNumber, true, true, true, line);
|
|
19147
|
+
}
|
|
18915
19148
|
}
|
|
18916
19149
|
}
|
|
18917
19150
|
TransactionLineWarehouseLocationButtonComponent.decorators = [
|
|
@@ -19226,7 +19459,7 @@ TransactionBaseLineComponent.decorators = [
|
|
|
19226
19459
|
{ type: Component, args: [{
|
|
19227
19460
|
selector: "co-transaction-base-line",
|
|
19228
19461
|
template: `
|
|
19229
|
-
<div class="transaction-base-line-wrapper">
|
|
19462
|
+
<div class="transaction-base-line-wrapper" data-action="openSidePanel">
|
|
19230
19463
|
<ng-container *ngIf="line.isArticle">
|
|
19231
19464
|
<div class="transaction-base-line-section">
|
|
19232
19465
|
<co-input-checkbox *ngIf="checkbox" class="transaction-line-checkbox"
|
|
@@ -19362,6 +19595,7 @@ class TransactionLineWarehouseButtonComponent extends TransactionLineBaseCompone
|
|
|
19362
19595
|
this.iconCacheService = iconCacheService;
|
|
19363
19596
|
this.service = service;
|
|
19364
19597
|
this.icons = Icon;
|
|
19598
|
+
this.readonly = false;
|
|
19365
19599
|
this.showDialogWarehouse = false;
|
|
19366
19600
|
}
|
|
19367
19601
|
showClass() {
|
|
@@ -19377,16 +19611,20 @@ class TransactionLineWarehouseButtonComponent extends TransactionLineBaseCompone
|
|
|
19377
19611
|
}
|
|
19378
19612
|
});
|
|
19379
19613
|
}
|
|
19614
|
+
handleClick(event) {
|
|
19615
|
+
this.stopPropagation(event);
|
|
19616
|
+
this.showDialogWarehouse = true;
|
|
19617
|
+
}
|
|
19380
19618
|
}
|
|
19381
19619
|
TransactionLineWarehouseButtonComponent.decorators = [
|
|
19382
19620
|
{ type: Component, args: [{
|
|
19383
19621
|
selector: "co-transaction-line-warehouse-button",
|
|
19384
19622
|
template: `
|
|
19385
|
-
<div class="transaction-line-button" [class.no-pointer]="readonly" (click)="
|
|
19623
|
+
<div class="transaction-line-button" [class.no-pointer]="readonly" (click)="handleClick($event)">
|
|
19386
19624
|
<co-icon class="header-warehouse-icon" [iconData]="iconCacheService.getIcon(icons.Warehouse)"></co-icon>
|
|
19387
19625
|
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.warehouseNumber"></span>
|
|
19388
19626
|
</div>
|
|
19389
|
-
<co-dialog-transaction-line-warehouse *ngIf="showDialogWarehouse"
|
|
19627
|
+
<co-dialog-transaction-line-warehouse *ngIf="showDialogWarehouse && !readonly"
|
|
19390
19628
|
[autoClose]="true"
|
|
19391
19629
|
[transactionInfo]="transactionInfo"
|
|
19392
19630
|
[transactionLine]="transactionLine"
|
|
@@ -19401,6 +19639,7 @@ TransactionLineWarehouseButtonComponent.ctorParameters = () => [
|
|
|
19401
19639
|
{ type: TransactionService }
|
|
19402
19640
|
];
|
|
19403
19641
|
TransactionLineWarehouseButtonComponent.propDecorators = {
|
|
19642
|
+
readonly: [{ type: Input }],
|
|
19404
19643
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-warehouse-button",] }]
|
|
19405
19644
|
};
|
|
19406
19645
|
|
|
@@ -19609,7 +19848,8 @@ TransactionReceiveGoodsLineModule.decorators = [
|
|
|
19609
19848
|
InputNumberPickerModule,
|
|
19610
19849
|
InputCheckboxModule,
|
|
19611
19850
|
IconModule,
|
|
19612
|
-
TransactionLineWarehouseLocationButtonModule
|
|
19851
|
+
TransactionLineWarehouseLocationButtonModule,
|
|
19852
|
+
ObserveVisibilityModule
|
|
19613
19853
|
],
|
|
19614
19854
|
declarations: [
|
|
19615
19855
|
TransactionReceiveGoodsLineComponent
|
|
@@ -22340,5 +22580,5 @@ TransactionLineGridModule.decorators = [
|
|
|
22340
22580
|
* Generated bundle index. Do not edit.
|
|
22341
22581
|
*/
|
|
22342
22582
|
|
|
22343
|
-
export { CheckoutComponent, CheckoutModule, SearchViewMode, SearchbarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, IconCacheService as ɵba, CharacteristicAnswerModule as ɵbb, CharacteristicAnswerComponent as ɵbc, WarehouseModule as ɵbd, WarehouseComponent as ɵbe, ImageDisplayComponent as ɵbf, IconComponent as ɵbg, CustomerGroupsComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LoaderComponent as ɵbj, LazyRenderMasterDirective as ɵbk, LazyRenderDirective as ɵbl, RelationAddressModule as ɵbm, RelationAddressComponent as ɵbn, RelationBaseComponent as ɵbo, RelationAddressSelectModule as ɵbp, RelationAddressTileModule as ɵbq, TileModule as ɵbr, TileComponent as ɵbs, RelationAddressTileComponent as ɵbt, RelationAddressSelectComponent as ɵbu, BusinessObjectFactory as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionLineModule as ɵbz, DynamicComponentService as ɵc, TransactionLineComponent as ɵca, TransactionMappingService as ɵcb, TransactionArticleTextModule as ɵcc, TransactionLineImageAndDescriptionModule as ɵcd, TransactionLineDescriptionModule as ɵce, TransactionLineDescriptionComponent as ɵcf, TransactionLineBaseComponent as ɵcg, TransactionFilterPopupBaseComponent as ɵch, TransactionLineImageAndDescriptionComponent as ɵci, TransactionImageService as ɵcj, TransactionArticleTextComponent as ɵck, TransactionReceiveGoodsService as ɵcl, TransactionEventService as ɵcm, DialogTransactionHeaderDiscountModule as ɵcn, TransactionHeaderDiscountPercentageModule as ɵco, TransactionHeaderDiscountPercentageComponent as ɵcp, TransactionHeaderBaseComponent as ɵcq, TransactionHeaderDiscountAmountModule as ɵcr, TransactionHeaderDiscountAmountComponent as ɵcs, TransactionHeaderDiscountTransactionTotalModule as ɵct, TransactionHeaderDiscountTransactionTotalComponent as ɵcu, DialogTransactionHeaderDiscountComponent as ɵcv, DialogTransactionHeaderBaseComponent as ɵcw, AvatarModule as ɵcx, AvatarComponent as ɵcy, SharedService as ɵcz, OptionsService as ɵd, SharedConnectorService as ɵda, DeliveryTypeTileModule as ɵdb, DeliveryTypeTileComponent as ɵdc, PaymentModule as ɵdd, PaymentTileModule as ɵde, PaymentTileComponent as ɵdf, PaymentQrCodeModule as ɵdg, PaymentQrCodeComponent as ɵdh, PaymentComponent as ɵdi, PaymentService as ɵdj, RelationTypeModule as ɵdk, RelationTypeComponent as ɵdl, RelationGeneralModule as ɵdm, RelationSuggestionsListModule as ɵdn, RelationSuggestionsListItemModule as ɵdo, RelationSuggestionsListItemComponent as ɵdp, RelationSuggestionsListComponent as ɵdq, RelationGeneralComponent as ɵdr, RelationAddressesModule as ɵds, RelationAddressesComponent as ɵdt, RelationContactDetailsModule as ɵdu, RelationContactDetailsComponent as ɵdv, RelationPreferencesModule as ɵdw, RelationPreferencesComponent as ɵdx, TransactionHeaderBlockModule as ɵdy, TransactionHeaderBlockComponent as ɵdz, DictionaryService as ɵe, TransactionHeaderDeliveryDateModule as ɵea, TransactionHeaderDeliveryDateComponent as ɵeb, TransactionHeaderDeliveryOptionsModule as ɵec, TransactionHeaderDeliveryOptionsComponent as ɵed, TransactionHeaderRemarksModule as ɵee, TransactionHeaderRemarksComponent as ɵef, TransactionHeaderReferenceModule as ɵeg, TransactionHeaderReferenceComponent as ɵeh, TransactionHeaderRelationReferenceModule as ɵei, TransactionHeaderRelationReferenceComponent as ɵej, TransactionHeaderDeliveryMethodModule as ɵek, TransactionLineCheckboxModule as ɵel, TransactionLineCheckboxListComponent as ɵem, TransactionHeaderDeliveryMethodComponent as ɵen, TransactionHeaderPreferredDeliveryDateModule as ɵeo, TransactionHeaderPreferredDeliveryDateComponent as ɵep, DialogTransactionHeaderDeliveryMethodModule as ɵeq, DialogHeaderSearchModule as ɵer, DialogHeaderSearchComponent as ɵes, DialogTransactionHeaderDeliveryMethodComponent as ɵet, TransactionHeaderPartialDeliveryModule as ɵeu, TransactionHeaderPartialDeliveryComponent as ɵev, TransactionBaseComponent as ɵew, TransactionHeaderDownpaymentPercentageModule as ɵex, TransactionHeaderDownpaymentPercentageComponent as ɵey, TransactionHeaderDownpaymentAmountModule as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDownpaymentAmountComponent as ɵfa, TransactionHeaderDefinitiveModule as ɵfb, TransactionHeaderDefinitiveComponent as ɵfc, TransactionHeaderBranchModule as ɵfd, TransactionHeaderBranchComponent as ɵfe, TransactionHeaderAdministrativeRelationModule as ɵff, TransactionHeaderAdministrativeRelationComponent as ɵfg, TransactionHeaderMarketingModule as ɵfh, TransactionHeaderMarketingComponent as ɵfi, CheckoutOverviewRelationEditComponent as ɵfj, CheckoutOverviewDeliveryEditComponent as ɵfk, CheckoutOverviewDeliveryAddressComponent as ɵfl, CheckoutOverviewPaymentComponent as ɵfm, CheckoutLoginComponent as ɵfn, TransactionFilterCategoriesModule as ɵfo, TransactionFilterCategoriesComponent as ɵfp, TransactionHeaderPaymentModule as ɵfq, TransactionHeaderPaymentComponent as ɵfr, TransactionLinesGridModule as ɵfs, TransactionBaseGridModule as ɵft, TransactionLineSidePanelModule as ɵfu, TransactionLineSidePanelDefaultModule as ɵfv, TransactionLinePriceModule as ɵfw, TransactionLinePriceComponent as ɵfx, TransactionLinePriceListModule as ɵfy, TransactionLinePriceListComponent as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLineVatModule as ɵga, TransactionLineVatComponent as ɵgb, TransactionLineQuantityModule as ɵgc, TransactionLineQuantityComponent as ɵgd, TransactionLineLineDiscountModule as ɵge, TransactionLineLineDiscountComponent as ɵgf, TransactionLineDeliveryMethodModule as ɵgg, TransactionLineDeliveryMethodComponent as ɵgh, TransactionLineDeliveryDateModule as ɵgi, TransactionLineDeliveryDateComponent as ɵgj, TransactionLineReferenceModule as ɵgk, TransactionLineReferenceComponent as ɵgl, TransactionLineCommissionCodeModule as ɵgm, TransactionLineCommissionCodeComponent as ɵgn, TransactionLineWarehouseModule as ɵgo, TransactionLineWarehouseComponent as ɵgp, TransactionLineDiscountAmountModule as ɵgq, TransactionLineDiscountAmountComponent as ɵgr, TransactionLineQuantumDiscountModule as ɵgs, TransactionLineQuantumDiscountComponent as ɵgt, TransactionLineSpecialDiscountModule as ɵgu, TransactionLineSpecialDiscountComponent as ɵgv, TransactionLineSupplierModule as ɵgw, TransactionLineSupplierComponent as ɵgx, TransactionLineSidePanelDefaultComponent as ɵgy, TransactionReceivingGoodsHistoryModule as ɵgz, SelectMultipleCacheService as ɵh, TransactionHistoryGridModule as ɵha, TransactionHistoryGridStatusModule as ɵhb, TransactionHistoryGridStatusComponent as ɵhc, TransactionHistoryGridComponent as ɵhd, TransactionReceivingGoodsHistoryComponent as ɵhe, TransactionReceivingGoodsDetailsModule as ɵhf, TransactionReceivingGoodsDetailsComponent as ɵhg, ArticleService as ɵhh, TransactionButtonBarModule as ɵhi, TransactionButtonBarComponent as ɵhj, TransactionButtonBarButtonComponent as ɵhk, TransactionLineSidePanelPurchaseModule as ɵhl, DefaultOkCancelButtonsModule as ɵhm, DefaultOkCancelButtonsComponent as ɵhn, TransactionLineSidePanelPurchaseComponent as ɵho, TransactionLineSidePanelComponent as ɵhp, DynamicBaseComponent as ɵhq, TransactionLineActionButtonsModule as ɵhr, TransactionArticleTextOverviewModule as ɵhs, TransactionArticleTextOverviewComponent as ɵht, TransactionLineActionButtonsComponent as ɵhu, TransactionBaseGridComponent as ɵhv, TransactionGridBaseComponent as ɵhw, DialogTransactionLineCommissionCodeModule as ɵhx, DialogTransactionLineCommissionCodeComponent as ɵhy, DialogTransactionLineBaseComponent as ɵhz, BusinessObjectCacheManagerService as ɵi, DialogTransactionLineWarehouseModule as ɵia, DialogTransactionLineWarehouseComponent as ɵib, DialogTransactionLineWarehouseCcModule as ɵic, DialogTransactionLineWarehouseCcComponent as ɵid, DialogTransactionLineDeliveryMethodModule as ɵie, DialogTransactionLineDeliveryMethodComponent as ɵif, DialogTransactionLineVatModule as ɵig, DialogTransactionLineVatComponent as ɵih, DialogTransactionLineDiscountModule as ɵii, DialogTransactionLinePriceListModule as ɵij, DialogTransactionLinePriceListComponent as ɵik, DialogTransactionLineDiscountComponent as ɵil, TransactionLinesGridComponent as ɵim, DiscountModule as ɵin, DiscountComponent as ɵio, TransactionQuickAccessOverviewModule as ɵip, TransactionQuickAccessOverviewComponent as ɵiq, TransactionQuickAccessOrderDeliveryModule as ɵir, TransactionQuickAccessOrderDeliveryComponent as ɵis, TransactionOrderConfirmationGridModule as ɵit, TransactionOrderConfirmationGridComponent as ɵiu, TransactionReceivedGoodsGridModule as ɵiv, DialogTransactionLineWarehouseLocationModule as ɵiw, TransactionLineWarehouseLocationModule as ɵix, TransactionLineWarehouseLocationComponent as ɵiy, DialogTransactionLineWarehouseLocationComponent as ɵiz, CacheField as ɵj, TransactionLineWarehouseLocationButtonModule as ɵja, TransactionLineWarehouseLocationButtonComponent as ɵjb, TransactionReceivedGoodsGridComponent as ɵjc, ViewModeButtonsModule as ɵjd, ViewModeButtonsComponent as ɵje, TransactionGridModule as ɵjf, TransactionGridComponent as ɵjg, TransactionTileModule as ɵjh, TransactionTileComponent as ɵji, TransactionOverviewLineModule as ɵjj, EditableLabelModule as ɵjk, EditableLabelComponent as ɵjl, TransactionBaseLineModule as ɵjm, TransactionBaseLineComponent as ɵjn, TransactionLinesLineBaseComponent as ɵjo, TransactionLineCommissionButtonModule as ɵjp, TransactionLineCommissionButtonComponent as ɵjq, TransactionLineWarehouseButtonModule as ɵjr, TransactionLineWarehouseButtonComponent as ɵjs, TransactionLineDeliveryButtonModule as ɵjt, TransactionLineDeliveryButtonComponent as ɵju, TransactionLineDeliveryDateButtonModule as ɵjv, TransactionLineDeliveryDateButtonComponent as ɵjw, TransactionOverviewLineComponent as ɵjx, TransactionOrderDeliveryLineModule as ɵjy, TransactionOrderDeliveryLineComponent as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionReceiveGoodsLineModule as ɵka, TransactionReceiveGoodsLineComponent as ɵkb, TransactionSearchResultModule as ɵkc, TransactionSearchSalesOrderTileModule as ɵkd, TransactionSearchSalesOrderTileComponent as ɵke, TransactionSearchTileBaseComponent as ɵkf, TransactionSearchPurchaseOrderTileModule as ɵkg, TransactionSearchPurchaseOrderTileComponent as ɵkh, TransactionSearchSalesOrderGridModule as ɵki, TransactionSearchSalesOrderGridComponent as ɵkj, TransactionSearchGridBaseComponent as ɵkk, TransactionSearchPurchaseOrderGridModule as ɵkl, TransactionSearchPurchaseOrderGridComponent as ɵkm, TransactionSearchHeaderModule as ɵkn, TransactionSearchHeaderComponent as ɵko, TransactionSearchGridModule as ɵkp, TransactionSearchGridComponent as ɵkq, TransactionSearchTileModule as ɵkr, TransactionSearchTileComponent as ɵks, TransactionSearchResultComponent as ɵkt, TransactionSalesOrderFilterModule as ɵku, TransactionSalesOrderFilterContentOrderModule as ɵkv, TransactionFilterItemModule as ɵkw, TransactionFilterItemComponent as ɵkx, TransactionSalesOrderFilterContentOrderComponent as ɵky, TransactionFilterContentBaseComponent as ɵkz, ErrorService as ɵl, FilterRequestService as ɵla, TransactionSalesOrderFilterContentLogisticsModule as ɵlb, TransactionFilterHistoricStateModule as ɵlc, TransactionFilterHistoricStateComponent as ɵld, TransactionSalesOrderFilterContentLogisticsComponent as ɵle, TransactionSalesOrderFilterContentArticleModule as ɵlf, TransactionSalesOrderFilterContentArticleComponent as ɵlg, TransactionSalesOrderFilterComponent as ɵlh, TransactionFilterBaseComponent as ɵli, TransactionPurchaseOrderFilterModule as ɵlj, TransactionPurchaseOrderFilterContentOrderModule as ɵlk, TransactionPurchaseOrderFilterContentOrderComponent as ɵll, TransactionPurchaseOrderFilterContentLogisticsModule as ɵlm, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵln, TransactionPurchaseOrderFilterContentArticleModule as ɵlo, TransactionPurchaseOrderFilterContentArticleComponent as ɵlp, TransactionPurchaseOrderFilterComponent as ɵlq, TransactionFilterModule as ɵlr, TransactionFilterComponent as ɵls, SelectSingleCacheService as ɵm, ArticleConnectorService as ɵn, CoreModule as ɵo, ConfirmationDialogModule as ɵp, PipeModule as ɵq, AppendPipe as ɵr, DeliveryTimePipe as ɵs, DateDurationPipe as ɵt, LocalizePipe as ɵu, CoCurrencyPipe as ɵv, SafeStylePipe as ɵw, SafeHtmlPipe as ɵx, ConfirmationDialogComponent as ɵy, DialogBaseComponent as ɵz };
|
|
22583
|
+
export { CheckoutComponent, CheckoutModule, SearchViewMode, SearchbarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, IconCacheService as ɵba, CharacteristicAnswerModule as ɵbb, CharacteristicAnswerComponent as ɵbc, WarehouseModule as ɵbd, WarehouseComponent as ɵbe, ImageDisplayComponent as ɵbf, IconComponent as ɵbg, CustomerGroupsComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LoaderComponent as ɵbj, LazyRenderMasterDirective as ɵbk, LazyRenderDirective as ɵbl, RelationAddressModule as ɵbm, RelationAddressComponent as ɵbn, RelationBaseComponent as ɵbo, RelationAddressSelectModule as ɵbp, RelationAddressTileModule as ɵbq, TileModule as ɵbr, TileComponent as ɵbs, RelationAddressTileComponent as ɵbt, RelationAddressSelectComponent as ɵbu, BusinessObjectFactory as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionLineModule as ɵbz, DynamicComponentService as ɵc, TransactionLineComponent as ɵca, TransactionMappingService as ɵcb, TransactionArticleTextModule as ɵcc, TransactionLineImageAndDescriptionModule as ɵcd, TransactionLineDescriptionModule as ɵce, TransactionLineDescriptionComponent as ɵcf, TransactionLineBaseComponent as ɵcg, TransactionFilterPopupBaseComponent as ɵch, TransactionLineImageAndDescriptionComponent as ɵci, TransactionImageService as ɵcj, TransactionArticleTextComponent as ɵck, TransactionReceiveGoodsService as ɵcl, TransactionEventService as ɵcm, DialogTransactionHeaderDiscountModule as ɵcn, TransactionHeaderDiscountPercentageModule as ɵco, TransactionHeaderDiscountPercentageComponent as ɵcp, TransactionHeaderBaseComponent as ɵcq, TransactionHeaderDiscountAmountModule as ɵcr, TransactionHeaderDiscountAmountComponent as ɵcs, TransactionHeaderDiscountTransactionTotalModule as ɵct, TransactionHeaderDiscountTransactionTotalComponent as ɵcu, DialogTransactionHeaderDiscountComponent as ɵcv, DialogTransactionHeaderBaseComponent as ɵcw, AvatarModule as ɵcx, AvatarComponent as ɵcy, SharedService as ɵcz, OptionsService as ɵd, SharedConnectorService as ɵda, DeliveryTypeTileModule as ɵdb, DeliveryTypeTileComponent as ɵdc, PaymentModule as ɵdd, PaymentTileModule as ɵde, PaymentTileComponent as ɵdf, PaymentQrCodeModule as ɵdg, PaymentQrCodeComponent as ɵdh, DownPaymentModule as ɵdi, DownPaymentComponent as ɵdj, PaymentService as ɵdk, PaymentComponent as ɵdl, RelationTypeModule as ɵdm, RelationTypeComponent as ɵdn, RelationGeneralModule as ɵdo, RelationSuggestionsListModule as ɵdp, RelationSuggestionsListItemModule as ɵdq, RelationSuggestionsListItemComponent as ɵdr, RelationSuggestionsListComponent as ɵds, RelationGeneralComponent as ɵdt, RelationAddressesModule as ɵdu, RelationAddressesComponent as ɵdv, RelationContactDetailsModule as ɵdw, RelationContactDetailsComponent as ɵdx, RelationPreferencesModule as ɵdy, RelationPreferencesComponent as ɵdz, DictionaryService as ɵe, TransactionHeaderBlockModule as ɵea, TransactionHeaderBlockComponent as ɵeb, TransactionHeaderDeliveryDateModule as ɵec, TransactionHeaderDeliveryDateComponent as ɵed, TransactionHeaderDeliveryOptionsModule as ɵee, TransactionHeaderDeliveryOptionsComponent as ɵef, TransactionHeaderRemarksModule as ɵeg, TransactionHeaderRemarksComponent as ɵeh, TransactionHeaderReferenceModule as ɵei, TransactionHeaderReferenceComponent as ɵej, TransactionHeaderRelationReferenceModule as ɵek, TransactionHeaderRelationReferenceComponent as ɵel, TransactionHeaderDeliveryMethodModule as ɵem, TransactionLineCheckboxModule as ɵen, TransactionLineCheckboxListComponent as ɵeo, TransactionHeaderDeliveryMethodComponent as ɵep, TransactionHeaderPreferredDeliveryDateModule as ɵeq, TransactionHeaderPreferredDeliveryDateComponent as ɵer, DialogTransactionHeaderDeliveryMethodModule as ɵes, DialogHeaderSearchModule as ɵet, DialogHeaderSearchComponent as ɵeu, DialogTransactionHeaderDeliveryMethodComponent as ɵev, TransactionHeaderPartialDeliveryModule as ɵew, TransactionHeaderPartialDeliveryComponent as ɵex, TransactionBaseComponent as ɵey, TransactionHeaderDownpaymentPercentageModule as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDownpaymentPercentageComponent as ɵfa, TransactionHeaderDownpaymentAmountModule as ɵfb, TransactionHeaderDownpaymentAmountComponent as ɵfc, TransactionHeaderDefinitiveModule as ɵfd, TransactionHeaderDefinitiveComponent as ɵfe, TransactionHeaderBranchModule as ɵff, TransactionHeaderBranchComponent as ɵfg, TransactionHeaderAdministrativeRelationModule as ɵfh, TransactionHeaderAdministrativeRelationComponent as ɵfi, TransactionHeaderMarketingModule as ɵfj, TransactionHeaderMarketingComponent as ɵfk, CheckoutOverviewRelationEditComponent as ɵfl, CheckoutOverviewDeliveryEditComponent as ɵfm, CheckoutOverviewDeliveryAddressComponent as ɵfn, CheckoutOverviewPaymentComponent as ɵfo, CheckoutLoginComponent as ɵfp, TransactionFilterCategoriesModule as ɵfq, TransactionFilterCategoriesComponent as ɵfr, TransactionHeaderPaymentModule as ɵfs, TransactionHeaderPaymentComponent as ɵft, TransactionLinesGridModule as ɵfu, TransactionBaseGridModule as ɵfv, TransactionLineSidePanelModule as ɵfw, TransactionLineSidePanelDefaultModule as ɵfx, TransactionLinePriceModule as ɵfy, TransactionLinePriceComponent as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLinePriceListModule as ɵga, TransactionLinePriceListComponent as ɵgb, TransactionLineVatModule as ɵgc, TransactionLineVatComponent as ɵgd, TransactionLineQuantityModule as ɵge, TransactionLineQuantityComponent as ɵgf, TransactionLineLineDiscountModule as ɵgg, TransactionLineLineDiscountComponent as ɵgh, TransactionLineDeliveryMethodModule as ɵgi, TransactionLineDeliveryMethodComponent as ɵgj, TransactionLineDeliveryDateModule as ɵgk, TransactionLineDeliveryDateComponent as ɵgl, TransactionLineReferenceModule as ɵgm, TransactionLineReferenceComponent as ɵgn, TransactionLineCommissionCodeModule as ɵgo, TransactionLineCommissionCodeComponent as ɵgp, TransactionLineWarehouseModule as ɵgq, TransactionLineWarehouseComponent as ɵgr, TransactionLineDiscountAmountModule as ɵgs, TransactionLineDiscountAmountComponent as ɵgt, TransactionLineQuantumDiscountModule as ɵgu, TransactionLineQuantumDiscountComponent as ɵgv, TransactionLineSpecialDiscountModule as ɵgw, TransactionLineSpecialDiscountComponent as ɵgx, TransactionLineSupplierModule as ɵgy, TransactionLineSupplierComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineSidePanelDefaultComponent as ɵha, TransactionReceivingGoodsHistoryModule as ɵhb, TransactionHistoryGridModule as ɵhc, TransactionHistoryGridStatusModule as ɵhd, TransactionHistoryGridStatusComponent as ɵhe, TransactionHistoryGridComponent as ɵhf, TransactionReceivingGoodsHistoryComponent as ɵhg, TransactionReceivingGoodsDetailsModule as ɵhh, TransactionReceivingGoodsDetailsComponent as ɵhi, ArticleService as ɵhj, TransactionButtonBarModule as ɵhk, TransactionButtonBarComponent as ɵhl, TransactionButtonBarButtonComponent as ɵhm, TransactionLineSidePanelPurchaseModule as ɵhn, DefaultOkCancelButtonsModule as ɵho, DefaultOkCancelButtonsComponent as ɵhp, TransactionLineSidePanelPurchaseComponent as ɵhq, TransactionLineSidePanelComponent as ɵhr, DynamicBaseComponent as ɵhs, TransactionLineActionButtonsModule as ɵht, TransactionArticleTextOverviewModule as ɵhu, TransactionArticleTextOverviewComponent as ɵhv, TransactionLineActionButtonsComponent as ɵhw, TransactionBaseGridComponent as ɵhx, TransactionGridBaseComponent as ɵhy, DialogTransactionLineCommissionCodeModule as ɵhz, BusinessObjectCacheManagerService as ɵi, DialogTransactionLineCommissionCodeComponent as ɵia, DialogTransactionLineBaseComponent as ɵib, DialogTransactionLineWarehouseModule as ɵic, DialogTransactionLineWarehouseComponent as ɵid, DialogTransactionLineWarehouseCcModule as ɵie, DialogTransactionLineWarehouseCcComponent as ɵif, DialogTransactionLineDeliveryMethodModule as ɵig, DialogTransactionLineDeliveryMethodComponent as ɵih, DialogTransactionLineVatModule as ɵii, DialogTransactionLineVatComponent as ɵij, DialogTransactionLineDiscountModule as ɵik, DialogTransactionLinePriceListModule as ɵil, DialogTransactionLinePriceListComponent as ɵim, DialogTransactionLineDiscountComponent as ɵin, TransactionLinesGridComponent as ɵio, DiscountModule as ɵip, DiscountComponent as ɵiq, TransactionQuickAccessOverviewModule as ɵir, TransactionQuickAccessOverviewComponent as ɵis, TransactionQuickAccessOrderDeliveryModule as ɵit, TransactionQuickAccessOrderDeliveryComponent as ɵiu, TransactionOrderConfirmationGridModule as ɵiv, TransactionOrderConfirmationGridComponent as ɵiw, TransactionReceivedGoodsGridModule as ɵix, DialogTransactionLineWarehouseLocationModule as ɵiy, TransactionLineWarehouseLocationModule as ɵiz, CacheField as ɵj, TransactionLineWarehouseLocationComponent as ɵja, DialogTransactionLineWarehouseLocationComponent as ɵjb, TransactionLineWarehouseLocationButtonModule as ɵjc, TransactionLineWarehouseLocationButtonComponent as ɵjd, TransactionReceivedGoodsGridComponent as ɵje, ViewModeButtonsModule as ɵjf, ViewModeButtonsComponent as ɵjg, TransactionGridModule as ɵjh, TransactionGridComponent as ɵji, TransactionTileModule as ɵjj, TransactionTileComponent as ɵjk, TransactionOverviewLineModule as ɵjl, EditableLabelModule as ɵjm, EditableLabelComponent as ɵjn, TransactionBaseLineModule as ɵjo, TransactionBaseLineComponent as ɵjp, TransactionLinesLineBaseComponent as ɵjq, TransactionLineCommissionButtonModule as ɵjr, TransactionLineCommissionButtonComponent as ɵjs, TransactionLineWarehouseButtonModule as ɵjt, TransactionLineWarehouseButtonComponent as ɵju, TransactionLineDeliveryButtonModule as ɵjv, TransactionLineDeliveryButtonComponent as ɵjw, TransactionLineDeliveryDateButtonModule as ɵjx, TransactionLineDeliveryDateButtonComponent as ɵjy, TransactionOverviewLineComponent as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionOrderDeliveryLineModule as ɵka, TransactionOrderDeliveryLineComponent as ɵkb, TransactionReceiveGoodsLineModule as ɵkc, TransactionReceiveGoodsLineComponent as ɵkd, TransactionSearchResultModule as ɵke, TransactionSearchSalesOrderTileModule as ɵkf, TransactionSearchSalesOrderTileComponent as ɵkg, TransactionSearchTileBaseComponent as ɵkh, TransactionSearchPurchaseOrderTileModule as ɵki, TransactionSearchPurchaseOrderTileComponent as ɵkj, TransactionSearchSalesOrderGridModule as ɵkk, TransactionSearchSalesOrderGridComponent as ɵkl, TransactionSearchGridBaseComponent as ɵkm, TransactionSearchPurchaseOrderGridModule as ɵkn, TransactionSearchPurchaseOrderGridComponent as ɵko, TransactionSearchHeaderModule as ɵkp, TransactionSearchHeaderComponent as ɵkq, TransactionSearchGridModule as ɵkr, TransactionSearchGridComponent as ɵks, TransactionSearchTileModule as ɵkt, TransactionSearchTileComponent as ɵku, TransactionSearchResultComponent as ɵkv, TransactionSalesOrderFilterModule as ɵkw, TransactionSalesOrderFilterContentOrderModule as ɵkx, TransactionFilterItemModule as ɵky, TransactionFilterItemComponent as ɵkz, ErrorService as ɵl, TransactionSalesOrderFilterContentOrderComponent as ɵla, TransactionFilterContentBaseComponent as ɵlb, FilterRequestService as ɵlc, TransactionSalesOrderFilterContentLogisticsModule as ɵld, TransactionFilterHistoricStateModule as ɵle, TransactionFilterHistoricStateComponent as ɵlf, TransactionSalesOrderFilterContentLogisticsComponent as ɵlg, TransactionSalesOrderFilterContentArticleModule as ɵlh, TransactionSalesOrderFilterContentArticleComponent as ɵli, TransactionSalesOrderFilterComponent as ɵlj, TransactionFilterBaseComponent as ɵlk, TransactionPurchaseOrderFilterModule as ɵll, TransactionPurchaseOrderFilterContentOrderModule as ɵlm, TransactionPurchaseOrderFilterContentOrderComponent as ɵln, TransactionPurchaseOrderFilterContentLogisticsModule as ɵlo, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵlp, TransactionPurchaseOrderFilterContentArticleModule as ɵlq, TransactionPurchaseOrderFilterContentArticleComponent as ɵlr, TransactionPurchaseOrderFilterComponent as ɵls, TransactionFilterModule as ɵlt, TransactionFilterComponent as ɵlu, SelectSingleCacheService as ɵm, ArticleConnectorService as ɵn, CoreModule as ɵo, ConfirmationDialogModule as ɵp, PipeModule as ɵq, AppendPipe as ɵr, DeliveryTimePipe as ɵs, DateDurationPipe as ɵt, LocalizePipe as ɵu, CoCurrencyPipe as ɵv, SafeStylePipe as ɵw, SafeHtmlPipe as ɵx, ConfirmationDialogComponent as ɵy, DialogBaseComponent as ɵz };
|
|
22344
22584
|
//# sourceMappingURL=colijnit-transaction.js.map
|