@colijnit/transaction 12.1.57 → 12.1.59
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 +1778 -747
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +251 -235
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +252 -236
- package/esm2015/lib/assets/dictionary/text.properties.js +9 -1
- package/esm2015/lib/component/animated-checkbox/animated-checkbox.component.js +27 -0
- package/esm2015/lib/component/animated-checkbox/animated-checkbox.module.js +21 -0
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +84 -90
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +51 -46
- package/esm2015/lib/component/checkout/checkout.component.js +1 -3
- 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/dialog-transaction-line-base.component.js +6 -2
- package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +8 -7
- package/esm2015/lib/component/core/base/transaction-header-base.component.js +3 -3
- package/esm2015/lib/component/core/base/transaction-header-filter-popup-base.component.js +111 -0
- package/esm2015/lib/component/core/base/transaction-line-base.component.js +2 -4
- package/esm2015/lib/component/core/base/transaction-lines-line-base.component.js +5 -3
- package/esm2015/lib/component/core/core.module.js +1 -4
- package/esm2015/lib/component/core/relation/customer-groups.component.js +4 -1
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/dialog-transaction-header-delivery-method.component.js +2 -2
- 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-delivery-method/dialog-transaction-line-delivery-method.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.js +3 -7
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/dialog-transaction-line-price-list.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.component.js +37 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.module.js +28 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-vat/dialog-transaction-line-vat.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.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/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +2 -2
- package/esm2015/lib/component/down-payment/down-payment.component.js +2 -2
- package/esm2015/lib/component/down-payment/down-payment.module.js +4 -2
- package/esm2015/lib/component/loader/loader.component.js +51 -0
- package/esm2015/lib/component/loader/loader.module.js +19 -0
- package/esm2015/lib/component/payment/payment.component.js +14 -11
- package/esm2015/lib/component/payment/payment.module.js +4 -2
- package/esm2015/lib/component/payment-qr-code/payment-qr-code.component.js +2 -2
- package/esm2015/lib/component/payment-qr-code/payment-qr-code.module.js +4 -2
- package/esm2015/lib/component/relation/relation-address-tile/relation-address-tile.component.js +6 -2
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +29 -27
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.module.js +5 -3
- package/esm2015/lib/component/relation/relation-contact-details/relation-contact-details.component.js +7 -5
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +32 -11
- package/esm2015/lib/component/relation/relation-preferences/relation-preferences.component.js +5 -2
- package/esm2015/lib/component/relation/relation-type/relation-type.component.js +5 -1
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +1 -1
- package/esm2015/lib/component/tile/tile.component.js +2 -2
- package/esm2015/lib/component/transaction/transaction.component.js +2 -2
- package/esm2015/lib/component/transaction/transaction.module.js +4 -2
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button-base.component.js +37 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.js +55 -11
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-purchase-button-bar-button.component.js +40 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +4 -1
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.module.js +10 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +4 -9
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +35 -11
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +16 -6
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.module.js +4 -3
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +5 -5
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +6 -31
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +87 -0
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.module.js +45 -0
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-amount.component.js +47 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-amount.module.js +21 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +47 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.module.js +28 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.component.js +19 -21
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.js +10 -7
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.js +4 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +5 -19
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.module.js +4 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +52 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.module.js +28 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.js +29 -29
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.js +6 -6
- package/esm2015/lib/component/transaction-search/transaction-filter-historic-state/transaction-filter-historic-state.component.js +14 -16
- package/esm2015/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.component.js +75 -0
- package/esm2015/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.module.js +25 -0
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/model/transaction-bar-button.js +2 -3
- package/esm2015/lib/service/pending-reason.service.js +12 -4
- package/esm2015/lib/service/transaction-connector-adapter.service.js +87 -1
- package/esm2015/lib/service/transaction-connector.service.js +30 -1
- package/esm2015/lib/service/transaction-event.service.js +3 -1
- package/esm2015/lib/service/transaction-mapping.service.js +7 -2
- package/esm2015/lib/service/transaction.service.js +91 -44
- package/esm2015/public_api.js +3 -1
- package/fesm2015/colijnit-transaction.js +1581 -625
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/animated-checkbox/animated-checkbox.component.d.ts +5 -0
- package/lib/component/animated-checkbox/animated-checkbox.module.d.ts +2 -0
- package/lib/component/animated-checkbox/style/_layout.scss +78 -0
- package/lib/component/animated-checkbox/style/_material-definition.scss +13 -0
- package/lib/component/animated-checkbox/style/_theme.scss +4 -0
- package/lib/component/animated-checkbox/style/material.scss +4 -0
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_layout.scss +95 -90
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_material-definition.scss +0 -10
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_theme.scss +0 -8
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +2 -6
- package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +0 -84
- package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +0 -16
- package/lib/component/checkout/style/_layout.scss +86 -1
- package/lib/component/checkout/style/_material-definition.scss +7 -0
- package/lib/component/core/base/components/characteristic-answer/style/_layout.scss +0 -4
- package/lib/component/core/base/components/warehouse/style/_layout.scss +0 -4
- package/lib/component/core/base/dialog-transaction-line-base.component.d.ts +3 -0
- package/lib/component/core/base/transaction-filter-popup-base.component.d.ts +2 -4
- package/lib/component/core/base/transaction-header-base.component.d.ts +3 -4
- package/lib/component/core/base/transaction-header-filter-popup-base.component.d.ts +38 -0
- package/lib/component/core/base/transaction-line-base.component.d.ts +1 -2
- package/lib/component/core/base/transaction-lines-line-base.component.d.ts +1 -1
- package/lib/component/core/relation/customer-groups.component.d.ts +1 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +4 -5
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_material-definition.scss +5 -3
- package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_layout.scss +4 -5
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_material-definition.scss +5 -3
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.component.d.ts +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.module.d.ts +2 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/_layout.scss +11 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/_material-definition.scss +2 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/_theme.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/material.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-vat/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/style/_layout.scss +0 -4
- package/lib/component/{core → loader}/loader.component.d.ts +1 -0
- package/lib/component/loader/loader.module.d.ts +2 -0
- package/lib/component/loader/style/_layout.scss +8 -0
- package/lib/component/loader/style/_material-definition.scss +1 -0
- package/lib/component/loader/style/_theme.scss +10 -0
- package/lib/component/loader/style/material.scss +4 -0
- package/lib/component/relation/relation-address/style/_layout.scss +3 -0
- package/lib/component/relation/relation-address-tile/relation-address-tile.component.d.ts +2 -1
- package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +5 -4
- package/lib/component/relation/relation-addresses/style/_layout.scss +2 -6
- package/lib/component/relation/relation-contact-details/relation-contact-details.component.d.ts +1 -0
- package/lib/component/relation/relation-general/relation-general.component.d.ts +6 -1
- package/lib/component/relation/relation-preferences/relation-preferences.component.d.ts +1 -0
- package/lib/component/relation/relation-type/relation-type.component.d.ts +1 -0
- package/lib/component/tile/style/_layout.scss +10 -7
- package/lib/component/tile/style/_material-definition.scss +2 -1
- package/lib/component/transaction-button-bar/style/_layout.scss +25 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button-base.component.d.ts +16 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.d.ts +14 -5
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-purchase-button-bar-button.component.d.ts +12 -0
- package/lib/component/transaction-button-bar/transaction-button-bar.component.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +2 -1
- package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +5 -2
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +5 -1
- package/lib/component/transaction-header-fields/transaction-header-delivery-method.component.d.ts +1 -0
- package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +0 -94
- package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +2 -1
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +164 -0
- package/lib/component/transaction-line/transaction-line/style/_material-definition.scss +24 -0
- package/lib/component/transaction-line/transaction-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-line/style/material.scss +13 -0
- package/lib/component/transaction-line/transaction-overview-line/style/_layout.scss +0 -97
- package/lib/component/transaction-line/transaction-overview-line/style/_material-definition.scss +0 -36
- package/lib/component/transaction-line/transaction-overview-line/style/_theme.scss +0 -27
- package/lib/component/transaction-line/transaction-overview-line/style/material.scss +0 -11
- package/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.d.ts +4 -11
- package/lib/component/transaction-line/transaction-purchase-line/style/_layout.scss +7 -0
- package/lib/component/transaction-line/transaction-purchase-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-purchase-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.d.ts +19 -0
- package/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.module.d.ts +2 -0
- package/lib/component/transaction-line-checkbox-list/style/_layout.scss +8 -4
- package/lib/component/transaction-line-checkbox-list/style/_material-definition.scss +1 -0
- package/lib/component/transaction-line-fields/transaction-line-amount.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-line-amount.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-price-list.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts +9 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier-button.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier.component.d.ts +6 -5
- package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +2 -2
- package/lib/component/transaction-line-image-and-description/style/_layout.scss +16 -13
- package/lib/component/transaction-line-image-and-description/style/_material-definition.scss +21 -1
- package/lib/component/transaction-line-image-and-description/style/_theme.scss +18 -1
- package/lib/component/transaction-line-statusbar/style/_layout.scss +4 -0
- package/lib/component/transaction-lines/style/material.scss +1 -0
- package/lib/component/transaction-quick-access/transaction-quick-access/style/_layout.scss +5 -1
- package/lib/component/transaction-quick-access/transaction-quick-access/style/_material-definition.scss +2 -1
- package/lib/component/transaction-quick-access/transaction-quick-access/style/material.scss +1 -0
- package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.d.ts +5 -3
- package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/style/_layout.scss +2 -49
- package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.d.ts +0 -4
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/_layout.scss +8 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/_material-definition.scss +0 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/_theme.scss +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/material.scss +5 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.d.ts +13 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-historic-state/transaction-filter-historic-state.component.d.ts +6 -4
- package/lib/component/transaction-send-button-dialog/style/_layout.scss +47 -0
- package/lib/component/transaction-send-button-dialog/style/_material-definition.scss +13 -0
- package/lib/component/transaction-send-button-dialog/style/_theme.scss +24 -0
- package/lib/component/transaction-send-button-dialog/style/material.scss +4 -0
- package/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.component.d.ts +16 -0
- package/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/model/transaction-bar-button.d.ts +4 -1
- package/lib/service/pending-reason.service.d.ts +5 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +11 -0
- package/lib/service/transaction-connector.service.d.ts +11 -0
- package/lib/service/transaction-event.service.d.ts +2 -0
- package/lib/service/transaction.service.d.ts +14 -0
- package/lib/style/_variables.scss +5 -2
- package/lib/style/transaction-globals.scss +12 -1
- package/package.json +1 -1
- package/public_api.d.ts +2 -0
- package/esm2015/lib/component/core/loader.component.js +0 -44
|
@@ -5,6 +5,7 @@ import { PendingReasonType } from '@colijnit/transactionapi/build/enum/pending-r
|
|
|
5
5
|
import { SequenceName } from '@colijnit/transactionapi/build/enum/sequence-name.enum';
|
|
6
6
|
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
7
7
|
import { TransactionLineType } from '@colijnit/transactionapi/build/enum/transaction-line-type.enum';
|
|
8
|
+
import { ValidationResult } from '@colijnit/transactionapi/build/model/validation-result';
|
|
8
9
|
import { BehaviorSubject, Subject, throwError } from 'rxjs';
|
|
9
10
|
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
10
11
|
import { Marketing } from '@colijnit/transactionapi/build/model/marketing.bo';
|
|
@@ -55,6 +56,7 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
55
56
|
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
|
|
56
57
|
import { SupplierFullObject } from '@colijnit/transactionapi/build/model/supplier-full-object.bo';
|
|
57
58
|
import { TransactionDownPaymentInfo } from '@colijnit/transactionapi/build/model/transaction-down-payment-info.bo';
|
|
59
|
+
import { TransactionLockResult } from '@colijnit/transactionapi/build/model/transaction-lock-result.bo';
|
|
58
60
|
import { RelationStatus } from '@colijnit/transactionapi/build/enum/relation-status.enum';
|
|
59
61
|
import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
|
|
60
62
|
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
@@ -66,7 +68,7 @@ import { ResolveHeaderPendingReasonRequest } from '@colijnit/transactionapi/buil
|
|
|
66
68
|
import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
|
|
67
69
|
import { NULL_CUSTOMER_FULL_OBJECT, NULL_RELATION_OBJECT } from '@colijnit/transactionapi/build/model/nul-relation-object';
|
|
68
70
|
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
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,
|
|
71
|
+
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputTextComponent, InputListboxModule, DropDownModule, InputSearchModule, ColumnAlign, SimpleGridColumnDirective, ObserveVisibilityModule, ColorSequenceService, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, CarouselModule, FilterPipeModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, InputNumberPickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, ClickoutsideModule, CheckmarkOverlayModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
70
72
|
import { FlexModule } from '@angular/flex-layout';
|
|
71
73
|
import { AddressType } from '@colijnit/transactionapi/build/enum/address-type.enum';
|
|
72
74
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
@@ -220,6 +222,7 @@ class Dictionary {
|
|
|
220
222
|
"BRANCH": "Filiaal",
|
|
221
223
|
"BRANCH_NUMBER": "Filiaalnummer",
|
|
222
224
|
"BUSINESS_RULE_DISCOUNT": "Business rule korting",
|
|
225
|
+
"BY": "Door",
|
|
223
226
|
"CANCEL": "Annuleren",
|
|
224
227
|
"CANNOT_CHANGE_NEGATIVE_QUANTITY": "Een negatieve voorraad kan niet gewijzigd worden.",
|
|
225
228
|
"CART": "Winkelwagen",
|
|
@@ -449,6 +452,7 @@ class Dictionary {
|
|
|
449
452
|
"REDISTRIBUTE_DISCOUNT": "Herverdeel korting",
|
|
450
453
|
"REFERENCE": "Referentie",
|
|
451
454
|
"REFERENCE_RELATION": "Ref. relatie",
|
|
455
|
+
"RELATION_ALREADY_LOCKED": "De relatie wordt al bewerkt",
|
|
452
456
|
"RELATION_NUMBER": "Relatienummer",
|
|
453
457
|
"REMARKS": "Opmerkingen",
|
|
454
458
|
"REQUESTED_DELIVERY": "Gevraagde leverdatum",
|
|
@@ -481,6 +485,7 @@ class Dictionary {
|
|
|
481
485
|
"SHOPPING_CART_RESUME": "Verder winkelen",
|
|
482
486
|
"SHOW_MORE": "Toon meer",
|
|
483
487
|
"SHOW_LESS": "Toon minder",
|
|
488
|
+
"SINCE": "Sinds",
|
|
484
489
|
"SPECIAL_DISCOUNT": "Speciale korting",
|
|
485
490
|
"SOURCE_WAREHOUSE": "Bron magazijn",
|
|
486
491
|
"STOCK": "Voorraad",
|
|
@@ -503,6 +508,7 @@ class Dictionary {
|
|
|
503
508
|
"TOTAL_ASSEMBLY_TIME": "Totale montagetijd",
|
|
504
509
|
"TOTAL_GROSS": "Totaal bruto",
|
|
505
510
|
"TOTAL_LINE_DISCOUNT": "Totale regelkorting",
|
|
511
|
+
"TRANSACTION_ALREADY_LOCKED": "De transactie wordt al bewerkt",
|
|
506
512
|
"TRANSACTION_DATE": "Orderdatum",
|
|
507
513
|
"TRANSACTION_DISCOUNT": "Transactie korting",
|
|
508
514
|
"TRANSACTION_DISCOUNT_PERC": "% Trans. korting",
|
|
@@ -571,6 +577,7 @@ class Dictionary {
|
|
|
571
577
|
"BRANCH": "Branch",
|
|
572
578
|
"BRANCH_NUMBER": "Branch number",
|
|
573
579
|
"BUSINESS_RULE_DISCOUNT": "Business rule discount",
|
|
580
|
+
"BY": "By",
|
|
574
581
|
"CANCEL": "Cancel",
|
|
575
582
|
"CANNOT_CHANGE_NEGATIVE_QUANTITY": "A negative supply cannot be changed.",
|
|
576
583
|
"CART": "Cart",
|
|
@@ -787,6 +794,7 @@ class Dictionary {
|
|
|
787
794
|
"RECEIVED_DELIVERED": "Received / delivered",
|
|
788
795
|
"REFERENCE": "Reference",
|
|
789
796
|
"REFERENCE_RELATION": "Ref. relation",
|
|
797
|
+
"RELATION_ALREADY_LOCKED": "Relation is already locked",
|
|
790
798
|
"RELATION_NUMBER": "Relation number",
|
|
791
799
|
"REMARKS": "Remarks",
|
|
792
800
|
"REQUESTED_DELIVERY": "Requested delivery",
|
|
@@ -818,6 +826,7 @@ class Dictionary {
|
|
|
818
826
|
"SHOPPING_CART_RESUME": "Resume shopping",
|
|
819
827
|
"SHOW_MORE": "Show more",
|
|
820
828
|
"SHOW_LESS": "Show less",
|
|
829
|
+
"SINCE": "Since",
|
|
821
830
|
"SPECIAL_DISCOUNT": "Special discount",
|
|
822
831
|
"SOURCE_WAREHOUSE": "Source warehouse",
|
|
823
832
|
"STOCK": "Stock",
|
|
@@ -839,6 +848,7 @@ class Dictionary {
|
|
|
839
848
|
"TOTAL_ASSEMBLY_TIME": "Total assembly time",
|
|
840
849
|
"TOTAL_GROSS": "Gross total",
|
|
841
850
|
"TOTAL_LINE_DISCOUNT": "Total linediscount",
|
|
851
|
+
"TRANSACTION_ALREADY_LOCKED": "Transaction is already locked",
|
|
842
852
|
"TRANSACTION_DATE": "Transaction date",
|
|
843
853
|
"TRANSACTION_DISCOUNT": "Transaction discount",
|
|
844
854
|
"TRANSACTION_DISCOUNT_PERC": "% Trans. discount",
|
|
@@ -2060,6 +2070,7 @@ var Icon;
|
|
|
2060
2070
|
Icon["DeliveryTruck"] = "delivery_truck";
|
|
2061
2071
|
Icon["EditPencil"] = "edit_pencil";
|
|
2062
2072
|
Icon["EllipsisLight"] = "ellipsis_light";
|
|
2073
|
+
Icon["EllipsisVerticalSolid"] = "ellipsis_vertical_solid";
|
|
2063
2074
|
Icon["FileCircleInfoSolid"] = "file_circle_info_solid";
|
|
2064
2075
|
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
2065
2076
|
Icon["GearSolid"] = "gear_solid";
|
|
@@ -2131,6 +2142,7 @@ const IconSvg = {
|
|
|
2131
2142
|
"delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
|
|
2132
2143
|
"edit_pencil": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"12.54 38.16 12 37.62 14.85 29.64 20.52 35.31 12.54 38.16\" fill=\"#484f60\"/><rect x=\"16.33\" y=\"20.52\" width=\"17.99\" height=\"8.64\" transform=\"translate(-10.15 25.18) rotate(-45)\" fill=\"#484f60\"/><path d=\"M37.54,18.73,36,20.32l-6.11-6.1,1.59-1.59a1.55,1.55,0,0,1,2.2,0l3.91,3.9A1.55,1.55,0,0,1,37.54,18.73Z\" fill=\"#484f60\"/></svg>",
|
|
2133
2144
|
"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>",
|
|
2145
|
+
"ellipsis_vertical_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 128 512\"><path d=\"M64 360c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zm0-160c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zM120 96c0 30.9-25.1 56-56 56S8 126.9 8 96S33.1 40 64 40s56 25.1 56 56z\"/></svg>",
|
|
2134
2146
|
"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>",
|
|
2135
2147
|
"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
2148
|
"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>",
|
|
@@ -2263,7 +2275,7 @@ ConfirmationDialogComponent.decorators = [
|
|
|
2263
2275
|
<div class="co-transaction-dialog-header-title" [textContent]="title | localize"></div>
|
|
2264
2276
|
</ng-template>
|
|
2265
2277
|
<ng-template #footerTemplate>
|
|
2266
|
-
<div class="button-wrapper">
|
|
2278
|
+
<div class="co-transaction-dialog-footer-button-wrapper">
|
|
2267
2279
|
<ng-container *ngIf="type === ptype.Confirmation">
|
|
2268
2280
|
<co-button [label]="'YES' | localize" (click)="handleYesClick($event)"></co-button>
|
|
2269
2281
|
<co-button [label]="'NO' | localize" (click)="handleNoClick($event)"></co-button>
|
|
@@ -2349,7 +2361,7 @@ CharacteristicAnswerComponent.decorators = [
|
|
|
2349
2361
|
<div class="co-transaction-dialog-header-title" [textContent]="title"></div>
|
|
2350
2362
|
</ng-template>
|
|
2351
2363
|
<ng-template #footerTemplate>
|
|
2352
|
-
<div class="dialog-footer-button-wrapper">
|
|
2364
|
+
<div class="co-transaction-dialog-footer-button-wrapper">
|
|
2353
2365
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
2354
2366
|
</div>
|
|
2355
2367
|
</ng-template>
|
|
@@ -2368,116 +2380,8 @@ CharacteristicAnswerComponent.propDecorators = {
|
|
|
2368
2380
|
showClass: [{ type: HostBinding, args: ['class.co-characteristic-answer',] }]
|
|
2369
2381
|
};
|
|
2370
2382
|
|
|
2371
|
-
class
|
|
2372
|
-
constructor() {
|
|
2373
|
-
this.autoClose = false;
|
|
2374
|
-
this.useModel = true;
|
|
2375
|
-
this.valueChange = new EventEmitter();
|
|
2376
|
-
this.closeAfterCommit = new EventEmitter();
|
|
2377
|
-
this.viewModels = [];
|
|
2378
|
-
this.viewModelsFiltered = [];
|
|
2379
|
-
this.propsForLabel = [];
|
|
2380
|
-
this._collection = [];
|
|
2381
|
-
}
|
|
2382
|
-
set searchText(value) {
|
|
2383
|
-
this._searchText = value;
|
|
2384
|
-
this._doSearch();
|
|
2385
|
-
}
|
|
2386
|
-
get searchText() {
|
|
2387
|
-
return this._searchText;
|
|
2388
|
-
}
|
|
2389
|
-
set collection(value) {
|
|
2390
|
-
this._collection = value;
|
|
2391
|
-
this.prepareViewModels();
|
|
2392
|
-
}
|
|
2393
|
-
get collection() {
|
|
2394
|
-
return this._collection;
|
|
2395
|
-
}
|
|
2396
|
-
get model() {
|
|
2397
|
-
return undefined;
|
|
2398
|
-
}
|
|
2399
|
-
commit(value) {
|
|
2400
|
-
return Promise.resolve(true);
|
|
2401
|
-
}
|
|
2402
|
-
handleChecked(row) {
|
|
2403
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2404
|
-
row.checked = true;
|
|
2405
|
-
const currentModel = this.viewModels.find(v => v.value === row.value);
|
|
2406
|
-
if (currentModel) {
|
|
2407
|
-
currentModel.checked = true;
|
|
2408
|
-
}
|
|
2409
|
-
for (let i = 0; i < this.viewModels.length; i++) {
|
|
2410
|
-
if (this.viewModels[i].value !== row.value) {
|
|
2411
|
-
this.viewModels[i].checked = false;
|
|
2412
|
-
}
|
|
2413
|
-
}
|
|
2414
|
-
if (this.useModel) {
|
|
2415
|
-
if (this.autoClose) {
|
|
2416
|
-
if (yield this.commit(row.value)) {
|
|
2417
|
-
this.closeAfterCommit.emit();
|
|
2418
|
-
}
|
|
2419
|
-
}
|
|
2420
|
-
else {
|
|
2421
|
-
this.commit(row.value);
|
|
2422
|
-
}
|
|
2423
|
-
}
|
|
2424
|
-
else {
|
|
2425
|
-
this.valueChange.emit(row.value);
|
|
2426
|
-
}
|
|
2427
|
-
});
|
|
2428
|
-
}
|
|
2429
|
-
prepareViewModels() {
|
|
2430
|
-
this.collection.forEach((d, index) => {
|
|
2431
|
-
const labels = this.propsForLabel.map(p => d[p]);
|
|
2432
|
-
this.viewModels.push({
|
|
2433
|
-
value: d[this.codeField],
|
|
2434
|
-
propsForLabel: labels,
|
|
2435
|
-
checked: (this.useModel && this.model && this.checkField) ?
|
|
2436
|
-
this.model[this.checkField] === d[this.codeField] :
|
|
2437
|
-
(this.value ? this.value === d[this.codeField] : index === 0)
|
|
2438
|
-
});
|
|
2439
|
-
});
|
|
2440
|
-
this.viewModelsFiltered = this.viewModels.slice();
|
|
2441
|
-
if (!this.useModel && this.viewModels.length > 0) {
|
|
2442
|
-
this.valueChange.next(this.value ? this.value : this.viewModels[0].value);
|
|
2443
|
-
}
|
|
2444
|
-
}
|
|
2445
|
-
_doSearch() {
|
|
2446
|
-
this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
2447
|
-
if (this.searchText) {
|
|
2448
|
-
this.viewModelsFiltered = this.viewModelsFiltered.filter(vmf => {
|
|
2449
|
-
return vmf.propsForLabel.find(p => p && p.toString().match(new RegExp(this.searchText, 'gi')));
|
|
2450
|
-
});
|
|
2451
|
-
// if (!this.searchText) {
|
|
2452
|
-
// this.viewModelsFiltered = this.viewModels.slice();
|
|
2453
|
-
// } else {
|
|
2454
|
-
// this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
2455
|
-
// for (let i = 0; i < this.viewModelsFiltered.length; i++) {
|
|
2456
|
-
// const vmf = this.viewModelsFiltered[i];
|
|
2457
|
-
// for (let j = 0; j < vmf.propsForLabel.length; j++) {
|
|
2458
|
-
// if (vmf.propsForLabel[j]) {
|
|
2459
|
-
// vmf.propsForLabel[j] = vmf.propsForLabel[j].replace(new RegExp(this.searchText, 'gi'), `<span class="highlight">${this.searchText}</span>`);
|
|
2460
|
-
// }
|
|
2461
|
-
// }
|
|
2462
|
-
// }
|
|
2463
|
-
}
|
|
2464
|
-
}
|
|
2465
|
-
}
|
|
2466
|
-
TransactionFilterPopupBaseComponent.decorators = [
|
|
2467
|
-
{ type: Directive }
|
|
2468
|
-
];
|
|
2469
|
-
TransactionFilterPopupBaseComponent.propDecorators = {
|
|
2470
|
-
autoClose: [{ type: Input }],
|
|
2471
|
-
useModel: [{ type: Input }],
|
|
2472
|
-
searchText: [{ type: Input }],
|
|
2473
|
-
value: [{ type: Input }],
|
|
2474
|
-
valueChange: [{ type: Output }],
|
|
2475
|
-
closeAfterCommit: [{ type: Output }]
|
|
2476
|
-
};
|
|
2477
|
-
|
|
2478
|
-
class TransactionLineBaseComponent extends TransactionFilterPopupBaseComponent {
|
|
2383
|
+
class TransactionLineBaseComponent {
|
|
2479
2384
|
constructor() {
|
|
2480
|
-
super(...arguments);
|
|
2481
2385
|
this.readonly = false;
|
|
2482
2386
|
this._transactionLine = new TransactionLineInfo();
|
|
2483
2387
|
this._transactionInfo = new TransactionInfo();
|
|
@@ -2527,6 +2431,8 @@ class DialogTransactionLineBaseComponent extends TransactionLineBaseComponent {
|
|
|
2527
2431
|
constructor() {
|
|
2528
2432
|
super(...arguments);
|
|
2529
2433
|
this.buttonType = AppPopupButtonType;
|
|
2434
|
+
this.autoClose = false;
|
|
2435
|
+
this.useModel = true;
|
|
2530
2436
|
this.close = new EventEmitter();
|
|
2531
2437
|
}
|
|
2532
2438
|
onClose(eventType, output) {
|
|
@@ -2550,6 +2456,8 @@ DialogTransactionLineBaseComponent.decorators = [
|
|
|
2550
2456
|
{ type: Directive }
|
|
2551
2457
|
];
|
|
2552
2458
|
DialogTransactionLineBaseComponent.propDecorators = {
|
|
2459
|
+
autoClose: [{ type: Input }],
|
|
2460
|
+
useModel: [{ type: Input }],
|
|
2553
2461
|
close: [{ type: Output }]
|
|
2554
2462
|
};
|
|
2555
2463
|
|
|
@@ -2576,7 +2484,7 @@ DialogTransactionLineWarehouseComponent.decorators = [
|
|
|
2576
2484
|
<co-dialog-header-search [title]="'WAREHOUSE'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
2577
2485
|
</ng-template>
|
|
2578
2486
|
<ng-template #footerTemplate>
|
|
2579
|
-
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
2487
|
+
<div class="co-transaction-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
2580
2488
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
2581
2489
|
</div>
|
|
2582
2490
|
</ng-template>
|
|
@@ -2610,7 +2518,7 @@ DialogTransactionLineCommissionCodeComponent.decorators = [
|
|
|
2610
2518
|
<div class="co-transaction-dialog-header-title" [textContent]="'COMMISSION_CODE' | localize"></div>
|
|
2611
2519
|
</ng-template>
|
|
2612
2520
|
<ng-template #footerTemplate>
|
|
2613
|
-
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
2521
|
+
<div class="co-transaction-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
2614
2522
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
2615
2523
|
</div>
|
|
2616
2524
|
</ng-template>
|
|
@@ -2719,7 +2627,7 @@ DialogTransactionLineWarehouseLocationComponent.decorators = [
|
|
|
2719
2627
|
<co-dialog-header-search [title]="'LOCATION'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
2720
2628
|
</ng-template>
|
|
2721
2629
|
<ng-template #footerTemplate>
|
|
2722
|
-
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
2630
|
+
<div class="co-transaction-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
2723
2631
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
2724
2632
|
</div>
|
|
2725
2633
|
</ng-template>
|
|
@@ -2795,7 +2703,7 @@ DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
|
2795
2703
|
<div class="co-transaction-dialog-header-title" [textContent]="'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize"></div>
|
|
2796
2704
|
</ng-template>
|
|
2797
2705
|
<ng-template #footerTemplate>
|
|
2798
|
-
<div class="dialog-footer-button-wrapper">
|
|
2706
|
+
<div class="co-transaction-dialog-footer-button-wrapper">
|
|
2799
2707
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
2800
2708
|
</div>
|
|
2801
2709
|
</ng-template>
|
|
@@ -3125,6 +3033,18 @@ class TransactionConnectorAdapterService {
|
|
|
3125
3033
|
}
|
|
3126
3034
|
});
|
|
3127
3035
|
}
|
|
3036
|
+
lockTransactionById(transactionId, version) {
|
|
3037
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3038
|
+
const result = yield this.connector.lockTransactionByTransId(transactionId, version);
|
|
3039
|
+
if (result.validationResult && result.validationResult.success) {
|
|
3040
|
+
return this._boFactory.makeWithRawBackendData(TransactionLockResult, result.resultObject);
|
|
3041
|
+
}
|
|
3042
|
+
else {
|
|
3043
|
+
this._handleExceptionFromResponse(result);
|
|
3044
|
+
return null;
|
|
3045
|
+
}
|
|
3046
|
+
});
|
|
3047
|
+
}
|
|
3128
3048
|
getCustomerFullObject(relationNo) {
|
|
3129
3049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3130
3050
|
const result = yield this.connector.getCustomerFullObject(relationNo);
|
|
@@ -3683,6 +3603,23 @@ class TransactionConnectorAdapterService {
|
|
|
3683
3603
|
}
|
|
3684
3604
|
});
|
|
3685
3605
|
}
|
|
3606
|
+
changeTransactionLineSupplier(uuid, lineUuid, id) {
|
|
3607
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3608
|
+
const request = {
|
|
3609
|
+
transactionUuid: uuid,
|
|
3610
|
+
lineUuid: lineUuid,
|
|
3611
|
+
newSupplierId: id
|
|
3612
|
+
};
|
|
3613
|
+
const response = yield this.connector.changeTransactionLineSupplier(request);
|
|
3614
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3615
|
+
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3616
|
+
}
|
|
3617
|
+
else {
|
|
3618
|
+
this._handleExceptionFromResponse(response);
|
|
3619
|
+
return null;
|
|
3620
|
+
}
|
|
3621
|
+
});
|
|
3622
|
+
}
|
|
3686
3623
|
changeTransactionLineWarehouse(uuid, lineUuid, warehouseNumber) {
|
|
3687
3624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3688
3625
|
const request = {
|
|
@@ -4370,6 +4307,62 @@ class TransactionConnectorAdapterService {
|
|
|
4370
4307
|
});
|
|
4371
4308
|
});
|
|
4372
4309
|
}
|
|
4310
|
+
generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers) {
|
|
4311
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4312
|
+
return new Promise((resolve, reject) => {
|
|
4313
|
+
return this.connector.generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4314
|
+
if (result.validationResult && result.validationResult.success) {
|
|
4315
|
+
resolve(true);
|
|
4316
|
+
}
|
|
4317
|
+
else {
|
|
4318
|
+
reject(result.validationMessagesAsString);
|
|
4319
|
+
}
|
|
4320
|
+
}));
|
|
4321
|
+
});
|
|
4322
|
+
});
|
|
4323
|
+
}
|
|
4324
|
+
lockCustomerFullObject(relationNr) {
|
|
4325
|
+
return new Promise((resolve, reject) => {
|
|
4326
|
+
return this.connector.lockCustomerById(relationNr).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4327
|
+
resolve(result.validationResult);
|
|
4328
|
+
}));
|
|
4329
|
+
});
|
|
4330
|
+
}
|
|
4331
|
+
lockSupplierFullObject(relationNr) {
|
|
4332
|
+
return new Promise((resolve, reject) => {
|
|
4333
|
+
return this.connector.lockSupplierById(relationNr).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4334
|
+
resolve(result.validationResult);
|
|
4335
|
+
}));
|
|
4336
|
+
});
|
|
4337
|
+
}
|
|
4338
|
+
lockEmployeeFullObject(relationNr) {
|
|
4339
|
+
return new Promise((resolve, reject) => {
|
|
4340
|
+
return this.connector.lockEmployeeById(relationNr).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4341
|
+
resolve(result.validationResult);
|
|
4342
|
+
}));
|
|
4343
|
+
});
|
|
4344
|
+
}
|
|
4345
|
+
lockBranchFullObject(relationNr) {
|
|
4346
|
+
return new Promise((resolve, reject) => {
|
|
4347
|
+
return this.connector.lockBranchById(relationNr).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4348
|
+
resolve(result.validationResult);
|
|
4349
|
+
}));
|
|
4350
|
+
});
|
|
4351
|
+
}
|
|
4352
|
+
lockCompanyFullObject(relationNr) {
|
|
4353
|
+
return new Promise((resolve, reject) => {
|
|
4354
|
+
return this.connector.lockCompanyById(relationNr).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4355
|
+
resolve(result.validationResult);
|
|
4356
|
+
}));
|
|
4357
|
+
});
|
|
4358
|
+
}
|
|
4359
|
+
lockContactPerson(relationNr) {
|
|
4360
|
+
return new Promise((resolve, reject) => {
|
|
4361
|
+
return this.connector.lockContactPersonById(relationNr).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4362
|
+
resolve(result.validationResult);
|
|
4363
|
+
}));
|
|
4364
|
+
});
|
|
4365
|
+
}
|
|
4373
4366
|
_handleExceptionFromResponse(result) {
|
|
4374
4367
|
this._errorService.showValidationError(result);
|
|
4375
4368
|
}
|
|
@@ -4484,6 +4477,9 @@ class TransactionConnectorService {
|
|
|
4484
4477
|
getTransactionById(transactionId) {
|
|
4485
4478
|
return this._adapterService.getTransactionById(transactionId);
|
|
4486
4479
|
}
|
|
4480
|
+
lockTransactionById(transId, version) {
|
|
4481
|
+
return this._adapterService.lockTransactionById(transId, version);
|
|
4482
|
+
}
|
|
4487
4483
|
commit() {
|
|
4488
4484
|
return this._adapterService.commit();
|
|
4489
4485
|
}
|
|
@@ -4712,6 +4708,11 @@ class TransactionConnectorService {
|
|
|
4712
4708
|
return this._adapterService.changeTransactionLineCommissionCode(uuid, lineUuid, code);
|
|
4713
4709
|
});
|
|
4714
4710
|
}
|
|
4711
|
+
changeTransactionLineSupplier(uuid, lineUuid, id) {
|
|
4712
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4713
|
+
return this._adapterService.changeTransactionLineSupplier(uuid, lineUuid, id);
|
|
4714
|
+
});
|
|
4715
|
+
}
|
|
4715
4716
|
changeTransactionLineWarehouse(uuid, lineUuid, warehouseNumber) {
|
|
4716
4717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4717
4718
|
return this._adapterService.changeTransactionLineWarehouse(uuid, lineUuid, warehouseNumber);
|
|
@@ -4922,6 +4923,27 @@ class TransactionConnectorService {
|
|
|
4922
4923
|
return this._adapterService.lockPurchasePortalLines(transIdPurchase, lineId);
|
|
4923
4924
|
});
|
|
4924
4925
|
}
|
|
4926
|
+
generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers) {
|
|
4927
|
+
return this._adapterService.generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers);
|
|
4928
|
+
}
|
|
4929
|
+
lockCustomerFullObject(relationNr) {
|
|
4930
|
+
return this._adapterService.lockCustomerFullObject(relationNr);
|
|
4931
|
+
}
|
|
4932
|
+
lockSupplierFullObject(relationNr) {
|
|
4933
|
+
return this._adapterService.lockSupplierFullObject(relationNr);
|
|
4934
|
+
}
|
|
4935
|
+
lockEmployeeFullObject(relationNr) {
|
|
4936
|
+
return this._adapterService.lockEmployeeFullObject(relationNr);
|
|
4937
|
+
}
|
|
4938
|
+
lockBranchFullObject(relationNr) {
|
|
4939
|
+
return this._adapterService.lockBranchFullObject(relationNr);
|
|
4940
|
+
}
|
|
4941
|
+
lockCompanyFullObject(relationNr) {
|
|
4942
|
+
return this._adapterService.lockCompanyFullObject(relationNr);
|
|
4943
|
+
}
|
|
4944
|
+
lockContactPerson(relationNr) {
|
|
4945
|
+
return this._adapterService.lockContactPerson(relationNr);
|
|
4946
|
+
}
|
|
4925
4947
|
}
|
|
4926
4948
|
TransactionConnectorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionConnectorService_Factory() { return new TransactionConnectorService(i0.ɵɵinject(TransactionConnectorAdapterService), i0.ɵɵinject(SelectSingleCacheService), i0.ɵɵinject(SelectMultipleCacheService), i0.ɵɵinject(SelectMultipleParameterizedCacheService)); }, token: TransactionConnectorService, providedIn: "root" });
|
|
4927
4949
|
TransactionConnectorService.decorators = [
|
|
@@ -5027,12 +5049,43 @@ ArticleConnectorService.ctorParameters = () => [
|
|
|
5027
5049
|
{ type: OptionsService }
|
|
5028
5050
|
];
|
|
5029
5051
|
|
|
5052
|
+
class TransactionEventService {
|
|
5053
|
+
constructor() {
|
|
5054
|
+
this.addToCartBySku = new Subject();
|
|
5055
|
+
this.addToCartBySelectorResult = new Subject();
|
|
5056
|
+
this.openShoppingCartModule = new Subject();
|
|
5057
|
+
this.loggedIn = new Subject();
|
|
5058
|
+
this.addNewUserToShoppingCartModule = new Subject();
|
|
5059
|
+
this.addUserRelationShoppingCartModule = new Subject();
|
|
5060
|
+
this.addArticleLine = new Subject();
|
|
5061
|
+
this.addTextLine = new Subject();
|
|
5062
|
+
this.addArticleLineAt = new Subject();
|
|
5063
|
+
this.addTextLineAt = new Subject();
|
|
5064
|
+
this.changeLineSequence = new Subject();
|
|
5065
|
+
this.transactionLineClicked = new Subject();
|
|
5066
|
+
this.rightSidebarClose = new Subject();
|
|
5067
|
+
this.scrollContent = new Subject();
|
|
5068
|
+
this.commitReceivePurchaseOrders = new Subject();
|
|
5069
|
+
this.selectAllLines = new Subject();
|
|
5070
|
+
this.transactionLineChanged = new Subject();
|
|
5071
|
+
this.openSidePanel = new Subject();
|
|
5072
|
+
this.selectAllSalesOrderLinesForPurchase = new Subject();
|
|
5073
|
+
this.generateCommissionOrders = new Subject();
|
|
5074
|
+
}
|
|
5075
|
+
}
|
|
5076
|
+
TransactionEventService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
|
|
5077
|
+
TransactionEventService.decorators = [
|
|
5078
|
+
{ type: Injectable, args: [{ providedIn: "root" },] }
|
|
5079
|
+
];
|
|
5080
|
+
|
|
5030
5081
|
class PendingReasonService {
|
|
5031
|
-
constructor(dialogService, options, connector, articleConnector) {
|
|
5082
|
+
constructor(dialogService, options, connector, articleConnector, dictionaryService, transactionEventService) {
|
|
5032
5083
|
this.dialogService = dialogService;
|
|
5033
5084
|
this.options = options;
|
|
5034
5085
|
this.connector = connector;
|
|
5035
5086
|
this.articleConnector = articleConnector;
|
|
5087
|
+
this.dictionaryService = dictionaryService;
|
|
5088
|
+
this.transactionEventService = transactionEventService;
|
|
5036
5089
|
this.logout = new Subject();
|
|
5037
5090
|
this.transactionUpdated = new BehaviorSubject(undefined);
|
|
5038
5091
|
this.relationUpdated = new BehaviorSubject(undefined);
|
|
@@ -5284,7 +5337,7 @@ class PendingReasonService {
|
|
|
5284
5337
|
}
|
|
5285
5338
|
}
|
|
5286
5339
|
}
|
|
5287
|
-
PendingReasonService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PendingReasonService_Factory() { return new PendingReasonService(i0.ɵɵinject(DialogService), i0.ɵɵinject(OptionsService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService)); }, token: PendingReasonService, providedIn: "root" });
|
|
5340
|
+
PendingReasonService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PendingReasonService_Factory() { return new PendingReasonService(i0.ɵɵinject(DialogService), i0.ɵɵinject(OptionsService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService), i0.ɵɵinject(DictionaryService), i0.ɵɵinject(TransactionEventService)); }, token: PendingReasonService, providedIn: "root" });
|
|
5288
5341
|
PendingReasonService.decorators = [
|
|
5289
5342
|
{ type: Injectable, args: [{
|
|
5290
5343
|
providedIn: "root"
|
|
@@ -5294,10 +5347,23 @@ PendingReasonService.ctorParameters = () => [
|
|
|
5294
5347
|
{ type: DialogService },
|
|
5295
5348
|
{ type: OptionsService },
|
|
5296
5349
|
{ type: TransactionConnectorService },
|
|
5297
|
-
{ type: ArticleConnectorService }
|
|
5350
|
+
{ type: ArticleConnectorService },
|
|
5351
|
+
{ type: DictionaryService },
|
|
5352
|
+
{ type: TransactionEventService }
|
|
5298
5353
|
];
|
|
5299
5354
|
|
|
5300
5355
|
class TransactionService extends PendingReasonService {
|
|
5356
|
+
constructor() {
|
|
5357
|
+
super(...arguments);
|
|
5358
|
+
this._lockMethods = new Map([
|
|
5359
|
+
[RelationKind.Customer, (relationNr) => this._lockCustomerFullObject(relationNr)],
|
|
5360
|
+
[RelationKind.Supplier, (relationNr) => this._lockSupplierFullObject(relationNr)],
|
|
5361
|
+
[RelationKind.Personnel, (relationNr) => this._lockEmployeeFullObject(relationNr)],
|
|
5362
|
+
[RelationKind.Branch, (relationNr) => this._lockBranchFullObject(relationNr)],
|
|
5363
|
+
[RelationKind.Company, (relationNr) => this._lockCompanyFullObject(relationNr)],
|
|
5364
|
+
[RelationKind.ContactPerson, (relationNr) => this._lockContactPerson(relationNr)],
|
|
5365
|
+
]);
|
|
5366
|
+
}
|
|
5301
5367
|
pendingLineOperationStatus(lineOperationStatuses) {
|
|
5302
5368
|
const status = lineOperationStatuses.find(line => line.pendingReasonType !== PendingReasonType.NONE
|
|
5303
5369
|
&& line.pendingReasonType !== PendingReasonType.NON_CRITICAL_DISCONTINUATION);
|
|
@@ -5307,9 +5373,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5307
5373
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5308
5374
|
const response = yield this.connector.changeTransactionLinePrice(uuid, lineUuid, price);
|
|
5309
5375
|
if (response) {
|
|
5310
|
-
|
|
5311
|
-
this.rememberCurrentTransaction(response);
|
|
5312
|
-
return success;
|
|
5376
|
+
return this.handleLineOperationStatuses(response);
|
|
5313
5377
|
}
|
|
5314
5378
|
return false;
|
|
5315
5379
|
});
|
|
@@ -5318,9 +5382,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5318
5382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5319
5383
|
const response = yield this.connector.changeTransactionLineReference(uuid, lineUuid, reference);
|
|
5320
5384
|
if (response) {
|
|
5321
|
-
|
|
5322
|
-
this.rememberCurrentTransaction(response);
|
|
5323
|
-
return success;
|
|
5385
|
+
return this.handleLineOperationStatuses(response);
|
|
5324
5386
|
}
|
|
5325
5387
|
return false;
|
|
5326
5388
|
});
|
|
@@ -5329,9 +5391,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5329
5391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5330
5392
|
const response = yield this.connector.changeTransactionLineGoodDescription(uuid, lineUuid, goodDescription);
|
|
5331
5393
|
if (response) {
|
|
5332
|
-
|
|
5333
|
-
this.rememberCurrentTransaction(response);
|
|
5334
|
-
return success;
|
|
5394
|
+
return this.handleLineOperationStatuses(response);
|
|
5335
5395
|
}
|
|
5336
5396
|
return false;
|
|
5337
5397
|
});
|
|
@@ -5527,9 +5587,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5527
5587
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5528
5588
|
const response = yield this.connector.changeTransactionLineQuantity(uuid, lineUuid, quantity);
|
|
5529
5589
|
if (response) {
|
|
5530
|
-
|
|
5531
|
-
this.rememberCurrentTransaction(response);
|
|
5532
|
-
return success;
|
|
5590
|
+
return this.handleLineOperationStatuses(response);
|
|
5533
5591
|
}
|
|
5534
5592
|
return false;
|
|
5535
5593
|
});
|
|
@@ -5538,9 +5596,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5538
5596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5539
5597
|
const response = yield this.connector.changeTransactionLineDeliveryDate(uuid, lineUuid, date);
|
|
5540
5598
|
if (response) {
|
|
5541
|
-
|
|
5542
|
-
this.rememberCurrentTransaction(response);
|
|
5543
|
-
return success;
|
|
5599
|
+
return this.handleLineOperationStatuses(response);
|
|
5544
5600
|
}
|
|
5545
5601
|
return false;
|
|
5546
5602
|
});
|
|
@@ -5549,9 +5605,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5549
5605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5550
5606
|
const response = yield this.connector.changeTransactionLinePriceList(uuid, lineUuid, priceList);
|
|
5551
5607
|
if (response) {
|
|
5552
|
-
|
|
5553
|
-
this.rememberCurrentTransaction(response);
|
|
5554
|
-
return success;
|
|
5608
|
+
return this.handleLineOperationStatuses(response);
|
|
5555
5609
|
}
|
|
5556
5610
|
return false;
|
|
5557
5611
|
});
|
|
@@ -5560,9 +5614,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5560
5614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5561
5615
|
const response = yield this.connector.changeTransactionLineVat(uuid, lineUuid, id);
|
|
5562
5616
|
if (response) {
|
|
5563
|
-
|
|
5564
|
-
this.rememberCurrentTransaction(response);
|
|
5565
|
-
return success;
|
|
5617
|
+
return this.handleLineOperationStatuses(response);
|
|
5566
5618
|
}
|
|
5567
5619
|
return false;
|
|
5568
5620
|
});
|
|
@@ -5571,9 +5623,16 @@ class TransactionService extends PendingReasonService {
|
|
|
5571
5623
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5572
5624
|
const response = yield this.connector.changeTransactionLineCommissionCode(uuid, lineUuid, code);
|
|
5573
5625
|
if (response) {
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5626
|
+
return this.handleLineOperationStatuses(response);
|
|
5627
|
+
}
|
|
5628
|
+
return false;
|
|
5629
|
+
});
|
|
5630
|
+
}
|
|
5631
|
+
updateSupplierTransactionLine(uuid, lineUuid, id) {
|
|
5632
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5633
|
+
const response = yield this.connector.changeTransactionLineSupplier(uuid, lineUuid, id);
|
|
5634
|
+
if (response) {
|
|
5635
|
+
return this.handleLineOperationStatuses(response);
|
|
5577
5636
|
}
|
|
5578
5637
|
return false;
|
|
5579
5638
|
});
|
|
@@ -5582,9 +5641,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5582
5641
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5583
5642
|
const response = yield this.connector.changeTransactionLineWarehouse(uuid, lineUuid, warehouseNumber);
|
|
5584
5643
|
if (response) {
|
|
5585
|
-
|
|
5586
|
-
this.rememberCurrentTransaction(response);
|
|
5587
|
-
return success;
|
|
5644
|
+
return this.handleLineOperationStatuses(response);
|
|
5588
5645
|
}
|
|
5589
5646
|
return false;
|
|
5590
5647
|
});
|
|
@@ -5593,9 +5650,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5593
5650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5594
5651
|
const response = yield this.connector.changeTransactionLineDeliveryMethod(uuid, lineUuid, method);
|
|
5595
5652
|
if (response) {
|
|
5596
|
-
|
|
5597
|
-
this.rememberCurrentTransaction(response);
|
|
5598
|
-
return success;
|
|
5653
|
+
return this.handleLineOperationStatuses(response);
|
|
5599
5654
|
}
|
|
5600
5655
|
return false;
|
|
5601
5656
|
});
|
|
@@ -5604,13 +5659,19 @@ class TransactionService extends PendingReasonService {
|
|
|
5604
5659
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5605
5660
|
const response = yield this.connector.changeTransactionLineLineDiscount(uuid, lineUuid, type, discount, reason, code);
|
|
5606
5661
|
if (response) {
|
|
5607
|
-
|
|
5608
|
-
this.rememberCurrentTransaction(response);
|
|
5609
|
-
return success;
|
|
5662
|
+
return this.handleLineOperationStatuses(response);
|
|
5610
5663
|
}
|
|
5611
5664
|
return false;
|
|
5612
5665
|
});
|
|
5613
5666
|
}
|
|
5667
|
+
generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers) {
|
|
5668
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5669
|
+
this.transactionEventService.generateCommissionOrders.next(true);
|
|
5670
|
+
const response = yield this.connector.generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers);
|
|
5671
|
+
this.transactionEventService.generateCommissionOrders.next(false);
|
|
5672
|
+
return response;
|
|
5673
|
+
});
|
|
5674
|
+
}
|
|
5614
5675
|
searchTransactions(request) {
|
|
5615
5676
|
return this.connector.searchTransactions(request);
|
|
5616
5677
|
}
|
|
@@ -5656,25 +5717,47 @@ class TransactionService extends PendingReasonService {
|
|
|
5656
5717
|
getTransactionById(transactionId) {
|
|
5657
5718
|
return new Promise((resolve, reject) => {
|
|
5658
5719
|
this.connector.getTransactionById(transactionId)
|
|
5659
|
-
.then((
|
|
5660
|
-
if (
|
|
5661
|
-
this.
|
|
5662
|
-
|
|
5720
|
+
.then((transaction) => __awaiter(this, void 0, void 0, function* () {
|
|
5721
|
+
if (transaction.isSuccess) {
|
|
5722
|
+
const lockResponse = yield this.lockTransaction(transaction.transactionInfo.id, 0);
|
|
5723
|
+
if (lockResponse && lockResponse.isLockSuccess) {
|
|
5724
|
+
this.rememberCurrentTransaction(transaction);
|
|
5725
|
+
this.transactionUpdated.next(transaction);
|
|
5726
|
+
}
|
|
5727
|
+
else {
|
|
5728
|
+
const lockDetails = `${this.dictionaryService.get("BY")}: ${lockResponse.lockedBy}
|
|
5729
|
+
${this.dictionaryService.get("SINCE", false)} ${lockResponse.lockedSince.toLocaleString()}`;
|
|
5730
|
+
this.dialogService.showError(this.dictionaryService.get("TRANSACTION_ALREADY_LOCKED"), lockDetails);
|
|
5731
|
+
}
|
|
5663
5732
|
resolve(true);
|
|
5664
5733
|
}
|
|
5665
5734
|
else {
|
|
5666
5735
|
reject(false);
|
|
5667
5736
|
}
|
|
5668
|
-
})
|
|
5737
|
+
}))
|
|
5669
5738
|
.catch((reason) => {
|
|
5670
5739
|
reject(false);
|
|
5671
5740
|
});
|
|
5672
5741
|
});
|
|
5673
5742
|
}
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5743
|
+
lockRelation(relationKind, relationNr) {
|
|
5744
|
+
const lockMethod = this._lockMethods.get(relationKind);
|
|
5745
|
+
if (lockMethod) {
|
|
5746
|
+
return lockMethod.call(this, relationNr);
|
|
5747
|
+
}
|
|
5748
|
+
else {
|
|
5749
|
+
const result = new ValidationResult();
|
|
5750
|
+
result.success = false;
|
|
5751
|
+
return Promise.resolve(result);
|
|
5752
|
+
}
|
|
5753
|
+
}
|
|
5754
|
+
lockTransaction(transId, version) {
|
|
5755
|
+
return this.connector.lockTransactionById(transId, version);
|
|
5756
|
+
}
|
|
5757
|
+
commit() {
|
|
5758
|
+
return this.connector.commit();
|
|
5759
|
+
}
|
|
5760
|
+
saveTransaction(close = false) {
|
|
5678
5761
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5679
5762
|
const response = yield this.connector.saveTransaction(this.currentTransaction.transactionInfo.uuid);
|
|
5680
5763
|
if (response && response.isSuccess) {
|
|
@@ -5746,10 +5829,7 @@ class TransactionService extends PendingReasonService {
|
|
|
5746
5829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5747
5830
|
yield this._checkAndCreateTransaction();
|
|
5748
5831
|
const response = yield this.connector.addTransactionLine(this.currentTransaction.transactionInfo.uuid, TransactionLineType.ArticleLine, articleNo, null, null, null, isReturn, aboveLineNr, belowLineNr);
|
|
5749
|
-
|
|
5750
|
-
this.rememberCurrentTransaction(response);
|
|
5751
|
-
}
|
|
5752
|
-
return true;
|
|
5832
|
+
return this.handleLineOperationStatuses(response);
|
|
5753
5833
|
});
|
|
5754
5834
|
}
|
|
5755
5835
|
// public async addArticleToTransaction(transactionUuid: string, articleNo: string, amount: number = 1, warehouseNo: number = 1, commissionCode: string = "2", isReturn: boolean = false, aboveLineNr: number = 0, belowLineNr: number = 0): Promise<LineOperationResponse> {
|
|
@@ -5986,8 +6066,26 @@ class TransactionService extends PendingReasonService {
|
|
|
5986
6066
|
}
|
|
5987
6067
|
});
|
|
5988
6068
|
}
|
|
6069
|
+
_lockCustomerFullObject(relationNr) {
|
|
6070
|
+
return this.connector.lockCustomerFullObject(relationNr);
|
|
6071
|
+
}
|
|
6072
|
+
_lockSupplierFullObject(relationNr) {
|
|
6073
|
+
return this.connector.lockSupplierFullObject(relationNr);
|
|
6074
|
+
}
|
|
6075
|
+
_lockEmployeeFullObject(relationNr) {
|
|
6076
|
+
return this.connector.lockEmployeeFullObject(relationNr);
|
|
6077
|
+
}
|
|
6078
|
+
_lockBranchFullObject(relationNr) {
|
|
6079
|
+
return this.connector.lockBranchFullObject(relationNr);
|
|
6080
|
+
}
|
|
6081
|
+
_lockCompanyFullObject(relationNr) {
|
|
6082
|
+
return this.connector.lockCompanyFullObject(relationNr);
|
|
6083
|
+
}
|
|
6084
|
+
_lockContactPerson(relationNr) {
|
|
6085
|
+
return this.connector.lockContactPerson(relationNr);
|
|
6086
|
+
}
|
|
5989
6087
|
}
|
|
5990
|
-
TransactionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionService_Factory() { return new TransactionService(i0.ɵɵinject(DialogService), i0.ɵɵinject(OptionsService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService)); }, token: TransactionService, providedIn: "root" });
|
|
6088
|
+
TransactionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionService_Factory() { return new TransactionService(i0.ɵɵinject(DialogService), i0.ɵɵinject(OptionsService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService), i0.ɵɵinject(DictionaryService), i0.ɵɵinject(TransactionEventService)); }, token: TransactionService, providedIn: "root" });
|
|
5991
6089
|
TransactionService.decorators = [
|
|
5992
6090
|
{ type: Injectable, args: [{
|
|
5993
6091
|
providedIn: "root"
|
|
@@ -6083,8 +6181,6 @@ CheckoutComponent.decorators = [
|
|
|
6083
6181
|
<co-stepper #stepper [finishButtonLabel]="'CHECKOUT_FINISH' | localize" (finishStep)="handleFinishStep()">
|
|
6084
6182
|
<co-stepper-step #stepRelation [index]="1" [label]="'YOUR_DATA' | localize" (validateStep)="handleRelationValidation()">
|
|
6085
6183
|
<co-checkout-overview-relation-edit #checkoutRelation *ngIf="stepRelation.show" [(relation)]="service.relation"
|
|
6086
|
-
[deliveryAddressNawNr]="deliveryAddressNawNr"
|
|
6087
|
-
[invoiceAddressNawNr]="invoiceAddressNawNr"
|
|
6088
6184
|
(deliveryAddressChange)="handleDeliveryAddressChange($event)"
|
|
6089
6185
|
(invoiceAddressChange)="handleInvoiceAddressChange($event)"
|
|
6090
6186
|
(relationChange)="service.relation = $event"
|
|
@@ -6154,8 +6250,8 @@ class CheckoutOverviewRelationEditComponent {
|
|
|
6154
6250
|
// public privacySettings: RelationPrivacySetting[];
|
|
6155
6251
|
// public addresses: Address[] = [];
|
|
6156
6252
|
this._relation = new CustomerFullObject();
|
|
6157
|
-
|
|
6158
|
-
|
|
6253
|
+
// public deliveryAddressIdx: number = 0;
|
|
6254
|
+
// public invoiceAddressIdx: number = 0;
|
|
6159
6255
|
this.editAddressType = AddressType.DeliveryAddress;
|
|
6160
6256
|
}
|
|
6161
6257
|
// @ViewChild(FormComponent, {static: true})
|
|
@@ -6164,21 +6260,14 @@ class CheckoutOverviewRelationEditComponent {
|
|
|
6164
6260
|
this._relation = value;
|
|
6165
6261
|
if (this._relation) {
|
|
6166
6262
|
this.address = this._relation.getFirstAddressOrCreateNew();
|
|
6263
|
+
const firstActiveAddress = this._relation.activeAddresses.length > 0 ? this._relation.activeAddresses[0] : undefined;
|
|
6264
|
+
this.deliveryAddressNawNr = firstActiveAddress ? firstActiveAddress.nawNr : 0;
|
|
6265
|
+
this.invoiceAddressNawNr = firstActiveAddress ? firstActiveAddress.nawNr : 0;
|
|
6167
6266
|
}
|
|
6168
6267
|
}
|
|
6169
6268
|
get relation() {
|
|
6170
6269
|
return this._relation;
|
|
6171
6270
|
}
|
|
6172
|
-
set deliveryAddressNawNr(value) {
|
|
6173
|
-
if (value && this.relation && this.relation.addresses) {
|
|
6174
|
-
this.deliveryAddressIdx = this.relation.addresses.findIndex(a => a.nawNr === value);
|
|
6175
|
-
}
|
|
6176
|
-
}
|
|
6177
|
-
set invoiceAddressNawNr(value) {
|
|
6178
|
-
if (value && this.relation && this.relation.addresses) {
|
|
6179
|
-
this.invoiceAddressIdx = this.relation.addresses.findIndex(a => a.nawNr === value);
|
|
6180
|
-
}
|
|
6181
|
-
}
|
|
6182
6271
|
showClass() {
|
|
6183
6272
|
return true;
|
|
6184
6273
|
}
|
|
@@ -6230,15 +6319,16 @@ class CheckoutOverviewRelationEditComponent {
|
|
|
6230
6319
|
// this.editAddressType = deliveryAddress ? AddressType.DeliveryAddress : AddressType.BillingAddress;
|
|
6231
6320
|
// this.showSelectAddressDialog = true;
|
|
6232
6321
|
// }
|
|
6233
|
-
setIndexDeliveryAddress(idx) {
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
}
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6322
|
+
// public setIndexDeliveryAddress(idx: number): void {
|
|
6323
|
+
// this.deliveryAddressIdx = idx;
|
|
6324
|
+
// this.editAddressType = AddressType.DeliveryAddress;
|
|
6325
|
+
// }
|
|
6326
|
+
//
|
|
6327
|
+
// public setIndexInvoiceAddress(idx: number): void {
|
|
6328
|
+
// this.invoiceAddressIdx = idx;
|
|
6329
|
+
// this.editAddressType = AddressType.BillingAddress;
|
|
6330
|
+
// // this.selectAddress(this.relation.addresses[idx]);
|
|
6331
|
+
// }
|
|
6242
6332
|
// public editAddress(addr: Address): void {
|
|
6243
6333
|
// this.addressToEdit = <Address><unknown>this._boFactory.makeWithRawBackendData(Address, addr);
|
|
6244
6334
|
// this.showEditAddressDialog()
|
|
@@ -6335,23 +6425,31 @@ CheckoutOverviewRelationEditComponent.decorators = [
|
|
|
6335
6425
|
<span class="label" [textContent]="'PERSONAL_DATA' | localize"></span>
|
|
6336
6426
|
</div>
|
|
6337
6427
|
<div class="checkout-data-column">
|
|
6338
|
-
<
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6428
|
+
<div class="checkout-data-row">
|
|
6429
|
+
<co-relation-type
|
|
6430
|
+
[relation]="relation"
|
|
6431
|
+
></co-relation-type>
|
|
6432
|
+
</div>
|
|
6433
|
+
<div class="checkout-data-row">
|
|
6342
6434
|
<relation-customer-groups [(model)]="relation.customerGroup" required></relation-customer-groups>
|
|
6343
6435
|
</div>
|
|
6344
|
-
<
|
|
6345
|
-
|
|
6436
|
+
<div class="checkout-data-row">
|
|
6437
|
+
<co-relation-general [relation]="relation" (relationChange)="updateRelation($event)"></co-relation-general>
|
|
6438
|
+
</div>
|
|
6439
|
+
<div class="checkout-data-row">
|
|
6440
|
+
<co-relation-address [address]="address"></co-relation-address>
|
|
6441
|
+
</div>
|
|
6346
6442
|
</div>
|
|
6347
6443
|
<div class="checkout-data-column">
|
|
6348
|
-
<
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
|
-
|
|
6444
|
+
<div class="checkout-data-row">
|
|
6445
|
+
<co-relation-addresses
|
|
6446
|
+
[relation]="relation"
|
|
6447
|
+
[addresses]="relation.addresses"
|
|
6448
|
+
[type]="addressType.DeliveryAddress"
|
|
6449
|
+
[selectedNawNr]="deliveryAddressNawNr"
|
|
6450
|
+
(selectedNawNrChange)="deliveryAddressChange.emit($event)"
|
|
6451
|
+
></co-relation-addresses>
|
|
6452
|
+
</div>
|
|
6355
6453
|
</div>
|
|
6356
6454
|
<div class="checkout-label-column">
|
|
6357
6455
|
<span>02</span>
|
|
@@ -6362,13 +6460,14 @@ CheckoutOverviewRelationEditComponent.decorators = [
|
|
|
6362
6460
|
<co-input-checkbox [(model)]="service.invoiceAddressSameAsDelivery" (modelChange)="checkSameAddress($event)" [label]="'SAME_AS_DELIVERY' | localize"></co-input-checkbox>
|
|
6363
6461
|
</div>
|
|
6364
6462
|
<div class="overview-delivery-invoice-address" *ngIf="!service.invoiceAddressSameAsDelivery" @showHideInvoiceAddress>
|
|
6365
|
-
<
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6463
|
+
<div class="checkout-data-row">
|
|
6464
|
+
<co-relation-addresses
|
|
6465
|
+
[addresses]="relation.activeAddresses"
|
|
6466
|
+
[type]="addressType.BillingAddress"
|
|
6467
|
+
[selectedNawNr]="invoiceAddressNawNr"
|
|
6468
|
+
(selectedNawNrChange)="invoiceAddressChange.emit($event)"
|
|
6469
|
+
></co-relation-addresses>
|
|
6470
|
+
</div>
|
|
6372
6471
|
</div>
|
|
6373
6472
|
</div>
|
|
6374
6473
|
<div class="checkout-label-column">
|
|
@@ -6376,14 +6475,18 @@ CheckoutOverviewRelationEditComponent.decorators = [
|
|
|
6376
6475
|
<span class="label" [textContent]="'CONTACT_DETAILS' | localize"></span>
|
|
6377
6476
|
</div>
|
|
6378
6477
|
<div class="checkout-data-column">
|
|
6379
|
-
<
|
|
6478
|
+
<div class="checkout-data-row">
|
|
6479
|
+
<co-relation-contact-details [relation]="relation"></co-relation-contact-details>
|
|
6480
|
+
</div>
|
|
6380
6481
|
</div>
|
|
6381
6482
|
<div class="checkout-label-column">
|
|
6382
6483
|
<span>04</span>
|
|
6383
6484
|
<span class="label" [textContent]="'PRIVACY_PREFERENCES' | localize"></span>
|
|
6384
6485
|
</div>
|
|
6385
6486
|
<div class="checkout-data-column">
|
|
6386
|
-
<
|
|
6487
|
+
<div class="checkout-data-row">
|
|
6488
|
+
<co-relation-preferences [relation]="relation"></co-relation-preferences>
|
|
6489
|
+
</div>
|
|
6387
6490
|
</div>
|
|
6388
6491
|
</div>
|
|
6389
6492
|
</co-form>
|
|
@@ -6427,8 +6530,6 @@ CheckoutOverviewRelationEditComponent.ctorParameters = () => [
|
|
|
6427
6530
|
];
|
|
6428
6531
|
CheckoutOverviewRelationEditComponent.propDecorators = {
|
|
6429
6532
|
relation: [{ type: Input }],
|
|
6430
|
-
deliveryAddressNawNr: [{ type: Input }],
|
|
6431
|
-
invoiceAddressNawNr: [{ type: Input }],
|
|
6432
6533
|
validSubmit: [{ type: Output }],
|
|
6433
6534
|
invalidSubmit: [{ type: Output }],
|
|
6434
6535
|
deliveryAddressChange: [{ type: Output }],
|
|
@@ -6570,102 +6671,96 @@ CheckoutOverviewDeliveryEditComponent.decorators = [
|
|
|
6570
6671
|
<div class="delivery-edit-content">
|
|
6571
6672
|
<co-form>
|
|
6572
6673
|
<div class="checkout-form-wrapper">
|
|
6573
|
-
<div class="checkout-
|
|
6574
|
-
<
|
|
6575
|
-
|
|
6576
|
-
|
|
6674
|
+
<div class="checkout-label-column">
|
|
6675
|
+
<span>01</span>
|
|
6676
|
+
<span class="label" [textContent]="'DELIVERY_DATA' | localize"></span>
|
|
6677
|
+
</div>
|
|
6678
|
+
<div class="checkout-data-column">
|
|
6679
|
+
<div class="checkout-data-row">
|
|
6680
|
+
<co-transaction-header-delivery-method
|
|
6681
|
+
[transactionInfo]="transaction.transactionInfo"
|
|
6682
|
+
[filterOnWizard]="true"
|
|
6683
|
+
(deliveryMethodChange)="currentDeliveryMethod = $event"
|
|
6684
|
+
></co-transaction-header-delivery-method>
|
|
6577
6685
|
</div>
|
|
6578
|
-
<div class="checkout-data-
|
|
6579
|
-
<
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
<
|
|
6608
|
-
<
|
|
6609
|
-
<
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
</div>
|
|
6619
|
-
<div class="checkout-data-row">
|
|
6620
|
-
<co-transaction-header-relation-reference [transactionInfo]="transaction.transactionInfo"></co-transaction-header-relation-reference>
|
|
6621
|
-
</div>
|
|
6622
|
-
</co-collapsible>
|
|
6623
|
-
</div>
|
|
6624
|
-
<div class="checkout-data-row">
|
|
6625
|
-
<co-input-date [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'ASSEMBLY_DATE' | localize"></co-input-date>
|
|
6626
|
-
</div>
|
|
6686
|
+
<div class="checkout-data-row">
|
|
6687
|
+
<co-transaction-header-delivery-date class="header-delivery-deliverydate"
|
|
6688
|
+
[transactionInfo]="transaction.transactionInfo"
|
|
6689
|
+
></co-transaction-header-delivery-date>
|
|
6690
|
+
<co-transaction-header-preferred-delivery-date class="header-delivery-deliverydate"
|
|
6691
|
+
[transactionInfo]="transaction.transactionInfo"
|
|
6692
|
+
></co-transaction-header-preferred-delivery-date>
|
|
6693
|
+
</div>
|
|
6694
|
+
<div class="checkout-data-row">
|
|
6695
|
+
<co-transaction-header-partial-delivery [transactionInfo]="transaction.transactionInfo"></co-transaction-header-partial-delivery>
|
|
6696
|
+
</div>
|
|
6697
|
+
<div class="checkout-data-row">
|
|
6698
|
+
<co-collapsible [headerTitle]="'ADD_DELIVERY_OPTION' | localize" [iconData]="iconService.getIcon(icons.TriangleDown)">
|
|
6699
|
+
<div class="checkout-data-row">
|
|
6700
|
+
<co-transaction-header-delivery-options
|
|
6701
|
+
[transactionInfo]="transaction.transactionInfo"
|
|
6702
|
+
[deliveryMethod]="currentDeliveryMethod"
|
|
6703
|
+
></co-transaction-header-delivery-options>
|
|
6704
|
+
</div>
|
|
6705
|
+
</co-collapsible>
|
|
6706
|
+
</div>
|
|
6707
|
+
<div class="checkout-data-row">
|
|
6708
|
+
<co-collapsible [headerTitle]="'ADD_REMARK' | localize" [iconData]="iconService.getIcon(icons.TriangleDown)">
|
|
6709
|
+
<div class="checkout-data-row">
|
|
6710
|
+
<co-transaction-header-remarks [transactionInfo]="transaction.transactionInfo"></co-transaction-header-remarks>
|
|
6711
|
+
</div>
|
|
6712
|
+
</co-collapsible>
|
|
6713
|
+
</div>
|
|
6714
|
+
<div class="checkout-data-row">
|
|
6715
|
+
<co-collapsible [headerTitle]="'ADD_REFERENCE' | localize" [iconData]="iconService.getIcon(icons.TriangleDown)">
|
|
6716
|
+
<div class="checkout-data-row">
|
|
6717
|
+
<co-transaction-header-reference [transactionInfo]="transaction.transactionInfo"></co-transaction-header-reference>
|
|
6718
|
+
</div>
|
|
6719
|
+
<div class="checkout-data-row">
|
|
6720
|
+
<co-transaction-header-relation-reference [transactionInfo]="transaction.transactionInfo"></co-transaction-header-relation-reference>
|
|
6721
|
+
</div>
|
|
6722
|
+
</co-collapsible>
|
|
6723
|
+
</div>
|
|
6724
|
+
<div class="checkout-data-row">
|
|
6725
|
+
<co-input-date [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'ASSEMBLY_DATE' | localize"></co-input-date>
|
|
6627
6726
|
</div>
|
|
6628
6727
|
</div>
|
|
6629
|
-
<div class="checkout-
|
|
6630
|
-
<
|
|
6631
|
-
|
|
6632
|
-
|
|
6728
|
+
<div class="checkout-label-column">
|
|
6729
|
+
<span>02</span>
|
|
6730
|
+
<span class="label" [textContent]="'DOWNPAYMENT' | localize"></span>
|
|
6731
|
+
</div>
|
|
6732
|
+
<div class="checkout-data-column">
|
|
6733
|
+
<div class="checkout-data-row">
|
|
6734
|
+
<co-transaction-header-downpayment-percentage [transactionInfo]="transaction.transactionInfo"></co-transaction-header-downpayment-percentage>
|
|
6735
|
+
<co-transaction-header-downpayment-amount [transactionInfo]="transaction.transactionInfo"></co-transaction-header-downpayment-amount>
|
|
6633
6736
|
</div>
|
|
6634
|
-
<div class="checkout-data-
|
|
6635
|
-
<
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
<div class="checkout-data-row">
|
|
6640
|
-
<co-input-text [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'DOWNPAYMENT_BY_BR' | localize"></co-input-text>
|
|
6641
|
-
</div>
|
|
6642
|
-
<div class="checkout-data-row">
|
|
6643
|
-
<co-input-text [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'DOWNPAYMENT_ON_DELIVERY' | localize"></co-input-text>
|
|
6644
|
-
</div>
|
|
6737
|
+
<div class="checkout-data-row">
|
|
6738
|
+
<co-input-text [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'DOWNPAYMENT_BY_BR' | localize"></co-input-text>
|
|
6739
|
+
</div>
|
|
6740
|
+
<div class="checkout-data-row">
|
|
6741
|
+
<co-input-text [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'DOWNPAYMENT_ON_DELIVERY' | localize"></co-input-text>
|
|
6645
6742
|
</div>
|
|
6646
6743
|
</div>
|
|
6647
|
-
<div class="checkout-
|
|
6648
|
-
<
|
|
6649
|
-
|
|
6650
|
-
|
|
6744
|
+
<div class="checkout-label-column">
|
|
6745
|
+
<span>03</span>
|
|
6746
|
+
<span class="label" [textContent]="'ORDER_DATA' | localize"></span>
|
|
6747
|
+
</div>
|
|
6748
|
+
<div class="checkout-data-column">
|
|
6749
|
+
<div class="checkout-data-row">
|
|
6750
|
+
<co-transaction-header-branch [simple]="true" [transactionInfo]="transaction.transactionInfo"></co-transaction-header-branch>
|
|
6751
|
+
<co-transaction-header-administrative-relation [transactionInfo]="transaction.transactionInfo"></co-transaction-header-administrative-relation>
|
|
6651
6752
|
</div>
|
|
6652
|
-
<div class="checkout-data-
|
|
6653
|
-
<
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
<div class="checkout-data-row">
|
|
6664
|
-
<span class="label" [textContent]="'ORDER_PARAMETERS' | localize"></span>
|
|
6665
|
-
</div>
|
|
6666
|
-
<div class="checkout-data-row">
|
|
6667
|
-
<co-transaction-header-definitive [transactionInfo]="transaction.transactionInfo"></co-transaction-header-definitive>
|
|
6668
|
-
</div>
|
|
6753
|
+
<div class="checkout-data-row">
|
|
6754
|
+
<span class="label" [textContent]="'MARKETING_CODE' | localize"></span>
|
|
6755
|
+
</div>
|
|
6756
|
+
<div class="checkout-data-row">
|
|
6757
|
+
<co-transaction-header-marketing [transactionInfo]="transaction.transactionInfo"></co-transaction-header-marketing>
|
|
6758
|
+
</div>
|
|
6759
|
+
<div class="checkout-data-row">
|
|
6760
|
+
<span class="label" [textContent]="'ORDER_PARAMETERS' | localize"></span>
|
|
6761
|
+
</div>
|
|
6762
|
+
<div class="checkout-data-row">
|
|
6763
|
+
<co-transaction-header-definitive [transactionInfo]="transaction.transactionInfo"></co-transaction-header-definitive>
|
|
6669
6764
|
</div>
|
|
6670
6765
|
</div>
|
|
6671
6766
|
</div>
|
|
@@ -6910,6 +7005,7 @@ IconComponent.propDecorators = {
|
|
|
6910
7005
|
class CustomerGroupsComponent {
|
|
6911
7006
|
constructor(_connector) {
|
|
6912
7007
|
this._connector = _connector;
|
|
7008
|
+
this.readonly = false;
|
|
6913
7009
|
this.required = false;
|
|
6914
7010
|
this.modelChange = new EventEmitter();
|
|
6915
7011
|
this.customerGroups = [];
|
|
@@ -6928,6 +7024,7 @@ CustomerGroupsComponent.decorators = [
|
|
|
6928
7024
|
selector: "relation-customer-groups",
|
|
6929
7025
|
template: `
|
|
6930
7026
|
<co-input-combo-box [model]="model"
|
|
7027
|
+
[readonly]="readonly"
|
|
6931
7028
|
(modelChange)="modelChange.emit($event)"
|
|
6932
7029
|
[collection]="customerGroups"
|
|
6933
7030
|
[fields]="fields"
|
|
@@ -6942,6 +7039,7 @@ CustomerGroupsComponent.ctorParameters = () => [
|
|
|
6942
7039
|
{ type: TransactionConnectorService }
|
|
6943
7040
|
];
|
|
6944
7041
|
CustomerGroupsComponent.propDecorators = {
|
|
7042
|
+
readonly: [{ type: Input }],
|
|
6945
7043
|
required: [{ type: Input }],
|
|
6946
7044
|
model: [{ type: Input }],
|
|
6947
7045
|
modelChange: [{ type: Output }]
|
|
@@ -7233,49 +7331,6 @@ ConfirmationDialogModule.decorators = [
|
|
|
7233
7331
|
},] }
|
|
7234
7332
|
];
|
|
7235
7333
|
|
|
7236
|
-
class LoaderComponent {
|
|
7237
|
-
}
|
|
7238
|
-
LoaderComponent.decorators = [
|
|
7239
|
-
{ type: Component, args: [{
|
|
7240
|
-
selector: "transaction-loader",
|
|
7241
|
-
template: `
|
|
7242
|
-
<div class="transaction-loader">
|
|
7243
|
-
<svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg">
|
|
7244
|
-
<defs>
|
|
7245
|
-
<linearGradient x1="8.042%" y1="0%" x2="65.682%" y2="23.865%" id="a">
|
|
7246
|
-
<stop stop-color="#000" stop-opacity="0" offset="0%"/>
|
|
7247
|
-
<stop stop-color="#000" stop-opacity=".631" offset="63.146%"/>
|
|
7248
|
-
<stop stop-color="#000" offset="100%"/>
|
|
7249
|
-
</linearGradient>
|
|
7250
|
-
</defs>
|
|
7251
|
-
<g fill="none" fill-rule="evenodd">
|
|
7252
|
-
<g transform="translate(1 1)">
|
|
7253
|
-
<path d="M36 18c0-9.94-8.06-18-18-18" id="Oval-2" stroke="url(#a)" stroke-width="2">
|
|
7254
|
-
<animateTransform
|
|
7255
|
-
attributeName="transform"
|
|
7256
|
-
type="rotate"
|
|
7257
|
-
from="0 18 18"
|
|
7258
|
-
to="360 18 18"
|
|
7259
|
-
dur="0.9s"
|
|
7260
|
-
repeatCount="indefinite" />
|
|
7261
|
-
</path>
|
|
7262
|
-
<circle fill="#000" cx="36" cy="18" r="1">
|
|
7263
|
-
<animateTransform
|
|
7264
|
-
attributeName="transform"
|
|
7265
|
-
type="rotate"
|
|
7266
|
-
from="0 18 18"
|
|
7267
|
-
to="360 18 18"
|
|
7268
|
-
dur="0.9s"
|
|
7269
|
-
repeatCount="indefinite" />
|
|
7270
|
-
</circle>
|
|
7271
|
-
</g>
|
|
7272
|
-
</g>
|
|
7273
|
-
</svg>
|
|
7274
|
-
</div>
|
|
7275
|
-
`
|
|
7276
|
-
},] }
|
|
7277
|
-
];
|
|
7278
|
-
|
|
7279
7334
|
class CharacteristicAnswerModule {
|
|
7280
7335
|
}
|
|
7281
7336
|
CharacteristicAnswerModule.decorators = [
|
|
@@ -7341,7 +7396,7 @@ WarehouseComponent.decorators = [
|
|
|
7341
7396
|
<div class="co-transaction-dialog-header-title" [textContent]="'WAREHOUSE' | localize"></div>
|
|
7342
7397
|
</ng-template>
|
|
7343
7398
|
<ng-template #footerTemplate>
|
|
7344
|
-
<div class="dialog-footer-button-wrapper">
|
|
7399
|
+
<div class="co-transaction-dialog-footer-button-wrapper">
|
|
7345
7400
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
7346
7401
|
</div>
|
|
7347
7402
|
</ng-template>
|
|
@@ -7468,7 +7523,6 @@ CoreModule.decorators = [
|
|
|
7468
7523
|
IconComponent,
|
|
7469
7524
|
CustomerGroupsComponent,
|
|
7470
7525
|
StockStatusIndicatorComponent,
|
|
7471
|
-
LoaderComponent,
|
|
7472
7526
|
LazyRenderMasterDirective,
|
|
7473
7527
|
LazyRenderDirective
|
|
7474
7528
|
],
|
|
@@ -7477,7 +7531,6 @@ CoreModule.decorators = [
|
|
|
7477
7531
|
IconComponent,
|
|
7478
7532
|
CustomerGroupsComponent,
|
|
7479
7533
|
StockStatusIndicatorComponent,
|
|
7480
|
-
LoaderComponent,
|
|
7481
7534
|
LazyRenderMasterDirective,
|
|
7482
7535
|
LazyRenderDirective
|
|
7483
7536
|
]
|
|
@@ -7794,13 +7847,17 @@ class RelationAddressTileComponent {
|
|
|
7794
7847
|
event.stopImmediatePropagation();
|
|
7795
7848
|
this.editAddressClicked.next(this.address);
|
|
7796
7849
|
}
|
|
7850
|
+
handleSelectedChange(address) {
|
|
7851
|
+
this.selected = true;
|
|
7852
|
+
this.selectedChange.emit(address);
|
|
7853
|
+
}
|
|
7797
7854
|
}
|
|
7798
7855
|
RelationAddressTileComponent.decorators = [
|
|
7799
7856
|
{ type: Component, args: [{
|
|
7800
7857
|
selector: "co-relation-address-tile",
|
|
7801
7858
|
template: `
|
|
7802
7859
|
<ng-container *ngIf="!actAsAddTile">
|
|
7803
|
-
<co-tile [selected]="selected" (selectedChange)="
|
|
7860
|
+
<co-tile [selected]="selected" (selectedChange)="handleSelectedChange(address)">
|
|
7804
7861
|
<div class="relation-content-wrapper">
|
|
7805
7862
|
<span class="relation-address-type" [textContent]="address.displayType | localize"></span>
|
|
7806
7863
|
<span class="relation-address-name" [textContent]="address.addressName"></span>
|
|
@@ -7850,7 +7907,7 @@ TileComponent.decorators = [
|
|
|
7850
7907
|
template: `
|
|
7851
7908
|
<div class="co-tile-wrapper" (click)="selectedChange.emit(selected)">
|
|
7852
7909
|
<div class="co-tile-select-wrapper">
|
|
7853
|
-
<co-input-radio-button [model]="selected" (modelChange)="selectedChange.emit($event)"></co-input-radio-button>
|
|
7910
|
+
<co-input-radio-button [model]="selected" [readonly]="selected" (modelChange)="selectedChange.emit($event)"></co-input-radio-button>
|
|
7854
7911
|
</div>
|
|
7855
7912
|
<div class="co-tile-content-wrapper">
|
|
7856
7913
|
<ng-content></ng-content>
|
|
@@ -8163,7 +8220,116 @@ TransactionTotalsComponent.propDecorators = {
|
|
|
8163
8220
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-totals",] }]
|
|
8164
8221
|
};
|
|
8165
8222
|
|
|
8166
|
-
class
|
|
8223
|
+
class TransactionHeaderFilterPopupBaseComponent {
|
|
8224
|
+
constructor() {
|
|
8225
|
+
this.autoClose = false;
|
|
8226
|
+
this.useModel = true;
|
|
8227
|
+
this.valueChange = new EventEmitter();
|
|
8228
|
+
this.closeAfterCommit = new EventEmitter();
|
|
8229
|
+
this.viewModels = [];
|
|
8230
|
+
this.viewModelsFiltered = [];
|
|
8231
|
+
this.propsForLabel = [];
|
|
8232
|
+
this._collection = [];
|
|
8233
|
+
}
|
|
8234
|
+
set searchText(value) {
|
|
8235
|
+
if (value !== undefined && value !== null) {
|
|
8236
|
+
this._searchText = value;
|
|
8237
|
+
this._doSearch();
|
|
8238
|
+
}
|
|
8239
|
+
}
|
|
8240
|
+
get searchText() {
|
|
8241
|
+
return this._searchText;
|
|
8242
|
+
}
|
|
8243
|
+
set collection(value) {
|
|
8244
|
+
this._collection = value;
|
|
8245
|
+
this.prepareViewModels();
|
|
8246
|
+
}
|
|
8247
|
+
get collection() {
|
|
8248
|
+
return this._collection;
|
|
8249
|
+
}
|
|
8250
|
+
get model() {
|
|
8251
|
+
return undefined;
|
|
8252
|
+
}
|
|
8253
|
+
commit(value) {
|
|
8254
|
+
return Promise.resolve(true);
|
|
8255
|
+
}
|
|
8256
|
+
handleChecked(row) {
|
|
8257
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8258
|
+
row.checked = true;
|
|
8259
|
+
const currentModel = this.viewModels.find(v => v.value === row.value);
|
|
8260
|
+
if (currentModel) {
|
|
8261
|
+
currentModel.checked = true;
|
|
8262
|
+
}
|
|
8263
|
+
for (let i = 0; i < this.viewModels.length; i++) {
|
|
8264
|
+
if (this.viewModels[i].value !== row.value) {
|
|
8265
|
+
this.viewModels[i].checked = false;
|
|
8266
|
+
}
|
|
8267
|
+
}
|
|
8268
|
+
if (this.useModel) {
|
|
8269
|
+
if (this.autoClose) {
|
|
8270
|
+
if (yield this.commit(row.value)) {
|
|
8271
|
+
this.closeAfterCommit.emit();
|
|
8272
|
+
}
|
|
8273
|
+
}
|
|
8274
|
+
else {
|
|
8275
|
+
this.commit(row.value);
|
|
8276
|
+
}
|
|
8277
|
+
}
|
|
8278
|
+
else {
|
|
8279
|
+
this.valueChange.emit(row.value);
|
|
8280
|
+
}
|
|
8281
|
+
});
|
|
8282
|
+
}
|
|
8283
|
+
prepareViewModels() {
|
|
8284
|
+
this.collection.forEach((d, index) => {
|
|
8285
|
+
const labels = this.propsForLabel.map(p => d[p]);
|
|
8286
|
+
this.viewModels.push({
|
|
8287
|
+
value: d[this.codeField],
|
|
8288
|
+
propsForLabel: labels,
|
|
8289
|
+
checked: (this.useModel && this.model && this.checkField) ?
|
|
8290
|
+
this.model[this.checkField] === d[this.codeField] :
|
|
8291
|
+
(this.value ? this.value === d[this.codeField] : index === 0)
|
|
8292
|
+
});
|
|
8293
|
+
});
|
|
8294
|
+
this.viewModelsFiltered = this.viewModels.slice();
|
|
8295
|
+
if (!this.useModel && this.viewModels.length > 0) {
|
|
8296
|
+
this.valueChange.next(this.value ? this.value : this.viewModels[0].value);
|
|
8297
|
+
}
|
|
8298
|
+
}
|
|
8299
|
+
_doSearch() {
|
|
8300
|
+
this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
8301
|
+
if (this.searchText) {
|
|
8302
|
+
this.viewModelsFiltered = this.viewModelsFiltered.filter(vmf => {
|
|
8303
|
+
return vmf.propsForLabel.find(p => p && p.toString().match(new RegExp(this.searchText, 'gi')));
|
|
8304
|
+
});
|
|
8305
|
+
// if (!this.searchText) {
|
|
8306
|
+
// this.viewModelsFiltered = this.viewModels.slice();
|
|
8307
|
+
// } else {
|
|
8308
|
+
// this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
8309
|
+
// for (let i = 0; i < this.viewModelsFiltered.length; i++) {
|
|
8310
|
+
// const vmf = this.viewModelsFiltered[i];
|
|
8311
|
+
// for (let j = 0; j < vmf.propsForLabel.length; j++) {
|
|
8312
|
+
// if (vmf.propsForLabel[j]) {
|
|
8313
|
+
// vmf.propsForLabel[j] = vmf.propsForLabel[j].replace(new RegExp(this.searchText, 'gi'), `<span class="highlight">${this.searchText}</span>`);
|
|
8314
|
+
// }
|
|
8315
|
+
// }
|
|
8316
|
+
// }
|
|
8317
|
+
}
|
|
8318
|
+
}
|
|
8319
|
+
}
|
|
8320
|
+
TransactionHeaderFilterPopupBaseComponent.decorators = [
|
|
8321
|
+
{ type: Directive }
|
|
8322
|
+
];
|
|
8323
|
+
TransactionHeaderFilterPopupBaseComponent.propDecorators = {
|
|
8324
|
+
autoClose: [{ type: Input }],
|
|
8325
|
+
useModel: [{ type: Input }],
|
|
8326
|
+
searchText: [{ type: Input }],
|
|
8327
|
+
value: [{ type: Input }],
|
|
8328
|
+
valueChange: [{ type: Output }],
|
|
8329
|
+
closeAfterCommit: [{ type: Output }]
|
|
8330
|
+
};
|
|
8331
|
+
|
|
8332
|
+
class TransactionHeaderBaseComponent extends TransactionHeaderFilterPopupBaseComponent {
|
|
8167
8333
|
constructor() {
|
|
8168
8334
|
super(...arguments);
|
|
8169
8335
|
this.readonly = false;
|
|
@@ -9848,33 +10014,6 @@ TransactionQuickAccessOrderConfirmationComponent.propDecorators = {
|
|
|
9848
10014
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-order-confirmation",] }]
|
|
9849
10015
|
};
|
|
9850
10016
|
|
|
9851
|
-
class TransactionEventService {
|
|
9852
|
-
constructor() {
|
|
9853
|
-
this.addToCartBySku = new Subject();
|
|
9854
|
-
this.addToCartBySelectorResult = new Subject();
|
|
9855
|
-
this.openShoppingCartModule = new Subject();
|
|
9856
|
-
this.loggedIn = new Subject();
|
|
9857
|
-
this.addNewUserToShoppingCartModule = new Subject();
|
|
9858
|
-
this.addUserRelationShoppingCartModule = new Subject();
|
|
9859
|
-
this.addArticleLine = new Subject();
|
|
9860
|
-
this.addTextLine = new Subject();
|
|
9861
|
-
this.addArticleLineAt = new Subject();
|
|
9862
|
-
this.addTextLineAt = new Subject();
|
|
9863
|
-
this.changeLineSequence = new Subject();
|
|
9864
|
-
this.transactionLineClicked = new Subject();
|
|
9865
|
-
this.rightSidebarClose = new Subject();
|
|
9866
|
-
this.scrollContent = new Subject();
|
|
9867
|
-
this.commitReceivePurchaseOrders = new Subject();
|
|
9868
|
-
this.selectAllLines = new Subject();
|
|
9869
|
-
this.transactionLineChanged = new Subject();
|
|
9870
|
-
this.openSidePanel = new Subject();
|
|
9871
|
-
}
|
|
9872
|
-
}
|
|
9873
|
-
TransactionEventService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
|
|
9874
|
-
TransactionEventService.decorators = [
|
|
9875
|
-
{ type: Injectable, args: [{ providedIn: "root" },] }
|
|
9876
|
-
];
|
|
9877
|
-
|
|
9878
10017
|
class TransactionReceiveGoodsService {
|
|
9879
10018
|
constructor(_transactionService, _transactionEventService) {
|
|
9880
10019
|
this._transactionService = _transactionService;
|
|
@@ -10437,7 +10576,6 @@ class TransactionLinesLineBaseComponent {
|
|
|
10437
10576
|
this.waitingForUserAction = new EventEmitter();
|
|
10438
10577
|
this.preview = false;
|
|
10439
10578
|
this.readonly = false;
|
|
10440
|
-
this.lineSet = new BehaviorSubject(false);
|
|
10441
10579
|
this.lineVisible = new BehaviorSubject(false);
|
|
10442
10580
|
}
|
|
10443
10581
|
set line(value) {
|
|
@@ -10446,7 +10584,7 @@ class TransactionLinesLineBaseComponent {
|
|
|
10446
10584
|
this.isArticle = this._line.isArticle;
|
|
10447
10585
|
this.isSelected = this._line.isSelected;
|
|
10448
10586
|
this.readonly = this._line.hasInvoices;
|
|
10449
|
-
this.
|
|
10587
|
+
this.transactionLineSet();
|
|
10450
10588
|
}
|
|
10451
10589
|
get line() {
|
|
10452
10590
|
return this._line;
|
|
@@ -10454,6 +10592,9 @@ class TransactionLinesLineBaseComponent {
|
|
|
10454
10592
|
showClass() {
|
|
10455
10593
|
return true;
|
|
10456
10594
|
}
|
|
10595
|
+
// overridden by descendents
|
|
10596
|
+
transactionLineSet() {
|
|
10597
|
+
}
|
|
10457
10598
|
}
|
|
10458
10599
|
TransactionLinesLineBaseComponent.decorators = [
|
|
10459
10600
|
{ type: Directive }
|
|
@@ -10471,18 +10612,16 @@ TransactionLinesLineBaseComponent.propDecorators = {
|
|
|
10471
10612
|
};
|
|
10472
10613
|
|
|
10473
10614
|
class TransactionOverviewLineComponent extends TransactionLinesLineBaseComponent {
|
|
10474
|
-
constructor(service, iconCacheService,
|
|
10615
|
+
constructor(service, iconCacheService, _dictionaryService) {
|
|
10475
10616
|
super();
|
|
10476
10617
|
this.service = service;
|
|
10477
10618
|
this.iconCacheService = iconCacheService;
|
|
10478
|
-
this._dialogService = _dialogService;
|
|
10479
10619
|
this._dictionaryService = _dictionaryService;
|
|
10480
10620
|
this.stock = StockStatus.Low;
|
|
10481
10621
|
this.mouseOver = false;
|
|
10482
10622
|
this.readonly = false;
|
|
10483
10623
|
this.showDialogVat = false;
|
|
10484
10624
|
this.showDialogDiscount = false;
|
|
10485
|
-
this.subscriptions = [];
|
|
10486
10625
|
}
|
|
10487
10626
|
showClass() {
|
|
10488
10627
|
return true;
|
|
@@ -10493,34 +10632,16 @@ class TransactionOverviewLineComponent extends TransactionLinesLineBaseComponent
|
|
|
10493
10632
|
handleMouseLeave(event) {
|
|
10494
10633
|
this.mouseOver = false;
|
|
10495
10634
|
}
|
|
10496
|
-
ngOnChanges(changes) {
|
|
10497
|
-
console.log(changes);
|
|
10498
|
-
}
|
|
10499
10635
|
ngOnInit() {
|
|
10500
|
-
this.subscriptions.push(this.lineSet.subscribe((set) => {
|
|
10501
|
-
if (set) {
|
|
10502
|
-
this.localAmount = this._line.amount;
|
|
10503
|
-
this._loadLineVat();
|
|
10504
|
-
}
|
|
10505
|
-
}));
|
|
10506
10636
|
this.transactionKind = this.service.currentTransaction.transactionInfo.transactionKind;
|
|
10507
10637
|
}
|
|
10508
|
-
ngOnDestroy() {
|
|
10509
|
-
this.subscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
10510
|
-
}
|
|
10511
|
-
changeLineAmount(amount) {
|
|
10512
|
-
this.service.changeTransactionLineQuantity(this.line.uuid, amount).then((value) => {
|
|
10513
|
-
if (!value || !value.isSuccess) {
|
|
10514
|
-
this.localAmount = this._line.amount;
|
|
10515
|
-
return;
|
|
10516
|
-
}
|
|
10517
|
-
// this._handleLine(value).then();
|
|
10518
|
-
});
|
|
10519
|
-
}
|
|
10520
10638
|
handleOpenArticleText(text) {
|
|
10521
10639
|
this.transactionLineActionButtons.textToEdit = text;
|
|
10522
10640
|
this.transactionLineActionButtons.showArticleTextDialog();
|
|
10523
10641
|
}
|
|
10642
|
+
transactionLineSet() {
|
|
10643
|
+
this._loadLineVat();
|
|
10644
|
+
}
|
|
10524
10645
|
_loadLineVat() {
|
|
10525
10646
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10526
10647
|
if (this.line && this.line.isArticle) {
|
|
@@ -10565,10 +10686,7 @@ TransactionOverviewLineComponent.decorators = [
|
|
|
10565
10686
|
[textContent]="(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)"></span>
|
|
10566
10687
|
</div>
|
|
10567
10688
|
<div *ngIf=!preview class="transaction-line-totals-amount">
|
|
10568
|
-
<co-
|
|
10569
|
-
[(model)]="localAmount" [min]="0"
|
|
10570
|
-
[readonly]="readonly"
|
|
10571
|
-
(modelChange)="changeLineAmount($event)"></co-input-number-picker>
|
|
10689
|
+
<co-transaction-line-amount class="amount-number-picker" [transactionLine]="line"></co-transaction-line-amount>
|
|
10572
10690
|
</div>
|
|
10573
10691
|
<co-editable-label class="transaction-line-totals-total price"
|
|
10574
10692
|
[model]="line.displayNetLineTotal | coCurrency"
|
|
@@ -10598,7 +10716,6 @@ TransactionOverviewLineComponent.decorators = [
|
|
|
10598
10716
|
TransactionOverviewLineComponent.ctorParameters = () => [
|
|
10599
10717
|
{ type: TransactionService },
|
|
10600
10718
|
{ type: IconCacheService },
|
|
10601
|
-
{ type: DialogService },
|
|
10602
10719
|
{ type: DictionaryService }
|
|
10603
10720
|
];
|
|
10604
10721
|
TransactionOverviewLineComponent.propDecorators = {
|
|
@@ -10706,15 +10823,10 @@ class TransactionQuickAccessOrderDeliveryComponent extends TransactionBaseCompon
|
|
|
10706
10823
|
this.iconService = iconService;
|
|
10707
10824
|
this.service = service;
|
|
10708
10825
|
this._transactionEventService = _transactionEventService;
|
|
10709
|
-
this.icons = Icon;
|
|
10710
|
-
this.showDialog = false;
|
|
10711
10826
|
}
|
|
10712
10827
|
showClass() {
|
|
10713
10828
|
return true;
|
|
10714
10829
|
}
|
|
10715
|
-
openDeliveryDocumentDialog() {
|
|
10716
|
-
this.showDialog = !this.showDialog;
|
|
10717
|
-
}
|
|
10718
10830
|
handleSelectAllLines(value) {
|
|
10719
10831
|
this._transactionEventService.selectAllLines.next(value);
|
|
10720
10832
|
}
|
|
@@ -10723,25 +10835,17 @@ TransactionQuickAccessOrderDeliveryComponent.decorators = [
|
|
|
10723
10835
|
{ type: Component, args: [{
|
|
10724
10836
|
selector: "co-transaction-quick-access-order-delivery",
|
|
10725
10837
|
template: `
|
|
10726
|
-
<div class="
|
|
10838
|
+
<div class="quick-access-content-wrapper">
|
|
10727
10839
|
<div class="select-all-wrapper">
|
|
10728
10840
|
<co-input-checkbox
|
|
10729
|
-
|
|
10841
|
+
[label]="'SELECT_ALL_LINES' | localize"
|
|
10842
|
+
(modelChange)="handleSelectAllLines($event)"
|
|
10730
10843
|
></co-input-checkbox>
|
|
10731
|
-
<span class="select-all-text" [textContent]="'SELECT_ALL_LINES' | localize"></span>
|
|
10732
10844
|
</div>
|
|
10733
10845
|
<div class="send-button-wrapper">
|
|
10734
|
-
<
|
|
10735
|
-
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.ArrowPointRight)"></co-icon>
|
|
10736
|
-
<span class="button-title" [textContent]="'SEND' | localize"></span>
|
|
10737
|
-
</div>
|
|
10738
|
-
<co-icon class="hover-icon" [iconData]="iconService.getIcon(icons.GripDotsVerticalSolid)" (click)="openDeliveryDocumentDialog()"></co-icon>
|
|
10846
|
+
<co-transaction-send-button-dialog></co-transaction-send-button-dialog>
|
|
10739
10847
|
</div>
|
|
10740
10848
|
</div>
|
|
10741
|
-
|
|
10742
|
-
<ione-send-method-dialog
|
|
10743
|
-
[showDialog]="showDialog"
|
|
10744
|
-
></ione-send-method-dialog>
|
|
10745
10849
|
`,
|
|
10746
10850
|
encapsulation: ViewEncapsulation.None
|
|
10747
10851
|
},] }
|
|
@@ -10859,6 +10963,206 @@ TransactionReceiveGoodsLineComponent.propDecorators = {
|
|
|
10859
10963
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-receive-goods-line",] }]
|
|
10860
10964
|
};
|
|
10861
10965
|
|
|
10966
|
+
class TransactionPurchaseLineComponent extends TransactionLinesLineBaseComponent {
|
|
10967
|
+
constructor(service, iconCacheService, _transactionEventService) {
|
|
10968
|
+
super();
|
|
10969
|
+
this.service = service;
|
|
10970
|
+
this.iconCacheService = iconCacheService;
|
|
10971
|
+
this._transactionEventService = _transactionEventService;
|
|
10972
|
+
this.selected = false;
|
|
10973
|
+
this.showDialogDiscount = false;
|
|
10974
|
+
this.showCheckboxForLine = false;
|
|
10975
|
+
this._subs = [];
|
|
10976
|
+
}
|
|
10977
|
+
showClass() {
|
|
10978
|
+
return true;
|
|
10979
|
+
}
|
|
10980
|
+
ngOnInit() {
|
|
10981
|
+
this._subs.push(this._transactionEventService.selectAllSalesOrderLinesForPurchase.subscribe((value) => {
|
|
10982
|
+
this.selected = value;
|
|
10983
|
+
}));
|
|
10984
|
+
}
|
|
10985
|
+
ngOnDestroy() {
|
|
10986
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
10987
|
+
}
|
|
10988
|
+
transactionLineSet() {
|
|
10989
|
+
this.showCheckboxForLine = this.line.commissionCode === "0";
|
|
10990
|
+
}
|
|
10991
|
+
}
|
|
10992
|
+
TransactionPurchaseLineComponent.decorators = [
|
|
10993
|
+
{ type: Component, args: [{
|
|
10994
|
+
selector: "co-transaction-purchase-line",
|
|
10995
|
+
template: `
|
|
10996
|
+
<co-transaction-base-line [line]="line" [preview]="preview" [checkbox]="showCheckboxForLine" [checkboxValue]="selected" (checkboxValueChanged)="selected = $event">
|
|
10997
|
+
<ng-container *ngIf="line.isArticle">
|
|
10998
|
+
<div class="transaction-line-wrapper">
|
|
10999
|
+
<div *ngIf=!preview class="transaction-line-extended-wrapper">
|
|
11000
|
+
<co-transaction-line-supplier-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-supplier-button>
|
|
11001
|
+
<co-transaction-line-commission-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-commission-button>
|
|
11002
|
+
<co-transaction-line-warehouse-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
|
|
11003
|
+
<co-transaction-line-delivery-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-delivery-button>
|
|
11004
|
+
<co-transaction-line-delivery-date-button [transactionLine]="line" class="two-column"></co-transaction-line-delivery-date-button>
|
|
11005
|
+
<co-transaction-line-statusbar [transaction]="line" [transactionKind]="service.currentTransaction.transactionInfo.transactionKind"></co-transaction-line-statusbar>
|
|
11006
|
+
</div>
|
|
11007
|
+
<div class="transaction-line-totals">
|
|
11008
|
+
<co-transaction-line-price class="transaction-line-totals-price price"
|
|
11009
|
+
[transactionLine]="line"
|
|
11010
|
+
[showLabel]="false"
|
|
11011
|
+
[defaultEditMode]="false"
|
|
11012
|
+
></co-transaction-line-price>
|
|
11013
|
+
<div class="transaction-line-button custom-width transaction-line-totals-discount" (click)="showDialogDiscount = true">
|
|
11014
|
+
<span class="co-transaction-overflow-ellipsis" [class.transaction-negative-value]="line.lineTotalDiscountAmount < 0"
|
|
11015
|
+
[textContent]="(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)"></span>
|
|
11016
|
+
</div>
|
|
11017
|
+
<div *ngIf=!preview class="transaction-line-totals-amount">
|
|
11018
|
+
<co-transaction-line-amount class="amount-number-picker" [transactionLine]="line"></co-transaction-line-amount>
|
|
11019
|
+
</div>
|
|
11020
|
+
<co-editable-label class="transaction-line-totals-total price"
|
|
11021
|
+
[model]="line.displayNetLineTotal | coCurrency"
|
|
11022
|
+
[editModel]="line.displayNetLineTotal"
|
|
11023
|
+
[readonly]="readonly"
|
|
11024
|
+
[commit]="!readonly"
|
|
11025
|
+
></co-editable-label>
|
|
11026
|
+
</div>
|
|
11027
|
+
</div>
|
|
11028
|
+
</ng-container>
|
|
11029
|
+
</co-transaction-base-line>
|
|
11030
|
+
<co-dialog-transaction-line-discount *ngIf="showDialogDiscount"
|
|
11031
|
+
[transactionInfo]="service.currentTransaction.transactionInfo"
|
|
11032
|
+
[transactionLine]="line"
|
|
11033
|
+
(close)="showDialogDiscount = false"
|
|
11034
|
+
></co-dialog-transaction-line-discount>
|
|
11035
|
+
`,
|
|
11036
|
+
encapsulation: ViewEncapsulation.None
|
|
11037
|
+
},] }
|
|
11038
|
+
];
|
|
11039
|
+
TransactionPurchaseLineComponent.ctorParameters = () => [
|
|
11040
|
+
{ type: TransactionService },
|
|
11041
|
+
{ type: IconCacheService },
|
|
11042
|
+
{ type: TransactionEventService }
|
|
11043
|
+
];
|
|
11044
|
+
TransactionPurchaseLineComponent.propDecorators = {
|
|
11045
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-purchase-line",] }]
|
|
11046
|
+
};
|
|
11047
|
+
|
|
11048
|
+
class TransactionQuickAccessOrderPurchaseComponent extends TransactionBaseComponent {
|
|
11049
|
+
constructor(service, _transactionEventService) {
|
|
11050
|
+
super(service);
|
|
11051
|
+
this.service = service;
|
|
11052
|
+
this._transactionEventService = _transactionEventService;
|
|
11053
|
+
this.icons = Icon;
|
|
11054
|
+
}
|
|
11055
|
+
showClass() {
|
|
11056
|
+
return true;
|
|
11057
|
+
}
|
|
11058
|
+
handleSelectAllLines(value) {
|
|
11059
|
+
this._transactionEventService.selectAllSalesOrderLinesForPurchase.next(value);
|
|
11060
|
+
}
|
|
11061
|
+
handleSendButtonClick(event) {
|
|
11062
|
+
this.service.generateCommissionOrders(this.transactionInfo.id, false);
|
|
11063
|
+
}
|
|
11064
|
+
}
|
|
11065
|
+
TransactionQuickAccessOrderPurchaseComponent.decorators = [
|
|
11066
|
+
{ type: Component, args: [{
|
|
11067
|
+
selector: "co-transaction-quick-access-order-purchase",
|
|
11068
|
+
template: `
|
|
11069
|
+
<div class="quick-access-content-wrapper">
|
|
11070
|
+
<div class="select-all-wrapper">
|
|
11071
|
+
<co-input-checkbox
|
|
11072
|
+
[label]="'SELECT_ALL_LINES' | localize"
|
|
11073
|
+
(modelChange)="handleSelectAllLines($event)"
|
|
11074
|
+
></co-input-checkbox>
|
|
11075
|
+
</div>
|
|
11076
|
+
<div class="send-button-wrapper">
|
|
11077
|
+
<co-transaction-send-button-dialog
|
|
11078
|
+
[showSendIcon]="false"
|
|
11079
|
+
[showHoverIcon]="false"
|
|
11080
|
+
(sendButtonClick)="handleSendButtonClick($event)"></co-transaction-send-button-dialog>
|
|
11081
|
+
</div>
|
|
11082
|
+
</div>
|
|
11083
|
+
`,
|
|
11084
|
+
encapsulation: ViewEncapsulation.None
|
|
11085
|
+
},] }
|
|
11086
|
+
];
|
|
11087
|
+
TransactionQuickAccessOrderPurchaseComponent.ctorParameters = () => [
|
|
11088
|
+
{ type: TransactionService },
|
|
11089
|
+
{ type: TransactionEventService }
|
|
11090
|
+
];
|
|
11091
|
+
TransactionQuickAccessOrderPurchaseComponent.propDecorators = {
|
|
11092
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-order-purchase",] }]
|
|
11093
|
+
};
|
|
11094
|
+
|
|
11095
|
+
class TransactionButtonBarButtonBaseComponent {
|
|
11096
|
+
constructor() {
|
|
11097
|
+
this.showLoaderChange = new BehaviorSubject(undefined);
|
|
11098
|
+
this.checkedChange = new BehaviorSubject(undefined);
|
|
11099
|
+
this._showLoader = false;
|
|
11100
|
+
this._checked = false;
|
|
11101
|
+
}
|
|
11102
|
+
set showLoader(value) {
|
|
11103
|
+
this._showLoader = value;
|
|
11104
|
+
this.showLoaderChange.next(this._showLoader);
|
|
11105
|
+
}
|
|
11106
|
+
get showLoader() {
|
|
11107
|
+
return this._showLoader;
|
|
11108
|
+
}
|
|
11109
|
+
set checked(value) {
|
|
11110
|
+
this._checked = value;
|
|
11111
|
+
this.checkedChange.next(this._checked);
|
|
11112
|
+
}
|
|
11113
|
+
get checked() {
|
|
11114
|
+
return this._checked;
|
|
11115
|
+
}
|
|
11116
|
+
}
|
|
11117
|
+
TransactionButtonBarButtonBaseComponent.decorators = [
|
|
11118
|
+
{ type: Directive }
|
|
11119
|
+
];
|
|
11120
|
+
TransactionButtonBarButtonBaseComponent.propDecorators = {
|
|
11121
|
+
title: [{ type: Input }],
|
|
11122
|
+
iconName: [{ type: Input }],
|
|
11123
|
+
transactionInfoResponse: [{ type: Input }],
|
|
11124
|
+
showLoader: [{ type: Input }],
|
|
11125
|
+
checked: [{ type: Input }],
|
|
11126
|
+
showLoaderChange: [{ type: Output }],
|
|
11127
|
+
checkedChange: [{ type: Output }]
|
|
11128
|
+
};
|
|
11129
|
+
|
|
11130
|
+
class TransactionSalesPurchaseButtonBarButtonComponent extends TransactionButtonBarButtonBaseComponent {
|
|
11131
|
+
constructor(iconCacheService, _transactionEventService) {
|
|
11132
|
+
super();
|
|
11133
|
+
this.iconCacheService = iconCacheService;
|
|
11134
|
+
this._transactionEventService = _transactionEventService;
|
|
11135
|
+
this.showClass = true;
|
|
11136
|
+
this._subs = [];
|
|
11137
|
+
this._subs.push(this._transactionEventService.generateCommissionOrders.subscribe((generating) => {
|
|
11138
|
+
this.showLoader = generating;
|
|
11139
|
+
if (!this.showLoader) {
|
|
11140
|
+
this.checked = true;
|
|
11141
|
+
}
|
|
11142
|
+
}));
|
|
11143
|
+
}
|
|
11144
|
+
ngOnDestroy() {
|
|
11145
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
11146
|
+
}
|
|
11147
|
+
}
|
|
11148
|
+
TransactionSalesPurchaseButtonBarButtonComponent.decorators = [
|
|
11149
|
+
{ type: Component, args: [{
|
|
11150
|
+
selector: "co-transaction-sales-purchase-button-bar-button",
|
|
11151
|
+
template: `
|
|
11152
|
+
<co-icon class="co-transaction-button-bar-icon" [iconData]="iconCacheService.getIcon(iconName)"></co-icon>
|
|
11153
|
+
<span class="button-title" [textContent]="title | localize"></span>
|
|
11154
|
+
`,
|
|
11155
|
+
encapsulation: ViewEncapsulation.None
|
|
11156
|
+
},] }
|
|
11157
|
+
];
|
|
11158
|
+
TransactionSalesPurchaseButtonBarButtonComponent.ctorParameters = () => [
|
|
11159
|
+
{ type: IconCacheService },
|
|
11160
|
+
{ type: TransactionEventService }
|
|
11161
|
+
];
|
|
11162
|
+
TransactionSalesPurchaseButtonBarButtonComponent.propDecorators = {
|
|
11163
|
+
showClass: [{ type: HostBinding, args: ['class.co-transaction-sales-purchase-button-bar-button',] }]
|
|
11164
|
+
};
|
|
11165
|
+
|
|
10862
11166
|
class TransactionMappingService {
|
|
10863
11167
|
constructor() {
|
|
10864
11168
|
this._buttonBarTransaction = new Map([
|
|
@@ -10872,7 +11176,7 @@ class TransactionMappingService {
|
|
|
10872
11176
|
]],
|
|
10873
11177
|
[TransactionKind.SalesOrder, [
|
|
10874
11178
|
{ title: 'OVERVIEW', icon: Icon.CartShoppingSolid, category: TransactionTypeCategory.SalesOrderOverview },
|
|
10875
|
-
{ title: 'PURCHASE', icon: Icon.PalletBoxesSolid, category: TransactionTypeCategory.SalesOrderPurchase },
|
|
11179
|
+
{ title: 'PURCHASE', icon: Icon.PalletBoxesSolid, category: TransactionTypeCategory.SalesOrderPurchase, component: TransactionSalesPurchaseButtonBarButtonComponent },
|
|
10876
11180
|
{ title: 'LOGISTICS', icon: Icon.ShelvesSolid, category: TransactionTypeCategory.SalesOrderLogistics },
|
|
10877
11181
|
{ title: 'PLANNING', icon: Icon.TruckMovingSolid, category: TransactionTypeCategory.SalesOrderPlanning },
|
|
10878
11182
|
{ title: 'DELIVERY_NOTE', icon: Icon.MemoCircleCheckSolid, category: TransactionTypeCategory.SalesOrderDeliveryNote },
|
|
@@ -10883,6 +11187,7 @@ class TransactionMappingService {
|
|
|
10883
11187
|
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation }, TransactionQuickAccessOrderConfirmationComponent],
|
|
10884
11188
|
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionQuickAccessReceivedGoodsComponent],
|
|
10885
11189
|
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionQuickAccessOverviewComponent],
|
|
11190
|
+
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderPurchase }, TransactionQuickAccessOrderPurchaseComponent],
|
|
10886
11191
|
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderDeliveryNote }, TransactionQuickAccessOrderDeliveryComponent]
|
|
10887
11192
|
]);
|
|
10888
11193
|
this._transactionGridComponent = new Map([
|
|
@@ -10892,6 +11197,7 @@ class TransactionMappingService {
|
|
|
10892
11197
|
]);
|
|
10893
11198
|
this._transactionLineComponent = new Map([
|
|
10894
11199
|
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionOverviewLineComponent],
|
|
11200
|
+
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderPurchase }, TransactionPurchaseLineComponent],
|
|
10895
11201
|
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderDeliveryNote }, TransactionOrderDeliveryLineComponent],
|
|
10896
11202
|
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionReceiveGoodsLineComponent],
|
|
10897
11203
|
]);
|
|
@@ -11821,15 +12127,18 @@ class PaymentComponent {
|
|
|
11821
12127
|
}
|
|
11822
12128
|
_getDownpaymentInfo() {
|
|
11823
12129
|
this.downPayments.length = 0;
|
|
11824
|
-
|
|
11825
|
-
this.
|
|
11826
|
-
|
|
11827
|
-
info.downPayments
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
12130
|
+
return new Promise((resolve) => {
|
|
12131
|
+
this._paymentService.getDownPaymentInfo(this.transactionUuid).then((info) => {
|
|
12132
|
+
this.amountToPay = (info.toDownPayAmount ? info.toDownPayAmount : 0) - (info.payedDownAmount ? info.payedDownAmount : 0);
|
|
12133
|
+
if (info.downPayments) {
|
|
12134
|
+
info.downPayments.forEach((dp) => {
|
|
12135
|
+
const paymentMethod = this.paymentMethods.find(pm => pm.payment.code === dp.paymentMethodCode);
|
|
12136
|
+
this.downPayments.push(new DownPaymentViewModel(dp, paymentMethod));
|
|
12137
|
+
});
|
|
12138
|
+
}
|
|
12139
|
+
this.showLoaderDownPayments = false;
|
|
12140
|
+
resolve();
|
|
12141
|
+
});
|
|
11833
12142
|
});
|
|
11834
12143
|
}
|
|
11835
12144
|
_dataUriToBase64(uri, mimeType) {
|
|
@@ -11906,7 +12215,7 @@ PaymentComponent.decorators = [
|
|
|
11906
12215
|
<span class="payment-header-title" [textContent]="'PAYMENT_METHOD' | localize:false"></span>
|
|
11907
12216
|
</div>
|
|
11908
12217
|
<div class="payment-methods">
|
|
11909
|
-
<
|
|
12218
|
+
<co-loader class="loader" *ngIf="showLoader"></co-loader>
|
|
11910
12219
|
<ng-container *ngIf="!showLoader">
|
|
11911
12220
|
<co-payment-tile *ngFor="let paymentMethod of paymentMethods; let index = index"
|
|
11912
12221
|
[image]="paymentMethod.image"
|
|
@@ -12033,7 +12342,7 @@ PaymentQrCodeComponent.decorators = [
|
|
|
12033
12342
|
selector: "co-payment-qr-code",
|
|
12034
12343
|
template: `
|
|
12035
12344
|
<div class="payment-qr-code-wrapper">
|
|
12036
|
-
<
|
|
12345
|
+
<co-loader *ngIf="!qrCodeImage"></co-loader>
|
|
12037
12346
|
<img *ngIf="qrCodeImage" [src]="qrCodeImage"/>
|
|
12038
12347
|
</div>
|
|
12039
12348
|
`,
|
|
@@ -12045,13 +12354,80 @@ PaymentQrCodeComponent.propDecorators = {
|
|
|
12045
12354
|
showClass: [{ type: HostBinding, args: ["class.co-payment-qr-code",] }]
|
|
12046
12355
|
};
|
|
12047
12356
|
|
|
12357
|
+
class LoaderComponent {
|
|
12358
|
+
showClass() {
|
|
12359
|
+
return true;
|
|
12360
|
+
}
|
|
12361
|
+
}
|
|
12362
|
+
LoaderComponent.decorators = [
|
|
12363
|
+
{ type: Component, args: [{
|
|
12364
|
+
selector: "co-loader",
|
|
12365
|
+
template: `
|
|
12366
|
+
<div class="transaction-loader">
|
|
12367
|
+
<svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg">
|
|
12368
|
+
<defs>
|
|
12369
|
+
<linearGradient x1="8.042%" y1="0%" x2="65.682%" y2="23.865%" id="a">
|
|
12370
|
+
<stop stop-color="#000" stop-opacity="0" offset="0%"/>
|
|
12371
|
+
<stop stop-color="#000" stop-opacity=".631" offset="63.146%"/>
|
|
12372
|
+
<stop stop-color="#000" offset="100%"/>
|
|
12373
|
+
</linearGradient>
|
|
12374
|
+
</defs>
|
|
12375
|
+
<g fill="none" fill-rule="evenodd">
|
|
12376
|
+
<g transform="translate(1 1)">
|
|
12377
|
+
<path d="M36 18c0-9.94-8.06-18-18-18" id="Oval-2" stroke="url(#a)" stroke-width="2">
|
|
12378
|
+
<animateTransform
|
|
12379
|
+
attributeName="transform"
|
|
12380
|
+
type="rotate"
|
|
12381
|
+
from="0 18 18"
|
|
12382
|
+
to="360 18 18"
|
|
12383
|
+
dur="0.9s"
|
|
12384
|
+
repeatCount="indefinite"/>
|
|
12385
|
+
</path>
|
|
12386
|
+
<circle fill="#000" cx="36" cy="18" r="1">
|
|
12387
|
+
<animateTransform
|
|
12388
|
+
attributeName="transform"
|
|
12389
|
+
type="rotate"
|
|
12390
|
+
from="0 18 18"
|
|
12391
|
+
to="360 18 18"
|
|
12392
|
+
dur="0.9s"
|
|
12393
|
+
repeatCount="indefinite"/>
|
|
12394
|
+
</circle>
|
|
12395
|
+
</g>
|
|
12396
|
+
</g>
|
|
12397
|
+
</svg>
|
|
12398
|
+
</div>
|
|
12399
|
+
`,
|
|
12400
|
+
encapsulation: ViewEncapsulation.None
|
|
12401
|
+
},] }
|
|
12402
|
+
];
|
|
12403
|
+
LoaderComponent.propDecorators = {
|
|
12404
|
+
showClass: [{ type: HostBinding, args: ["class.co-loader",] }]
|
|
12405
|
+
};
|
|
12406
|
+
|
|
12407
|
+
class LoaderModule {
|
|
12408
|
+
}
|
|
12409
|
+
LoaderModule.decorators = [
|
|
12410
|
+
{ type: NgModule, args: [{
|
|
12411
|
+
imports: [
|
|
12412
|
+
CommonModule
|
|
12413
|
+
],
|
|
12414
|
+
declarations: [
|
|
12415
|
+
LoaderComponent
|
|
12416
|
+
],
|
|
12417
|
+
exports: [
|
|
12418
|
+
LoaderComponent
|
|
12419
|
+
]
|
|
12420
|
+
},] }
|
|
12421
|
+
];
|
|
12422
|
+
|
|
12048
12423
|
class PaymentQrCodeModule {
|
|
12049
12424
|
}
|
|
12050
12425
|
PaymentQrCodeModule.decorators = [
|
|
12051
12426
|
{ type: NgModule, args: [{
|
|
12052
12427
|
imports: [
|
|
12053
12428
|
CommonModule,
|
|
12054
|
-
CoreModule
|
|
12429
|
+
CoreModule,
|
|
12430
|
+
LoaderModule
|
|
12055
12431
|
],
|
|
12056
12432
|
declarations: [
|
|
12057
12433
|
PaymentQrCodeComponent
|
|
@@ -12102,7 +12478,7 @@ DownPaymentComponent.decorators = [
|
|
|
12102
12478
|
{ type: Component, args: [{
|
|
12103
12479
|
selector: "co-down-payment",
|
|
12104
12480
|
template: `
|
|
12105
|
-
<
|
|
12481
|
+
<co-loader class="loader" *ngIf="showLoader"></co-loader>
|
|
12106
12482
|
<div class="down-payment-payments-title" [textContent]="'PAYMENTS_MADE' | localize" *ngIf="downPayments && downPayments.length > 0"></div>
|
|
12107
12483
|
<div class="down-payment-payments-wrapper">
|
|
12108
12484
|
<div class="down-payment-payments" *ngFor="let payment of downPayments">
|
|
@@ -12138,7 +12514,8 @@ DownPaymentModule.decorators = [
|
|
|
12138
12514
|
CommonModule,
|
|
12139
12515
|
CoreModule,
|
|
12140
12516
|
PipeModule,
|
|
12141
|
-
PaymentTileModule
|
|
12517
|
+
PaymentTileModule,
|
|
12518
|
+
LoaderModule
|
|
12142
12519
|
],
|
|
12143
12520
|
declarations: [
|
|
12144
12521
|
DownPaymentComponent
|
|
@@ -12163,7 +12540,8 @@ PaymentModule.decorators = [
|
|
|
12163
12540
|
CoDialogModule,
|
|
12164
12541
|
ButtonModule,
|
|
12165
12542
|
PaymentQrCodeModule,
|
|
12166
|
-
DownPaymentModule
|
|
12543
|
+
DownPaymentModule,
|
|
12544
|
+
LoaderModule
|
|
12167
12545
|
],
|
|
12168
12546
|
declarations: [
|
|
12169
12547
|
PaymentComponent
|
|
@@ -12177,6 +12555,7 @@ PaymentModule.decorators = [
|
|
|
12177
12555
|
class RelationTypeComponent {
|
|
12178
12556
|
constructor() {
|
|
12179
12557
|
this.relType = RelationNameKind;
|
|
12558
|
+
this.readonly = false;
|
|
12180
12559
|
this.relation = NULL_RELATION_OBJECT;
|
|
12181
12560
|
this.relationChange = new EventEmitter();
|
|
12182
12561
|
}
|
|
@@ -12194,11 +12573,13 @@ RelationTypeComponent.decorators = [
|
|
|
12194
12573
|
template: `
|
|
12195
12574
|
<div class="default-data-row">
|
|
12196
12575
|
<co-input-radio-button class="default-width"
|
|
12576
|
+
[readonly]="readonly"
|
|
12197
12577
|
[label]="'PRIVATE_PERSON' | localize"
|
|
12198
12578
|
[model]="relation.type === relType.Private"
|
|
12199
12579
|
(modelChange)="handleChangeRelationType(relType.Private)"
|
|
12200
12580
|
></co-input-radio-button>
|
|
12201
12581
|
<co-input-radio-button class="default-width"
|
|
12582
|
+
[readonly]="readonly"
|
|
12202
12583
|
[label]="'COMPANY' | localize"
|
|
12203
12584
|
[model]="relation.type === relType.Company"
|
|
12204
12585
|
(modelChange)="handleChangeRelationType(relType.Company)"
|
|
@@ -12209,6 +12590,7 @@ RelationTypeComponent.decorators = [
|
|
|
12209
12590
|
},] }
|
|
12210
12591
|
];
|
|
12211
12592
|
RelationTypeComponent.propDecorators = {
|
|
12593
|
+
readonly: [{ type: Input }],
|
|
12212
12594
|
relation: [{ type: Input }],
|
|
12213
12595
|
relationChange: [{ type: Output }],
|
|
12214
12596
|
showClass: [{ type: HostBinding, args: ["class.co-relation-type",] }]
|
|
@@ -12233,11 +12615,14 @@ RelationTypeModule.decorators = [
|
|
|
12233
12615
|
];
|
|
12234
12616
|
|
|
12235
12617
|
class RelationGeneralComponent extends RelationBaseComponent {
|
|
12236
|
-
constructor(_service) {
|
|
12618
|
+
constructor(_service, _dictionaryService, _dialogService) {
|
|
12237
12619
|
super();
|
|
12238
12620
|
this._service = _service;
|
|
12621
|
+
this._dictionaryService = _dictionaryService;
|
|
12622
|
+
this._dialogService = _dialogService;
|
|
12239
12623
|
this.relType = RelationNameKind;
|
|
12240
12624
|
this.genderType = GenderType;
|
|
12625
|
+
this.readonly = false;
|
|
12241
12626
|
this.relationSuggestions = [];
|
|
12242
12627
|
this.showSuggestionsSidebar = false;
|
|
12243
12628
|
// fetches relation suggestions
|
|
@@ -12273,7 +12658,9 @@ class RelationGeneralComponent extends RelationBaseComponent {
|
|
|
12273
12658
|
}
|
|
12274
12659
|
}
|
|
12275
12660
|
showSidebar() {
|
|
12276
|
-
this.
|
|
12661
|
+
if (!this.readonly) {
|
|
12662
|
+
this.showSuggestionsSidebar = true;
|
|
12663
|
+
}
|
|
12277
12664
|
}
|
|
12278
12665
|
// Hide sidebar with a little timeout to prevent missing the click
|
|
12279
12666
|
hideSidebar() {
|
|
@@ -12284,10 +12671,15 @@ class RelationGeneralComponent extends RelationBaseComponent {
|
|
|
12284
12671
|
onRelationSuggestionClick(relationSuggested) {
|
|
12285
12672
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12286
12673
|
if (relationSuggested) {
|
|
12287
|
-
this.
|
|
12288
|
-
|
|
12289
|
-
|
|
12290
|
-
|
|
12674
|
+
const lockResult = yield this._service.lockRelation(relationSuggested.relationType, parseInt(relationSuggested.relationNr, 0));
|
|
12675
|
+
if (!lockResult.success) {
|
|
12676
|
+
this._dialogService.showError(this._dictionaryService.get("RELATION_ALREADY_LOCKED"), lockResult.messages[0].message);
|
|
12677
|
+
}
|
|
12678
|
+
else {
|
|
12679
|
+
this.hideSidebar();
|
|
12680
|
+
this.relation = yield this._service.getCustomerFullObjectByRelationId(relationSuggested.relationId);
|
|
12681
|
+
this.relationChange.next(this.relation);
|
|
12682
|
+
}
|
|
12291
12683
|
}
|
|
12292
12684
|
});
|
|
12293
12685
|
}
|
|
@@ -12329,6 +12721,7 @@ RelationGeneralComponent.decorators = [
|
|
|
12329
12721
|
<div class="default-data-row">
|
|
12330
12722
|
<co-input-text
|
|
12331
12723
|
class="checkout-first-name"
|
|
12724
|
+
[readonly]="readonly"
|
|
12332
12725
|
[(model)]="relation.firstName"
|
|
12333
12726
|
[placeholder]="'FIRST_NAME' | localize"
|
|
12334
12727
|
(modelChange)="firstNameChange($event)"
|
|
@@ -12337,11 +12730,13 @@ RelationGeneralComponent.decorators = [
|
|
|
12337
12730
|
></co-input-text>
|
|
12338
12731
|
<co-input-text
|
|
12339
12732
|
class="checkout-prefix-name default-width"
|
|
12733
|
+
[readonly]="readonly"
|
|
12340
12734
|
[(model)]="relation.prefix"
|
|
12341
12735
|
[placeholder]="'PREFIX' | localize"
|
|
12342
12736
|
></co-input-text>
|
|
12343
12737
|
<co-input-text
|
|
12344
12738
|
class="checkout-last-name"
|
|
12739
|
+
[readonly]="readonly"
|
|
12345
12740
|
[(model)]="relation.familyName"
|
|
12346
12741
|
[placeholder]="'LAST_NAME' | localize"
|
|
12347
12742
|
(modelChange)="familyNameChange($event)"
|
|
@@ -12350,27 +12745,30 @@ RelationGeneralComponent.decorators = [
|
|
|
12350
12745
|
</div>
|
|
12351
12746
|
<div class="default-data-row">
|
|
12352
12747
|
<co-input-radio-button class="default-width"
|
|
12748
|
+
[readonly]="readonly"
|
|
12353
12749
|
[label]="'MALE' | localize"
|
|
12354
12750
|
[model]="relation.gender === genderType.Male"
|
|
12355
12751
|
(modelChange)="changeGenderType(genderType.Male)"
|
|
12356
12752
|
></co-input-radio-button>
|
|
12357
12753
|
<co-input-radio-button class="default-width"
|
|
12754
|
+
[readonly]="readonly"
|
|
12358
12755
|
[label]="'FEMALE' | localize "
|
|
12359
12756
|
[model]="relation.gender === genderType.Female"
|
|
12360
12757
|
(modelChange)="changeGenderType(genderType.Female)"
|
|
12361
12758
|
></co-input-radio-button>
|
|
12362
12759
|
<co-input-radio-button class="default-width"
|
|
12760
|
+
[readonly]="readonly"
|
|
12363
12761
|
[label]="'UNKNOWN' | localize"
|
|
12364
12762
|
[model]="relation.gender === genderType.Unspecified"
|
|
12365
12763
|
(modelChange)="changeGenderType(genderType.Unspecified)"
|
|
12366
12764
|
></co-input-radio-button>
|
|
12367
12765
|
</div>
|
|
12368
12766
|
<div class="default-data-row">
|
|
12369
|
-
<co-input-date [placeholder]="'DATE_OF_BIRTH' | localize " [(model)]="dateOfBirth"></co-input-date>
|
|
12767
|
+
<co-input-date [readonly]="readonly" [placeholder]="'DATE_OF_BIRTH' | localize " [(model)]="dateOfBirth"></co-input-date>
|
|
12370
12768
|
</div>
|
|
12371
12769
|
</div>
|
|
12372
12770
|
<div *ngIf="relation?.type === relType.Company" class="default-data-row collapseable" @showHideCompanyRelationFields>
|
|
12373
|
-
<co-input-text [(model)]="relation.familyName" [placeholder]="'COMPANY_NAME' | localize" [required]="true"></co-input-text>
|
|
12771
|
+
<co-input-text [readonly]="readonly" [(model)]="relation.familyName" [placeholder]="'COMPANY_NAME' | localize" [required]="true"></co-input-text>
|
|
12374
12772
|
</div>
|
|
12375
12773
|
|
|
12376
12774
|
<div class="suggestions-sidebar" *ngIf="showSuggestionsSidebar" @showHideSidebar>
|
|
@@ -12406,9 +12804,12 @@ RelationGeneralComponent.decorators = [
|
|
|
12406
12804
|
},] }
|
|
12407
12805
|
];
|
|
12408
12806
|
RelationGeneralComponent.ctorParameters = () => [
|
|
12409
|
-
{ type: TransactionService }
|
|
12807
|
+
{ type: TransactionService },
|
|
12808
|
+
{ type: DictionaryService },
|
|
12809
|
+
{ type: DialogService }
|
|
12410
12810
|
];
|
|
12411
12811
|
RelationGeneralComponent.propDecorators = {
|
|
12812
|
+
readonly: [{ type: Input }],
|
|
12412
12813
|
showClass: [{ type: HostBinding, args: ["class.co-relation-general",] }]
|
|
12413
12814
|
};
|
|
12414
12815
|
|
|
@@ -12533,11 +12934,12 @@ class RelationAddressesComponent extends RelationBaseComponent {
|
|
|
12533
12934
|
this._boFactory = _boFactory;
|
|
12534
12935
|
this._formMasterService = _formMasterService;
|
|
12535
12936
|
this.icons = Icon;
|
|
12937
|
+
this.readonly = false;
|
|
12536
12938
|
this.addresses = [];
|
|
12939
|
+
this.showOnlyActive = true;
|
|
12537
12940
|
this.type = AddressType.DeliveryAddress;
|
|
12538
|
-
this.
|
|
12539
|
-
this.
|
|
12540
|
-
this.selectedAddressNawNrChange = new EventEmitter();
|
|
12941
|
+
this.selectedNawNr = 0;
|
|
12942
|
+
this.selectedNawNrChange = new EventEmitter();
|
|
12541
12943
|
this.showEditAddressDialog = false;
|
|
12542
12944
|
}
|
|
12543
12945
|
showClass() {
|
|
@@ -12565,15 +12967,17 @@ class RelationAddressesComponent extends RelationBaseComponent {
|
|
|
12565
12967
|
this.addressToEdit = new Address();
|
|
12566
12968
|
this.showEditAddressDialog = true;
|
|
12567
12969
|
}
|
|
12568
|
-
|
|
12569
|
-
this.
|
|
12570
|
-
|
|
12571
|
-
|
|
12572
|
-
|
|
12970
|
+
changeAddress(address) {
|
|
12971
|
+
if (address && !this.readonly) {
|
|
12972
|
+
this.selectedNawNr = address.nawNr;
|
|
12973
|
+
this.selectedNawNrChange.emit(this.selectedNawNr);
|
|
12974
|
+
}
|
|
12573
12975
|
}
|
|
12574
12976
|
editAddress(addr) {
|
|
12575
|
-
|
|
12576
|
-
|
|
12977
|
+
if (!this.readonly) {
|
|
12978
|
+
this.addressToEdit = this._boFactory.makeWithRawBackendData(Address, addr);
|
|
12979
|
+
this.showEditAddressDialog = true;
|
|
12980
|
+
}
|
|
12577
12981
|
}
|
|
12578
12982
|
}
|
|
12579
12983
|
RelationAddressesComponent.decorators = [
|
|
@@ -12581,19 +12985,16 @@ RelationAddressesComponent.decorators = [
|
|
|
12581
12985
|
selector: "co-relation-addresses",
|
|
12582
12986
|
template: `
|
|
12583
12987
|
<div class="default-data-row">
|
|
12584
|
-
<co-carousel
|
|
12585
|
-
|
|
12586
|
-
[tileHeight]="100"
|
|
12587
|
-
[selectedIndex]="selectedAddressIdx"
|
|
12588
|
-
(indexSelected)="setIndexAddress($event)">
|
|
12589
|
-
<co-relation-address-tile #carouselItem *ngFor="let address of addresses; let index = index"
|
|
12988
|
+
<co-carousel *ngIf="addresses && addresses.length > 1">
|
|
12989
|
+
<co-relation-address-tile #carouselItem *ngFor="let address of addresses | filter:'isActive':true; let index = index"
|
|
12590
12990
|
[address]="address"
|
|
12591
|
-
[selected]="
|
|
12991
|
+
[selected]="selectedNawNr === address.nawNr"
|
|
12592
12992
|
(editAddressClicked)="editAddress($event)"
|
|
12993
|
+
(selectedChange)="changeAddress($event)"
|
|
12593
12994
|
></co-relation-address-tile>
|
|
12594
|
-
</co-carousel
|
|
12995
|
+
</co-carousel>
|
|
12595
12996
|
</div>
|
|
12596
|
-
<div class="default-data-row">
|
|
12997
|
+
<div class="default-data-row" *ngIf="!readonly">
|
|
12597
12998
|
<div class="relation-address-new">
|
|
12598
12999
|
<icon class="relation-address-icon" [icon]="icons.ArrowPointRight"></icon>
|
|
12599
13000
|
<div [textContent]="'ADDRESS_ADD' | localize" (click)="showNewAddressDialog()"></div>
|
|
@@ -12601,7 +13002,9 @@ RelationAddressesComponent.decorators = [
|
|
|
12601
13002
|
</div>
|
|
12602
13003
|
<co-dialog class="dialog-relation-addresses-create-address" *ngIf="showEditAddressDialog"
|
|
12603
13004
|
[footerTemplate]="templateFooter"
|
|
12604
|
-
[headerTemplate]="templateHeader"
|
|
13005
|
+
[headerTemplate]="templateHeader"
|
|
13006
|
+
(closeClick)="showEditAddressDialog = false"
|
|
13007
|
+
>
|
|
12605
13008
|
<co-form>
|
|
12606
13009
|
<co-relation-address
|
|
12607
13010
|
[relation]="relation"
|
|
@@ -12612,9 +13015,8 @@ RelationAddressesComponent.decorators = [
|
|
|
12612
13015
|
<div class="co-transaction-dialog-header-title" [textContent]="'NEW_ADDRESS' | localize"></div>
|
|
12613
13016
|
</ng-template>
|
|
12614
13017
|
<ng-template #templateFooter>
|
|
12615
|
-
<div class="dialog-footer-button-wrapper">
|
|
12616
|
-
<co-button [label]="'
|
|
12617
|
-
<co-button [label]="'CANCEL' | localize" (click)="showEditAddressDialog = false"></co-button>
|
|
13018
|
+
<div class="co-transaction-dialog-footer-button-wrapper">
|
|
13019
|
+
<co-button [label]="'OK' | localize" (click)="submitForm()"></co-button>
|
|
12618
13020
|
</div>
|
|
12619
13021
|
</ng-template>
|
|
12620
13022
|
</co-dialog>
|
|
@@ -12630,11 +13032,12 @@ RelationAddressesComponent.ctorParameters = () => [
|
|
|
12630
13032
|
{ type: FormMasterService }
|
|
12631
13033
|
];
|
|
12632
13034
|
RelationAddressesComponent.propDecorators = {
|
|
13035
|
+
readonly: [{ type: Input }],
|
|
12633
13036
|
addresses: [{ type: Input }],
|
|
13037
|
+
showOnlyActive: [{ type: Input }],
|
|
12634
13038
|
type: [{ type: Input }],
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
selectedAddressNawNrChange: [{ type: Output }],
|
|
13039
|
+
selectedNawNr: [{ type: Input }],
|
|
13040
|
+
selectedNawNrChange: [{ type: Output }],
|
|
12638
13041
|
showClass: [{ type: HostBinding, args: ["class.co-relation-addresses",] }]
|
|
12639
13042
|
};
|
|
12640
13043
|
|
|
@@ -12651,7 +13054,9 @@ RelationAddressesModule.decorators = [
|
|
|
12651
13054
|
CoDialogModule,
|
|
12652
13055
|
RelationAddressModule,
|
|
12653
13056
|
FormModule,
|
|
12654
|
-
ButtonModule
|
|
13057
|
+
ButtonModule,
|
|
13058
|
+
CarouselModule,
|
|
13059
|
+
FilterPipeModule
|
|
12655
13060
|
],
|
|
12656
13061
|
declarations: [
|
|
12657
13062
|
RelationAddressesComponent
|
|
@@ -12665,6 +13070,7 @@ RelationAddressesModule.decorators = [
|
|
|
12665
13070
|
class RelationContactDetailsComponent extends RelationBaseComponent {
|
|
12666
13071
|
constructor() {
|
|
12667
13072
|
super(...arguments);
|
|
13073
|
+
this.readonly = false;
|
|
12668
13074
|
this.emailAddress = new ContactOption();
|
|
12669
13075
|
this.phoneNumber = new ContactOption();
|
|
12670
13076
|
this.inviteToAccount = false;
|
|
@@ -12704,19 +13110,20 @@ RelationContactDetailsComponent.decorators = [
|
|
|
12704
13110
|
selector: "co-relation-contact-details",
|
|
12705
13111
|
template: `
|
|
12706
13112
|
<div class="default-data-row">
|
|
12707
|
-
<co-input-text [(model)]="phoneNumber.value" [placeholder]="'PHONE_NO' | localize " [required]="true"></co-input-text>
|
|
13113
|
+
<co-input-text [readonly]="readonly" [(model)]="phoneNumber.value" [placeholder]="'PHONE_NO' | localize " [required]="true"></co-input-text>
|
|
12708
13114
|
</div>
|
|
12709
13115
|
<div class="default-data-row">
|
|
12710
|
-
<co-input-text [(model)]="emailAddress.value" [placeholder]="'EMAIL_ADDRESS' | localize " [type]="'email'" [required]="true"></co-input-text>
|
|
13116
|
+
<co-input-text [readonly]="readonly" [(model)]="emailAddress.value" [placeholder]="'EMAIL_ADDRESS' | localize " [type]="'email'" [required]="true"></co-input-text>
|
|
12711
13117
|
</div>
|
|
12712
13118
|
<div class="default-data-row">
|
|
12713
|
-
<co-input-checkbox [label]="'INVITE_TO_ACCOUNT' | localize" [(model)]="inviteToAccount"></co-input-checkbox>
|
|
13119
|
+
<co-input-checkbox [readonly]="readonly" [label]="'INVITE_TO_ACCOUNT' | localize" [(model)]="inviteToAccount"></co-input-checkbox>
|
|
12714
13120
|
</div>
|
|
12715
13121
|
`,
|
|
12716
13122
|
encapsulation: ViewEncapsulation.None
|
|
12717
13123
|
},] }
|
|
12718
13124
|
];
|
|
12719
13125
|
RelationContactDetailsComponent.propDecorators = {
|
|
13126
|
+
readonly: [{ type: Input }],
|
|
12720
13127
|
showClass: [{ type: HostBinding, args: ["class.co-relation-contact-details",] }]
|
|
12721
13128
|
};
|
|
12722
13129
|
|
|
@@ -12743,6 +13150,7 @@ class RelationPreferencesComponent extends RelationBaseComponent {
|
|
|
12743
13150
|
constructor(_service) {
|
|
12744
13151
|
super();
|
|
12745
13152
|
this._service = _service;
|
|
13153
|
+
this.readonly = false;
|
|
12746
13154
|
}
|
|
12747
13155
|
showClass() {
|
|
12748
13156
|
return true;
|
|
@@ -12781,6 +13189,7 @@ RelationPreferencesComponent.decorators = [
|
|
|
12781
13189
|
<div class="two-column-grid">
|
|
12782
13190
|
<ng-container *ngFor="let privacySetting of privacySettings">
|
|
12783
13191
|
<co-input-checkbox class="first-column"
|
|
13192
|
+
[readonly]="readonly"
|
|
12784
13193
|
[label]="privacySetting.description"
|
|
12785
13194
|
[model]="isShared(privacySetting)"
|
|
12786
13195
|
(modelChange)="changePrivacySetting(privacySetting, $event)"
|
|
@@ -12796,6 +13205,7 @@ RelationPreferencesComponent.ctorParameters = () => [
|
|
|
12796
13205
|
{ type: TransactionService }
|
|
12797
13206
|
];
|
|
12798
13207
|
RelationPreferencesComponent.propDecorators = {
|
|
13208
|
+
readonly: [{ type: Input }],
|
|
12799
13209
|
showClass: [{ type: HostBinding, args: ["class.co-relation-preferences",] }]
|
|
12800
13210
|
};
|
|
12801
13211
|
|
|
@@ -13515,24 +13925,34 @@ class TransactionHeaderDeliveryMethodComponent extends TransactionHeaderBaseComp
|
|
|
13515
13925
|
}
|
|
13516
13926
|
});
|
|
13517
13927
|
}
|
|
13518
|
-
|
|
13519
|
-
this
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
|
|
13523
|
-
|
|
13524
|
-
|
|
13525
|
-
|
|
13526
|
-
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
|
|
13530
|
-
|
|
13928
|
+
setDeliveryType(method) {
|
|
13929
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13930
|
+
const idx = this.collection.findIndex(d => d.code === method.code);
|
|
13931
|
+
if (method) {
|
|
13932
|
+
const success = yield this.commit(method.code);
|
|
13933
|
+
if (success) {
|
|
13934
|
+
this.selectedIdx = idx;
|
|
13935
|
+
this.deliveryMethodChange.emit(method);
|
|
13936
|
+
}
|
|
13937
|
+
}
|
|
13938
|
+
});
|
|
13939
|
+
}
|
|
13940
|
+
transactionInfoSet() {
|
|
13941
|
+
this.readonly = this.readonly || this.transactionInfo.deliveryDateDefinitive;
|
|
13942
|
+
}
|
|
13943
|
+
}
|
|
13944
|
+
TransactionHeaderDeliveryMethodComponent.decorators = [
|
|
13945
|
+
{ type: Component, args: [{
|
|
13946
|
+
selector: "co-transaction-header-delivery-method",
|
|
13947
|
+
template: `
|
|
13948
|
+
<ng-container *ngIf="showAsCarousel">
|
|
13949
|
+
<co-carousel>
|
|
13531
13950
|
<co-delivery-type-tile #carouselItem *ngFor="let method of collection; let index = index"
|
|
13532
13951
|
[method]="method"
|
|
13533
13952
|
[selected]="selectedIdx === index"
|
|
13953
|
+
(selectedChange)="setDeliveryType($event)"
|
|
13534
13954
|
></co-delivery-type-tile>
|
|
13535
|
-
</co-carousel
|
|
13955
|
+
</co-carousel>
|
|
13536
13956
|
</ng-container>
|
|
13537
13957
|
<ng-container *ngIf="!showAsCarousel">
|
|
13538
13958
|
<co-transaction-line-checkbox-list
|
|
@@ -13590,7 +14010,7 @@ TransactionLineCheckboxListComponent.decorators = [
|
|
|
13590
14010
|
></co-input-checkbox>
|
|
13591
14011
|
</div>
|
|
13592
14012
|
<div class="label-wrapper">
|
|
13593
|
-
<span *ngFor="let label of row.propsForLabel" [innerHTML]="label" class="label"></span>
|
|
14013
|
+
<span *ngFor="let label of row.propsForLabel; let index = index" [innerHTML]="label" [class.first]="index === 0" class="label"></span>
|
|
13594
14014
|
</div>
|
|
13595
14015
|
</div>
|
|
13596
14016
|
</cdk-virtual-scroll-viewport>
|
|
@@ -13635,7 +14055,8 @@ TransactionHeaderDeliveryMethodModule.decorators = [
|
|
|
13635
14055
|
Carousel3dModule,
|
|
13636
14056
|
DeliveryTypeTileModule,
|
|
13637
14057
|
InputCheckboxModule,
|
|
13638
|
-
TransactionLineCheckboxModule
|
|
14058
|
+
TransactionLineCheckboxModule,
|
|
14059
|
+
CarouselModule
|
|
13639
14060
|
],
|
|
13640
14061
|
declarations: [
|
|
13641
14062
|
TransactionHeaderDeliveryMethodComponent
|
|
@@ -13768,7 +14189,7 @@ DialogTransactionHeaderDeliveryMethodComponent.decorators = [
|
|
|
13768
14189
|
<co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
13769
14190
|
</ng-template>
|
|
13770
14191
|
<ng-template #footerTemplate>
|
|
13771
|
-
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
14192
|
+
<div class="co-transaction-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
13772
14193
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
13773
14194
|
</div>
|
|
13774
14195
|
</ng-template>
|
|
@@ -14867,7 +15288,7 @@ TransactionComponent.decorators = [
|
|
|
14867
15288
|
|
|
14868
15289
|
<div class="transaction-lines-header">
|
|
14869
15290
|
<co-transaction-quick-access *ngIf="showQuickAccess" class="transaction-lines-header-item"
|
|
14870
|
-
[
|
|
15291
|
+
[transaction]="transaction"
|
|
14871
15292
|
[activeCategory]="activeCategory"
|
|
14872
15293
|
></co-transaction-quick-access>
|
|
14873
15294
|
|
|
@@ -14986,10 +15407,11 @@ TransactionHeaderComponent.propDecorators = {
|
|
|
14986
15407
|
};
|
|
14987
15408
|
|
|
14988
15409
|
class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
14989
|
-
constructor(service, _dictionary) {
|
|
15410
|
+
constructor(service, _dictionary, _dialogService) {
|
|
14990
15411
|
super(service);
|
|
14991
15412
|
this.service = service;
|
|
14992
15413
|
this._dictionary = _dictionary;
|
|
15414
|
+
this._dialogService = _dialogService;
|
|
14993
15415
|
this.addressType = AddressType;
|
|
14994
15416
|
this.deliveryAddressIdx = 0;
|
|
14995
15417
|
this.invoiceAddressIdx = 0;
|
|
@@ -14997,6 +15419,7 @@ class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
|
14997
15419
|
this.showDialog = false;
|
|
14998
15420
|
this.categories = [this._dictionary.get('CLIENT_DATA'), this._dictionary.get('PRIVACY_PREFERENCES')];
|
|
14999
15421
|
this.relationType = RelationKind.Customer;
|
|
15422
|
+
this.readonly = false;
|
|
15000
15423
|
this._relation = new CustomerFullObject();
|
|
15001
15424
|
}
|
|
15002
15425
|
set relation(value) {
|
|
@@ -15044,6 +15467,22 @@ class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
|
15044
15467
|
this.relation.customerGroup = this.customerGroup;
|
|
15045
15468
|
}
|
|
15046
15469
|
}
|
|
15470
|
+
handleShowDialog() {
|
|
15471
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15472
|
+
const lockResult = yield this.service.lockRelation(this.relation.relationType, parseInt(this.relation.relationNumber, 0));
|
|
15473
|
+
if (!lockResult.success) {
|
|
15474
|
+
const question = yield this._dialogService.showYesNo("LOCKED", lockResult.messages[0].message);
|
|
15475
|
+
if (question) {
|
|
15476
|
+
this.readonly = true;
|
|
15477
|
+
this.showDialog = true;
|
|
15478
|
+
}
|
|
15479
|
+
}
|
|
15480
|
+
else {
|
|
15481
|
+
this.readonly = false;
|
|
15482
|
+
this.showDialog = true;
|
|
15483
|
+
}
|
|
15484
|
+
});
|
|
15485
|
+
}
|
|
15047
15486
|
relationSet() {
|
|
15048
15487
|
if (this.relationType === RelationKind.Customer) {
|
|
15049
15488
|
this.customerGroup = this.relation.customerGroup;
|
|
@@ -15059,7 +15498,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
15059
15498
|
[firstBlockTemplate]="firstBlock"
|
|
15060
15499
|
[secondBlockTemplate]="secondBlock"
|
|
15061
15500
|
[hasDetails]="true"
|
|
15062
|
-
(headerClick)="
|
|
15501
|
+
(headerClick)="handleShowDialog()"
|
|
15063
15502
|
>
|
|
15064
15503
|
</co-transaction-header-block>
|
|
15065
15504
|
<ng-template #headerBlock>
|
|
@@ -15088,39 +15527,42 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
15088
15527
|
<div class="header-relation-section">
|
|
15089
15528
|
<div class="header-relation-section-label" [textContent]="'PERSONAL_DATA' | localize"></div>
|
|
15090
15529
|
<co-relation-type
|
|
15530
|
+
[readonly]="readonly"
|
|
15091
15531
|
[relation]="relation"
|
|
15092
15532
|
></co-relation-type>
|
|
15093
15533
|
<ng-container *ngIf="relationType === relationKind.Customer">
|
|
15094
|
-
<relation-customer-groups [model]="customerGroup" (modelChange)="handleChangeCustomGroup($event)" required></relation-customer-groups>
|
|
15534
|
+
<relation-customer-groups [readonly]="readonly" [model]="customerGroup" (modelChange)="handleChangeCustomGroup($event)" required></relation-customer-groups>
|
|
15095
15535
|
</ng-container>
|
|
15096
|
-
<co-relation-general [relation]="relation" (relationChange)="updateRelation($event)"></co-relation-general>
|
|
15536
|
+
<co-relation-general [readonly]="readonly" [relation]="relation" (relationChange)="updateRelation($event)"></co-relation-general>
|
|
15097
15537
|
</div>
|
|
15098
15538
|
<div class="header-relation-section">
|
|
15099
15539
|
<div class="header-relation-section-label" [textContent]="'ADDRESSES' | localize"></div>
|
|
15100
15540
|
<co-relation-addresses
|
|
15541
|
+
[readonly]="readonly"
|
|
15101
15542
|
[addresses]="relation.activeAddresses"
|
|
15102
15543
|
[type]="addressType.DeliveryAddress"
|
|
15103
|
-
[
|
|
15544
|
+
[selectedNawNr]="deliveryAddressIdx"
|
|
15104
15545
|
(selectedAddressChange)="setIndexDeliveryAddress($event)"
|
|
15105
15546
|
></co-relation-addresses>
|
|
15106
15547
|
<div class="header-relation-section-label" [textContent]="'INVOICE_ADDRESS' | localize"></div>
|
|
15107
|
-
<co-input-checkbox [(model)]="invoiceAddressSameAsDeliveryAddress" (modelChange)="checkSameAddress($event)" [label]="'SAME_AS_DELIVERY' | localize"></co-input-checkbox>
|
|
15548
|
+
<co-input-checkbox [readonly]="readonly" [(model)]="invoiceAddressSameAsDeliveryAddress" (modelChange)="checkSameAddress($event)" [label]="'SAME_AS_DELIVERY' | localize"></co-input-checkbox>
|
|
15108
15549
|
<div class="overview-delivery-invoice-address" *ngIf="!invoiceAddressSameAsDeliveryAddress" @showHideInvoiceAddress>
|
|
15109
15550
|
<co-relation-addresses
|
|
15551
|
+
[readonly]="readonly"
|
|
15110
15552
|
[addresses]="relation.activeAddresses"
|
|
15111
15553
|
[type]="addressType.BillingAddress"
|
|
15112
|
-
[
|
|
15554
|
+
[selectedNawNr]="invoiceAddressIdx"
|
|
15113
15555
|
(selectedAddressChange)="setIndexInvoiceAddress($event)"
|
|
15114
15556
|
></co-relation-addresses>
|
|
15115
15557
|
</div>
|
|
15116
15558
|
</div>
|
|
15117
15559
|
<div class="header-relation-section">
|
|
15118
15560
|
<div class="header-relation-section-label" [textContent]="'CONTACT_DETAILS' | localize"></div>
|
|
15119
|
-
<co-relation-contact-details [relation]="relation"></co-relation-contact-details>
|
|
15561
|
+
<co-relation-contact-details [readonly]="readonly" [relation]="relation"></co-relation-contact-details>
|
|
15120
15562
|
</div>
|
|
15121
15563
|
</div>
|
|
15122
15564
|
<div #preferenceItems class="header-relation-navigation-content">
|
|
15123
|
-
<co-relation-preferences [relation]="relation"></co-relation-preferences>
|
|
15565
|
+
<co-relation-preferences [readonly]="readonly" [relation]="relation"></co-relation-preferences>
|
|
15124
15566
|
</div>
|
|
15125
15567
|
</div>
|
|
15126
15568
|
</co-dialog>
|
|
@@ -15138,7 +15580,8 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
15138
15580
|
];
|
|
15139
15581
|
TransactionHeaderRelationComponent.ctorParameters = () => [
|
|
15140
15582
|
{ type: TransactionService },
|
|
15141
|
-
{ type: DictionaryService }
|
|
15583
|
+
{ type: DictionaryService },
|
|
15584
|
+
{ type: DialogService }
|
|
15142
15585
|
];
|
|
15143
15586
|
TransactionHeaderRelationComponent.propDecorators = {
|
|
15144
15587
|
navigationItems: [{ type: ViewChild, args: ['navigationItems', { read: ElementRef },] }],
|
|
@@ -15365,14 +15808,9 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
15365
15808
|
<div class="header-block-balance" *ngIf="transactionInfo.transactionKind !== transactionKind.PurchaseOrder" (click)="openPayment($event)">
|
|
15366
15809
|
<co-icon class="payment-icon" [iconData]="iconService.getIcon(icons.CreditCardSolid)"></co-icon>
|
|
15367
15810
|
<div class="payment-payed-wrapper">
|
|
15368
|
-
<
|
|
15369
|
-
|
|
15370
|
-
|
|
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>
|
|
15811
|
+
<span class="payment-to-pay" [textContent]="toPay | priceDisplay"></span>
|
|
15812
|
+
<span class="payment-divider" [textContent]="'/'"></span>
|
|
15813
|
+
<span class="payment-paid" [class.success]="paid >= toPay" [textContent]="paid | priceDisplay"></span>
|
|
15376
15814
|
</div>
|
|
15377
15815
|
</div>
|
|
15378
15816
|
</ng-template>
|
|
@@ -15945,7 +16383,114 @@ TransactionLinePriceModule.decorators = [
|
|
|
15945
16383
|
},] }
|
|
15946
16384
|
];
|
|
15947
16385
|
|
|
15948
|
-
class
|
|
16386
|
+
class TransactionFilterPopupBaseComponent extends TransactionLineBaseComponent {
|
|
16387
|
+
constructor() {
|
|
16388
|
+
super(...arguments);
|
|
16389
|
+
this.autoClose = false;
|
|
16390
|
+
this.useModel = true;
|
|
16391
|
+
this.valueChange = new EventEmitter();
|
|
16392
|
+
this.closeAfterCommit = new EventEmitter();
|
|
16393
|
+
this.viewModels = [];
|
|
16394
|
+
this.viewModelsFiltered = [];
|
|
16395
|
+
this.propsForLabel = [];
|
|
16396
|
+
this._collection = [];
|
|
16397
|
+
}
|
|
16398
|
+
set searchText(value) {
|
|
16399
|
+
if (value !== undefined && value !== null) {
|
|
16400
|
+
this._searchText = value;
|
|
16401
|
+
this._doSearch();
|
|
16402
|
+
}
|
|
16403
|
+
}
|
|
16404
|
+
get searchText() {
|
|
16405
|
+
return this._searchText;
|
|
16406
|
+
}
|
|
16407
|
+
set collection(value) {
|
|
16408
|
+
this._collection = value;
|
|
16409
|
+
this.prepareViewModels();
|
|
16410
|
+
}
|
|
16411
|
+
get collection() {
|
|
16412
|
+
return this._collection;
|
|
16413
|
+
}
|
|
16414
|
+
commit(value) {
|
|
16415
|
+
return Promise.resolve(true);
|
|
16416
|
+
}
|
|
16417
|
+
handleChecked(row) {
|
|
16418
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16419
|
+
row.checked = true;
|
|
16420
|
+
const currentModel = this.viewModels.find(v => v.value === row.value);
|
|
16421
|
+
if (currentModel) {
|
|
16422
|
+
currentModel.checked = true;
|
|
16423
|
+
}
|
|
16424
|
+
for (let i = 0; i < this.viewModels.length; i++) {
|
|
16425
|
+
if (this.viewModels[i].value !== row.value) {
|
|
16426
|
+
this.viewModels[i].checked = false;
|
|
16427
|
+
}
|
|
16428
|
+
}
|
|
16429
|
+
if (this.useModel) {
|
|
16430
|
+
if (this.autoClose) {
|
|
16431
|
+
if (yield this.commit(row.value)) {
|
|
16432
|
+
this.closeAfterCommit.emit();
|
|
16433
|
+
}
|
|
16434
|
+
}
|
|
16435
|
+
else {
|
|
16436
|
+
this.commit(row.value);
|
|
16437
|
+
}
|
|
16438
|
+
}
|
|
16439
|
+
else {
|
|
16440
|
+
this.valueChange.emit(row.value);
|
|
16441
|
+
}
|
|
16442
|
+
});
|
|
16443
|
+
}
|
|
16444
|
+
prepareViewModels() {
|
|
16445
|
+
this.collection.forEach((d, index) => {
|
|
16446
|
+
const labels = this.propsForLabel.map(p => d[p]);
|
|
16447
|
+
this.viewModels.push({
|
|
16448
|
+
value: d[this.codeField],
|
|
16449
|
+
propsForLabel: labels,
|
|
16450
|
+
checked: (this.useModel && this.model && this.checkField) ?
|
|
16451
|
+
this.model[this.checkField] === d[this.codeField] :
|
|
16452
|
+
(this.value ? this.value === d[this.codeField] : index === 0)
|
|
16453
|
+
});
|
|
16454
|
+
});
|
|
16455
|
+
this.viewModelsFiltered = this.viewModels.slice();
|
|
16456
|
+
if (!this.useModel && this.viewModels.length > 0) {
|
|
16457
|
+
this.valueChange.next(this.value ? this.value : this.viewModels[0].value);
|
|
16458
|
+
}
|
|
16459
|
+
}
|
|
16460
|
+
_doSearch() {
|
|
16461
|
+
this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
16462
|
+
if (this.searchText) {
|
|
16463
|
+
this.viewModelsFiltered = this.viewModelsFiltered.filter(vmf => {
|
|
16464
|
+
return vmf.propsForLabel.find(p => p && p.toString().match(new RegExp(this.searchText, 'gi')));
|
|
16465
|
+
});
|
|
16466
|
+
// if (!this.searchText) {
|
|
16467
|
+
// this.viewModelsFiltered = this.viewModels.slice();
|
|
16468
|
+
// } else {
|
|
16469
|
+
// this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
16470
|
+
// for (let i = 0; i < this.viewModelsFiltered.length; i++) {
|
|
16471
|
+
// const vmf = this.viewModelsFiltered[i];
|
|
16472
|
+
// for (let j = 0; j < vmf.propsForLabel.length; j++) {
|
|
16473
|
+
// if (vmf.propsForLabel[j]) {
|
|
16474
|
+
// vmf.propsForLabel[j] = vmf.propsForLabel[j].replace(new RegExp(this.searchText, 'gi'), `<span class="highlight">${this.searchText}</span>`);
|
|
16475
|
+
// }
|
|
16476
|
+
// }
|
|
16477
|
+
// }
|
|
16478
|
+
}
|
|
16479
|
+
}
|
|
16480
|
+
}
|
|
16481
|
+
TransactionFilterPopupBaseComponent.decorators = [
|
|
16482
|
+
{ type: Directive }
|
|
16483
|
+
];
|
|
16484
|
+
TransactionFilterPopupBaseComponent.propDecorators = {
|
|
16485
|
+
autoClose: [{ type: Input }],
|
|
16486
|
+
useModel: [{ type: Input }],
|
|
16487
|
+
searchText: [{ type: Input }],
|
|
16488
|
+
value: [{ type: Input }],
|
|
16489
|
+
valueChange: [{ type: Output }],
|
|
16490
|
+
closeAfterCommit: [{ type: Output }]
|
|
16491
|
+
};
|
|
16492
|
+
|
|
16493
|
+
class TransactionLineVatComponent extends TransactionFilterPopupBaseComponent {
|
|
15949
16494
|
constructor(_transactionService) {
|
|
15950
16495
|
super();
|
|
15951
16496
|
this._transactionService = _transactionService;
|
|
@@ -16011,7 +16556,7 @@ TransactionLineVatModule.decorators = [
|
|
|
16011
16556
|
},] }
|
|
16012
16557
|
];
|
|
16013
16558
|
|
|
16014
|
-
class TransactionLinePriceListComponent extends
|
|
16559
|
+
class TransactionLinePriceListComponent extends TransactionFilterPopupBaseComponent {
|
|
16015
16560
|
constructor(_transactionService) {
|
|
16016
16561
|
super();
|
|
16017
16562
|
this._transactionService = _transactionService;
|
|
@@ -16079,7 +16624,7 @@ TransactionLinePriceListModule.decorators = [
|
|
|
16079
16624
|
},] }
|
|
16080
16625
|
];
|
|
16081
16626
|
|
|
16082
|
-
class TransactionLineDeliveryMethodComponent extends
|
|
16627
|
+
class TransactionLineDeliveryMethodComponent extends TransactionFilterPopupBaseComponent {
|
|
16083
16628
|
constructor(_transactionService) {
|
|
16084
16629
|
super();
|
|
16085
16630
|
this._transactionService = _transactionService;
|
|
@@ -16310,7 +16855,7 @@ TransactionLineReferenceModule.decorators = [
|
|
|
16310
16855
|
},] }
|
|
16311
16856
|
];
|
|
16312
16857
|
|
|
16313
|
-
class TransactionLineCommissionCodeComponent extends
|
|
16858
|
+
class TransactionLineCommissionCodeComponent extends TransactionFilterPopupBaseComponent {
|
|
16314
16859
|
constructor(_transactionService) {
|
|
16315
16860
|
super();
|
|
16316
16861
|
this._transactionService = _transactionService;
|
|
@@ -16381,7 +16926,7 @@ TransactionLineCommissionCodeModule.decorators = [
|
|
|
16381
16926
|
},] }
|
|
16382
16927
|
];
|
|
16383
16928
|
|
|
16384
|
-
class TransactionLineWarehouseComponent extends
|
|
16929
|
+
class TransactionLineWarehouseComponent extends TransactionFilterPopupBaseComponent {
|
|
16385
16930
|
constructor(_transactionService) {
|
|
16386
16931
|
super();
|
|
16387
16932
|
this._transactionService = _transactionService;
|
|
@@ -16645,11 +17190,13 @@ TransactionLineSpecialDiscountModule.decorators = [
|
|
|
16645
17190
|
},] }
|
|
16646
17191
|
];
|
|
16647
17192
|
|
|
16648
|
-
class TransactionLineSupplierComponent extends
|
|
17193
|
+
class TransactionLineSupplierComponent extends TransactionFilterPopupBaseComponent {
|
|
16649
17194
|
constructor(_transactionService) {
|
|
16650
17195
|
super();
|
|
16651
17196
|
this._transactionService = _transactionService;
|
|
16652
|
-
this.
|
|
17197
|
+
this.codeField = 'relationId';
|
|
17198
|
+
this.checkField = 'supplierId';
|
|
17199
|
+
this.propsForLabel = ['relationNr', 'displayName'];
|
|
16653
17200
|
}
|
|
16654
17201
|
ngOnInit() {
|
|
16655
17202
|
const request = new RelationRequest();
|
|
@@ -16658,17 +17205,16 @@ class TransactionLineSupplierComponent extends TransactionLineBaseComponent {
|
|
|
16658
17205
|
this.collection = relationListObjects;
|
|
16659
17206
|
});
|
|
16660
17207
|
}
|
|
16661
|
-
commit(
|
|
17208
|
+
commit(id) {
|
|
16662
17209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16663
|
-
|
|
16664
|
-
|
|
16665
|
-
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
|
|
16671
|
-
return true;
|
|
17210
|
+
if (this.transactionLine.supplierId !== id) {
|
|
17211
|
+
const oldId = this.transactionLine.supplierId;
|
|
17212
|
+
const success = yield this._transactionService.updateSupplierTransactionLine(this._transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, id);
|
|
17213
|
+
if (!success) {
|
|
17214
|
+
this.transactionLine.supplierId = oldId;
|
|
17215
|
+
}
|
|
17216
|
+
return success;
|
|
17217
|
+
}
|
|
16672
17218
|
});
|
|
16673
17219
|
}
|
|
16674
17220
|
transactionLineSet() {
|
|
@@ -16679,14 +17225,11 @@ TransactionLineSupplierComponent.decorators = [
|
|
|
16679
17225
|
{ type: Component, args: [{
|
|
16680
17226
|
selector: "co-transaction-line-supplier",
|
|
16681
17227
|
template: `
|
|
16682
|
-
<co-
|
|
16683
|
-
[collection]="
|
|
16684
|
-
[placeholder]="'SUPPLIER' | localize"
|
|
16685
|
-
[fields]="fields"
|
|
17228
|
+
<co-transaction-line-checkbox-list
|
|
17229
|
+
[collection]="viewModelsFiltered"
|
|
16686
17230
|
[readonly]="readonly"
|
|
16687
|
-
|
|
16688
|
-
|
|
16689
|
-
></co-input-combo-box>
|
|
17231
|
+
(checked)="handleChecked($event)"
|
|
17232
|
+
></co-transaction-line-checkbox-list>
|
|
16690
17233
|
`,
|
|
16691
17234
|
encapsulation: ViewEncapsulation.None
|
|
16692
17235
|
},] }
|
|
@@ -16702,7 +17245,8 @@ TransactionLineSupplierModule.decorators = [
|
|
|
16702
17245
|
imports: [
|
|
16703
17246
|
CommonModule,
|
|
16704
17247
|
PipeModule,
|
|
16705
|
-
InputComboBoxModule
|
|
17248
|
+
InputComboBoxModule,
|
|
17249
|
+
TransactionLineCheckboxModule
|
|
16706
17250
|
],
|
|
16707
17251
|
declarations: [
|
|
16708
17252
|
TransactionLineSupplierComponent
|
|
@@ -17272,6 +17816,8 @@ TransactionButtonBarComponent.decorators = [
|
|
|
17272
17816
|
template: `
|
|
17273
17817
|
<div class="button-bar-wrapper">
|
|
17274
17818
|
<co-transaction-button-bar-button *ngFor="let button of buttons; let index = index"
|
|
17819
|
+
[transactionInfoResponse]="transactionInfoResponse"
|
|
17820
|
+
[component]="button.component"
|
|
17275
17821
|
[class.selected]="selectedCategory === button.category"
|
|
17276
17822
|
[title]="button.title"
|
|
17277
17823
|
[iconName]="button.icon"
|
|
@@ -17287,38 +17833,125 @@ TransactionButtonBarComponent.ctorParameters = () => [
|
|
|
17287
17833
|
];
|
|
17288
17834
|
TransactionButtonBarComponent.propDecorators = {
|
|
17289
17835
|
transactionType: [{ type: Input }],
|
|
17836
|
+
transactionInfoResponse: [{ type: Input }],
|
|
17290
17837
|
selectedCategory: [{ type: Input }],
|
|
17291
17838
|
buttonClicked: [{ type: Output }],
|
|
17292
17839
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-button-bar",] }]
|
|
17293
17840
|
};
|
|
17294
17841
|
|
|
17295
|
-
class TransactionButtonBarButtonComponent {
|
|
17296
|
-
constructor(iconCacheService) {
|
|
17842
|
+
class TransactionButtonBarButtonComponent extends TransactionButtonBarButtonBaseComponent {
|
|
17843
|
+
constructor(iconCacheService, _compFactoryResolver, appRef, injector) {
|
|
17844
|
+
super();
|
|
17297
17845
|
this.iconCacheService = iconCacheService;
|
|
17846
|
+
this._compFactoryResolver = _compFactoryResolver;
|
|
17847
|
+
this.appRef = appRef;
|
|
17848
|
+
this.injector = injector;
|
|
17298
17849
|
this.showClass = true;
|
|
17850
|
+
this.useComponent = false;
|
|
17851
|
+
}
|
|
17852
|
+
set child(content) {
|
|
17853
|
+
this.buttonWrapper = content;
|
|
17854
|
+
this._checkAndCreateComponent();
|
|
17855
|
+
}
|
|
17856
|
+
get isLoaderShowing() {
|
|
17857
|
+
return this.showLoader;
|
|
17858
|
+
}
|
|
17859
|
+
ngOnInit() {
|
|
17860
|
+
this._checkAndCreateComponent();
|
|
17861
|
+
}
|
|
17862
|
+
_checkAndCreateComponent() {
|
|
17863
|
+
if (this.component && this.buttonWrapper && this.buttonWrapper.nativeElement) {
|
|
17864
|
+
this.useComponent = true;
|
|
17865
|
+
const componentRef = this._compFactoryResolver.resolveComponentFactory(this.component).create(this.injector);
|
|
17866
|
+
componentRef.instance.transactionInfoResponse = this.transactionInfoResponse;
|
|
17867
|
+
componentRef.instance.iconName = this.iconName;
|
|
17868
|
+
componentRef.instance.title = this.title;
|
|
17869
|
+
componentRef.instance.showLoader = this.showLoader;
|
|
17870
|
+
componentRef.instance.checked = this.checked;
|
|
17871
|
+
componentRef.instance.showLoaderChange.subscribe((value) => this.showLoader = value);
|
|
17872
|
+
componentRef.instance.checkedChange.subscribe((value) => this.checked = value);
|
|
17873
|
+
this.appRef.attachView(componentRef.hostView);
|
|
17874
|
+
const domElem = componentRef.hostView
|
|
17875
|
+
.rootNodes[0];
|
|
17876
|
+
this.buttonWrapper.nativeElement.appendChild(domElem);
|
|
17877
|
+
componentRef.onDestroy(() => {
|
|
17878
|
+
this.appRef.detachView(componentRef.hostView);
|
|
17879
|
+
});
|
|
17880
|
+
}
|
|
17299
17881
|
}
|
|
17300
17882
|
}
|
|
17301
17883
|
TransactionButtonBarButtonComponent.decorators = [
|
|
17302
17884
|
{ type: Component, args: [{
|
|
17303
17885
|
selector: "co-transaction-button-bar-button",
|
|
17304
17886
|
template: `
|
|
17305
|
-
<
|
|
17306
|
-
|
|
17307
|
-
<
|
|
17887
|
+
<co-loader *ngIf="showLoader"></co-loader>
|
|
17888
|
+
<div class="button-wrapper" #buttonWrapper>
|
|
17889
|
+
<co-animated-checkbox [checked]="checked"></co-animated-checkbox>
|
|
17890
|
+
<ng-container *ngIf="!useComponent">
|
|
17891
|
+
<co-icon class="co-transaction-button-bar-icon" [iconData]="iconCacheService.getIcon(iconName)"></co-icon>
|
|
17892
|
+
<span class="button-title" [textContent]="title | localize"></span>
|
|
17893
|
+
</ng-container>
|
|
17308
17894
|
</div>
|
|
17309
17895
|
`,
|
|
17310
17896
|
encapsulation: ViewEncapsulation.None
|
|
17311
17897
|
},] }
|
|
17312
17898
|
];
|
|
17313
17899
|
TransactionButtonBarButtonComponent.ctorParameters = () => [
|
|
17314
|
-
{ type: IconCacheService }
|
|
17900
|
+
{ type: IconCacheService },
|
|
17901
|
+
{ type: ComponentFactoryResolver },
|
|
17902
|
+
{ type: ApplicationRef },
|
|
17903
|
+
{ type: Injector }
|
|
17315
17904
|
];
|
|
17316
17905
|
TransactionButtonBarButtonComponent.propDecorators = {
|
|
17317
|
-
|
|
17318
|
-
|
|
17319
|
-
showClass: [{ type: HostBinding, args: ['class.co-transaction-button-bar-button',] }]
|
|
17906
|
+
child: [{ type: ViewChild, args: ["buttonWrapper", { read: ElementRef },] }],
|
|
17907
|
+
component: [{ type: Input }],
|
|
17908
|
+
showClass: [{ type: HostBinding, args: ['class.co-transaction-button-bar-button',] }],
|
|
17909
|
+
isLoaderShowing: [{ type: HostBinding, args: ['class.show-loader',] }]
|
|
17910
|
+
};
|
|
17911
|
+
|
|
17912
|
+
class AnimatedCheckboxComponent {
|
|
17913
|
+
constructor() {
|
|
17914
|
+
this.checked = false;
|
|
17915
|
+
}
|
|
17916
|
+
showClass() {
|
|
17917
|
+
return true;
|
|
17918
|
+
}
|
|
17919
|
+
}
|
|
17920
|
+
AnimatedCheckboxComponent.decorators = [
|
|
17921
|
+
{ type: Component, args: [{
|
|
17922
|
+
selector: "co-animated-checkbox",
|
|
17923
|
+
template: `
|
|
17924
|
+
<div class="checkbox">
|
|
17925
|
+
<div class="checkmark" [class.show]="checked"></div>
|
|
17926
|
+
</div>
|
|
17927
|
+
<div class="label" *ngIf="label" [textContent]="label | localize"></div>
|
|
17928
|
+
`,
|
|
17929
|
+
encapsulation: ViewEncapsulation.None
|
|
17930
|
+
},] }
|
|
17931
|
+
];
|
|
17932
|
+
AnimatedCheckboxComponent.propDecorators = {
|
|
17933
|
+
checked: [{ type: Input }],
|
|
17934
|
+
label: [{ type: Input }],
|
|
17935
|
+
showClass: [{ type: HostBinding, args: ["class.co-animated-checkbox",] }]
|
|
17320
17936
|
};
|
|
17321
17937
|
|
|
17938
|
+
class AnimatedCheckboxModule {
|
|
17939
|
+
}
|
|
17940
|
+
AnimatedCheckboxModule.decorators = [
|
|
17941
|
+
{ type: NgModule, args: [{
|
|
17942
|
+
imports: [
|
|
17943
|
+
CommonModule,
|
|
17944
|
+
PipeModule
|
|
17945
|
+
],
|
|
17946
|
+
declarations: [
|
|
17947
|
+
AnimatedCheckboxComponent
|
|
17948
|
+
],
|
|
17949
|
+
exports: [
|
|
17950
|
+
AnimatedCheckboxComponent
|
|
17951
|
+
]
|
|
17952
|
+
},] }
|
|
17953
|
+
];
|
|
17954
|
+
|
|
17322
17955
|
class TransactionButtonBarModule {
|
|
17323
17956
|
}
|
|
17324
17957
|
TransactionButtonBarModule.decorators = [
|
|
@@ -17328,14 +17961,18 @@ TransactionButtonBarModule.decorators = [
|
|
|
17328
17961
|
CoreModule,
|
|
17329
17962
|
IconModule,
|
|
17330
17963
|
PipeModule,
|
|
17964
|
+
LoaderModule,
|
|
17965
|
+
AnimatedCheckboxModule,
|
|
17331
17966
|
],
|
|
17332
17967
|
declarations: [
|
|
17333
17968
|
TransactionButtonBarComponent,
|
|
17334
|
-
TransactionButtonBarButtonComponent
|
|
17969
|
+
TransactionButtonBarButtonComponent,
|
|
17970
|
+
TransactionSalesPurchaseButtonBarButtonComponent
|
|
17335
17971
|
],
|
|
17336
17972
|
exports: [
|
|
17337
17973
|
TransactionButtonBarComponent,
|
|
17338
|
-
TransactionButtonBarButtonComponent
|
|
17974
|
+
TransactionButtonBarButtonComponent,
|
|
17975
|
+
TransactionSalesPurchaseButtonBarButtonComponent
|
|
17339
17976
|
]
|
|
17340
17977
|
},] }
|
|
17341
17978
|
];
|
|
@@ -18071,7 +18708,7 @@ DialogTransactionLineDeliveryMethodComponent.decorators = [
|
|
|
18071
18708
|
<co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
18072
18709
|
</ng-template>
|
|
18073
18710
|
<ng-template #footerTemplate>
|
|
18074
|
-
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
18711
|
+
<div class="co-transaction-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
18075
18712
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
18076
18713
|
</div>
|
|
18077
18714
|
</ng-template>
|
|
@@ -18127,7 +18764,7 @@ DialogTransactionLineVatComponent.decorators = [
|
|
|
18127
18764
|
<co-dialog-header-search [title]="'VAT'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
18128
18765
|
</ng-template>
|
|
18129
18766
|
<ng-template #footerTemplate>
|
|
18130
|
-
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
18767
|
+
<div class="co-transaction-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
18131
18768
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
18132
18769
|
</div>
|
|
18133
18770
|
</ng-template>
|
|
@@ -18204,10 +18841,6 @@ DialogTransactionLineDiscountComponent.decorators = [
|
|
|
18204
18841
|
<co-transaction-line-special-discount [transactionLine]="transactionLine"></co-transaction-line-special-discount>
|
|
18205
18842
|
<co-transaction-line-quantum-discount [transactionLine]="transactionLine"></co-transaction-line-quantum-discount>
|
|
18206
18843
|
</div>
|
|
18207
|
-
<div class="two-column-grid">
|
|
18208
|
-
<co-input-text [placeholder]="'SURCHARGE_AMOUNT' | localize" [model]="transactionLine.surchargeAmount" [readonly]="readonly"></co-input-text>
|
|
18209
|
-
<co-input-text [placeholder]="'BUSINESS_RULE_DISCOUNT' | localize" [model]="'NIET_GEIMPLEMENTEERD'" [readonly]="readonly"></co-input-text>
|
|
18210
|
-
</div>
|
|
18211
18844
|
<div class="transaction-line-discount-overview">
|
|
18212
18845
|
<div class="transaction-line-discount-overview-item">
|
|
18213
18846
|
<div class="title" [textContent]="'TRANSACTION_DISCOUNT' | localize"></div>
|
|
@@ -18215,7 +18848,7 @@ DialogTransactionLineDiscountComponent.decorators = [
|
|
|
18215
18848
|
</div>
|
|
18216
18849
|
<div class="transaction-line-discount-overview-item">
|
|
18217
18850
|
<div class="title" [textContent]="'BUSINESS_RULE_DISCOUNT' | localize"></div>
|
|
18218
|
-
<div class="value" [textContent]="
|
|
18851
|
+
<div class="value" [class.transaction-negative-value]="transactionLine.transBusinessRuleDiscount < 0" [textContent]="transactionLine.transBusinessRuleDiscount | coCurrency"></div>
|
|
18219
18852
|
</div>
|
|
18220
18853
|
<div class="transaction-line-discount-overview-item">
|
|
18221
18854
|
<div class="title" [textContent]="'QUANTUM_DISCOUNT' | localize"></div>
|
|
@@ -18234,7 +18867,7 @@ DialogTransactionLineDiscountComponent.decorators = [
|
|
|
18234
18867
|
</co-dialog>
|
|
18235
18868
|
<ng-template #dialogHeader>
|
|
18236
18869
|
<div class="co-transaction-dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
18237
|
-
<div class="transaction-line-button
|
|
18870
|
+
<div class="transaction-line-button full-width" (click)="openThePriceListDialog()">
|
|
18238
18871
|
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.priceListDescription"></span>
|
|
18239
18872
|
</div>
|
|
18240
18873
|
</ng-template>
|
|
@@ -18276,7 +18909,7 @@ DialogTransactionLinePriceListComponent.decorators = [
|
|
|
18276
18909
|
<co-dialog-header-search [title]="'PRICE_LIST'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
18277
18910
|
</ng-template>
|
|
18278
18911
|
<ng-template #footerTemplate>
|
|
18279
|
-
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
18912
|
+
<div class="co-transaction-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
18280
18913
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
18281
18914
|
</div>
|
|
18282
18915
|
</ng-template>
|
|
@@ -18533,12 +19166,13 @@ class TransactionQuickAccessComponent {
|
|
|
18533
19166
|
this.appRef = appRef;
|
|
18534
19167
|
this.injector = injector;
|
|
18535
19168
|
}
|
|
18536
|
-
set
|
|
18537
|
-
this.
|
|
19169
|
+
set transaction(value) {
|
|
19170
|
+
this._transaction = value;
|
|
19171
|
+
this.transactionType = this._transaction.transactionInfo ? this._transaction.transactionInfo.transactionKind : TransactionKind.SalesOrder;
|
|
18538
19172
|
this._prepareContent();
|
|
18539
19173
|
}
|
|
18540
|
-
get
|
|
18541
|
-
return this.
|
|
19174
|
+
get transaction() {
|
|
19175
|
+
return this._transaction;
|
|
18542
19176
|
}
|
|
18543
19177
|
set activeCategory(value) {
|
|
18544
19178
|
this._activeCategory = value;
|
|
@@ -18551,7 +19185,7 @@ class TransactionQuickAccessComponent {
|
|
|
18551
19185
|
return true;
|
|
18552
19186
|
}
|
|
18553
19187
|
_prepareContent() {
|
|
18554
|
-
if (!this.
|
|
19188
|
+
if (!this.transactionType || !this._activeCategory || !this.quickAccessContainer) {
|
|
18555
19189
|
return;
|
|
18556
19190
|
}
|
|
18557
19191
|
const componentClass = this._mappingService.getQuickAccessComponent(this.transactionType, this.activeCategory);
|
|
@@ -18564,6 +19198,7 @@ class TransactionQuickAccessComponent {
|
|
|
18564
19198
|
this._componentRef = this._compFactoryResolver
|
|
18565
19199
|
.resolveComponentFactory(componentClass)
|
|
18566
19200
|
.create(this.injector);
|
|
19201
|
+
this._componentRef.instance.transaction = this.transaction;
|
|
18567
19202
|
this.appRef.attachView(this._componentRef.hostView);
|
|
18568
19203
|
const domElem = this._componentRef.hostView
|
|
18569
19204
|
.rootNodes[0];
|
|
@@ -18591,7 +19226,7 @@ TransactionQuickAccessComponent.ctorParameters = () => [
|
|
|
18591
19226
|
];
|
|
18592
19227
|
TransactionQuickAccessComponent.propDecorators = {
|
|
18593
19228
|
quickAccessContainer: [{ type: ViewChild, args: ['quickAccessContent', { read: ElementRef },] }],
|
|
18594
|
-
|
|
19229
|
+
transaction: [{ type: Input }],
|
|
18595
19230
|
activeCategory: [{ type: Input }],
|
|
18596
19231
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access",] }]
|
|
18597
19232
|
};
|
|
@@ -18656,6 +19291,96 @@ TransactionQuickAccessOverviewModule.decorators = [
|
|
|
18656
19291
|
},] }
|
|
18657
19292
|
];
|
|
18658
19293
|
|
|
19294
|
+
class TransactionSendButtonDialogComponent {
|
|
19295
|
+
constructor(iconService) {
|
|
19296
|
+
this.iconService = iconService;
|
|
19297
|
+
this.icons = Icon;
|
|
19298
|
+
this.label = 'SEND';
|
|
19299
|
+
this.showSendIcon = true;
|
|
19300
|
+
this.showHoverIcon = true;
|
|
19301
|
+
this.sendButtonClick = new EventEmitter();
|
|
19302
|
+
// @HostListener("mouseenter", ["$event"])
|
|
19303
|
+
// public mouseEnter(event: MouseEvent) {
|
|
19304
|
+
// this.showOpenDialogIcon = true;
|
|
19305
|
+
// }
|
|
19306
|
+
//
|
|
19307
|
+
// @HostListener("mouseleave", ["$event"])
|
|
19308
|
+
// public mouseLeave(event: MouseEvent) {
|
|
19309
|
+
// this.showOpenDialogIcon = false;
|
|
19310
|
+
// }
|
|
19311
|
+
this.showDialog = false;
|
|
19312
|
+
this.showOpenDialogIcon = false;
|
|
19313
|
+
}
|
|
19314
|
+
showClass() {
|
|
19315
|
+
return true;
|
|
19316
|
+
}
|
|
19317
|
+
openDialog() {
|
|
19318
|
+
this.showDialog = !this.showDialog;
|
|
19319
|
+
}
|
|
19320
|
+
}
|
|
19321
|
+
TransactionSendButtonDialogComponent.decorators = [
|
|
19322
|
+
{ type: Component, args: [{
|
|
19323
|
+
selector: "co-transaction-send-button-dialog",
|
|
19324
|
+
template: `
|
|
19325
|
+
<div class="transaction-send-button-content-wrapper" (mouseenter)="showOpenDialogIcon = true" (mouseleave)="showOpenDialogIcon = false">
|
|
19326
|
+
<div class="transaction-send-button-wrapper" (click)="sendButtonClick.emit($event)">
|
|
19327
|
+
<div class="transaction-send-button-icon-wrapper">
|
|
19328
|
+
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.ShareSolid)"></co-icon>
|
|
19329
|
+
<co-icon *ngIf="showSendIcon" class="button-icon send-type-icon" [iconData]="iconService.getIcon(icons.AtSolid)"></co-icon>
|
|
19330
|
+
</div>
|
|
19331
|
+
<span class="button-title" [textContent]="label | localize"></span>
|
|
19332
|
+
</div>
|
|
19333
|
+
<div class="transaction-send-button-hover-icon-wrapper" *ngIf="showHoverIcon">
|
|
19334
|
+
<co-icon *ngIf="showOpenDialogIcon" class="hover-icon" @showHideHoverIcon
|
|
19335
|
+
[iconData]="iconService.getIcon(icons.EllipsisVerticalSolid)" (click)="openDialog()">
|
|
19336
|
+
</co-icon>
|
|
19337
|
+
</div>
|
|
19338
|
+
</div>
|
|
19339
|
+
<ione-send-method-dialog
|
|
19340
|
+
[showDialog]="showDialog"
|
|
19341
|
+
></ione-send-method-dialog>
|
|
19342
|
+
`,
|
|
19343
|
+
animations: [
|
|
19344
|
+
trigger("showHideHoverIcon", [
|
|
19345
|
+
state("void", style({ width: 0, opacity: 0 })),
|
|
19346
|
+
state("*", style({ width: "*", opacity: 1 })),
|
|
19347
|
+
transition("void => *", animate("200ms ease-in-out")),
|
|
19348
|
+
transition("* => void", animate("200ms ease-out"))
|
|
19349
|
+
])
|
|
19350
|
+
],
|
|
19351
|
+
encapsulation: ViewEncapsulation.None
|
|
19352
|
+
},] }
|
|
19353
|
+
];
|
|
19354
|
+
TransactionSendButtonDialogComponent.ctorParameters = () => [
|
|
19355
|
+
{ type: IconCacheService }
|
|
19356
|
+
];
|
|
19357
|
+
TransactionSendButtonDialogComponent.propDecorators = {
|
|
19358
|
+
label: [{ type: Input }],
|
|
19359
|
+
showSendIcon: [{ type: Input }],
|
|
19360
|
+
showHoverIcon: [{ type: Input }],
|
|
19361
|
+
sendButtonClick: [{ type: Output }],
|
|
19362
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-send-button-dialog",] }]
|
|
19363
|
+
};
|
|
19364
|
+
|
|
19365
|
+
class TransactionSendButtonDialogModule {
|
|
19366
|
+
}
|
|
19367
|
+
TransactionSendButtonDialogModule.decorators = [
|
|
19368
|
+
{ type: NgModule, args: [{
|
|
19369
|
+
imports: [
|
|
19370
|
+
CommonModule,
|
|
19371
|
+
IconModule,
|
|
19372
|
+
PipeModule,
|
|
19373
|
+
SendMethodDialogModule
|
|
19374
|
+
],
|
|
19375
|
+
declarations: [
|
|
19376
|
+
TransactionSendButtonDialogComponent
|
|
19377
|
+
],
|
|
19378
|
+
exports: [
|
|
19379
|
+
TransactionSendButtonDialogComponent
|
|
19380
|
+
]
|
|
19381
|
+
},] }
|
|
19382
|
+
];
|
|
19383
|
+
|
|
18659
19384
|
class TransactionQuickAccessOrderDeliveryModule {
|
|
18660
19385
|
}
|
|
18661
19386
|
TransactionQuickAccessOrderDeliveryModule.decorators = [
|
|
@@ -18666,7 +19391,8 @@ TransactionQuickAccessOrderDeliveryModule.decorators = [
|
|
|
18666
19391
|
IconModule,
|
|
18667
19392
|
PipeModule,
|
|
18668
19393
|
InputCheckboxModule,
|
|
18669
|
-
SendMethodDialogModule
|
|
19394
|
+
SendMethodDialogModule,
|
|
19395
|
+
TransactionSendButtonDialogModule
|
|
18670
19396
|
],
|
|
18671
19397
|
declarations: [
|
|
18672
19398
|
TransactionQuickAccessOrderDeliveryComponent
|
|
@@ -18677,6 +19403,27 @@ TransactionQuickAccessOrderDeliveryModule.decorators = [
|
|
|
18677
19403
|
},] }
|
|
18678
19404
|
];
|
|
18679
19405
|
|
|
19406
|
+
class TransactionQuickAccessOrderPurchaseModule {
|
|
19407
|
+
}
|
|
19408
|
+
TransactionQuickAccessOrderPurchaseModule.decorators = [
|
|
19409
|
+
{ type: NgModule, args: [{
|
|
19410
|
+
imports: [
|
|
19411
|
+
CommonModule,
|
|
19412
|
+
InputCheckboxModule,
|
|
19413
|
+
IconModule,
|
|
19414
|
+
PipeModule,
|
|
19415
|
+
SendMethodDialogModule,
|
|
19416
|
+
TransactionSendButtonDialogModule
|
|
19417
|
+
],
|
|
19418
|
+
declarations: [
|
|
19419
|
+
TransactionQuickAccessOrderPurchaseComponent
|
|
19420
|
+
],
|
|
19421
|
+
exports: [
|
|
19422
|
+
TransactionQuickAccessOrderPurchaseComponent
|
|
19423
|
+
]
|
|
19424
|
+
},] }
|
|
19425
|
+
];
|
|
19426
|
+
|
|
18680
19427
|
class TransactionQuickAccessModule {
|
|
18681
19428
|
}
|
|
18682
19429
|
TransactionQuickAccessModule.decorators = [
|
|
@@ -18691,7 +19438,8 @@ TransactionQuickAccessModule.decorators = [
|
|
|
18691
19438
|
TransactionQuickAccessOrderConfirmationModule,
|
|
18692
19439
|
TransactionQuickAccessReceivedGoodsModule,
|
|
18693
19440
|
TransactionQuickAccessOverviewModule,
|
|
18694
|
-
TransactionQuickAccessOrderDeliveryModule
|
|
19441
|
+
TransactionQuickAccessOrderDeliveryModule,
|
|
19442
|
+
TransactionQuickAccessOrderPurchaseModule
|
|
18695
19443
|
],
|
|
18696
19444
|
declarations: [
|
|
18697
19445
|
TransactionQuickAccessComponent
|
|
@@ -19052,7 +19800,7 @@ TransactionReceivedGoodsGridComponent.propDecorators = {
|
|
|
19052
19800
|
};
|
|
19053
19801
|
|
|
19054
19802
|
// @ts-ignore
|
|
19055
|
-
class TransactionLineWarehouseLocationComponent extends
|
|
19803
|
+
class TransactionLineWarehouseLocationComponent extends TransactionFilterPopupBaseComponent {
|
|
19056
19804
|
constructor(_articleService) {
|
|
19057
19805
|
super();
|
|
19058
19806
|
this._articleService = _articleService;
|
|
@@ -19433,6 +20181,7 @@ class TransactionBaseLineComponent extends TransactionLinesLineBaseComponent {
|
|
|
19433
20181
|
this.checkbox = false;
|
|
19434
20182
|
this.checkboxValue = false;
|
|
19435
20183
|
this.actionButtons = true;
|
|
20184
|
+
this.checkboxValueChanged = new EventEmitter();
|
|
19436
20185
|
}
|
|
19437
20186
|
showClass() {
|
|
19438
20187
|
return true;
|
|
@@ -19452,8 +20201,6 @@ class TransactionBaseLineComponent extends TransactionLinesLineBaseComponent {
|
|
|
19452
20201
|
this._transactionEventService.openSidePanel.next(line);
|
|
19453
20202
|
this.waitingForUserAction.next(true);
|
|
19454
20203
|
}
|
|
19455
|
-
handleCheckboxValueChanged() {
|
|
19456
|
-
}
|
|
19457
20204
|
}
|
|
19458
20205
|
TransactionBaseLineComponent.decorators = [
|
|
19459
20206
|
{ type: Component, args: [{
|
|
@@ -19464,7 +20211,7 @@ TransactionBaseLineComponent.decorators = [
|
|
|
19464
20211
|
<div class="transaction-base-line-section">
|
|
19465
20212
|
<co-input-checkbox *ngIf="checkbox" class="transaction-line-checkbox"
|
|
19466
20213
|
[model]="checkboxValue"
|
|
19467
|
-
(modelChange)="
|
|
20214
|
+
(modelChange)="checkboxValueChanged.emit($event)"
|
|
19468
20215
|
></co-input-checkbox>
|
|
19469
20216
|
<co-transaction-line-image-and-description
|
|
19470
20217
|
*ngIf="line.isArticle" class="transaction-line-image-and-description-wrapper"
|
|
@@ -19504,6 +20251,7 @@ TransactionBaseLineComponent.propDecorators = {
|
|
|
19504
20251
|
checkbox: [{ type: Input }],
|
|
19505
20252
|
checkboxValue: [{ type: Input }],
|
|
19506
20253
|
actionButtons: [{ type: Input }],
|
|
20254
|
+
checkboxValueChanged: [{ type: Output }],
|
|
19507
20255
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-base-line",] }]
|
|
19508
20256
|
};
|
|
19509
20257
|
|
|
@@ -19775,6 +20523,66 @@ TransactionLineDeliveryDateButtonModule.decorators = [
|
|
|
19775
20523
|
},] }
|
|
19776
20524
|
];
|
|
19777
20525
|
|
|
20526
|
+
class TransactionLineAmountComponent extends TransactionLineBaseComponent {
|
|
20527
|
+
constructor(_service) {
|
|
20528
|
+
super();
|
|
20529
|
+
this._service = _service;
|
|
20530
|
+
}
|
|
20531
|
+
showClass() {
|
|
20532
|
+
return true;
|
|
20533
|
+
}
|
|
20534
|
+
changeLineAmount(amount) {
|
|
20535
|
+
this._service.changeTransactionLineQuantity(this.transactionLine.uuid, amount).then((value) => {
|
|
20536
|
+
if (!value || !value.isSuccess) {
|
|
20537
|
+
this.localAmount = this.transactionLine.amount;
|
|
20538
|
+
return;
|
|
20539
|
+
}
|
|
20540
|
+
});
|
|
20541
|
+
}
|
|
20542
|
+
transactionLineSet() {
|
|
20543
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20544
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
20545
|
+
this.localAmount = this.transactionLine.amount;
|
|
20546
|
+
}
|
|
20547
|
+
});
|
|
20548
|
+
}
|
|
20549
|
+
}
|
|
20550
|
+
TransactionLineAmountComponent.decorators = [
|
|
20551
|
+
{ type: Component, args: [{
|
|
20552
|
+
selector: "co-transaction-line-amount",
|
|
20553
|
+
template: `
|
|
20554
|
+
<co-input-number-picker class="amount-number-picker"
|
|
20555
|
+
[(model)]="localAmount" [min]="0"
|
|
20556
|
+
[readonly]="readonly"
|
|
20557
|
+
(modelChange)="changeLineAmount($event)"></co-input-number-picker>
|
|
20558
|
+
`,
|
|
20559
|
+
encapsulation: ViewEncapsulation.None
|
|
20560
|
+
},] }
|
|
20561
|
+
];
|
|
20562
|
+
TransactionLineAmountComponent.ctorParameters = () => [
|
|
20563
|
+
{ type: TransactionService }
|
|
20564
|
+
];
|
|
20565
|
+
TransactionLineAmountComponent.propDecorators = {
|
|
20566
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-amount",] }]
|
|
20567
|
+
};
|
|
20568
|
+
|
|
20569
|
+
class TransactionLineAmountModule {
|
|
20570
|
+
}
|
|
20571
|
+
TransactionLineAmountModule.decorators = [
|
|
20572
|
+
{ type: NgModule, args: [{
|
|
20573
|
+
imports: [
|
|
20574
|
+
CommonModule,
|
|
20575
|
+
InputNumberPickerModule
|
|
20576
|
+
],
|
|
20577
|
+
declarations: [
|
|
20578
|
+
TransactionLineAmountComponent
|
|
20579
|
+
],
|
|
20580
|
+
exports: [
|
|
20581
|
+
TransactionLineAmountComponent
|
|
20582
|
+
]
|
|
20583
|
+
},] }
|
|
20584
|
+
];
|
|
20585
|
+
|
|
19778
20586
|
class TransactionOverviewLineModule {
|
|
19779
20587
|
}
|
|
19780
20588
|
TransactionOverviewLineModule.decorators = [
|
|
@@ -19800,7 +20608,8 @@ TransactionOverviewLineModule.decorators = [
|
|
|
19800
20608
|
TransactionLineDeliveryDateButtonModule,
|
|
19801
20609
|
DialogTransactionLineVatModule,
|
|
19802
20610
|
DialogTransactionLineDiscountModule,
|
|
19803
|
-
TransactionLineStatusbarModule
|
|
20611
|
+
TransactionLineStatusbarModule,
|
|
20612
|
+
TransactionLineAmountModule
|
|
19804
20613
|
],
|
|
19805
20614
|
declarations: [
|
|
19806
20615
|
TransactionOverviewLineComponent
|
|
@@ -19860,6 +20669,155 @@ TransactionReceiveGoodsLineModule.decorators = [
|
|
|
19860
20669
|
},] }
|
|
19861
20670
|
];
|
|
19862
20671
|
|
|
20672
|
+
class TransactionLineSupplierButtonComponent extends TransactionLineBaseComponent {
|
|
20673
|
+
constructor(_service) {
|
|
20674
|
+
super();
|
|
20675
|
+
this._service = _service;
|
|
20676
|
+
this.showDialogSupplier = false;
|
|
20677
|
+
}
|
|
20678
|
+
showClass() {
|
|
20679
|
+
return true;
|
|
20680
|
+
}
|
|
20681
|
+
transactionLineSet() {
|
|
20682
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20683
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
20684
|
+
this._service.getSupplierFullObjectByRelationId(this.transactionLine.supplierId).then((supp) => {
|
|
20685
|
+
this.transactionLine.supplierDescription = supp ? supp.displayName : "";
|
|
20686
|
+
});
|
|
20687
|
+
}
|
|
20688
|
+
});
|
|
20689
|
+
}
|
|
20690
|
+
}
|
|
20691
|
+
TransactionLineSupplierButtonComponent.decorators = [
|
|
20692
|
+
{ type: Component, args: [{
|
|
20693
|
+
selector: "co-transaction-line-supplier-button",
|
|
20694
|
+
template: `
|
|
20695
|
+
<div class="transaction-line-button big" (click)="showDialogSupplier = true">
|
|
20696
|
+
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.supplierDescription"></span>
|
|
20697
|
+
</div>
|
|
20698
|
+
<co-dialog-transaction-line-supplier *ngIf="showDialogSupplier"
|
|
20699
|
+
[autoClose]="true"
|
|
20700
|
+
[transactionInfo]="transactionInfo"
|
|
20701
|
+
[transactionLine]="transactionLine"
|
|
20702
|
+
(close)="showDialogSupplier = false"
|
|
20703
|
+
></co-dialog-transaction-line-supplier>
|
|
20704
|
+
`,
|
|
20705
|
+
encapsulation: ViewEncapsulation.None
|
|
20706
|
+
},] }
|
|
20707
|
+
];
|
|
20708
|
+
TransactionLineSupplierButtonComponent.ctorParameters = () => [
|
|
20709
|
+
{ type: TransactionService }
|
|
20710
|
+
];
|
|
20711
|
+
TransactionLineSupplierButtonComponent.propDecorators = {
|
|
20712
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-supplier-button",] }]
|
|
20713
|
+
};
|
|
20714
|
+
|
|
20715
|
+
class DialogTransactionLineSupplierComponent extends DialogTransactionLineBaseComponent {
|
|
20716
|
+
showClass() {
|
|
20717
|
+
return true;
|
|
20718
|
+
}
|
|
20719
|
+
}
|
|
20720
|
+
DialogTransactionLineSupplierComponent.decorators = [
|
|
20721
|
+
{ type: Component, args: [{
|
|
20722
|
+
selector: "co-dialog-transaction-line-supplier",
|
|
20723
|
+
template: `
|
|
20724
|
+
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useModel" (closeClick)="handleClose(buttonType.Ok)">
|
|
20725
|
+
<co-transaction-line-supplier
|
|
20726
|
+
[autoClose]="autoClose"
|
|
20727
|
+
[useModel]="useModel"
|
|
20728
|
+
[searchText]="searchText"
|
|
20729
|
+
[transactionInfo]="transactionInfo"
|
|
20730
|
+
[transactionLine]="transactionLine"
|
|
20731
|
+
(closeAfterCommit)="handleClose(buttonType.Ok)"
|
|
20732
|
+
(valueChange)="handleValueChange($event)"></co-transaction-line-supplier>
|
|
20733
|
+
</co-dialog>
|
|
20734
|
+
<ng-template #dialogHeader>
|
|
20735
|
+
<co-dialog-header-search [title]="'SUPPLIER'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
20736
|
+
</ng-template>
|
|
20737
|
+
<ng-template #footerTemplate>
|
|
20738
|
+
<div class="co-transaction-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
20739
|
+
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
20740
|
+
</div>
|
|
20741
|
+
</ng-template>
|
|
20742
|
+
`,
|
|
20743
|
+
encapsulation: ViewEncapsulation.None
|
|
20744
|
+
},] }
|
|
20745
|
+
];
|
|
20746
|
+
DialogTransactionLineSupplierComponent.propDecorators = {
|
|
20747
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-supplier",] }]
|
|
20748
|
+
};
|
|
20749
|
+
|
|
20750
|
+
class DialogTransactionLineSupplierModule {
|
|
20751
|
+
}
|
|
20752
|
+
DialogTransactionLineSupplierModule.decorators = [
|
|
20753
|
+
{ type: NgModule, args: [{
|
|
20754
|
+
imports: [
|
|
20755
|
+
CommonModule,
|
|
20756
|
+
CoDialogModule,
|
|
20757
|
+
TransactionLineSupplierModule,
|
|
20758
|
+
PipeModule,
|
|
20759
|
+
ButtonModule,
|
|
20760
|
+
DialogHeaderSearchModule
|
|
20761
|
+
],
|
|
20762
|
+
declarations: [
|
|
20763
|
+
DialogTransactionLineSupplierComponent
|
|
20764
|
+
],
|
|
20765
|
+
exports: [
|
|
20766
|
+
DialogTransactionLineSupplierComponent
|
|
20767
|
+
]
|
|
20768
|
+
},] }
|
|
20769
|
+
];
|
|
20770
|
+
|
|
20771
|
+
class TransactionLineSupplierButtonModule {
|
|
20772
|
+
}
|
|
20773
|
+
TransactionLineSupplierButtonModule.decorators = [
|
|
20774
|
+
{ type: NgModule, args: [{
|
|
20775
|
+
imports: [
|
|
20776
|
+
CommonModule,
|
|
20777
|
+
CoDialogModule,
|
|
20778
|
+
TransactionLineSupplierModule,
|
|
20779
|
+
PipeModule,
|
|
20780
|
+
ButtonModule,
|
|
20781
|
+
DialogTransactionLineSupplierModule
|
|
20782
|
+
],
|
|
20783
|
+
declarations: [
|
|
20784
|
+
TransactionLineSupplierButtonComponent
|
|
20785
|
+
],
|
|
20786
|
+
exports: [
|
|
20787
|
+
TransactionLineSupplierButtonComponent
|
|
20788
|
+
]
|
|
20789
|
+
},] }
|
|
20790
|
+
];
|
|
20791
|
+
|
|
20792
|
+
class TransactionPurchaseLineModule {
|
|
20793
|
+
}
|
|
20794
|
+
TransactionPurchaseLineModule.decorators = [
|
|
20795
|
+
{ type: NgModule, args: [{
|
|
20796
|
+
imports: [
|
|
20797
|
+
CommonModule,
|
|
20798
|
+
TransactionBaseLineModule,
|
|
20799
|
+
TransactionLineWarehouseButtonModule,
|
|
20800
|
+
TransactionLineDeliveryButtonModule,
|
|
20801
|
+
TransactionLineDeliveryDateButtonModule,
|
|
20802
|
+
TransactionLineStatusbarModule,
|
|
20803
|
+
TransactionLinePriceModule,
|
|
20804
|
+
PipeModule,
|
|
20805
|
+
InputNumberPickerModule,
|
|
20806
|
+
EditableLabelModule,
|
|
20807
|
+
DialogTransactionLineDiscountModule,
|
|
20808
|
+
TransactionLineAmountModule,
|
|
20809
|
+
TransactionLineCommissionButtonModule,
|
|
20810
|
+
TransactionLineSupplierButtonModule
|
|
20811
|
+
],
|
|
20812
|
+
declarations: [
|
|
20813
|
+
TransactionPurchaseLineComponent
|
|
20814
|
+
],
|
|
20815
|
+
exports: [
|
|
20816
|
+
TransactionPurchaseLineComponent
|
|
20817
|
+
]
|
|
20818
|
+
},] }
|
|
20819
|
+
];
|
|
20820
|
+
|
|
19863
20821
|
class TransactionModule {
|
|
19864
20822
|
}
|
|
19865
20823
|
TransactionModule.decorators = [
|
|
@@ -19888,7 +20846,8 @@ TransactionModule.decorators = [
|
|
|
19888
20846
|
TransactionTileModule,
|
|
19889
20847
|
TransactionOverviewLineModule,
|
|
19890
20848
|
TransactionOrderDeliveryLineModule,
|
|
19891
|
-
TransactionReceiveGoodsLineModule
|
|
20849
|
+
TransactionReceiveGoodsLineModule,
|
|
20850
|
+
TransactionPurchaseLineModule
|
|
19892
20851
|
],
|
|
19893
20852
|
declarations: [
|
|
19894
20853
|
TransactionComponent
|
|
@@ -20663,8 +21622,8 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20663
21622
|
<!--Bevestigde leverdatum-->
|
|
20664
21623
|
<div class="filter-item-wrapper" lazyRender #lazyRenderConfirmedDeliveryDate="lazyRender">
|
|
20665
21624
|
<co-transaction-filter-item *ngIf="lazyRenderConfirmedDeliveryDate.isShowing"
|
|
20666
|
-
|
|
20667
|
-
|
|
21625
|
+
[placeholder]="'CONFIRMED_DELIVERY_DATE'"
|
|
21626
|
+
[customContent]="true">
|
|
20668
21627
|
<co-input-date-range
|
|
20669
21628
|
[startDate]="confirmedDeliveryStartDate"
|
|
20670
21629
|
[endDate]="confirmedDeliveryEndDate"
|
|
@@ -20678,8 +21637,8 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20678
21637
|
<!--Serienummer-->
|
|
20679
21638
|
<div class="filter-item-wrapper" lazyRender #lazyRenderSerialNumber="lazyRender">
|
|
20680
21639
|
<co-transaction-filter-item *ngIf="lazyRenderSerialNumber.isShowing"
|
|
20681
|
-
|
|
20682
|
-
|
|
21640
|
+
[placeholder]="'SERIAL_NUMBER'"
|
|
21641
|
+
[customContent]="true">
|
|
20683
21642
|
<co-input-text [(model)]="searchRequest.serialNumber"
|
|
20684
21643
|
[placeholder]="searchPlaceholder | localize"></co-input-text>
|
|
20685
21644
|
</co-transaction-filter-item>
|
|
@@ -20688,8 +21647,8 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20688
21647
|
<!--Batchnummer-->
|
|
20689
21648
|
<div class="filter-item-wrapper" lazyRender #lazyRenderBatchNumber="lazyRender">
|
|
20690
21649
|
<co-transaction-filter-item *ngIf="lazyRenderBatchNumber.isShowing"
|
|
20691
|
-
|
|
20692
|
-
|
|
21650
|
+
[placeholder]="'BATCH_NUMBER'"
|
|
21651
|
+
[customContent]="true">
|
|
20693
21652
|
<co-input-text [(model)]="searchRequest.batchNumber"
|
|
20694
21653
|
[placeholder]="searchPlaceholder | localize"></co-input-text>
|
|
20695
21654
|
</co-transaction-filter-item>
|
|
@@ -20699,7 +21658,7 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20699
21658
|
<div class="filter-item-wrapper" lazyRender #lazyRenderDelivered="lazyRender">
|
|
20700
21659
|
<co-transaction-filter-historic-state *ngIf="lazyRenderDelivered.isShowing"
|
|
20701
21660
|
[label]="'DELIVERED'"
|
|
20702
|
-
(
|
|
21661
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityDelivered')"
|
|
20703
21662
|
></co-transaction-filter-historic-state>
|
|
20704
21663
|
</div>
|
|
20705
21664
|
|
|
@@ -20707,7 +21666,7 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20707
21666
|
<div class="filter-item-wrapper" lazyRender #lazyRenderInvoiced="lazyRender">
|
|
20708
21667
|
<co-transaction-filter-historic-state *ngIf="lazyRenderInvoiced.isShowing"
|
|
20709
21668
|
[label]="'INVOICED'"
|
|
20710
|
-
(
|
|
21669
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityInvoiced')"
|
|
20711
21670
|
></co-transaction-filter-historic-state>
|
|
20712
21671
|
</div>
|
|
20713
21672
|
|
|
@@ -20715,7 +21674,7 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20715
21674
|
<div class="filter-item-wrapper" lazyRender #lazyRenderReceived="lazyRender">
|
|
20716
21675
|
<co-transaction-filter-historic-state *ngIf="lazyRenderReceived.isShowing"
|
|
20717
21676
|
[label]="'RECEIVED_DELIVERED'"
|
|
20718
|
-
(
|
|
21677
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityReceived')"
|
|
20719
21678
|
></co-transaction-filter-historic-state>
|
|
20720
21679
|
</div>
|
|
20721
21680
|
|
|
@@ -20723,15 +21682,15 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20723
21682
|
<div class="filter-item-wrapper" lazyRender #lazyRenderConfirmed="lazyRender">
|
|
20724
21683
|
<co-transaction-filter-historic-state *ngIf="lazyRenderConfirmed.isShowing"
|
|
20725
21684
|
[label]="'CONFIRMED'"
|
|
20726
|
-
(
|
|
21685
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityConfirmed')"
|
|
20727
21686
|
></co-transaction-filter-historic-state>
|
|
20728
21687
|
</div>
|
|
20729
21688
|
|
|
20730
21689
|
<!--Aankomstdatum-->
|
|
20731
21690
|
<div class="filter-item-wrapper" lazyRender #lazyRenderArrivalDate="lazyRender">
|
|
20732
21691
|
<co-transaction-filter-item *ngIf="lazyRenderArrivalDate.isShowing"
|
|
20733
|
-
|
|
20734
|
-
|
|
21692
|
+
[placeholder]="'ARRIVAL_DATE'"
|
|
21693
|
+
[customContent]="true">
|
|
20735
21694
|
<co-input-date-range
|
|
20736
21695
|
[startDate]="arrivalStartDate"
|
|
20737
21696
|
[endDate]="arrivalEndDate"
|
|
@@ -20746,7 +21705,7 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20746
21705
|
<div class="filter-item-wrapper" lazyRender #lazyRenderAllocated="lazyRender">
|
|
20747
21706
|
<co-transaction-filter-historic-state *ngIf="lazyRenderAllocated.isShowing"
|
|
20748
21707
|
[label]="'ALLOCATED'"
|
|
20749
|
-
(
|
|
21708
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityAllocated')"
|
|
20750
21709
|
></co-transaction-filter-historic-state>
|
|
20751
21710
|
</div>
|
|
20752
21711
|
|
|
@@ -20754,7 +21713,7 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20754
21713
|
<div class="filter-item-wrapper" lazyRender #lazyRenderToBePicked="lazyRender">
|
|
20755
21714
|
<co-transaction-filter-historic-state *ngIf="lazyRenderToBePicked.isShowing"
|
|
20756
21715
|
[label]="'TO_BE_PICKED'"
|
|
20757
|
-
(
|
|
21716
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityToBePicked')"
|
|
20758
21717
|
></co-transaction-filter-historic-state>
|
|
20759
21718
|
</div>
|
|
20760
21719
|
|
|
@@ -20762,7 +21721,7 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20762
21721
|
<div class="filter-item-wrapper" lazyRender #lazyRenderPicked="lazyRender">
|
|
20763
21722
|
<co-transaction-filter-historic-state *ngIf="lazyRenderPicked.isShowing"
|
|
20764
21723
|
[label]="'PICKED'"
|
|
20765
|
-
(
|
|
21724
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityPicked')"
|
|
20766
21725
|
></co-transaction-filter-historic-state>
|
|
20767
21726
|
</div>
|
|
20768
21727
|
|
|
@@ -20784,37 +21743,37 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
20784
21743
|
<!--Magazijn-->
|
|
20785
21744
|
<div class="filter-item-wrapper" lazyRender #lazyRenderWarehouse="lazyRender">
|
|
20786
21745
|
<co-transaction-filter-item *ngIf="lazyRenderWarehouse.isShowing"
|
|
20787
|
-
|
|
20788
|
-
|
|
20789
|
-
|
|
20790
|
-
|
|
21746
|
+
[placeholder]="'WAREHOUSE'"
|
|
21747
|
+
[singleSelect]="true"
|
|
21748
|
+
[collection]="warehouses"
|
|
21749
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForSingleSelect($event, 'warehouse')">
|
|
20791
21750
|
</co-transaction-filter-item>
|
|
20792
21751
|
</div>
|
|
20793
21752
|
|
|
20794
21753
|
<!--Bron magazijn-->
|
|
20795
21754
|
<div class="filter-item-wrapper" lazyRender #lazyRenderSourceWarehouse="lazyRender">
|
|
20796
21755
|
<co-transaction-filter-item *ngIf="lazyRenderSourceWarehouse.isShowing"
|
|
20797
|
-
|
|
20798
|
-
|
|
20799
|
-
|
|
20800
|
-
|
|
21756
|
+
[placeholder]="'SOURCE_WAREHOUSE'"
|
|
21757
|
+
[singleSelect]="true"
|
|
21758
|
+
[collection]="sourceWarehouses"
|
|
21759
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForSingleSelect($event, 'sourceWarehouse')">
|
|
20801
21760
|
</co-transaction-filter-item>
|
|
20802
21761
|
</div>
|
|
20803
21762
|
|
|
20804
21763
|
<!--Levermethode-->
|
|
20805
21764
|
<div class="filter-item-wrapper" lazyRender #lazyRenderDeliveryMethod="lazyRender">
|
|
20806
21765
|
<co-transaction-filter-item *ngIf="lazyRenderDeliveryMethod.isShowing"
|
|
20807
|
-
|
|
20808
|
-
|
|
20809
|
-
|
|
21766
|
+
[placeholder]="'DELIVERY_METHOD'"
|
|
21767
|
+
[collection]="deliveryMethods"
|
|
21768
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForRange($event, 'rangeDeliveryMethod')">
|
|
20810
21769
|
</co-transaction-filter-item>
|
|
20811
21770
|
</div>
|
|
20812
21771
|
|
|
20813
21772
|
<!--Leverdatum definitief-->
|
|
20814
21773
|
<div class="filter-item-wrapper" lazyRender #lazyRenderDeliveryDateDefinitive="lazyRender">
|
|
20815
21774
|
<co-transaction-filter-item *ngIf="lazyRenderDeliveryDateDefinitive.isShowing"
|
|
20816
|
-
|
|
20817
|
-
|
|
21775
|
+
[placeholder]="'DELIVERY_DATE_FINAL'"
|
|
21776
|
+
[customContent]="true">
|
|
20818
21777
|
<co-input-checkbox
|
|
20819
21778
|
[model]="searchRequest.deliveryDateDefinitive === 'J'"
|
|
20820
21779
|
(modelChange)="filterRequestService.handleCheckboxValueChangeForString($event, 'deliveryDateDefinitive')"
|
|
@@ -20837,9 +21796,10 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.propDecorators = {
|
|
|
20837
21796
|
};
|
|
20838
21797
|
|
|
20839
21798
|
class TransactionFilterHistoricStateComponent {
|
|
20840
|
-
constructor() {
|
|
21799
|
+
constructor(_dictionary) {
|
|
21800
|
+
this._dictionary = _dictionary;
|
|
20841
21801
|
this.expanded = true;
|
|
20842
|
-
this.
|
|
21802
|
+
this.collectionChange = new EventEmitter();
|
|
20843
21803
|
this.states = [];
|
|
20844
21804
|
}
|
|
20845
21805
|
set label(value) {
|
|
@@ -20856,14 +21816,11 @@ class TransactionFilterHistoricStateComponent {
|
|
|
20856
21816
|
showClass() {
|
|
20857
21817
|
return true;
|
|
20858
21818
|
}
|
|
20859
|
-
handleStateChange(value) {
|
|
20860
|
-
this.filterClicked.emit(value);
|
|
20861
|
-
}
|
|
20862
21819
|
_setStates() {
|
|
20863
21820
|
this.states = [
|
|
20864
|
-
{
|
|
20865
|
-
{
|
|
20866
|
-
{
|
|
21821
|
+
{ description: this._dictionary.get(this.labelNothing), code: QuantityInHistoricState.Nothing, checked: false },
|
|
21822
|
+
{ description: this._dictionary.get(this.labelPartly), code: QuantityInHistoricState.Partly, checked: false },
|
|
21823
|
+
{ description: this._dictionary.get(this.labelFully), code: QuantityInHistoricState.Fully, checked: false }
|
|
20867
21824
|
];
|
|
20868
21825
|
}
|
|
20869
21826
|
}
|
|
@@ -20873,21 +21830,20 @@ TransactionFilterHistoricStateComponent.decorators = [
|
|
|
20873
21830
|
template: `
|
|
20874
21831
|
<co-transaction-filter-item
|
|
20875
21832
|
[placeholder]="label"
|
|
20876
|
-
[
|
|
20877
|
-
|
|
20878
|
-
[model]="state.checked"
|
|
20879
|
-
[label]="state.label | localize"
|
|
20880
|
-
(modelChange)="handleStateChange(state.value)"
|
|
20881
|
-
></co-input-radio-button>
|
|
21833
|
+
[collection]="states"
|
|
21834
|
+
(collectionChange)="collectionChange.emit($event)">
|
|
20882
21835
|
</co-transaction-filter-item>
|
|
20883
21836
|
`,
|
|
20884
21837
|
encapsulation: ViewEncapsulation.None
|
|
20885
21838
|
},] }
|
|
20886
21839
|
];
|
|
21840
|
+
TransactionFilterHistoricStateComponent.ctorParameters = () => [
|
|
21841
|
+
{ type: DictionaryService }
|
|
21842
|
+
];
|
|
20887
21843
|
TransactionFilterHistoricStateComponent.propDecorators = {
|
|
20888
21844
|
label: [{ type: Input }],
|
|
20889
21845
|
expanded: [{ type: Input }],
|
|
20890
|
-
|
|
21846
|
+
collectionChange: [{ type: Output }],
|
|
20891
21847
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-filter-historic-state",] }]
|
|
20892
21848
|
};
|
|
20893
21849
|
|
|
@@ -22060,7 +23016,7 @@ TransactionSalesOrderFilterContentLogisticsComponent.decorators = [
|
|
|
22060
23016
|
<div class="filter-item-wrapper" lazyRender #lazyRenderAllocated="lazyRender">
|
|
22061
23017
|
<co-transaction-filter-historic-state *ngIf="lazyRenderAllocated.isShowing"
|
|
22062
23018
|
[label]="'ALLOCATED'"
|
|
22063
|
-
(
|
|
23019
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityAllocated')"
|
|
22064
23020
|
></co-transaction-filter-historic-state>
|
|
22065
23021
|
</div>
|
|
22066
23022
|
|
|
@@ -22068,7 +23024,7 @@ TransactionSalesOrderFilterContentLogisticsComponent.decorators = [
|
|
|
22068
23024
|
<div class="filter-item-wrapper" lazyRender #lazyRenderDelivered="lazyRender">
|
|
22069
23025
|
<co-transaction-filter-historic-state *ngIf="lazyRenderDelivered.isShowing"
|
|
22070
23026
|
[label]="'DELIVERED'"
|
|
22071
|
-
(
|
|
23027
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityDelivered')"
|
|
22072
23028
|
></co-transaction-filter-historic-state>
|
|
22073
23029
|
</div>
|
|
22074
23030
|
|
|
@@ -22076,7 +23032,7 @@ TransactionSalesOrderFilterContentLogisticsComponent.decorators = [
|
|
|
22076
23032
|
<div class="filter-item-wrapper" lazyRender #lazyRenderInvoiced="lazyRender">
|
|
22077
23033
|
<co-transaction-filter-historic-state *ngIf="lazyRenderInvoiced.isShowing"
|
|
22078
23034
|
[label]="'INVOICED'"
|
|
22079
|
-
(
|
|
23035
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityInvoiced')"
|
|
22080
23036
|
></co-transaction-filter-historic-state>
|
|
22081
23037
|
</div>
|
|
22082
23038
|
|
|
@@ -22084,7 +23040,7 @@ TransactionSalesOrderFilterContentLogisticsComponent.decorators = [
|
|
|
22084
23040
|
<div class="filter-item-wrapper" lazyRender #lazyRenderToBePicked="lazyRender">
|
|
22085
23041
|
<co-transaction-filter-historic-state *ngIf="lazyRenderToBePicked.isShowing"
|
|
22086
23042
|
[label]="'TO_BE_PICKED'"
|
|
22087
|
-
(
|
|
23043
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityToBePicked')"
|
|
22088
23044
|
></co-transaction-filter-historic-state>
|
|
22089
23045
|
</div>
|
|
22090
23046
|
|
|
@@ -22092,7 +23048,7 @@ TransactionSalesOrderFilterContentLogisticsComponent.decorators = [
|
|
|
22092
23048
|
<div class="filter-item-wrapper" lazyRender #lazyRenderPicked="lazyRender">
|
|
22093
23049
|
<co-transaction-filter-historic-state *ngIf="lazyRenderPicked.isShowing"
|
|
22094
23050
|
[label]="'PICKED'"
|
|
22095
|
-
(
|
|
23051
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'quantityPicked')"
|
|
22096
23052
|
></co-transaction-filter-historic-state>
|
|
22097
23053
|
</div>
|
|
22098
23054
|
|
|
@@ -22580,5 +23536,5 @@ TransactionLineGridModule.decorators = [
|
|
|
22580
23536
|
* Generated bundle index. Do not edit.
|
|
22581
23537
|
*/
|
|
22582
23538
|
|
|
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 };
|
|
23539
|
+
export { CheckoutComponent, CheckoutModule, LoaderComponent, LoaderModule, 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, DialogBaseComponent as ɵba, IconCacheService as ɵbb, CharacteristicAnswerModule as ɵbc, CharacteristicAnswerComponent as ɵbd, WarehouseModule as ɵbe, WarehouseComponent as ɵbf, ImageDisplayComponent as ɵbg, IconComponent as ɵbh, CustomerGroupsComponent as ɵbi, StockStatusIndicatorComponent 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, TransactionLineImageAndDescriptionComponent as ɵch, TransactionImageService as ɵci, TransactionArticleTextComponent as ɵcj, TransactionReceiveGoodsService as ɵck, DialogTransactionHeaderDiscountModule as ɵcl, TransactionHeaderDiscountPercentageModule as ɵcm, TransactionHeaderDiscountPercentageComponent as ɵcn, TransactionHeaderBaseComponent as ɵco, TransactionHeaderFilterPopupBaseComponent as ɵcp, TransactionHeaderDiscountAmountModule as ɵcq, TransactionHeaderDiscountAmountComponent as ɵcr, TransactionHeaderDiscountTransactionTotalModule as ɵcs, TransactionHeaderDiscountTransactionTotalComponent as ɵct, DialogTransactionHeaderDiscountComponent as ɵcu, DialogTransactionHeaderBaseComponent as ɵcv, AvatarModule as ɵcw, AvatarComponent as ɵcx, SharedService as ɵcy, SharedConnectorService as ɵcz, OptionsService as ɵd, DeliveryTypeTileModule as ɵda, DeliveryTypeTileComponent as ɵdb, PaymentModule as ɵdc, PaymentTileModule as ɵdd, PaymentTileComponent as ɵde, PaymentQrCodeModule as ɵdf, PaymentQrCodeComponent as ɵdg, DownPaymentModule as ɵdh, DownPaymentComponent as ɵdi, PaymentService as ɵdj, PaymentComponent as ɵdk, RelationTypeModule as ɵdl, RelationTypeComponent as ɵdm, RelationGeneralModule as ɵdn, RelationSuggestionsListModule as ɵdo, RelationSuggestionsListItemModule as ɵdp, RelationSuggestionsListItemComponent as ɵdq, RelationSuggestionsListComponent as ɵdr, RelationGeneralComponent as ɵds, RelationAddressesModule as ɵdt, RelationAddressesComponent as ɵdu, RelationContactDetailsModule as ɵdv, RelationContactDetailsComponent as ɵdw, RelationPreferencesModule as ɵdx, RelationPreferencesComponent as ɵdy, TransactionHeaderBlockModule as ɵdz, DictionaryService as ɵe, TransactionHeaderBlockComponent as ɵea, TransactionHeaderDeliveryDateModule as ɵeb, TransactionHeaderDeliveryDateComponent as ɵec, TransactionHeaderDeliveryOptionsModule as ɵed, TransactionHeaderDeliveryOptionsComponent as ɵee, TransactionHeaderRemarksModule as ɵef, TransactionHeaderRemarksComponent as ɵeg, TransactionHeaderReferenceModule as ɵeh, TransactionHeaderReferenceComponent as ɵei, TransactionHeaderRelationReferenceModule as ɵej, TransactionHeaderRelationReferenceComponent as ɵek, TransactionHeaderDeliveryMethodModule as ɵel, TransactionLineCheckboxModule as ɵem, TransactionLineCheckboxListComponent as ɵen, TransactionHeaderDeliveryMethodComponent as ɵeo, TransactionHeaderPreferredDeliveryDateModule as ɵep, TransactionHeaderPreferredDeliveryDateComponent as ɵeq, DialogTransactionHeaderDeliveryMethodModule as ɵer, DialogHeaderSearchModule as ɵes, DialogHeaderSearchComponent as ɵet, DialogTransactionHeaderDeliveryMethodComponent as ɵeu, TransactionHeaderPartialDeliveryModule as ɵev, TransactionHeaderPartialDeliveryComponent as ɵew, TransactionBaseComponent as ɵex, TransactionHeaderDownpaymentPercentageModule as ɵey, TransactionHeaderDownpaymentPercentageComponent as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDownpaymentAmountModule as ɵfa, TransactionHeaderDownpaymentAmountComponent as ɵfb, TransactionHeaderDefinitiveModule as ɵfc, TransactionHeaderDefinitiveComponent as ɵfd, TransactionHeaderBranchModule as ɵfe, TransactionHeaderBranchComponent as ɵff, TransactionHeaderAdministrativeRelationModule as ɵfg, TransactionHeaderAdministrativeRelationComponent as ɵfh, TransactionHeaderMarketingModule as ɵfi, TransactionHeaderMarketingComponent as ɵfj, CheckoutOverviewRelationEditComponent as ɵfk, CheckoutOverviewDeliveryEditComponent as ɵfl, CheckoutOverviewDeliveryAddressComponent as ɵfm, CheckoutOverviewPaymentComponent as ɵfn, CheckoutLoginComponent as ɵfo, TransactionFilterCategoriesModule as ɵfp, TransactionFilterCategoriesComponent as ɵfq, TransactionHeaderPaymentModule as ɵfr, TransactionHeaderPaymentComponent as ɵfs, TransactionLinesGridModule as ɵft, TransactionBaseGridModule as ɵfu, TransactionLineSidePanelModule as ɵfv, TransactionLineSidePanelDefaultModule as ɵfw, TransactionLinePriceModule as ɵfx, TransactionLinePriceComponent as ɵfy, TransactionLinePriceListModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLinePriceListComponent as ɵga, TransactionFilterPopupBaseComponent 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, AnimatedCheckboxModule as ɵhl, AnimatedCheckboxComponent as ɵhm, TransactionButtonBarComponent as ɵhn, TransactionButtonBarButtonComponent as ɵho, TransactionButtonBarButtonBaseComponent as ɵhp, TransactionSalesPurchaseButtonBarButtonComponent as ɵhq, TransactionLineSidePanelPurchaseModule as ɵhr, DefaultOkCancelButtonsModule as ɵhs, DefaultOkCancelButtonsComponent as ɵht, TransactionLineSidePanelPurchaseComponent as ɵhu, TransactionLineSidePanelComponent as ɵhv, DynamicBaseComponent as ɵhw, TransactionLineActionButtonsModule as ɵhx, TransactionArticleTextOverviewModule as ɵhy, TransactionArticleTextOverviewComponent as ɵhz, BusinessObjectCacheManagerService as ɵi, TransactionLineActionButtonsComponent as ɵia, TransactionBaseGridComponent as ɵib, TransactionGridBaseComponent as ɵic, DialogTransactionLineCommissionCodeModule as ɵid, DialogTransactionLineCommissionCodeComponent as ɵie, DialogTransactionLineBaseComponent as ɵif, DialogTransactionLineWarehouseModule as ɵig, DialogTransactionLineWarehouseComponent as ɵih, DialogTransactionLineWarehouseCcModule as ɵii, DialogTransactionLineWarehouseCcComponent as ɵij, DialogTransactionLineDeliveryMethodModule as ɵik, DialogTransactionLineDeliveryMethodComponent as ɵil, DialogTransactionLineVatModule as ɵim, DialogTransactionLineVatComponent as ɵin, DialogTransactionLineDiscountModule as ɵio, DialogTransactionLinePriceListModule as ɵip, DialogTransactionLinePriceListComponent as ɵiq, DialogTransactionLineDiscountComponent as ɵir, TransactionLinesGridComponent as ɵis, DiscountModule as ɵit, DiscountComponent as ɵiu, TransactionQuickAccessOverviewModule as ɵiv, TransactionQuickAccessOverviewComponent as ɵiw, TransactionQuickAccessOrderDeliveryModule as ɵix, TransactionSendButtonDialogModule as ɵiy, TransactionSendButtonDialogComponent as ɵiz, CacheField as ɵj, TransactionQuickAccessOrderDeliveryComponent as ɵja, TransactionQuickAccessOrderPurchaseModule as ɵjb, TransactionQuickAccessOrderPurchaseComponent as ɵjc, TransactionOrderConfirmationGridModule as ɵjd, TransactionOrderConfirmationGridComponent as ɵje, TransactionReceivedGoodsGridModule as ɵjf, DialogTransactionLineWarehouseLocationModule as ɵjg, TransactionLineWarehouseLocationModule as ɵjh, TransactionLineWarehouseLocationComponent as ɵji, DialogTransactionLineWarehouseLocationComponent as ɵjj, TransactionLineWarehouseLocationButtonModule as ɵjk, TransactionLineWarehouseLocationButtonComponent as ɵjl, TransactionReceivedGoodsGridComponent as ɵjm, ViewModeButtonsModule as ɵjn, ViewModeButtonsComponent as ɵjo, TransactionGridModule as ɵjp, TransactionGridComponent as ɵjq, TransactionTileModule as ɵjr, TransactionTileComponent as ɵjs, TransactionOverviewLineModule as ɵjt, EditableLabelModule as ɵju, EditableLabelComponent as ɵjv, TransactionBaseLineModule as ɵjw, TransactionBaseLineComponent as ɵjx, TransactionLinesLineBaseComponent as ɵjy, TransactionLineCommissionButtonModule as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionLineCommissionButtonComponent as ɵka, TransactionLineWarehouseButtonModule as ɵkb, TransactionLineWarehouseButtonComponent as ɵkc, TransactionLineDeliveryButtonModule as ɵkd, TransactionLineDeliveryButtonComponent as ɵke, TransactionLineDeliveryDateButtonModule as ɵkf, TransactionLineDeliveryDateButtonComponent as ɵkg, TransactionLineAmountModule as ɵkh, TransactionLineAmountComponent as ɵki, TransactionOverviewLineComponent as ɵkj, TransactionOrderDeliveryLineModule as ɵkk, TransactionOrderDeliveryLineComponent as ɵkl, TransactionReceiveGoodsLineModule as ɵkm, TransactionReceiveGoodsLineComponent as ɵkn, TransactionPurchaseLineModule as ɵko, TransactionLineSupplierButtonModule as ɵkp, DialogTransactionLineSupplierModule as ɵkq, DialogTransactionLineSupplierComponent as ɵkr, TransactionLineSupplierButtonComponent as ɵks, TransactionPurchaseLineComponent as ɵkt, TransactionSearchResultModule as ɵku, TransactionSearchSalesOrderTileModule as ɵkv, TransactionSearchSalesOrderTileComponent as ɵkw, TransactionSearchTileBaseComponent as ɵkx, TransactionSearchPurchaseOrderTileModule as ɵky, TransactionSearchPurchaseOrderTileComponent as ɵkz, ErrorService as ɵl, TransactionSearchSalesOrderGridModule as ɵla, TransactionSearchSalesOrderGridComponent as ɵlb, TransactionSearchGridBaseComponent as ɵlc, TransactionSearchPurchaseOrderGridModule as ɵld, TransactionSearchPurchaseOrderGridComponent as ɵle, TransactionSearchHeaderModule as ɵlf, TransactionSearchHeaderComponent as ɵlg, TransactionSearchGridModule as ɵlh, TransactionSearchGridComponent as ɵli, TransactionSearchTileModule as ɵlj, TransactionSearchTileComponent as ɵlk, TransactionSearchResultComponent as ɵll, TransactionSalesOrderFilterModule as ɵlm, TransactionSalesOrderFilterContentOrderModule as ɵln, TransactionFilterItemModule as ɵlo, TransactionFilterItemComponent as ɵlp, TransactionSalesOrderFilterContentOrderComponent as ɵlq, TransactionFilterContentBaseComponent as ɵlr, FilterRequestService as ɵls, TransactionSalesOrderFilterContentLogisticsModule as ɵlt, TransactionFilterHistoricStateModule as ɵlu, TransactionFilterHistoricStateComponent as ɵlv, TransactionSalesOrderFilterContentLogisticsComponent as ɵlw, TransactionSalesOrderFilterContentArticleModule as ɵlx, TransactionSalesOrderFilterContentArticleComponent as ɵly, TransactionSalesOrderFilterComponent as ɵlz, SelectSingleCacheService as ɵm, TransactionFilterBaseComponent as ɵma, TransactionPurchaseOrderFilterModule as ɵmb, TransactionPurchaseOrderFilterContentOrderModule as ɵmc, TransactionPurchaseOrderFilterContentOrderComponent as ɵmd, TransactionPurchaseOrderFilterContentLogisticsModule as ɵme, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵmf, TransactionPurchaseOrderFilterContentArticleModule as ɵmg, TransactionPurchaseOrderFilterContentArticleComponent as ɵmh, TransactionPurchaseOrderFilterComponent as ɵmi, TransactionFilterModule as ɵmj, TransactionFilterComponent as ɵmk, ArticleConnectorService as ɵn, TransactionEventService as ɵo, CoreModule as ɵp, ConfirmationDialogModule as ɵq, PipeModule as ɵr, AppendPipe as ɵs, DeliveryTimePipe as ɵt, DateDurationPipe as ɵu, LocalizePipe as ɵv, CoCurrencyPipe as ɵw, SafeStylePipe as ɵx, SafeHtmlPipe as ɵy, ConfirmationDialogComponent as ɵz };
|
|
22584
23540
|
//# sourceMappingURL=colijnit-transaction.js.map
|