@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@colijnit/transactionapi/build/enum/pending-reason-type.enum'), require('@colijnit/transactionapi/build/enum/sequence-name.enum'), require('@colijnit/transactionapi/build/enum/transaction-kind.enum'), require('@colijnit/transactionapi/build/enum/transaction-line-type.enum'), require('rxjs'), require('@colijnit/transactionapi/build/model/transaction-info-response.bo'), require('@colijnit/transactionapi/build/model/marketing.bo'), require('@colijnit/transactionapi/build/model/customer-full-object.bo'), require('@colijnit/transactionapi/build/model/country.bo'), require('@colijnit/transactionapi/build/model/privacy-setting.bo'), require('@colijnit/transactionapi/build/model/delivery-method.bo'), require('@colijnit/transactionapi/build/model/delivery-option.bo'), require('@colijnit/transactionapi/build/model/co-domain-value.bo'), require('@colijnit/transactionapi/build/model/article-full-object'), require('@colijnit/transactionapi/build/model/customer-group.bo'), require('@colijnit/transactionapi/build/model/cash-register'), require('@colijnit/transactionapi/build/model/price-list'), require('@colijnit/transactionapi/build/model/vat'), require('@colijnit/transactionapi/build/model/branch-lov.bo'), require('@colijnit/transactionapi/build/model/sales-person.bo'), require('@colijnit/transactionapi/build/model/tag'), require('@colijnit/transactionapi/build/model/on-hold-code.bo'), require('@colijnit/transactionapi/build/model/warehouse.bo'), require('@colijnit/transactionapi/build/model/payment-method.bo'), require('@colijnit/transactionapi/build/utils/object-utils'), require('@colijnit/transactionapi/build/model/relation-privacy-setting.bo'), require('@colijnit/transactionapi/build/model/get-postal-code-retrieval-output-params'), require('@colijnit/transactionapi/build/model/relation-list-object.bo'), require('@colijnit/transactionapi/build/transaction'), require('@colijnit/transactionapi/build/utils/function/not-nill.function'), require('@colijnit/transactionapi/build/enum/yes-no-db-type.enum'), require('@colijnit/transactionapi/build/enum/true-false-db-type.enum'), require('@colijnit/transactionapi/build/enum/one-zero-bool-db-type.enum'), require('@colijnit/transactionapi/build/enum/db-boolean-value-type.enum'), require('@colijnit/transactionapi/build/utils/date-utils'), require('@colijnit/transactionapi/build/utils/number-utils'), require('@colijnit/transactionapi/build/utils/function/is-nill.function'), require('@colijnit/transactionapi/build/factory/decorators/map-property.decorator'), require('@colijnit/transactionapi/build/factory/decorators/boolean.decorator'), require('@colijnit/transactionapi/build/factory/decorators/json.decorator'), require('@colijnit/transactionapi/build/factory/decorators/complex-array.decorator'), require('@colijnit/transactionapi/build/utils/image-utils'), require('@colijnit/transactionapi/build/model/transaction-line-info.bo'), require('@colijnit/transactionapi/build/model/transaction-search-view.bo'), require('@colijnit/transactionapi/build/model/code-description'), require('@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo'), require('@colijnit/transactionapi/build/model/purchase-portal-line.bo'), require('@colijnit/transactionapi/build/model/create-payment-link-result.bo'), require('@colijnit/transactionapi/build/model/payment-link-status.bo'), require('@angular/platform-browser'), require('@colijnit/transactionapi/build/model/transaction-info.bo'), require('@colijnit/transactionapi/build/model/supplier-full-object.bo'), require('@colijnit/transactionapi/build/model/transaction-down-payment-info.bo'), require('@colijnit/transactionapi/build/enum/relation-status.enum'), require('@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo'), require('@colijnit/articleapi/build/articles'), require('@colijnit/articleapi/build/model/stock-location.bo'), require('@colijnit/articleapi/build/model/article-light.bo'), require('@colijnit/articleapi/build/model/turnover-group-image.bo'), require('@colijnit/articleapi/build/model/main-article.bo'), require('@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo'), require('@colijnit/transactionapi/build/model/doc-delivery-batch.bo'), require('@colijnit/transactionapi/build/model/nul-relation-object'), require('@colijnit/transactionapi/build/enum/relation-kind.enum'), require('@colijnit/corecomponents_v12'), require('@angular/flex-layout'), require('@colijnit/transactionapi/build/enum/address-type.enum'), require('@angular/animations'), require('@angular/common'), require('@angular/forms'), require('@colijnit/transactionapi/build/model/address.bo'), require('@colijnit/transactionapi/build/model/transaction-total.bo'), require('@colijnit/transactionapi/build/enum/discount-type.enum'), require('@angular/cdk/drag-drop'), require('@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo'), require('@colijnit/transactionapi/build/model/paging-parameters'), require('@colijnit/transactionapi/build/model/transaction-search-view-request'), require('@colijnit/articleapi/build/enum/relation-kind.enum'), require('@colijnit/transactionapi/build/model/get-purchase-order-confirmation'), require('@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo'), require('@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo'), require('@colijnit/transactionapi/build/enum/refcode/stock-status.enum'), require('@colijnit/transactionapi/build/model/relation-request'), require('@colijnit/sharedapi/build/sharedapi'), require('@colijnit/sharedapi/build/model/co-document.bo'), require('@colijnit/sharedcomponents'), require('@colijnit/transactionapi/build/enum/relation-name-kind.enum'), require('@colijnit/transactionapi/build/enum/gender-type.enum'), require('@colijnit/transactionapi/build/utils/function-utils'), require('@colijnit/transactionapi/build/enum/communication-type.enum'), require('@colijnit/transactionapi/build/model/contact-option.bo'), require('@colijnit/transactionapi/build/utils/business-object-utils'), require('@angular/cdk/scrolling'), require('@colijnit/transactionapi/build/model/relation-small-object.bo'), require('@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo'), require('@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo'), require('@colijnit/transactionapi/build/model/get-purchase-portal-line'), require('@colijnit/transactionapi/build/model/purchase-portal-filters.bo'), require('@colijnit/transactionapi/build/model/goods-receipt-status.bo'), require('@colijnit/articleapi/build/model/article-extended-request'), require('@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@colijnit/transaction', ['exports', '@angular/core', '@colijnit/transactionapi/build/enum/pending-reason-type.enum', '@colijnit/transactionapi/build/enum/sequence-name.enum', '@colijnit/transactionapi/build/enum/transaction-kind.enum', '@colijnit/transactionapi/build/enum/transaction-line-type.enum', 'rxjs', '@colijnit/transactionapi/build/model/transaction-info-response.bo', '@colijnit/transactionapi/build/model/marketing.bo', '@colijnit/transactionapi/build/model/customer-full-object.bo', '@colijnit/transactionapi/build/model/country.bo', '@colijnit/transactionapi/build/model/privacy-setting.bo', '@colijnit/transactionapi/build/model/delivery-method.bo', '@colijnit/transactionapi/build/model/delivery-option.bo', '@colijnit/transactionapi/build/model/co-domain-value.bo', '@colijnit/transactionapi/build/model/article-full-object', '@colijnit/transactionapi/build/model/customer-group.bo', '@colijnit/transactionapi/build/model/cash-register', '@colijnit/transactionapi/build/model/price-list', '@colijnit/transactionapi/build/model/vat', '@colijnit/transactionapi/build/model/branch-lov.bo', '@colijnit/transactionapi/build/model/sales-person.bo', '@colijnit/transactionapi/build/model/tag', '@colijnit/transactionapi/build/model/on-hold-code.bo', '@colijnit/transactionapi/build/model/warehouse.bo', '@colijnit/transactionapi/build/model/payment-method.bo', '@colijnit/transactionapi/build/utils/object-utils', '@colijnit/transactionapi/build/model/relation-privacy-setting.bo', '@colijnit/transactionapi/build/model/get-postal-code-retrieval-output-params', '@colijnit/transactionapi/build/model/relation-list-object.bo', '@colijnit/transactionapi/build/transaction', '@colijnit/transactionapi/build/utils/function/not-nill.function', '@colijnit/transactionapi/build/enum/yes-no-db-type.enum', '@colijnit/transactionapi/build/enum/true-false-db-type.enum', '@colijnit/transactionapi/build/enum/one-zero-bool-db-type.enum', '@colijnit/transactionapi/build/enum/db-boolean-value-type.enum', '@colijnit/transactionapi/build/utils/date-utils', '@colijnit/transactionapi/build/utils/number-utils', '@colijnit/transactionapi/build/utils/function/is-nill.function', '@colijnit/transactionapi/build/factory/decorators/map-property.decorator', '@colijnit/transactionapi/build/factory/decorators/boolean.decorator', '@colijnit/transactionapi/build/factory/decorators/json.decorator', '@colijnit/transactionapi/build/factory/decorators/complex-array.decorator', '@colijnit/transactionapi/build/utils/image-utils', '@colijnit/transactionapi/build/model/transaction-line-info.bo', '@colijnit/transactionapi/build/model/transaction-search-view.bo', '@colijnit/transactionapi/build/model/code-description', '@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo', '@colijnit/transactionapi/build/model/purchase-portal-line.bo', '@colijnit/transactionapi/build/model/create-payment-link-result.bo', '@colijnit/transactionapi/build/model/payment-link-status.bo', '@angular/platform-browser', '@colijnit/transactionapi/build/model/transaction-info.bo', '@colijnit/transactionapi/build/model/supplier-full-object.bo', '@colijnit/transactionapi/build/model/transaction-down-payment-info.bo', '@colijnit/transactionapi/build/enum/relation-status.enum', '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo', '@colijnit/articleapi/build/articles', '@colijnit/articleapi/build/model/stock-location.bo', '@colijnit/articleapi/build/model/article-light.bo', '@colijnit/articleapi/build/model/turnover-group-image.bo', '@colijnit/articleapi/build/model/main-article.bo', '@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo', '@colijnit/transactionapi/build/model/doc-delivery-batch.bo', '@colijnit/transactionapi/build/model/nul-relation-object', '@colijnit/transactionapi/build/enum/relation-kind.enum', '@colijnit/corecomponents_v12', '@angular/flex-layout', '@colijnit/transactionapi/build/enum/address-type.enum', '@angular/animations', '@angular/common', '@angular/forms', '@colijnit/transactionapi/build/model/address.bo', '@colijnit/transactionapi/build/model/transaction-total.bo', '@colijnit/transactionapi/build/enum/discount-type.enum', '@angular/cdk/drag-drop', '@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo', '@colijnit/transactionapi/build/model/paging-parameters', '@colijnit/transactionapi/build/model/transaction-search-view-request', '@colijnit/articleapi/build/enum/relation-kind.enum', '@colijnit/transactionapi/build/model/get-purchase-order-confirmation', '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo', '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo', '@colijnit/transactionapi/build/enum/refcode/stock-status.enum', '@colijnit/transactionapi/build/model/relation-request', '@colijnit/sharedapi/build/sharedapi', '@colijnit/sharedapi/build/model/co-document.bo', '@colijnit/sharedcomponents', '@colijnit/transactionapi/build/enum/relation-name-kind.enum', '@colijnit/transactionapi/build/enum/gender-type.enum', '@colijnit/transactionapi/build/utils/function-utils', '@colijnit/transactionapi/build/enum/communication-type.enum', '@colijnit/transactionapi/build/model/contact-option.bo', '@colijnit/transactionapi/build/utils/business-object-utils', '@angular/cdk/scrolling', '@colijnit/transactionapi/build/model/relation-small-object.bo', '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo', '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo', '@colijnit/transactionapi/build/model/get-purchase-portal-line', '@colijnit/transactionapi/build/model/purchase-portal-filters.bo', '@colijnit/transactionapi/build/model/goods-receipt-status.bo', '@colijnit/articleapi/build/model/article-extended-request', '@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.transaction = {}), global.ng.core, global.pendingReasonType_enum, global.sequenceName_enum, global.transactionKind_enum, global.transactionLineType_enum, global.rxjs, global.transactionInfoResponse_bo, global.marketing_bo, global.customerFullObject_bo, global.country_bo, global.privacySetting_bo, global.deliveryMethod_bo, global.deliveryOption_bo, global.coDomainValue_bo, global.articleFullObject, global.customerGroup_bo, global.cashRegister, global.priceList, global.vat, global.branchLov_bo, global.salesPerson_bo, global.tag, global.onHoldCode_bo, global.warehouse_bo, global.paymentMethod_bo, global.objectUtils, global.relationPrivacySetting_bo, global.getPostalCodeRetrievalOutputParams, global.relationListObject_bo, global.transaction, global.notNill_function, global.yesNoDbType_enum, global.trueFalseDbType_enum, global.oneZeroBoolDbType_enum, global.dbBooleanValueType_enum, global.dateUtils, global.numberUtils, global.isNill_function, global.mapProperty_decorator, global.boolean_decorator, global.json_decorator, global.complexArray_decorator, global.imageUtils, global.transactionLineInfo_bo, global.transactionSearchView_bo, global.codeDescription, global.goodsReceiptStatusWithHistory_bo, global.purchasePortalLine_bo, global.createPaymentLinkResult_bo, global.paymentLinkStatus_bo, global.ng.platformBrowser, global.transactionInfo_bo, global.supplierFullObject_bo, global.transactionDownPaymentInfo_bo, global.relationStatus_enum, global.resolvePendingReasonRequest_bo, global.articles, global.stockLocation_bo, global.articleLight_bo, global.turnoverGroupImage_bo, global.mainArticle_bo, global.resolveHeaderPendingReasonRequest_bo, global.docDeliveryBatch_bo, global.nulRelationObject, global.relationKind_enum, global.corecomponents_v12, global.ng.flexLayout, global.addressType_enum, global.ng.animations, global.ng.common, global.ng.forms, global.address_bo, global.transactionTotal_bo, global.discountType_enum, global.ng.cdk.dragDrop, global.transactionAddTextLineRequest_bo, global.pagingParameters, global.transactionSearchViewRequest, global.relationKind_enum$1, global.getPurchaseOrderConfirmation, global.receiveGoodsForPurchaseOrderRequest_bo, global.purchaseOrderLineReceiptDetails_bo, global.stockStatus_enum, global.relationRequest, global.sharedapi, global.coDocument_bo, global.sharedcomponents, global.relationNameKind_enum, global.genderType_enum, global.functionUtils, global.communicationType_enum, global.contactOption_bo, global.businessObjectUtils, global.ng.cdk.scrolling, global.relationSmallObject_bo, global.receiveGoodsForPurchaseOrderCorrectionRequest_bo, global.purchaseOrderLineReceiptCorrectionDetails_bo, global.getPurchasePortalLine, global.purchasePortalFilters_bo, global.goodsReceiptStatus_bo, global.articleExtendedRequest, global.quantityInHistoricState_enum));
|
|
5
|
-
})(this, (function (exports, i0, pendingReasonType_enum, sequenceName_enum, transactionKind_enum, transactionLineType_enum, rxjs, transactionInfoResponse_bo, marketing_bo, customerFullObject_bo, country_bo, privacySetting_bo, deliveryMethod_bo, deliveryOption_bo, coDomainValue_bo, articleFullObject, customerGroup_bo, cashRegister, priceList, vat, branchLov_bo, salesPerson_bo, tag, onHoldCode_bo, warehouse_bo, paymentMethod_bo, objectUtils, relationPrivacySetting_bo, getPostalCodeRetrievalOutputParams, relationListObject_bo, transaction, notNill_function, yesNoDbType_enum, trueFalseDbType_enum, oneZeroBoolDbType_enum, dbBooleanValueType_enum, dateUtils, numberUtils, isNill_function, mapProperty_decorator, boolean_decorator, json_decorator, complexArray_decorator, imageUtils, transactionLineInfo_bo, transactionSearchView_bo, codeDescription, goodsReceiptStatusWithHistory_bo, purchasePortalLine_bo, createPaymentLinkResult_bo, paymentLinkStatus_bo, i1, transactionInfo_bo, supplierFullObject_bo, transactionDownPaymentInfo_bo, relationStatus_enum, resolvePendingReasonRequest_bo, articles, stockLocation_bo, articleLight_bo, turnoverGroupImage_bo, mainArticle_bo, resolveHeaderPendingReasonRequest_bo, docDeliveryBatch_bo, nulRelationObject, relationKind_enum, corecomponents_v12, flexLayout, addressType_enum, animations, common, forms, address_bo, transactionTotal_bo, discountType_enum, dragDrop, transactionAddTextLineRequest_bo, pagingParameters, transactionSearchViewRequest, relationKind_enum$1, getPurchaseOrderConfirmation, receiveGoodsForPurchaseOrderRequest_bo, purchaseOrderLineReceiptDetails_bo, stockStatus_enum, relationRequest, sharedapi, coDocument_bo, sharedcomponents, relationNameKind_enum, genderType_enum, functionUtils, communicationType_enum, contactOption_bo, businessObjectUtils, scrolling, relationSmallObject_bo, receiveGoodsForPurchaseOrderCorrectionRequest_bo, purchaseOrderLineReceiptCorrectionDetails_bo, getPurchasePortalLine, purchasePortalFilters_bo, goodsReceiptStatus_bo, articleExtendedRequest, quantityInHistoricState_enum) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@colijnit/transactionapi/build/enum/pending-reason-type.enum'), require('@colijnit/transactionapi/build/enum/sequence-name.enum'), require('@colijnit/transactionapi/build/enum/transaction-kind.enum'), require('@colijnit/transactionapi/build/enum/transaction-line-type.enum'), require('@colijnit/transactionapi/build/model/validation-result'), require('rxjs'), require('@colijnit/transactionapi/build/model/transaction-info-response.bo'), require('@colijnit/transactionapi/build/model/marketing.bo'), require('@colijnit/transactionapi/build/model/customer-full-object.bo'), require('@colijnit/transactionapi/build/model/country.bo'), require('@colijnit/transactionapi/build/model/privacy-setting.bo'), require('@colijnit/transactionapi/build/model/delivery-method.bo'), require('@colijnit/transactionapi/build/model/delivery-option.bo'), require('@colijnit/transactionapi/build/model/co-domain-value.bo'), require('@colijnit/transactionapi/build/model/article-full-object'), require('@colijnit/transactionapi/build/model/customer-group.bo'), require('@colijnit/transactionapi/build/model/cash-register'), require('@colijnit/transactionapi/build/model/price-list'), require('@colijnit/transactionapi/build/model/vat'), require('@colijnit/transactionapi/build/model/branch-lov.bo'), require('@colijnit/transactionapi/build/model/sales-person.bo'), require('@colijnit/transactionapi/build/model/tag'), require('@colijnit/transactionapi/build/model/on-hold-code.bo'), require('@colijnit/transactionapi/build/model/warehouse.bo'), require('@colijnit/transactionapi/build/model/payment-method.bo'), require('@colijnit/transactionapi/build/utils/object-utils'), require('@colijnit/transactionapi/build/model/relation-privacy-setting.bo'), require('@colijnit/transactionapi/build/model/get-postal-code-retrieval-output-params'), require('@colijnit/transactionapi/build/model/relation-list-object.bo'), require('@colijnit/transactionapi/build/transaction'), require('@colijnit/transactionapi/build/utils/function/not-nill.function'), require('@colijnit/transactionapi/build/enum/yes-no-db-type.enum'), require('@colijnit/transactionapi/build/enum/true-false-db-type.enum'), require('@colijnit/transactionapi/build/enum/one-zero-bool-db-type.enum'), require('@colijnit/transactionapi/build/enum/db-boolean-value-type.enum'), require('@colijnit/transactionapi/build/utils/date-utils'), require('@colijnit/transactionapi/build/utils/number-utils'), require('@colijnit/transactionapi/build/utils/function/is-nill.function'), require('@colijnit/transactionapi/build/factory/decorators/map-property.decorator'), require('@colijnit/transactionapi/build/factory/decorators/boolean.decorator'), require('@colijnit/transactionapi/build/factory/decorators/json.decorator'), require('@colijnit/transactionapi/build/factory/decorators/complex-array.decorator'), require('@colijnit/transactionapi/build/utils/image-utils'), require('@colijnit/transactionapi/build/model/transaction-line-info.bo'), require('@colijnit/transactionapi/build/model/transaction-search-view.bo'), require('@colijnit/transactionapi/build/model/code-description'), require('@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo'), require('@colijnit/transactionapi/build/model/purchase-portal-line.bo'), require('@colijnit/transactionapi/build/model/create-payment-link-result.bo'), require('@colijnit/transactionapi/build/model/payment-link-status.bo'), require('@angular/platform-browser'), require('@colijnit/transactionapi/build/model/transaction-info.bo'), require('@colijnit/transactionapi/build/model/supplier-full-object.bo'), require('@colijnit/transactionapi/build/model/transaction-down-payment-info.bo'), require('@colijnit/transactionapi/build/model/transaction-lock-result.bo'), require('@colijnit/transactionapi/build/enum/relation-status.enum'), require('@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo'), require('@colijnit/articleapi/build/articles'), require('@colijnit/articleapi/build/model/stock-location.bo'), require('@colijnit/articleapi/build/model/article-light.bo'), require('@colijnit/articleapi/build/model/turnover-group-image.bo'), require('@colijnit/articleapi/build/model/main-article.bo'), require('@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo'), require('@colijnit/transactionapi/build/model/doc-delivery-batch.bo'), require('@colijnit/transactionapi/build/model/nul-relation-object'), require('@colijnit/transactionapi/build/enum/relation-kind.enum'), require('@colijnit/corecomponents_v12'), require('@angular/flex-layout'), require('@colijnit/transactionapi/build/enum/address-type.enum'), require('@angular/animations'), require('@angular/common'), require('@angular/forms'), require('@colijnit/transactionapi/build/model/address.bo'), require('@colijnit/transactionapi/build/model/transaction-total.bo'), require('@colijnit/transactionapi/build/enum/discount-type.enum'), require('@angular/cdk/drag-drop'), require('@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo'), require('@colijnit/transactionapi/build/model/paging-parameters'), require('@colijnit/transactionapi/build/model/transaction-search-view-request'), require('@colijnit/articleapi/build/enum/relation-kind.enum'), require('@colijnit/transactionapi/build/model/get-purchase-order-confirmation'), require('@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo'), require('@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo'), require('@colijnit/transactionapi/build/enum/refcode/stock-status.enum'), require('@colijnit/transactionapi/build/model/relation-request'), require('@colijnit/sharedapi/build/sharedapi'), require('@colijnit/sharedapi/build/model/co-document.bo'), require('@colijnit/sharedcomponents'), require('@colijnit/transactionapi/build/enum/relation-name-kind.enum'), require('@colijnit/transactionapi/build/enum/gender-type.enum'), require('@colijnit/transactionapi/build/utils/function-utils'), require('@colijnit/transactionapi/build/enum/communication-type.enum'), require('@colijnit/transactionapi/build/model/contact-option.bo'), require('@colijnit/transactionapi/build/utils/business-object-utils'), require('@angular/cdk/scrolling'), require('@colijnit/transactionapi/build/model/relation-small-object.bo'), require('@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo'), require('@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo'), require('@colijnit/transactionapi/build/model/get-purchase-portal-line'), require('@colijnit/transactionapi/build/model/purchase-portal-filters.bo'), require('@colijnit/transactionapi/build/model/goods-receipt-status.bo'), require('@colijnit/articleapi/build/model/article-extended-request'), require('@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@colijnit/transaction', ['exports', '@angular/core', '@colijnit/transactionapi/build/enum/pending-reason-type.enum', '@colijnit/transactionapi/build/enum/sequence-name.enum', '@colijnit/transactionapi/build/enum/transaction-kind.enum', '@colijnit/transactionapi/build/enum/transaction-line-type.enum', '@colijnit/transactionapi/build/model/validation-result', 'rxjs', '@colijnit/transactionapi/build/model/transaction-info-response.bo', '@colijnit/transactionapi/build/model/marketing.bo', '@colijnit/transactionapi/build/model/customer-full-object.bo', '@colijnit/transactionapi/build/model/country.bo', '@colijnit/transactionapi/build/model/privacy-setting.bo', '@colijnit/transactionapi/build/model/delivery-method.bo', '@colijnit/transactionapi/build/model/delivery-option.bo', '@colijnit/transactionapi/build/model/co-domain-value.bo', '@colijnit/transactionapi/build/model/article-full-object', '@colijnit/transactionapi/build/model/customer-group.bo', '@colijnit/transactionapi/build/model/cash-register', '@colijnit/transactionapi/build/model/price-list', '@colijnit/transactionapi/build/model/vat', '@colijnit/transactionapi/build/model/branch-lov.bo', '@colijnit/transactionapi/build/model/sales-person.bo', '@colijnit/transactionapi/build/model/tag', '@colijnit/transactionapi/build/model/on-hold-code.bo', '@colijnit/transactionapi/build/model/warehouse.bo', '@colijnit/transactionapi/build/model/payment-method.bo', '@colijnit/transactionapi/build/utils/object-utils', '@colijnit/transactionapi/build/model/relation-privacy-setting.bo', '@colijnit/transactionapi/build/model/get-postal-code-retrieval-output-params', '@colijnit/transactionapi/build/model/relation-list-object.bo', '@colijnit/transactionapi/build/transaction', '@colijnit/transactionapi/build/utils/function/not-nill.function', '@colijnit/transactionapi/build/enum/yes-no-db-type.enum', '@colijnit/transactionapi/build/enum/true-false-db-type.enum', '@colijnit/transactionapi/build/enum/one-zero-bool-db-type.enum', '@colijnit/transactionapi/build/enum/db-boolean-value-type.enum', '@colijnit/transactionapi/build/utils/date-utils', '@colijnit/transactionapi/build/utils/number-utils', '@colijnit/transactionapi/build/utils/function/is-nill.function', '@colijnit/transactionapi/build/factory/decorators/map-property.decorator', '@colijnit/transactionapi/build/factory/decorators/boolean.decorator', '@colijnit/transactionapi/build/factory/decorators/json.decorator', '@colijnit/transactionapi/build/factory/decorators/complex-array.decorator', '@colijnit/transactionapi/build/utils/image-utils', '@colijnit/transactionapi/build/model/transaction-line-info.bo', '@colijnit/transactionapi/build/model/transaction-search-view.bo', '@colijnit/transactionapi/build/model/code-description', '@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo', '@colijnit/transactionapi/build/model/purchase-portal-line.bo', '@colijnit/transactionapi/build/model/create-payment-link-result.bo', '@colijnit/transactionapi/build/model/payment-link-status.bo', '@angular/platform-browser', '@colijnit/transactionapi/build/model/transaction-info.bo', '@colijnit/transactionapi/build/model/supplier-full-object.bo', '@colijnit/transactionapi/build/model/transaction-down-payment-info.bo', '@colijnit/transactionapi/build/model/transaction-lock-result.bo', '@colijnit/transactionapi/build/enum/relation-status.enum', '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo', '@colijnit/articleapi/build/articles', '@colijnit/articleapi/build/model/stock-location.bo', '@colijnit/articleapi/build/model/article-light.bo', '@colijnit/articleapi/build/model/turnover-group-image.bo', '@colijnit/articleapi/build/model/main-article.bo', '@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo', '@colijnit/transactionapi/build/model/doc-delivery-batch.bo', '@colijnit/transactionapi/build/model/nul-relation-object', '@colijnit/transactionapi/build/enum/relation-kind.enum', '@colijnit/corecomponents_v12', '@angular/flex-layout', '@colijnit/transactionapi/build/enum/address-type.enum', '@angular/animations', '@angular/common', '@angular/forms', '@colijnit/transactionapi/build/model/address.bo', '@colijnit/transactionapi/build/model/transaction-total.bo', '@colijnit/transactionapi/build/enum/discount-type.enum', '@angular/cdk/drag-drop', '@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo', '@colijnit/transactionapi/build/model/paging-parameters', '@colijnit/transactionapi/build/model/transaction-search-view-request', '@colijnit/articleapi/build/enum/relation-kind.enum', '@colijnit/transactionapi/build/model/get-purchase-order-confirmation', '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo', '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo', '@colijnit/transactionapi/build/enum/refcode/stock-status.enum', '@colijnit/transactionapi/build/model/relation-request', '@colijnit/sharedapi/build/sharedapi', '@colijnit/sharedapi/build/model/co-document.bo', '@colijnit/sharedcomponents', '@colijnit/transactionapi/build/enum/relation-name-kind.enum', '@colijnit/transactionapi/build/enum/gender-type.enum', '@colijnit/transactionapi/build/utils/function-utils', '@colijnit/transactionapi/build/enum/communication-type.enum', '@colijnit/transactionapi/build/model/contact-option.bo', '@colijnit/transactionapi/build/utils/business-object-utils', '@angular/cdk/scrolling', '@colijnit/transactionapi/build/model/relation-small-object.bo', '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo', '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo', '@colijnit/transactionapi/build/model/get-purchase-portal-line', '@colijnit/transactionapi/build/model/purchase-portal-filters.bo', '@colijnit/transactionapi/build/model/goods-receipt-status.bo', '@colijnit/articleapi/build/model/article-extended-request', '@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.transaction = {}), global.ng.core, global.pendingReasonType_enum, global.sequenceName_enum, global.transactionKind_enum, global.transactionLineType_enum, global.validationResult, global.rxjs, global.transactionInfoResponse_bo, global.marketing_bo, global.customerFullObject_bo, global.country_bo, global.privacySetting_bo, global.deliveryMethod_bo, global.deliveryOption_bo, global.coDomainValue_bo, global.articleFullObject, global.customerGroup_bo, global.cashRegister, global.priceList, global.vat, global.branchLov_bo, global.salesPerson_bo, global.tag, global.onHoldCode_bo, global.warehouse_bo, global.paymentMethod_bo, global.objectUtils, global.relationPrivacySetting_bo, global.getPostalCodeRetrievalOutputParams, global.relationListObject_bo, global.transaction, global.notNill_function, global.yesNoDbType_enum, global.trueFalseDbType_enum, global.oneZeroBoolDbType_enum, global.dbBooleanValueType_enum, global.dateUtils, global.numberUtils, global.isNill_function, global.mapProperty_decorator, global.boolean_decorator, global.json_decorator, global.complexArray_decorator, global.imageUtils, global.transactionLineInfo_bo, global.transactionSearchView_bo, global.codeDescription, global.goodsReceiptStatusWithHistory_bo, global.purchasePortalLine_bo, global.createPaymentLinkResult_bo, global.paymentLinkStatus_bo, global.ng.platformBrowser, global.transactionInfo_bo, global.supplierFullObject_bo, global.transactionDownPaymentInfo_bo, global.transactionLockResult_bo, global.relationStatus_enum, global.resolvePendingReasonRequest_bo, global.articles, global.stockLocation_bo, global.articleLight_bo, global.turnoverGroupImage_bo, global.mainArticle_bo, global.resolveHeaderPendingReasonRequest_bo, global.docDeliveryBatch_bo, global.nulRelationObject, global.relationKind_enum, global.corecomponents_v12, global.ng.flexLayout, global.addressType_enum, global.ng.animations, global.ng.common, global.ng.forms, global.address_bo, global.transactionTotal_bo, global.discountType_enum, global.ng.cdk.dragDrop, global.transactionAddTextLineRequest_bo, global.pagingParameters, global.transactionSearchViewRequest, global.relationKind_enum$1, global.getPurchaseOrderConfirmation, global.receiveGoodsForPurchaseOrderRequest_bo, global.purchaseOrderLineReceiptDetails_bo, global.stockStatus_enum, global.relationRequest, global.sharedapi, global.coDocument_bo, global.sharedcomponents, global.relationNameKind_enum, global.genderType_enum, global.functionUtils, global.communicationType_enum, global.contactOption_bo, global.businessObjectUtils, global.ng.cdk.scrolling, global.relationSmallObject_bo, global.receiveGoodsForPurchaseOrderCorrectionRequest_bo, global.purchaseOrderLineReceiptCorrectionDetails_bo, global.getPurchasePortalLine, global.purchasePortalFilters_bo, global.goodsReceiptStatus_bo, global.articleExtendedRequest, global.quantityInHistoricState_enum));
|
|
5
|
+
})(this, (function (exports, i0, pendingReasonType_enum, sequenceName_enum, transactionKind_enum, transactionLineType_enum, validationResult, rxjs, transactionInfoResponse_bo, marketing_bo, customerFullObject_bo, country_bo, privacySetting_bo, deliveryMethod_bo, deliveryOption_bo, coDomainValue_bo, articleFullObject, customerGroup_bo, cashRegister, priceList, vat, branchLov_bo, salesPerson_bo, tag, onHoldCode_bo, warehouse_bo, paymentMethod_bo, objectUtils, relationPrivacySetting_bo, getPostalCodeRetrievalOutputParams, relationListObject_bo, transaction, notNill_function, yesNoDbType_enum, trueFalseDbType_enum, oneZeroBoolDbType_enum, dbBooleanValueType_enum, dateUtils, numberUtils, isNill_function, mapProperty_decorator, boolean_decorator, json_decorator, complexArray_decorator, imageUtils, transactionLineInfo_bo, transactionSearchView_bo, codeDescription, goodsReceiptStatusWithHistory_bo, purchasePortalLine_bo, createPaymentLinkResult_bo, paymentLinkStatus_bo, i1, transactionInfo_bo, supplierFullObject_bo, transactionDownPaymentInfo_bo, transactionLockResult_bo, relationStatus_enum, resolvePendingReasonRequest_bo, articles, stockLocation_bo, articleLight_bo, turnoverGroupImage_bo, mainArticle_bo, resolveHeaderPendingReasonRequest_bo, docDeliveryBatch_bo, nulRelationObject, relationKind_enum, corecomponents_v12, flexLayout, addressType_enum, animations, common, forms, address_bo, transactionTotal_bo, discountType_enum, dragDrop, transactionAddTextLineRequest_bo, pagingParameters, transactionSearchViewRequest, relationKind_enum$1, getPurchaseOrderConfirmation, receiveGoodsForPurchaseOrderRequest_bo, purchaseOrderLineReceiptDetails_bo, stockStatus_enum, relationRequest, sharedapi, coDocument_bo, sharedcomponents, relationNameKind_enum, genderType_enum, functionUtils, communicationType_enum, contactOption_bo, businessObjectUtils, scrolling, relationSmallObject_bo, receiveGoodsForPurchaseOrderCorrectionRequest_bo, purchaseOrderLineReceiptCorrectionDetails_bo, getPurchasePortalLine, purchasePortalFilters_bo, goodsReceiptStatus_bo, articleExtendedRequest, quantityInHistoricState_enum) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -467,6 +467,7 @@
|
|
|
467
467
|
"BRANCH": "Filiaal",
|
|
468
468
|
"BRANCH_NUMBER": "Filiaalnummer",
|
|
469
469
|
"BUSINESS_RULE_DISCOUNT": "Business rule korting",
|
|
470
|
+
"BY": "Door",
|
|
470
471
|
"CANCEL": "Annuleren",
|
|
471
472
|
"CANNOT_CHANGE_NEGATIVE_QUANTITY": "Een negatieve voorraad kan niet gewijzigd worden.",
|
|
472
473
|
"CART": "Winkelwagen",
|
|
@@ -696,6 +697,7 @@
|
|
|
696
697
|
"REDISTRIBUTE_DISCOUNT": "Herverdeel korting",
|
|
697
698
|
"REFERENCE": "Referentie",
|
|
698
699
|
"REFERENCE_RELATION": "Ref. relatie",
|
|
700
|
+
"RELATION_ALREADY_LOCKED": "De relatie wordt al bewerkt",
|
|
699
701
|
"RELATION_NUMBER": "Relatienummer",
|
|
700
702
|
"REMARKS": "Opmerkingen",
|
|
701
703
|
"REQUESTED_DELIVERY": "Gevraagde leverdatum",
|
|
@@ -728,6 +730,7 @@
|
|
|
728
730
|
"SHOPPING_CART_RESUME": "Verder winkelen",
|
|
729
731
|
"SHOW_MORE": "Toon meer",
|
|
730
732
|
"SHOW_LESS": "Toon minder",
|
|
733
|
+
"SINCE": "Sinds",
|
|
731
734
|
"SPECIAL_DISCOUNT": "Speciale korting",
|
|
732
735
|
"SOURCE_WAREHOUSE": "Bron magazijn",
|
|
733
736
|
"STOCK": "Voorraad",
|
|
@@ -750,6 +753,7 @@
|
|
|
750
753
|
"TOTAL_ASSEMBLY_TIME": "Totale montagetijd",
|
|
751
754
|
"TOTAL_GROSS": "Totaal bruto",
|
|
752
755
|
"TOTAL_LINE_DISCOUNT": "Totale regelkorting",
|
|
756
|
+
"TRANSACTION_ALREADY_LOCKED": "De transactie wordt al bewerkt",
|
|
753
757
|
"TRANSACTION_DATE": "Orderdatum",
|
|
754
758
|
"TRANSACTION_DISCOUNT": "Transactie korting",
|
|
755
759
|
"TRANSACTION_DISCOUNT_PERC": "% Trans. korting",
|
|
@@ -818,6 +822,7 @@
|
|
|
818
822
|
"BRANCH": "Branch",
|
|
819
823
|
"BRANCH_NUMBER": "Branch number",
|
|
820
824
|
"BUSINESS_RULE_DISCOUNT": "Business rule discount",
|
|
825
|
+
"BY": "By",
|
|
821
826
|
"CANCEL": "Cancel",
|
|
822
827
|
"CANNOT_CHANGE_NEGATIVE_QUANTITY": "A negative supply cannot be changed.",
|
|
823
828
|
"CART": "Cart",
|
|
@@ -1034,6 +1039,7 @@
|
|
|
1034
1039
|
"RECEIVED_DELIVERED": "Received / delivered",
|
|
1035
1040
|
"REFERENCE": "Reference",
|
|
1036
1041
|
"REFERENCE_RELATION": "Ref. relation",
|
|
1042
|
+
"RELATION_ALREADY_LOCKED": "Relation is already locked",
|
|
1037
1043
|
"RELATION_NUMBER": "Relation number",
|
|
1038
1044
|
"REMARKS": "Remarks",
|
|
1039
1045
|
"REQUESTED_DELIVERY": "Requested delivery",
|
|
@@ -1065,6 +1071,7 @@
|
|
|
1065
1071
|
"SHOPPING_CART_RESUME": "Resume shopping",
|
|
1066
1072
|
"SHOW_MORE": "Show more",
|
|
1067
1073
|
"SHOW_LESS": "Show less",
|
|
1074
|
+
"SINCE": "Since",
|
|
1068
1075
|
"SPECIAL_DISCOUNT": "Special discount",
|
|
1069
1076
|
"SOURCE_WAREHOUSE": "Source warehouse",
|
|
1070
1077
|
"STOCK": "Stock",
|
|
@@ -1086,6 +1093,7 @@
|
|
|
1086
1093
|
"TOTAL_ASSEMBLY_TIME": "Total assembly time",
|
|
1087
1094
|
"TOTAL_GROSS": "Gross total",
|
|
1088
1095
|
"TOTAL_LINE_DISCOUNT": "Total linediscount",
|
|
1096
|
+
"TRANSACTION_ALREADY_LOCKED": "Transaction is already locked",
|
|
1089
1097
|
"TRANSACTION_DATE": "Transaction date",
|
|
1090
1098
|
"TRANSACTION_DISCOUNT": "Transaction discount",
|
|
1091
1099
|
"TRANSACTION_DISCOUNT_PERC": "% Trans. discount",
|
|
@@ -2422,6 +2430,7 @@
|
|
|
2422
2430
|
Icon["DeliveryTruck"] = "delivery_truck";
|
|
2423
2431
|
Icon["EditPencil"] = "edit_pencil";
|
|
2424
2432
|
Icon["EllipsisLight"] = "ellipsis_light";
|
|
2433
|
+
Icon["EllipsisVerticalSolid"] = "ellipsis_vertical_solid";
|
|
2425
2434
|
Icon["FileCircleInfoSolid"] = "file_circle_info_solid";
|
|
2426
2435
|
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
2427
2436
|
Icon["GearSolid"] = "gear_solid";
|
|
@@ -2493,6 +2502,7 @@
|
|
|
2493
2502
|
"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>",
|
|
2494
2503
|
"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>",
|
|
2495
2504
|
"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>",
|
|
2505
|
+
"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>",
|
|
2496
2506
|
"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>",
|
|
2497
2507
|
"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>",
|
|
2498
2508
|
"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>",
|
|
@@ -2620,7 +2630,7 @@
|
|
|
2620
2630
|
ConfirmationDialogComponent.decorators = [
|
|
2621
2631
|
{ type: i0.Component, args: [{
|
|
2622
2632
|
selector: "co-confirmation-dialog",
|
|
2623
|
-
template: "\n <co-dialog [showCloseIcon]=\"false\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <div class=\"confirmation-dialog-wrapper\">\n <div class=\"text\" [innerHTML]=\"text\"></div>\n <co-collapsible [headerTitle]=\"'DETAILS' | localize\" [iconData]=\"iconCacheService.getIcon(icons.TriangleDown)\" *ngIf=\"details\">\n <div class=\"dialog-details\" [innerHTML]=\"details\"></div>\n </co-collapsible>\n </div>\n </co-dialog>\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"title | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"button-wrapper\">\n <ng-container *ngIf=\"type === ptype.Confirmation\">\n <co-button [label]=\"'YES' | localize\" (click)=\"handleYesClick($event)\"></co-button>\n <co-button [label]=\"'NO' | localize\" (click)=\"handleNoClick($event)\"></co-button>\n </ng-container>\n <ng-container *ngIf=\"type === ptype.Information || type === ptype.Error\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick($event)\"></co-button>\n </ng-container>\n </div>\n </ng-template>\n ",
|
|
2633
|
+
template: "\n <co-dialog [showCloseIcon]=\"false\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <div class=\"confirmation-dialog-wrapper\">\n <div class=\"text\" [innerHTML]=\"text\"></div>\n <co-collapsible [headerTitle]=\"'DETAILS' | localize\" [iconData]=\"iconCacheService.getIcon(icons.TriangleDown)\" *ngIf=\"details\">\n <div class=\"dialog-details\" [innerHTML]=\"details\"></div>\n </co-collapsible>\n </div>\n </co-dialog>\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"title | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\">\n <ng-container *ngIf=\"type === ptype.Confirmation\">\n <co-button [label]=\"'YES' | localize\" (click)=\"handleYesClick($event)\"></co-button>\n <co-button [label]=\"'NO' | localize\" (click)=\"handleNoClick($event)\"></co-button>\n </ng-container>\n <ng-container *ngIf=\"type === ptype.Information || type === ptype.Error\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick($event)\"></co-button>\n </ng-container>\n </div>\n </ng-template>\n ",
|
|
2624
2634
|
encapsulation: i0.ViewEncapsulation.None
|
|
2625
2635
|
},] }
|
|
2626
2636
|
];
|
|
@@ -2685,7 +2695,7 @@
|
|
|
2685
2695
|
CharacteristicAnswerComponent.decorators = [
|
|
2686
2696
|
{ type: i0.Component, args: [{
|
|
2687
2697
|
selector: "co-characteristic-answer",
|
|
2688
|
-
template: "\n <co-dialog [showCloseIcon]=\"false\" [modal]=\"true\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <ng-container *ngIf=\"choices && choices.length > 0\">\n <div class=\"co-transaction-default-popup-row\" *ngFor=\"let choice of viewModels\">\n <co-input-checkbox [model]=\"choice.checked\" [label]=\"choice.value\" (click)=\"handleChecked($event, choice.value)\"></co-input-checkbox>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!choices || choices.length === 0\">\n <co-input-text\n [(model)]=\"value\"\n (enter)=\"handleOkClick()\"\n ></co-input-text>\n </ng-container>\n </co-dialog>\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"title\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2698
|
+
template: "\n <co-dialog [showCloseIcon]=\"false\" [modal]=\"true\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <ng-container *ngIf=\"choices && choices.length > 0\">\n <div class=\"co-transaction-default-popup-row\" *ngFor=\"let choice of viewModels\">\n <co-input-checkbox [model]=\"choice.checked\" [label]=\"choice.value\" (click)=\"handleChecked($event, choice.value)\"></co-input-checkbox>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!choices || choices.length === 0\">\n <co-input-text\n [(model)]=\"value\"\n (enter)=\"handleOkClick()\"\n ></co-input-text>\n </ng-container>\n </co-dialog>\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"title\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2689
2699
|
encapsulation: i0.ViewEncapsulation.None
|
|
2690
2700
|
},] }
|
|
2691
2701
|
];
|
|
@@ -2700,145 +2710,11 @@
|
|
|
2700
2710
|
showClass: [{ type: i0.HostBinding, args: ['class.co-characteristic-answer',] }]
|
|
2701
2711
|
};
|
|
2702
2712
|
|
|
2703
|
-
var
|
|
2704
|
-
function TransactionFilterPopupBaseComponent() {
|
|
2705
|
-
this.autoClose = false;
|
|
2706
|
-
this.useModel = true;
|
|
2707
|
-
this.valueChange = new i0.EventEmitter();
|
|
2708
|
-
this.closeAfterCommit = new i0.EventEmitter();
|
|
2709
|
-
this.viewModels = [];
|
|
2710
|
-
this.viewModelsFiltered = [];
|
|
2711
|
-
this.propsForLabel = [];
|
|
2712
|
-
this._collection = [];
|
|
2713
|
-
}
|
|
2714
|
-
Object.defineProperty(TransactionFilterPopupBaseComponent.prototype, "searchText", {
|
|
2715
|
-
get: function () {
|
|
2716
|
-
return this._searchText;
|
|
2717
|
-
},
|
|
2718
|
-
set: function (value) {
|
|
2719
|
-
this._searchText = value;
|
|
2720
|
-
this._doSearch();
|
|
2721
|
-
},
|
|
2722
|
-
enumerable: false,
|
|
2723
|
-
configurable: true
|
|
2724
|
-
});
|
|
2725
|
-
Object.defineProperty(TransactionFilterPopupBaseComponent.prototype, "collection", {
|
|
2726
|
-
get: function () {
|
|
2727
|
-
return this._collection;
|
|
2728
|
-
},
|
|
2729
|
-
set: function (value) {
|
|
2730
|
-
this._collection = value;
|
|
2731
|
-
this.prepareViewModels();
|
|
2732
|
-
},
|
|
2733
|
-
enumerable: false,
|
|
2734
|
-
configurable: true
|
|
2735
|
-
});
|
|
2736
|
-
Object.defineProperty(TransactionFilterPopupBaseComponent.prototype, "model", {
|
|
2737
|
-
get: function () {
|
|
2738
|
-
return undefined;
|
|
2739
|
-
},
|
|
2740
|
-
enumerable: false,
|
|
2741
|
-
configurable: true
|
|
2742
|
-
});
|
|
2743
|
-
TransactionFilterPopupBaseComponent.prototype.commit = function (value) {
|
|
2744
|
-
return Promise.resolve(true);
|
|
2745
|
-
};
|
|
2746
|
-
TransactionFilterPopupBaseComponent.prototype.handleChecked = function (row) {
|
|
2747
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2748
|
-
var currentModel, i;
|
|
2749
|
-
return __generator(this, function (_a) {
|
|
2750
|
-
switch (_a.label) {
|
|
2751
|
-
case 0:
|
|
2752
|
-
row.checked = true;
|
|
2753
|
-
currentModel = this.viewModels.find(function (v) { return v.value === row.value; });
|
|
2754
|
-
if (currentModel) {
|
|
2755
|
-
currentModel.checked = true;
|
|
2756
|
-
}
|
|
2757
|
-
for (i = 0; i < this.viewModels.length; i++) {
|
|
2758
|
-
if (this.viewModels[i].value !== row.value) {
|
|
2759
|
-
this.viewModels[i].checked = false;
|
|
2760
|
-
}
|
|
2761
|
-
}
|
|
2762
|
-
if (!this.useModel) return [3 /*break*/, 4];
|
|
2763
|
-
if (!this.autoClose) return [3 /*break*/, 2];
|
|
2764
|
-
return [4 /*yield*/, this.commit(row.value)];
|
|
2765
|
-
case 1:
|
|
2766
|
-
if (_a.sent()) {
|
|
2767
|
-
this.closeAfterCommit.emit();
|
|
2768
|
-
}
|
|
2769
|
-
return [3 /*break*/, 3];
|
|
2770
|
-
case 2:
|
|
2771
|
-
this.commit(row.value);
|
|
2772
|
-
_a.label = 3;
|
|
2773
|
-
case 3: return [3 /*break*/, 5];
|
|
2774
|
-
case 4:
|
|
2775
|
-
this.valueChange.emit(row.value);
|
|
2776
|
-
_a.label = 5;
|
|
2777
|
-
case 5: return [2 /*return*/];
|
|
2778
|
-
}
|
|
2779
|
-
});
|
|
2780
|
-
});
|
|
2781
|
-
};
|
|
2782
|
-
TransactionFilterPopupBaseComponent.prototype.prepareViewModels = function () {
|
|
2783
|
-
var _this = this;
|
|
2784
|
-
this.collection.forEach(function (d, index) {
|
|
2785
|
-
var labels = _this.propsForLabel.map(function (p) { return d[p]; });
|
|
2786
|
-
_this.viewModels.push({
|
|
2787
|
-
value: d[_this.codeField],
|
|
2788
|
-
propsForLabel: labels,
|
|
2789
|
-
checked: (_this.useModel && _this.model && _this.checkField) ?
|
|
2790
|
-
_this.model[_this.checkField] === d[_this.codeField] :
|
|
2791
|
-
(_this.value ? _this.value === d[_this.codeField] : index === 0)
|
|
2792
|
-
});
|
|
2793
|
-
});
|
|
2794
|
-
this.viewModelsFiltered = this.viewModels.slice();
|
|
2795
|
-
if (!this.useModel && this.viewModels.length > 0) {
|
|
2796
|
-
this.valueChange.next(this.value ? this.value : this.viewModels[0].value);
|
|
2797
|
-
}
|
|
2798
|
-
};
|
|
2799
|
-
TransactionFilterPopupBaseComponent.prototype._doSearch = function () {
|
|
2800
|
-
var _this = this;
|
|
2801
|
-
this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
2802
|
-
if (this.searchText) {
|
|
2803
|
-
this.viewModelsFiltered = this.viewModelsFiltered.filter(function (vmf) {
|
|
2804
|
-
return vmf.propsForLabel.find(function (p) { return p && p.toString().match(new RegExp(_this.searchText, 'gi')); });
|
|
2805
|
-
});
|
|
2806
|
-
// if (!this.searchText) {
|
|
2807
|
-
// this.viewModelsFiltered = this.viewModels.slice();
|
|
2808
|
-
// } else {
|
|
2809
|
-
// this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
2810
|
-
// for (let i = 0; i < this.viewModelsFiltered.length; i++) {
|
|
2811
|
-
// const vmf = this.viewModelsFiltered[i];
|
|
2812
|
-
// for (let j = 0; j < vmf.propsForLabel.length; j++) {
|
|
2813
|
-
// if (vmf.propsForLabel[j]) {
|
|
2814
|
-
// vmf.propsForLabel[j] = vmf.propsForLabel[j].replace(new RegExp(this.searchText, 'gi'), `<span class="highlight">${this.searchText}</span>`);
|
|
2815
|
-
// }
|
|
2816
|
-
// }
|
|
2817
|
-
// }
|
|
2818
|
-
}
|
|
2819
|
-
};
|
|
2820
|
-
return TransactionFilterPopupBaseComponent;
|
|
2821
|
-
}());
|
|
2822
|
-
TransactionFilterPopupBaseComponent.decorators = [
|
|
2823
|
-
{ type: i0.Directive }
|
|
2824
|
-
];
|
|
2825
|
-
TransactionFilterPopupBaseComponent.propDecorators = {
|
|
2826
|
-
autoClose: [{ type: i0.Input }],
|
|
2827
|
-
useModel: [{ type: i0.Input }],
|
|
2828
|
-
searchText: [{ type: i0.Input }],
|
|
2829
|
-
value: [{ type: i0.Input }],
|
|
2830
|
-
valueChange: [{ type: i0.Output }],
|
|
2831
|
-
closeAfterCommit: [{ type: i0.Output }]
|
|
2832
|
-
};
|
|
2833
|
-
|
|
2834
|
-
var TransactionLineBaseComponent = /** @class */ (function (_super) {
|
|
2835
|
-
__extends(TransactionLineBaseComponent, _super);
|
|
2713
|
+
var TransactionLineBaseComponent = /** @class */ (function () {
|
|
2836
2714
|
function TransactionLineBaseComponent() {
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
_this._transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
2841
|
-
return _this;
|
|
2715
|
+
this.readonly = false;
|
|
2716
|
+
this._transactionLine = new transactionLineInfo_bo.TransactionLineInfo();
|
|
2717
|
+
this._transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
2842
2718
|
}
|
|
2843
2719
|
Object.defineProperty(TransactionLineBaseComponent.prototype, "transactionLine", {
|
|
2844
2720
|
get: function () {
|
|
@@ -2885,7 +2761,7 @@
|
|
|
2885
2761
|
event.stopPropagation();
|
|
2886
2762
|
};
|
|
2887
2763
|
return TransactionLineBaseComponent;
|
|
2888
|
-
}(
|
|
2764
|
+
}());
|
|
2889
2765
|
TransactionLineBaseComponent.decorators = [
|
|
2890
2766
|
{ type: i0.Directive }
|
|
2891
2767
|
];
|
|
@@ -2899,6 +2775,8 @@
|
|
|
2899
2775
|
function DialogTransactionLineBaseComponent() {
|
|
2900
2776
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
2901
2777
|
_this.buttonType = AppPopupButtonType;
|
|
2778
|
+
_this.autoClose = false;
|
|
2779
|
+
_this.useModel = true;
|
|
2902
2780
|
_this.close = new i0.EventEmitter();
|
|
2903
2781
|
return _this;
|
|
2904
2782
|
}
|
|
@@ -2924,6 +2802,8 @@
|
|
|
2924
2802
|
{ type: i0.Directive }
|
|
2925
2803
|
];
|
|
2926
2804
|
DialogTransactionLineBaseComponent.propDecorators = {
|
|
2805
|
+
autoClose: [{ type: i0.Input }],
|
|
2806
|
+
useModel: [{ type: i0.Input }],
|
|
2927
2807
|
close: [{ type: i0.Output }]
|
|
2928
2808
|
};
|
|
2929
2809
|
|
|
@@ -2940,7 +2820,7 @@
|
|
|
2940
2820
|
DialogTransactionLineWarehouseComponent.decorators = [
|
|
2941
2821
|
{ type: i0.Component, args: [{
|
|
2942
2822
|
selector: "co-dialog-transaction-line-warehouse",
|
|
2943
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-warehouse\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-warehouse>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'WAREHOUSE'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2823
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-warehouse\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-warehouse>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'WAREHOUSE'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2944
2824
|
encapsulation: i0.ViewEncapsulation.None
|
|
2945
2825
|
},] }
|
|
2946
2826
|
];
|
|
@@ -2961,7 +2841,7 @@
|
|
|
2961
2841
|
DialogTransactionLineCommissionCodeComponent.decorators = [
|
|
2962
2842
|
{ type: i0.Component, args: [{
|
|
2963
2843
|
selector: "co-dialog-transaction-line-commission-code",
|
|
2964
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-commission-code\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-commission-code>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2844
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-commission-code\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-commission-code>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2965
2845
|
encapsulation: i0.ViewEncapsulation.None
|
|
2966
2846
|
},] }
|
|
2967
2847
|
];
|
|
@@ -3058,7 +2938,7 @@
|
|
|
3058
2938
|
DialogTransactionLineWarehouseLocationComponent.decorators = [
|
|
3059
2939
|
{ type: i0.Component, args: [{
|
|
3060
2940
|
selector: "co-dialog-transaction-line-warehouse-location",
|
|
3061
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"showClose\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-warehouse-location\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n [warehouseNr]=\"warehouseNr\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-warehouse-location>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'LOCATION'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2941
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"showClose\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-warehouse-location\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n [warehouseNr]=\"warehouseNr\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-warehouse-location>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'LOCATION'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
3062
2942
|
encapsulation: i0.ViewEncapsulation.None
|
|
3063
2943
|
},] }
|
|
3064
2944
|
];
|
|
@@ -3103,7 +2983,7 @@
|
|
|
3103
2983
|
DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
3104
2984
|
{ type: i0.Component, args: [{
|
|
3105
2985
|
selector: "co-dialog-transaction-line-warehouse-cc",
|
|
3106
|
-
template: "\n <co-dialog\n [customCssClass]=\"'co-transaction-small-toolbar'\"\n [headerTemplate]=\"dialogHeader\"\n [footerTemplate]=\"footerTemplate\"\n (closeClick)=\"handleDialogClose()\">\n <div class=\"transaction-line-warehouse-cc-section\">\n <co-input-number-picker class=\"quantity-number-picker\"\n [(model)]=\"quantity\" [min]=\"1\"\n (modelChange)=\"handleQuantityChange($event)\"></co-input-number-picker>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n <co-transaction-line-commission-code\n [value]=\"commissionCode\"\n [useModel]=\"false\"\n (valueChange)=\"handleCommissionCodeChange($event)\"></co-transaction-line-commission-code>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'WAREHOUSE' | localize\"></div>\n <co-transaction-line-warehouse\n [value]=\"warehouse\"\n [useModel]=\"false\"\n (valueChange)=\"handleWarehouseChange($event)\"></co-transaction-line-warehouse>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2986
|
+
template: "\n <co-dialog\n [customCssClass]=\"'co-transaction-small-toolbar'\"\n [headerTemplate]=\"dialogHeader\"\n [footerTemplate]=\"footerTemplate\"\n (closeClick)=\"handleDialogClose()\">\n <div class=\"transaction-line-warehouse-cc-section\">\n <co-input-number-picker class=\"quantity-number-picker\"\n [(model)]=\"quantity\" [min]=\"1\"\n (modelChange)=\"handleQuantityChange($event)\"></co-input-number-picker>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n <co-transaction-line-commission-code\n [value]=\"commissionCode\"\n [useModel]=\"false\"\n (valueChange)=\"handleCommissionCodeChange($event)\"></co-transaction-line-commission-code>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'WAREHOUSE' | localize\"></div>\n <co-transaction-line-warehouse\n [value]=\"warehouse\"\n [useModel]=\"false\"\n (valueChange)=\"handleWarehouseChange($event)\"></co-transaction-line-warehouse>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
3107
2987
|
encapsulation: i0.ViewEncapsulation.None
|
|
3108
2988
|
},] }
|
|
3109
2989
|
];
|
|
@@ -3538,6 +3418,26 @@
|
|
|
3538
3418
|
});
|
|
3539
3419
|
});
|
|
3540
3420
|
};
|
|
3421
|
+
TransactionConnectorAdapterService.prototype.lockTransactionById = function (transactionId, version) {
|
|
3422
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3423
|
+
var result;
|
|
3424
|
+
return __generator(this, function (_a) {
|
|
3425
|
+
switch (_a.label) {
|
|
3426
|
+
case 0: return [4 /*yield*/, this.connector.lockTransactionByTransId(transactionId, version)];
|
|
3427
|
+
case 1:
|
|
3428
|
+
result = _a.sent();
|
|
3429
|
+
if (result.validationResult && result.validationResult.success) {
|
|
3430
|
+
return [2 /*return*/, this._boFactory.makeWithRawBackendData(transactionLockResult_bo.TransactionLockResult, result.resultObject)];
|
|
3431
|
+
}
|
|
3432
|
+
else {
|
|
3433
|
+
this._handleExceptionFromResponse(result);
|
|
3434
|
+
return [2 /*return*/, null];
|
|
3435
|
+
}
|
|
3436
|
+
return [2 /*return*/];
|
|
3437
|
+
}
|
|
3438
|
+
});
|
|
3439
|
+
});
|
|
3440
|
+
};
|
|
3541
3441
|
TransactionConnectorAdapterService.prototype.getCustomerFullObject = function (relationNo) {
|
|
3542
3442
|
return __awaiter(this, void 0, void 0, function () {
|
|
3543
3443
|
var result;
|
|
@@ -4329,6 +4229,32 @@
|
|
|
4329
4229
|
});
|
|
4330
4230
|
});
|
|
4331
4231
|
};
|
|
4232
|
+
TransactionConnectorAdapterService.prototype.changeTransactionLineSupplier = function (uuid, lineUuid, id) {
|
|
4233
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4234
|
+
var request, response;
|
|
4235
|
+
return __generator(this, function (_a) {
|
|
4236
|
+
switch (_a.label) {
|
|
4237
|
+
case 0:
|
|
4238
|
+
request = {
|
|
4239
|
+
transactionUuid: uuid,
|
|
4240
|
+
lineUuid: lineUuid,
|
|
4241
|
+
newSupplierId: id
|
|
4242
|
+
};
|
|
4243
|
+
return [4 /*yield*/, this.connector.changeTransactionLineSupplier(request)];
|
|
4244
|
+
case 1:
|
|
4245
|
+
response = _a.sent();
|
|
4246
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
4247
|
+
return [2 /*return*/, this._boFactory.makeWithRawBackendData(transactionInfoResponse_bo.TransactionInfoResponse, response.resultObject)];
|
|
4248
|
+
}
|
|
4249
|
+
else {
|
|
4250
|
+
this._handleExceptionFromResponse(response);
|
|
4251
|
+
return [2 /*return*/, null];
|
|
4252
|
+
}
|
|
4253
|
+
return [2 /*return*/];
|
|
4254
|
+
}
|
|
4255
|
+
});
|
|
4256
|
+
});
|
|
4257
|
+
};
|
|
4332
4258
|
TransactionConnectorAdapterService.prototype.changeTransactionLineWarehouse = function (uuid, lineUuid, warehouseNumber) {
|
|
4333
4259
|
return __awaiter(this, void 0, void 0, function () {
|
|
4334
4260
|
var request, response;
|
|
@@ -5397,6 +5323,92 @@
|
|
|
5397
5323
|
});
|
|
5398
5324
|
});
|
|
5399
5325
|
};
|
|
5326
|
+
TransactionConnectorAdapterService.prototype.generateCommissionOrders = function (transId, onlyGenerateForDirectSellSuppliers) {
|
|
5327
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5328
|
+
var _this = this;
|
|
5329
|
+
return __generator(this, function (_a) {
|
|
5330
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
5331
|
+
return _this.connector.generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
5332
|
+
return __generator(this, function (_a) {
|
|
5333
|
+
if (result.validationResult && result.validationResult.success) {
|
|
5334
|
+
resolve(true);
|
|
5335
|
+
}
|
|
5336
|
+
else {
|
|
5337
|
+
reject(result.validationMessagesAsString);
|
|
5338
|
+
}
|
|
5339
|
+
return [2 /*return*/];
|
|
5340
|
+
});
|
|
5341
|
+
}); });
|
|
5342
|
+
})];
|
|
5343
|
+
});
|
|
5344
|
+
});
|
|
5345
|
+
};
|
|
5346
|
+
TransactionConnectorAdapterService.prototype.lockCustomerFullObject = function (relationNr) {
|
|
5347
|
+
var _this = this;
|
|
5348
|
+
return new Promise(function (resolve, reject) {
|
|
5349
|
+
return _this.connector.lockCustomerById(relationNr).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
5350
|
+
return __generator(this, function (_a) {
|
|
5351
|
+
resolve(result.validationResult);
|
|
5352
|
+
return [2 /*return*/];
|
|
5353
|
+
});
|
|
5354
|
+
}); });
|
|
5355
|
+
});
|
|
5356
|
+
};
|
|
5357
|
+
TransactionConnectorAdapterService.prototype.lockSupplierFullObject = function (relationNr) {
|
|
5358
|
+
var _this = this;
|
|
5359
|
+
return new Promise(function (resolve, reject) {
|
|
5360
|
+
return _this.connector.lockSupplierById(relationNr).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
5361
|
+
return __generator(this, function (_a) {
|
|
5362
|
+
resolve(result.validationResult);
|
|
5363
|
+
return [2 /*return*/];
|
|
5364
|
+
});
|
|
5365
|
+
}); });
|
|
5366
|
+
});
|
|
5367
|
+
};
|
|
5368
|
+
TransactionConnectorAdapterService.prototype.lockEmployeeFullObject = function (relationNr) {
|
|
5369
|
+
var _this = this;
|
|
5370
|
+
return new Promise(function (resolve, reject) {
|
|
5371
|
+
return _this.connector.lockEmployeeById(relationNr).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
5372
|
+
return __generator(this, function (_a) {
|
|
5373
|
+
resolve(result.validationResult);
|
|
5374
|
+
return [2 /*return*/];
|
|
5375
|
+
});
|
|
5376
|
+
}); });
|
|
5377
|
+
});
|
|
5378
|
+
};
|
|
5379
|
+
TransactionConnectorAdapterService.prototype.lockBranchFullObject = function (relationNr) {
|
|
5380
|
+
var _this = this;
|
|
5381
|
+
return new Promise(function (resolve, reject) {
|
|
5382
|
+
return _this.connector.lockBranchById(relationNr).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
5383
|
+
return __generator(this, function (_a) {
|
|
5384
|
+
resolve(result.validationResult);
|
|
5385
|
+
return [2 /*return*/];
|
|
5386
|
+
});
|
|
5387
|
+
}); });
|
|
5388
|
+
});
|
|
5389
|
+
};
|
|
5390
|
+
TransactionConnectorAdapterService.prototype.lockCompanyFullObject = function (relationNr) {
|
|
5391
|
+
var _this = this;
|
|
5392
|
+
return new Promise(function (resolve, reject) {
|
|
5393
|
+
return _this.connector.lockCompanyById(relationNr).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
5394
|
+
return __generator(this, function (_a) {
|
|
5395
|
+
resolve(result.validationResult);
|
|
5396
|
+
return [2 /*return*/];
|
|
5397
|
+
});
|
|
5398
|
+
}); });
|
|
5399
|
+
});
|
|
5400
|
+
};
|
|
5401
|
+
TransactionConnectorAdapterService.prototype.lockContactPerson = function (relationNr) {
|
|
5402
|
+
var _this = this;
|
|
5403
|
+
return new Promise(function (resolve, reject) {
|
|
5404
|
+
return _this.connector.lockContactPersonById(relationNr).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
5405
|
+
return __generator(this, function (_a) {
|
|
5406
|
+
resolve(result.validationResult);
|
|
5407
|
+
return [2 /*return*/];
|
|
5408
|
+
});
|
|
5409
|
+
}); });
|
|
5410
|
+
});
|
|
5411
|
+
};
|
|
5400
5412
|
TransactionConnectorAdapterService.prototype._handleExceptionFromResponse = function (result) {
|
|
5401
5413
|
this._errorService.showValidationError(result);
|
|
5402
5414
|
};
|
|
@@ -5531,6 +5543,9 @@
|
|
|
5531
5543
|
TransactionConnectorService.prototype.getTransactionById = function (transactionId) {
|
|
5532
5544
|
return this._adapterService.getTransactionById(transactionId);
|
|
5533
5545
|
};
|
|
5546
|
+
TransactionConnectorService.prototype.lockTransactionById = function (transId, version) {
|
|
5547
|
+
return this._adapterService.lockTransactionById(transId, version);
|
|
5548
|
+
};
|
|
5534
5549
|
TransactionConnectorService.prototype.commit = function () {
|
|
5535
5550
|
return this._adapterService.commit();
|
|
5536
5551
|
};
|
|
@@ -5850,6 +5865,13 @@
|
|
|
5850
5865
|
});
|
|
5851
5866
|
});
|
|
5852
5867
|
};
|
|
5868
|
+
TransactionConnectorService.prototype.changeTransactionLineSupplier = function (uuid, lineUuid, id) {
|
|
5869
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5870
|
+
return __generator(this, function (_a) {
|
|
5871
|
+
return [2 /*return*/, this._adapterService.changeTransactionLineSupplier(uuid, lineUuid, id)];
|
|
5872
|
+
});
|
|
5873
|
+
});
|
|
5874
|
+
};
|
|
5853
5875
|
TransactionConnectorService.prototype.changeTransactionLineWarehouse = function (uuid, lineUuid, warehouseNumber) {
|
|
5854
5876
|
return __awaiter(this, void 0, void 0, function () {
|
|
5855
5877
|
return __generator(this, function (_a) {
|
|
@@ -6144,6 +6166,27 @@
|
|
|
6144
6166
|
});
|
|
6145
6167
|
});
|
|
6146
6168
|
};
|
|
6169
|
+
TransactionConnectorService.prototype.generateCommissionOrders = function (transId, onlyGenerateForDirectSellSuppliers) {
|
|
6170
|
+
return this._adapterService.generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers);
|
|
6171
|
+
};
|
|
6172
|
+
TransactionConnectorService.prototype.lockCustomerFullObject = function (relationNr) {
|
|
6173
|
+
return this._adapterService.lockCustomerFullObject(relationNr);
|
|
6174
|
+
};
|
|
6175
|
+
TransactionConnectorService.prototype.lockSupplierFullObject = function (relationNr) {
|
|
6176
|
+
return this._adapterService.lockSupplierFullObject(relationNr);
|
|
6177
|
+
};
|
|
6178
|
+
TransactionConnectorService.prototype.lockEmployeeFullObject = function (relationNr) {
|
|
6179
|
+
return this._adapterService.lockEmployeeFullObject(relationNr);
|
|
6180
|
+
};
|
|
6181
|
+
TransactionConnectorService.prototype.lockBranchFullObject = function (relationNr) {
|
|
6182
|
+
return this._adapterService.lockBranchFullObject(relationNr);
|
|
6183
|
+
};
|
|
6184
|
+
TransactionConnectorService.prototype.lockCompanyFullObject = function (relationNr) {
|
|
6185
|
+
return this._adapterService.lockCompanyFullObject(relationNr);
|
|
6186
|
+
};
|
|
6187
|
+
TransactionConnectorService.prototype.lockContactPerson = function (relationNr) {
|
|
6188
|
+
return this._adapterService.lockContactPerson(relationNr);
|
|
6189
|
+
};
|
|
6147
6190
|
return TransactionConnectorService;
|
|
6148
6191
|
}());
|
|
6149
6192
|
TransactionConnectorService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionConnectorService_Factory() { return new TransactionConnectorService(i0__namespace.ɵɵinject(TransactionConnectorAdapterService), i0__namespace.ɵɵinject(SelectSingleCacheService), i0__namespace.ɵɵinject(SelectMultipleCacheService), i0__namespace.ɵɵinject(SelectMultipleParameterizedCacheService)); }, token: TransactionConnectorService, providedIn: "root" });
|
|
@@ -6267,12 +6310,44 @@
|
|
|
6267
6310
|
{ type: OptionsService }
|
|
6268
6311
|
]; };
|
|
6269
6312
|
|
|
6313
|
+
var TransactionEventService = /** @class */ (function () {
|
|
6314
|
+
function TransactionEventService() {
|
|
6315
|
+
this.addToCartBySku = new rxjs.Subject();
|
|
6316
|
+
this.addToCartBySelectorResult = new rxjs.Subject();
|
|
6317
|
+
this.openShoppingCartModule = new rxjs.Subject();
|
|
6318
|
+
this.loggedIn = new rxjs.Subject();
|
|
6319
|
+
this.addNewUserToShoppingCartModule = new rxjs.Subject();
|
|
6320
|
+
this.addUserRelationShoppingCartModule = new rxjs.Subject();
|
|
6321
|
+
this.addArticleLine = new rxjs.Subject();
|
|
6322
|
+
this.addTextLine = new rxjs.Subject();
|
|
6323
|
+
this.addArticleLineAt = new rxjs.Subject();
|
|
6324
|
+
this.addTextLineAt = new rxjs.Subject();
|
|
6325
|
+
this.changeLineSequence = new rxjs.Subject();
|
|
6326
|
+
this.transactionLineClicked = new rxjs.Subject();
|
|
6327
|
+
this.rightSidebarClose = new rxjs.Subject();
|
|
6328
|
+
this.scrollContent = new rxjs.Subject();
|
|
6329
|
+
this.commitReceivePurchaseOrders = new rxjs.Subject();
|
|
6330
|
+
this.selectAllLines = new rxjs.Subject();
|
|
6331
|
+
this.transactionLineChanged = new rxjs.Subject();
|
|
6332
|
+
this.openSidePanel = new rxjs.Subject();
|
|
6333
|
+
this.selectAllSalesOrderLinesForPurchase = new rxjs.Subject();
|
|
6334
|
+
this.generateCommissionOrders = new rxjs.Subject();
|
|
6335
|
+
}
|
|
6336
|
+
return TransactionEventService;
|
|
6337
|
+
}());
|
|
6338
|
+
TransactionEventService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
|
|
6339
|
+
TransactionEventService.decorators = [
|
|
6340
|
+
{ type: i0.Injectable, args: [{ providedIn: "root" },] }
|
|
6341
|
+
];
|
|
6342
|
+
|
|
6270
6343
|
var PendingReasonService = /** @class */ (function () {
|
|
6271
|
-
function PendingReasonService(dialogService, options, connector, articleConnector) {
|
|
6344
|
+
function PendingReasonService(dialogService, options, connector, articleConnector, dictionaryService, transactionEventService) {
|
|
6272
6345
|
this.dialogService = dialogService;
|
|
6273
6346
|
this.options = options;
|
|
6274
6347
|
this.connector = connector;
|
|
6275
6348
|
this.articleConnector = articleConnector;
|
|
6349
|
+
this.dictionaryService = dictionaryService;
|
|
6350
|
+
this.transactionEventService = transactionEventService;
|
|
6276
6351
|
this.logout = new rxjs.Subject();
|
|
6277
6352
|
this.transactionUpdated = new rxjs.BehaviorSubject(undefined);
|
|
6278
6353
|
this.relationUpdated = new rxjs.BehaviorSubject(undefined);
|
|
@@ -6706,7 +6781,7 @@
|
|
|
6706
6781
|
};
|
|
6707
6782
|
return PendingReasonService;
|
|
6708
6783
|
}());
|
|
6709
|
-
PendingReasonService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PendingReasonService_Factory() { return new PendingReasonService(i0__namespace.ɵɵinject(DialogService), i0__namespace.ɵɵinject(OptionsService), i0__namespace.ɵɵinject(TransactionConnectorService), i0__namespace.ɵɵinject(ArticleConnectorService)); }, token: PendingReasonService, providedIn: "root" });
|
|
6784
|
+
PendingReasonService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PendingReasonService_Factory() { return new PendingReasonService(i0__namespace.ɵɵinject(DialogService), i0__namespace.ɵɵinject(OptionsService), i0__namespace.ɵɵinject(TransactionConnectorService), i0__namespace.ɵɵinject(ArticleConnectorService), i0__namespace.ɵɵinject(DictionaryService), i0__namespace.ɵɵinject(TransactionEventService)); }, token: PendingReasonService, providedIn: "root" });
|
|
6710
6785
|
PendingReasonService.decorators = [
|
|
6711
6786
|
{ type: i0.Injectable, args: [{
|
|
6712
6787
|
providedIn: "root"
|
|
@@ -6716,13 +6791,24 @@
|
|
|
6716
6791
|
{ type: DialogService },
|
|
6717
6792
|
{ type: OptionsService },
|
|
6718
6793
|
{ type: TransactionConnectorService },
|
|
6719
|
-
{ type: ArticleConnectorService }
|
|
6794
|
+
{ type: ArticleConnectorService },
|
|
6795
|
+
{ type: DictionaryService },
|
|
6796
|
+
{ type: TransactionEventService }
|
|
6720
6797
|
]; };
|
|
6721
6798
|
|
|
6722
6799
|
var TransactionService = /** @class */ (function (_super) {
|
|
6723
6800
|
__extends(TransactionService, _super);
|
|
6724
6801
|
function TransactionService() {
|
|
6725
|
-
|
|
6802
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6803
|
+
_this._lockMethods = new Map([
|
|
6804
|
+
[relationKind_enum.RelationKind.Customer, function (relationNr) { return _this._lockCustomerFullObject(relationNr); }],
|
|
6805
|
+
[relationKind_enum.RelationKind.Supplier, function (relationNr) { return _this._lockSupplierFullObject(relationNr); }],
|
|
6806
|
+
[relationKind_enum.RelationKind.Personnel, function (relationNr) { return _this._lockEmployeeFullObject(relationNr); }],
|
|
6807
|
+
[relationKind_enum.RelationKind.Branch, function (relationNr) { return _this._lockBranchFullObject(relationNr); }],
|
|
6808
|
+
[relationKind_enum.RelationKind.Company, function (relationNr) { return _this._lockCompanyFullObject(relationNr); }],
|
|
6809
|
+
[relationKind_enum.RelationKind.ContactPerson, function (relationNr) { return _this._lockContactPerson(relationNr); }],
|
|
6810
|
+
]);
|
|
6811
|
+
return _this;
|
|
6726
6812
|
}
|
|
6727
6813
|
TransactionService.prototype.pendingLineOperationStatus = function (lineOperationStatuses) {
|
|
6728
6814
|
var status = lineOperationStatuses.find(function (line) { return line.pendingReasonType !== pendingReasonType_enum.PendingReasonType.NONE
|
|
@@ -6731,57 +6817,48 @@
|
|
|
6731
6817
|
};
|
|
6732
6818
|
TransactionService.prototype.updatePriceTransactionLine = function (uuid, lineUuid, price) {
|
|
6733
6819
|
return __awaiter(this, void 0, void 0, function () {
|
|
6734
|
-
var response
|
|
6820
|
+
var response;
|
|
6735
6821
|
return __generator(this, function (_a) {
|
|
6736
6822
|
switch (_a.label) {
|
|
6737
6823
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLinePrice(uuid, lineUuid, price)];
|
|
6738
6824
|
case 1:
|
|
6739
6825
|
response = _a.sent();
|
|
6740
|
-
if (
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
this.rememberCurrentTransaction(response);
|
|
6745
|
-
return [2 /*return*/, success];
|
|
6746
|
-
case 3: return [2 /*return*/, false];
|
|
6826
|
+
if (response) {
|
|
6827
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
6828
|
+
}
|
|
6829
|
+
return [2 /*return*/, false];
|
|
6747
6830
|
}
|
|
6748
6831
|
});
|
|
6749
6832
|
});
|
|
6750
6833
|
};
|
|
6751
6834
|
TransactionService.prototype.updateReferenceTransactionLine = function (uuid, lineUuid, reference) {
|
|
6752
6835
|
return __awaiter(this, void 0, void 0, function () {
|
|
6753
|
-
var response
|
|
6836
|
+
var response;
|
|
6754
6837
|
return __generator(this, function (_a) {
|
|
6755
6838
|
switch (_a.label) {
|
|
6756
6839
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLineReference(uuid, lineUuid, reference)];
|
|
6757
6840
|
case 1:
|
|
6758
6841
|
response = _a.sent();
|
|
6759
|
-
if (
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
this.rememberCurrentTransaction(response);
|
|
6764
|
-
return [2 /*return*/, success];
|
|
6765
|
-
case 3: return [2 /*return*/, false];
|
|
6842
|
+
if (response) {
|
|
6843
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
6844
|
+
}
|
|
6845
|
+
return [2 /*return*/, false];
|
|
6766
6846
|
}
|
|
6767
6847
|
});
|
|
6768
6848
|
});
|
|
6769
6849
|
};
|
|
6770
6850
|
TransactionService.prototype.updateGoodDescriptionTransactionLine = function (uuid, lineUuid, goodDescription) {
|
|
6771
6851
|
return __awaiter(this, void 0, void 0, function () {
|
|
6772
|
-
var response
|
|
6852
|
+
var response;
|
|
6773
6853
|
return __generator(this, function (_a) {
|
|
6774
6854
|
switch (_a.label) {
|
|
6775
6855
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLineGoodDescription(uuid, lineUuid, goodDescription)];
|
|
6776
6856
|
case 1:
|
|
6777
6857
|
response = _a.sent();
|
|
6778
|
-
if (
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6782
|
-
this.rememberCurrentTransaction(response);
|
|
6783
|
-
return [2 /*return*/, success];
|
|
6784
|
-
case 3: return [2 /*return*/, false];
|
|
6858
|
+
if (response) {
|
|
6859
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
6860
|
+
}
|
|
6861
|
+
return [2 /*return*/, false];
|
|
6785
6862
|
}
|
|
6786
6863
|
});
|
|
6787
6864
|
});
|
|
@@ -7111,133 +7188,128 @@
|
|
|
7111
7188
|
};
|
|
7112
7189
|
TransactionService.prototype.updateQuantityTransactionLine = function (uuid, lineUuid, quantity) {
|
|
7113
7190
|
return __awaiter(this, void 0, void 0, function () {
|
|
7114
|
-
var response
|
|
7191
|
+
var response;
|
|
7115
7192
|
return __generator(this, function (_a) {
|
|
7116
7193
|
switch (_a.label) {
|
|
7117
7194
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLineQuantity(uuid, lineUuid, quantity)];
|
|
7118
7195
|
case 1:
|
|
7119
7196
|
response = _a.sent();
|
|
7120
|
-
if (
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
this.rememberCurrentTransaction(response);
|
|
7125
|
-
return [2 /*return*/, success];
|
|
7126
|
-
case 3: return [2 /*return*/, false];
|
|
7197
|
+
if (response) {
|
|
7198
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7199
|
+
}
|
|
7200
|
+
return [2 /*return*/, false];
|
|
7127
7201
|
}
|
|
7128
7202
|
});
|
|
7129
7203
|
});
|
|
7130
7204
|
};
|
|
7131
7205
|
TransactionService.prototype.updateDeliveryDateTransactionLine = function (uuid, lineUuid, date) {
|
|
7132
7206
|
return __awaiter(this, void 0, void 0, function () {
|
|
7133
|
-
var response
|
|
7207
|
+
var response;
|
|
7134
7208
|
return __generator(this, function (_a) {
|
|
7135
7209
|
switch (_a.label) {
|
|
7136
7210
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLineDeliveryDate(uuid, lineUuid, date)];
|
|
7137
7211
|
case 1:
|
|
7138
7212
|
response = _a.sent();
|
|
7139
|
-
if (
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
this.rememberCurrentTransaction(response);
|
|
7144
|
-
return [2 /*return*/, success];
|
|
7145
|
-
case 3: return [2 /*return*/, false];
|
|
7213
|
+
if (response) {
|
|
7214
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7215
|
+
}
|
|
7216
|
+
return [2 /*return*/, false];
|
|
7146
7217
|
}
|
|
7147
7218
|
});
|
|
7148
7219
|
});
|
|
7149
7220
|
};
|
|
7150
7221
|
TransactionService.prototype.updatePriceListTransactionLine = function (uuid, lineUuid, priceList) {
|
|
7151
7222
|
return __awaiter(this, void 0, void 0, function () {
|
|
7152
|
-
var response
|
|
7223
|
+
var response;
|
|
7153
7224
|
return __generator(this, function (_a) {
|
|
7154
7225
|
switch (_a.label) {
|
|
7155
7226
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLinePriceList(uuid, lineUuid, priceList)];
|
|
7156
7227
|
case 1:
|
|
7157
7228
|
response = _a.sent();
|
|
7158
|
-
if (
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
this.rememberCurrentTransaction(response);
|
|
7163
|
-
return [2 /*return*/, success];
|
|
7164
|
-
case 3: return [2 /*return*/, false];
|
|
7229
|
+
if (response) {
|
|
7230
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7231
|
+
}
|
|
7232
|
+
return [2 /*return*/, false];
|
|
7165
7233
|
}
|
|
7166
7234
|
});
|
|
7167
7235
|
});
|
|
7168
7236
|
};
|
|
7169
7237
|
TransactionService.prototype.updateVatTransactionLine = function (uuid, lineUuid, id) {
|
|
7170
7238
|
return __awaiter(this, void 0, void 0, function () {
|
|
7171
|
-
var response
|
|
7239
|
+
var response;
|
|
7172
7240
|
return __generator(this, function (_a) {
|
|
7173
7241
|
switch (_a.label) {
|
|
7174
7242
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLineVat(uuid, lineUuid, id)];
|
|
7175
7243
|
case 1:
|
|
7176
7244
|
response = _a.sent();
|
|
7177
|
-
if (
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
this.rememberCurrentTransaction(response);
|
|
7182
|
-
return [2 /*return*/, success];
|
|
7183
|
-
case 3: return [2 /*return*/, false];
|
|
7245
|
+
if (response) {
|
|
7246
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7247
|
+
}
|
|
7248
|
+
return [2 /*return*/, false];
|
|
7184
7249
|
}
|
|
7185
7250
|
});
|
|
7186
7251
|
});
|
|
7187
7252
|
};
|
|
7188
7253
|
TransactionService.prototype.updateCommissionCodeTransactionLine = function (uuid, lineUuid, code) {
|
|
7189
7254
|
return __awaiter(this, void 0, void 0, function () {
|
|
7190
|
-
var response
|
|
7255
|
+
var response;
|
|
7191
7256
|
return __generator(this, function (_a) {
|
|
7192
7257
|
switch (_a.label) {
|
|
7193
7258
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLineCommissionCode(uuid, lineUuid, code)];
|
|
7194
7259
|
case 1:
|
|
7195
7260
|
response = _a.sent();
|
|
7196
|
-
if (
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7261
|
+
if (response) {
|
|
7262
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7263
|
+
}
|
|
7264
|
+
return [2 /*return*/, false];
|
|
7265
|
+
}
|
|
7266
|
+
});
|
|
7267
|
+
});
|
|
7268
|
+
};
|
|
7269
|
+
TransactionService.prototype.updateSupplierTransactionLine = function (uuid, lineUuid, id) {
|
|
7270
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7271
|
+
var response;
|
|
7272
|
+
return __generator(this, function (_a) {
|
|
7273
|
+
switch (_a.label) {
|
|
7274
|
+
case 0: return [4 /*yield*/, this.connector.changeTransactionLineSupplier(uuid, lineUuid, id)];
|
|
7275
|
+
case 1:
|
|
7276
|
+
response = _a.sent();
|
|
7277
|
+
if (response) {
|
|
7278
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7279
|
+
}
|
|
7280
|
+
return [2 /*return*/, false];
|
|
7203
7281
|
}
|
|
7204
7282
|
});
|
|
7205
7283
|
});
|
|
7206
7284
|
};
|
|
7207
7285
|
TransactionService.prototype.updateWarehouseTransactionLine = function (uuid, lineUuid, warehouseNumber) {
|
|
7208
7286
|
return __awaiter(this, void 0, void 0, function () {
|
|
7209
|
-
var response
|
|
7287
|
+
var response;
|
|
7210
7288
|
return __generator(this, function (_a) {
|
|
7211
7289
|
switch (_a.label) {
|
|
7212
7290
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLineWarehouse(uuid, lineUuid, warehouseNumber)];
|
|
7213
7291
|
case 1:
|
|
7214
7292
|
response = _a.sent();
|
|
7215
|
-
if (
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
this.rememberCurrentTransaction(response);
|
|
7220
|
-
return [2 /*return*/, success];
|
|
7221
|
-
case 3: return [2 /*return*/, false];
|
|
7293
|
+
if (response) {
|
|
7294
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7295
|
+
}
|
|
7296
|
+
return [2 /*return*/, false];
|
|
7222
7297
|
}
|
|
7223
7298
|
});
|
|
7224
7299
|
});
|
|
7225
7300
|
};
|
|
7226
7301
|
TransactionService.prototype.updateDeliveryMethodTransactionLine = function (uuid, lineUuid, method) {
|
|
7227
7302
|
return __awaiter(this, void 0, void 0, function () {
|
|
7228
|
-
var response
|
|
7303
|
+
var response;
|
|
7229
7304
|
return __generator(this, function (_a) {
|
|
7230
7305
|
switch (_a.label) {
|
|
7231
7306
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLineDeliveryMethod(uuid, lineUuid, method)];
|
|
7232
7307
|
case 1:
|
|
7233
7308
|
response = _a.sent();
|
|
7234
|
-
if (
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
this.rememberCurrentTransaction(response);
|
|
7239
|
-
return [2 /*return*/, success];
|
|
7240
|
-
case 3: return [2 /*return*/, false];
|
|
7309
|
+
if (response) {
|
|
7310
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7311
|
+
}
|
|
7312
|
+
return [2 /*return*/, false];
|
|
7241
7313
|
}
|
|
7242
7314
|
});
|
|
7243
7315
|
});
|
|
@@ -7246,19 +7318,32 @@
|
|
|
7246
7318
|
if (reason === void 0) { reason = ""; }
|
|
7247
7319
|
if (code === void 0) { code = ""; }
|
|
7248
7320
|
return __awaiter(this, void 0, void 0, function () {
|
|
7249
|
-
var response
|
|
7321
|
+
var response;
|
|
7250
7322
|
return __generator(this, function (_a) {
|
|
7251
7323
|
switch (_a.label) {
|
|
7252
7324
|
case 0: return [4 /*yield*/, this.connector.changeTransactionLineLineDiscount(uuid, lineUuid, type, discount, reason, code)];
|
|
7253
7325
|
case 1:
|
|
7254
7326
|
response = _a.sent();
|
|
7255
|
-
if (
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7327
|
+
if (response) {
|
|
7328
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7329
|
+
}
|
|
7330
|
+
return [2 /*return*/, false];
|
|
7331
|
+
}
|
|
7332
|
+
});
|
|
7333
|
+
});
|
|
7334
|
+
};
|
|
7335
|
+
TransactionService.prototype.generateCommissionOrders = function (transId, onlyGenerateForDirectSellSuppliers) {
|
|
7336
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7337
|
+
var response;
|
|
7338
|
+
return __generator(this, function (_a) {
|
|
7339
|
+
switch (_a.label) {
|
|
7340
|
+
case 0:
|
|
7341
|
+
this.transactionEventService.generateCommissionOrders.next(true);
|
|
7342
|
+
return [4 /*yield*/, this.connector.generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers)];
|
|
7343
|
+
case 1:
|
|
7344
|
+
response = _a.sent();
|
|
7345
|
+
this.transactionEventService.generateCommissionOrders.next(false);
|
|
7346
|
+
return [2 /*return*/, response];
|
|
7262
7347
|
}
|
|
7263
7348
|
});
|
|
7264
7349
|
});
|
|
@@ -7325,21 +7410,51 @@
|
|
|
7325
7410
|
var _this = this;
|
|
7326
7411
|
return new Promise(function (resolve, reject) {
|
|
7327
7412
|
_this.connector.getTransactionById(transactionId)
|
|
7328
|
-
.then(function (
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7413
|
+
.then(function (transaction) { return __awaiter(_this, void 0, void 0, function () {
|
|
7414
|
+
var lockResponse, lockDetails;
|
|
7415
|
+
return __generator(this, function (_a) {
|
|
7416
|
+
switch (_a.label) {
|
|
7417
|
+
case 0:
|
|
7418
|
+
if (!transaction.isSuccess) return [3 /*break*/, 2];
|
|
7419
|
+
return [4 /*yield*/, this.lockTransaction(transaction.transactionInfo.id, 0)];
|
|
7420
|
+
case 1:
|
|
7421
|
+
lockResponse = _a.sent();
|
|
7422
|
+
if (lockResponse && lockResponse.isLockSuccess) {
|
|
7423
|
+
this.rememberCurrentTransaction(transaction);
|
|
7424
|
+
this.transactionUpdated.next(transaction);
|
|
7425
|
+
}
|
|
7426
|
+
else {
|
|
7427
|
+
lockDetails = this.dictionaryService.get("BY") + ": " + lockResponse.lockedBy + "\n " + this.dictionaryService.get("SINCE", false) + " " + lockResponse.lockedSince.toLocaleString();
|
|
7428
|
+
this.dialogService.showError(this.dictionaryService.get("TRANSACTION_ALREADY_LOCKED"), lockDetails);
|
|
7429
|
+
}
|
|
7430
|
+
resolve(true);
|
|
7431
|
+
return [3 /*break*/, 3];
|
|
7432
|
+
case 2:
|
|
7433
|
+
reject(false);
|
|
7434
|
+
_a.label = 3;
|
|
7435
|
+
case 3: return [2 /*return*/];
|
|
7436
|
+
}
|
|
7437
|
+
});
|
|
7438
|
+
}); })
|
|
7338
7439
|
.catch(function (reason) {
|
|
7339
7440
|
reject(false);
|
|
7340
7441
|
});
|
|
7341
7442
|
});
|
|
7342
7443
|
};
|
|
7444
|
+
TransactionService.prototype.lockRelation = function (relationKind, relationNr) {
|
|
7445
|
+
var lockMethod = this._lockMethods.get(relationKind);
|
|
7446
|
+
if (lockMethod) {
|
|
7447
|
+
return lockMethod.call(this, relationNr);
|
|
7448
|
+
}
|
|
7449
|
+
else {
|
|
7450
|
+
var result = new validationResult.ValidationResult();
|
|
7451
|
+
result.success = false;
|
|
7452
|
+
return Promise.resolve(result);
|
|
7453
|
+
}
|
|
7454
|
+
};
|
|
7455
|
+
TransactionService.prototype.lockTransaction = function (transId, version) {
|
|
7456
|
+
return this.connector.lockTransactionById(transId, version);
|
|
7457
|
+
};
|
|
7343
7458
|
TransactionService.prototype.commit = function () {
|
|
7344
7459
|
return this.connector.commit();
|
|
7345
7460
|
};
|
|
@@ -7449,12 +7564,7 @@
|
|
|
7449
7564
|
return [4 /*yield*/, this.connector.addTransactionLine(this.currentTransaction.transactionInfo.uuid, transactionLineType_enum.TransactionLineType.ArticleLine, articleNo, null, null, null, isReturn, aboveLineNr, belowLineNr)];
|
|
7450
7565
|
case 2:
|
|
7451
7566
|
response = _a.sent();
|
|
7452
|
-
return [
|
|
7453
|
-
case 3:
|
|
7454
|
-
if (_a.sent()) {
|
|
7455
|
-
this.rememberCurrentTransaction(response);
|
|
7456
|
-
}
|
|
7457
|
-
return [2 /*return*/, true];
|
|
7567
|
+
return [2 /*return*/, this.handleLineOperationStatuses(response)];
|
|
7458
7568
|
}
|
|
7459
7569
|
});
|
|
7460
7570
|
});
|
|
@@ -7802,9 +7912,27 @@
|
|
|
7802
7912
|
});
|
|
7803
7913
|
});
|
|
7804
7914
|
};
|
|
7915
|
+
TransactionService.prototype._lockCustomerFullObject = function (relationNr) {
|
|
7916
|
+
return this.connector.lockCustomerFullObject(relationNr);
|
|
7917
|
+
};
|
|
7918
|
+
TransactionService.prototype._lockSupplierFullObject = function (relationNr) {
|
|
7919
|
+
return this.connector.lockSupplierFullObject(relationNr);
|
|
7920
|
+
};
|
|
7921
|
+
TransactionService.prototype._lockEmployeeFullObject = function (relationNr) {
|
|
7922
|
+
return this.connector.lockEmployeeFullObject(relationNr);
|
|
7923
|
+
};
|
|
7924
|
+
TransactionService.prototype._lockBranchFullObject = function (relationNr) {
|
|
7925
|
+
return this.connector.lockBranchFullObject(relationNr);
|
|
7926
|
+
};
|
|
7927
|
+
TransactionService.prototype._lockCompanyFullObject = function (relationNr) {
|
|
7928
|
+
return this.connector.lockCompanyFullObject(relationNr);
|
|
7929
|
+
};
|
|
7930
|
+
TransactionService.prototype._lockContactPerson = function (relationNr) {
|
|
7931
|
+
return this.connector.lockContactPerson(relationNr);
|
|
7932
|
+
};
|
|
7805
7933
|
return TransactionService;
|
|
7806
7934
|
}(PendingReasonService));
|
|
7807
|
-
TransactionService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionService_Factory() { return new TransactionService(i0__namespace.ɵɵinject(DialogService), i0__namespace.ɵɵinject(OptionsService), i0__namespace.ɵɵinject(TransactionConnectorService), i0__namespace.ɵɵinject(ArticleConnectorService)); }, token: TransactionService, providedIn: "root" });
|
|
7935
|
+
TransactionService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionService_Factory() { return new TransactionService(i0__namespace.ɵɵinject(DialogService), i0__namespace.ɵɵinject(OptionsService), i0__namespace.ɵɵinject(TransactionConnectorService), i0__namespace.ɵɵinject(ArticleConnectorService), i0__namespace.ɵɵinject(DictionaryService), i0__namespace.ɵɵinject(TransactionEventService)); }, token: TransactionService, providedIn: "root" });
|
|
7808
7936
|
TransactionService.decorators = [
|
|
7809
7937
|
{ type: i0.Injectable, args: [{
|
|
7810
7938
|
providedIn: "root"
|
|
@@ -7936,7 +8064,7 @@
|
|
|
7936
8064
|
CheckoutComponent.decorators = [
|
|
7937
8065
|
{ type: i0.Component, args: [{
|
|
7938
8066
|
selector: "co-checkout",
|
|
7939
|
-
template: "\n <co-stepper #stepper [finishButtonLabel]=\"'CHECKOUT_FINISH' | localize\" (finishStep)=\"handleFinishStep()\">\n <co-stepper-step #stepRelation [index]=\"1\" [label]=\"'YOUR_DATA' | localize\" (validateStep)=\"handleRelationValidation()\">\n <co-checkout-overview-relation-edit #checkoutRelation *ngIf=\"stepRelation.show\" [(relation)]=\"service.relation\"\n
|
|
8067
|
+
template: "\n <co-stepper #stepper [finishButtonLabel]=\"'CHECKOUT_FINISH' | localize\" (finishStep)=\"handleFinishStep()\">\n <co-stepper-step #stepRelation [index]=\"1\" [label]=\"'YOUR_DATA' | localize\" (validateStep)=\"handleRelationValidation()\">\n <co-checkout-overview-relation-edit #checkoutRelation *ngIf=\"stepRelation.show\" [(relation)]=\"service.relation\"\n (deliveryAddressChange)=\"handleDeliveryAddressChange($event)\"\n (invoiceAddressChange)=\"handleInvoiceAddressChange($event)\"\n (relationChange)=\"service.relation = $event\"\n ></co-checkout-overview-relation-edit>\n </co-stepper-step>\n <co-stepper-step #stepDelivery [index]=\"2\" [label]=\"'DELIVERY' | localize\" (validateStep)=\"handleDeliveryValidation()\">\n <co-checkout-overview-delivery-edit #checkoutDelivery *ngIf=\"stepDelivery.show\"\n [transaction]=\"service.currentTransaction\"\n ></co-checkout-overview-delivery-edit>\n </co-stepper-step>\n <co-stepper-step #stepOverview [index]=\"3\" [label]=\"'OVERVIEW_AND_PAYMENT' | localize\">\n <co-checkout-overview-payment *ngIf=\"stepOverview.show\"\n [relation]=\"service.relation\"\n [transaction]=\"service.currentTransaction\"\n (changeYourDataClick)=\"stepper.goto(0)\"\n (changeDeliveryClick)=\"stepper.goto(1)\"\n (payed)=\"handleTransactionFinished($event)\"\n ></co-checkout-overview-payment>\n </co-stepper-step>\n <div class=\"co-checkout-right-panel\">\n <div class=\"co-checkout-right-panel-relation\">\n <co-avatar [relationId]=\"sellerId\"></co-avatar>\n </div>\n <co-shopping-cart-preview [showCheckoutButton]=\"false\" [withoutBorder]=\"true\"></co-shopping-cart-preview>\n </div>\n </co-stepper>\n ",
|
|
7940
8068
|
encapsulation: i0.ViewEncapsulation.None
|
|
7941
8069
|
},] }
|
|
7942
8070
|
];
|
|
@@ -7979,8 +8107,8 @@
|
|
|
7979
8107
|
// public privacySettings: RelationPrivacySetting[];
|
|
7980
8108
|
// public addresses: Address[] = [];
|
|
7981
8109
|
this._relation = new customerFullObject_bo.CustomerFullObject();
|
|
7982
|
-
|
|
7983
|
-
|
|
8110
|
+
// public deliveryAddressIdx: number = 0;
|
|
8111
|
+
// public invoiceAddressIdx: number = 0;
|
|
7984
8112
|
this.editAddressType = addressType_enum.AddressType.DeliveryAddress;
|
|
7985
8113
|
}
|
|
7986
8114
|
Object.defineProperty(CheckoutOverviewRelationEditComponent.prototype, "relation", {
|
|
@@ -7993,24 +8121,9 @@
|
|
|
7993
8121
|
this._relation = value;
|
|
7994
8122
|
if (this._relation) {
|
|
7995
8123
|
this.address = this._relation.getFirstAddressOrCreateNew();
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
configurable: true
|
|
8000
|
-
});
|
|
8001
|
-
Object.defineProperty(CheckoutOverviewRelationEditComponent.prototype, "deliveryAddressNawNr", {
|
|
8002
|
-
set: function (value) {
|
|
8003
|
-
if (value && this.relation && this.relation.addresses) {
|
|
8004
|
-
this.deliveryAddressIdx = this.relation.addresses.findIndex(function (a) { return a.nawNr === value; });
|
|
8005
|
-
}
|
|
8006
|
-
},
|
|
8007
|
-
enumerable: false,
|
|
8008
|
-
configurable: true
|
|
8009
|
-
});
|
|
8010
|
-
Object.defineProperty(CheckoutOverviewRelationEditComponent.prototype, "invoiceAddressNawNr", {
|
|
8011
|
-
set: function (value) {
|
|
8012
|
-
if (value && this.relation && this.relation.addresses) {
|
|
8013
|
-
this.invoiceAddressIdx = this.relation.addresses.findIndex(function (a) { return a.nawNr === value; });
|
|
8124
|
+
var firstActiveAddress = this._relation.activeAddresses.length > 0 ? this._relation.activeAddresses[0] : undefined;
|
|
8125
|
+
this.deliveryAddressNawNr = firstActiveAddress ? firstActiveAddress.nawNr : 0;
|
|
8126
|
+
this.invoiceAddressNawNr = firstActiveAddress ? firstActiveAddress.nawNr : 0;
|
|
8014
8127
|
}
|
|
8015
8128
|
},
|
|
8016
8129
|
enumerable: false,
|
|
@@ -8070,15 +8183,16 @@
|
|
|
8070
8183
|
// this.editAddressType = deliveryAddress ? AddressType.DeliveryAddress : AddressType.BillingAddress;
|
|
8071
8184
|
// this.showSelectAddressDialog = true;
|
|
8072
8185
|
// }
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
}
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8186
|
+
// public setIndexDeliveryAddress(idx: number): void {
|
|
8187
|
+
// this.deliveryAddressIdx = idx;
|
|
8188
|
+
// this.editAddressType = AddressType.DeliveryAddress;
|
|
8189
|
+
// }
|
|
8190
|
+
//
|
|
8191
|
+
// public setIndexInvoiceAddress(idx: number): void {
|
|
8192
|
+
// this.invoiceAddressIdx = idx;
|
|
8193
|
+
// this.editAddressType = AddressType.BillingAddress;
|
|
8194
|
+
// // this.selectAddress(this.relation.addresses[idx]);
|
|
8195
|
+
// }
|
|
8082
8196
|
// public editAddress(addr: Address): void {
|
|
8083
8197
|
// this.addressToEdit = <Address><unknown>this._boFactory.makeWithRawBackendData(Address, addr);
|
|
8084
8198
|
// this.showEditAddressDialog()
|
|
@@ -8176,7 +8290,7 @@
|
|
|
8176
8290
|
CheckoutOverviewRelationEditComponent.decorators = [
|
|
8177
8291
|
{ type: i0.Component, args: [{
|
|
8178
8292
|
selector: "co-checkout-overview-relation-edit",
|
|
8179
|
-
template: "\n <div class=\"relation-edit-content\">\n <co-form>\n <div class=\"checkout-form-wrapper\">\n <div class=\"checkout-label-column\">\n <span>01</span>\n <span class=\"label\" [textContent]=\"'PERSONAL_DATA' | localize\"></span>\n </div>\n <div class=\"checkout-data-column\">\n <co-relation-type\n
|
|
8293
|
+
template: "\n <div class=\"relation-edit-content\">\n <co-form>\n <div class=\"checkout-form-wrapper\">\n <div class=\"checkout-label-column\">\n <span>01</span>\n <span class=\"label\" [textContent]=\"'PERSONAL_DATA' | localize\"></span>\n </div>\n <div class=\"checkout-data-column\">\n <div class=\"checkout-data-row\">\n <co-relation-type\n [relation]=\"relation\"\n ></co-relation-type>\n </div>\n <div class=\"checkout-data-row\">\n <relation-customer-groups [(model)]=\"relation.customerGroup\" required></relation-customer-groups>\n </div>\n <div class=\"checkout-data-row\">\n <co-relation-general [relation]=\"relation\" (relationChange)=\"updateRelation($event)\"></co-relation-general>\n </div>\n <div class=\"checkout-data-row\">\n <co-relation-address [address]=\"address\"></co-relation-address>\n </div>\n </div>\n <div class=\"checkout-data-column\">\n <div class=\"checkout-data-row\">\n <co-relation-addresses\n [relation]=\"relation\"\n [addresses]=\"relation.addresses\"\n [type]=\"addressType.DeliveryAddress\"\n [selectedNawNr]=\"deliveryAddressNawNr\"\n (selectedNawNrChange)=\"deliveryAddressChange.emit($event)\"\n ></co-relation-addresses>\n </div>\n </div>\n <div class=\"checkout-label-column\">\n <span>02</span>\n <span class=\"label\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n </div>\n <div class=\"checkout-data-column\">\n <div class=\"checkout-data-row\">\n <co-input-checkbox [(model)]=\"service.invoiceAddressSameAsDelivery\" (modelChange)=\"checkSameAddress($event)\" [label]=\"'SAME_AS_DELIVERY' | localize\"></co-input-checkbox>\n </div>\n <div class=\"overview-delivery-invoice-address\" *ngIf=\"!service.invoiceAddressSameAsDelivery\" @showHideInvoiceAddress>\n <div class=\"checkout-data-row\">\n <co-relation-addresses\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.BillingAddress\"\n [selectedNawNr]=\"invoiceAddressNawNr\"\n (selectedNawNrChange)=\"invoiceAddressChange.emit($event)\"\n ></co-relation-addresses>\n </div>\n </div>\n </div>\n <div class=\"checkout-label-column\">\n <span>03</span>\n <span class=\"label\" [textContent]=\"'CONTACT_DETAILS' | localize\"></span>\n </div>\n <div class=\"checkout-data-column\">\n <div class=\"checkout-data-row\">\n <co-relation-contact-details [relation]=\"relation\"></co-relation-contact-details>\n </div>\n </div>\n <div class=\"checkout-label-column\">\n <span>04</span>\n <span class=\"label\" [textContent]=\"'PRIVACY_PREFERENCES' | localize\"></span>\n </div>\n <div class=\"checkout-data-column\">\n <div class=\"checkout-data-row\">\n <co-relation-preferences [relation]=\"relation\"></co-relation-preferences>\n </div>\n </div>\n </div>\n </co-form>\n </div>\n ",
|
|
8180
8294
|
providers: [
|
|
8181
8295
|
corecomponents_v12.FormMasterService
|
|
8182
8296
|
],
|
|
@@ -8215,8 +8329,6 @@
|
|
|
8215
8329
|
]; };
|
|
8216
8330
|
CheckoutOverviewRelationEditComponent.propDecorators = {
|
|
8217
8331
|
relation: [{ type: i0.Input }],
|
|
8218
|
-
deliveryAddressNawNr: [{ type: i0.Input }],
|
|
8219
|
-
invoiceAddressNawNr: [{ type: i0.Input }],
|
|
8220
8332
|
validSubmit: [{ type: i0.Output }],
|
|
8221
8333
|
invalidSubmit: [{ type: i0.Output }],
|
|
8222
8334
|
deliveryAddressChange: [{ type: i0.Output }],
|
|
@@ -8373,7 +8485,7 @@
|
|
|
8373
8485
|
CheckoutOverviewDeliveryEditComponent.decorators = [
|
|
8374
8486
|
{ type: i0.Component, args: [{
|
|
8375
8487
|
selector: "co-checkout-overview-delivery-edit",
|
|
8376
|
-
template: "\n <div class=\"delivery-edit-content\">\n <co-form>\n <div class=\"checkout-form-wrapper\">\n <div class=\"checkout-
|
|
8488
|
+
template: "\n <div class=\"delivery-edit-content\">\n <co-form>\n <div class=\"checkout-form-wrapper\">\n <div class=\"checkout-label-column\">\n <span>01</span>\n <span class=\"label\" [textContent]=\"'DELIVERY_DATA' | localize\"></span>\n </div>\n <div class=\"checkout-data-column\">\n <div class=\"checkout-data-row\">\n <co-transaction-header-delivery-method\n [transactionInfo]=\"transaction.transactionInfo\"\n [filterOnWizard]=\"true\"\n (deliveryMethodChange)=\"currentDeliveryMethod = $event\"\n ></co-transaction-header-delivery-method>\n </div>\n <div class=\"checkout-data-row\">\n <co-transaction-header-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transaction.transactionInfo\"\n ></co-transaction-header-delivery-date>\n <co-transaction-header-preferred-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transaction.transactionInfo\"\n ></co-transaction-header-preferred-delivery-date>\n </div>\n <div class=\"checkout-data-row\">\n <co-transaction-header-partial-delivery [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-partial-delivery>\n </div>\n <div class=\"checkout-data-row\">\n <co-collapsible [headerTitle]=\"'ADD_DELIVERY_OPTION' | localize\" [iconData]=\"iconService.getIcon(icons.TriangleDown)\">\n <div class=\"checkout-data-row\">\n <co-transaction-header-delivery-options\n [transactionInfo]=\"transaction.transactionInfo\"\n [deliveryMethod]=\"currentDeliveryMethod\"\n ></co-transaction-header-delivery-options>\n </div>\n </co-collapsible>\n </div>\n <div class=\"checkout-data-row\">\n <co-collapsible [headerTitle]=\"'ADD_REMARK' | localize\" [iconData]=\"iconService.getIcon(icons.TriangleDown)\">\n <div class=\"checkout-data-row\">\n <co-transaction-header-remarks [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-remarks>\n </div>\n </co-collapsible>\n </div>\n <div class=\"checkout-data-row\">\n <co-collapsible [headerTitle]=\"'ADD_REFERENCE' | localize\" [iconData]=\"iconService.getIcon(icons.TriangleDown)\">\n <div class=\"checkout-data-row\">\n <co-transaction-header-reference [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-reference>\n </div>\n <div class=\"checkout-data-row\">\n <co-transaction-header-relation-reference [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-relation-reference>\n </div>\n </co-collapsible>\n </div>\n <div class=\"checkout-data-row\">\n <co-input-date [model]=\"'NOG_NIET_GEIMPLEMENTEERD'\" [placeholder]=\"'ASSEMBLY_DATE' | localize\"></co-input-date>\n </div>\n </div>\n <div class=\"checkout-label-column\">\n <span>02</span>\n <span class=\"label\" [textContent]=\"'DOWNPAYMENT' | localize\"></span>\n </div>\n <div class=\"checkout-data-column\">\n <div class=\"checkout-data-row\">\n <co-transaction-header-downpayment-percentage [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-downpayment-percentage>\n <co-transaction-header-downpayment-amount [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-downpayment-amount>\n </div>\n <div class=\"checkout-data-row\">\n <co-input-text [model]=\"'NOG_NIET_GEIMPLEMENTEERD'\" [placeholder]=\"'DOWNPAYMENT_BY_BR' | localize\"></co-input-text>\n </div>\n <div class=\"checkout-data-row\">\n <co-input-text [model]=\"'NOG_NIET_GEIMPLEMENTEERD'\" [placeholder]=\"'DOWNPAYMENT_ON_DELIVERY' | localize\"></co-input-text>\n </div>\n </div>\n <div class=\"checkout-label-column\">\n <span>03</span>\n <span class=\"label\" [textContent]=\"'ORDER_DATA' | localize\"></span>\n </div>\n <div class=\"checkout-data-column\">\n <div class=\"checkout-data-row\">\n <co-transaction-header-branch [simple]=\"true\" [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-branch>\n <co-transaction-header-administrative-relation [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-administrative-relation>\n </div>\n <div class=\"checkout-data-row\">\n <span class=\"label\" [textContent]=\"'MARKETING_CODE' | localize\"></span>\n </div>\n <div class=\"checkout-data-row\">\n <co-transaction-header-marketing [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-marketing>\n </div>\n <div class=\"checkout-data-row\">\n <span class=\"label\" [textContent]=\"'ORDER_PARAMETERS' | localize\"></span>\n </div>\n <div class=\"checkout-data-row\">\n <co-transaction-header-definitive [transactionInfo]=\"transaction.transactionInfo\"></co-transaction-header-definitive>\n </div>\n </div>\n </div>\n </co-form>\n </div>\n ",
|
|
8377
8489
|
providers: [
|
|
8378
8490
|
corecomponents_v12.FormMasterService
|
|
8379
8491
|
],
|
|
@@ -8540,6 +8652,7 @@
|
|
|
8540
8652
|
var CustomerGroupsComponent = /** @class */ (function () {
|
|
8541
8653
|
function CustomerGroupsComponent(_connector) {
|
|
8542
8654
|
this._connector = _connector;
|
|
8655
|
+
this.readonly = false;
|
|
8543
8656
|
this.required = false;
|
|
8544
8657
|
this.modelChange = new i0.EventEmitter();
|
|
8545
8658
|
this.customerGroups = [];
|
|
@@ -8561,7 +8674,7 @@
|
|
|
8561
8674
|
CustomerGroupsComponent.decorators = [
|
|
8562
8675
|
{ type: i0.Component, args: [{
|
|
8563
8676
|
selector: "relation-customer-groups",
|
|
8564
|
-
template: "\n <co-input-combo-box [model]=\"model\"\n (modelChange)=\"modelChange.emit($event)\"\n [collection]=\"customerGroups\"\n [fields]=\"fields\"\n [placeholder]=\"'CUSTOMER_GROUP' | localize\"\n [required]=\"required\"\n ></co-input-combo-box>\n ",
|
|
8677
|
+
template: "\n <co-input-combo-box [model]=\"model\"\n [readonly]=\"readonly\"\n (modelChange)=\"modelChange.emit($event)\"\n [collection]=\"customerGroups\"\n [fields]=\"fields\"\n [placeholder]=\"'CUSTOMER_GROUP' | localize\"\n [required]=\"required\"\n ></co-input-combo-box>\n ",
|
|
8565
8678
|
styles: [":host{display:flex}:host .co-input-combo-box{width:100%}\n"]
|
|
8566
8679
|
},] }
|
|
8567
8680
|
];
|
|
@@ -8569,6 +8682,7 @@
|
|
|
8569
8682
|
{ type: TransactionConnectorService }
|
|
8570
8683
|
]; };
|
|
8571
8684
|
CustomerGroupsComponent.propDecorators = {
|
|
8685
|
+
readonly: [{ type: i0.Input }],
|
|
8572
8686
|
required: [{ type: i0.Input }],
|
|
8573
8687
|
model: [{ type: i0.Input }],
|
|
8574
8688
|
modelChange: [{ type: i0.Output }]
|
|
@@ -8885,18 +8999,6 @@
|
|
|
8885
8999
|
},] }
|
|
8886
9000
|
];
|
|
8887
9001
|
|
|
8888
|
-
var LoaderComponent = /** @class */ (function () {
|
|
8889
|
-
function LoaderComponent() {
|
|
8890
|
-
}
|
|
8891
|
-
return LoaderComponent;
|
|
8892
|
-
}());
|
|
8893
|
-
LoaderComponent.decorators = [
|
|
8894
|
-
{ type: i0.Component, args: [{
|
|
8895
|
-
selector: "transaction-loader",
|
|
8896
|
-
template: "\n <div class=\"transaction-loader\">\n <svg width=\"38\" height=\"38\" viewBox=\"0 0 38 38\" xmlns=\"http://www.w3.org/2000/svg\">\n <defs>\n <linearGradient x1=\"8.042%\" y1=\"0%\" x2=\"65.682%\" y2=\"23.865%\" id=\"a\">\n <stop stop-color=\"#000\" stop-opacity=\"0\" offset=\"0%\"/>\n <stop stop-color=\"#000\" stop-opacity=\".631\" offset=\"63.146%\"/>\n <stop stop-color=\"#000\" offset=\"100%\"/>\n </linearGradient>\n </defs>\n <g fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(1 1)\">\n <path d=\"M36 18c0-9.94-8.06-18-18-18\" id=\"Oval-2\" stroke=\"url(#a)\" stroke-width=\"2\">\n <animateTransform\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 18 18\"\n to=\"360 18 18\"\n dur=\"0.9s\"\n repeatCount=\"indefinite\" />\n </path>\n <circle fill=\"#000\" cx=\"36\" cy=\"18\" r=\"1\">\n <animateTransform\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 18 18\"\n to=\"360 18 18\"\n dur=\"0.9s\"\n repeatCount=\"indefinite\" />\n </circle>\n </g>\n </g>\n </svg>\n </div>\n "
|
|
8897
|
-
},] }
|
|
8898
|
-
];
|
|
8899
|
-
|
|
8900
9002
|
var CharacteristicAnswerModule = /** @class */ (function () {
|
|
8901
9003
|
function CharacteristicAnswerModule() {
|
|
8902
9004
|
}
|
|
@@ -8959,7 +9061,7 @@
|
|
|
8959
9061
|
WarehouseComponent.decorators = [
|
|
8960
9062
|
{ type: i0.Component, args: [{
|
|
8961
9063
|
selector: "co-warehouse",
|
|
8962
|
-
template: "\n <co-dialog [showCloseIcon]=\"false\" [modal]=\"true\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <div class=\"co-transaction-default-popup-row\" *ngFor=\"let model of viewModels\">\n <co-input-checkbox [model]=\"model.checked\" [label]=\"model.text\" (click)=\"handleChecked($event, model.value)\"></co-input-checkbox>\n </div>\n </co-dialog>\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'WAREHOUSE' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
9064
|
+
template: "\n <co-dialog [showCloseIcon]=\"false\" [modal]=\"true\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <div class=\"co-transaction-default-popup-row\" *ngFor=\"let model of viewModels\">\n <co-input-checkbox [model]=\"model.checked\" [label]=\"model.text\" (click)=\"handleChecked($event, model.value)\"></co-input-checkbox>\n </div>\n </co-dialog>\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'WAREHOUSE' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
8963
9065
|
encapsulation: i0.ViewEncapsulation.None
|
|
8964
9066
|
},] }
|
|
8965
9067
|
];
|
|
@@ -9102,7 +9204,6 @@
|
|
|
9102
9204
|
IconComponent,
|
|
9103
9205
|
CustomerGroupsComponent,
|
|
9104
9206
|
StockStatusIndicatorComponent,
|
|
9105
|
-
LoaderComponent,
|
|
9106
9207
|
LazyRenderMasterDirective,
|
|
9107
9208
|
LazyRenderDirective
|
|
9108
9209
|
],
|
|
@@ -9111,7 +9212,6 @@
|
|
|
9111
9212
|
IconComponent,
|
|
9112
9213
|
CustomerGroupsComponent,
|
|
9113
9214
|
StockStatusIndicatorComponent,
|
|
9114
|
-
LoaderComponent,
|
|
9115
9215
|
LazyRenderMasterDirective,
|
|
9116
9216
|
LazyRenderDirective
|
|
9117
9217
|
]
|
|
@@ -9400,12 +9500,16 @@
|
|
|
9400
9500
|
event.stopImmediatePropagation();
|
|
9401
9501
|
this.editAddressClicked.next(this.address);
|
|
9402
9502
|
};
|
|
9503
|
+
RelationAddressTileComponent.prototype.handleSelectedChange = function (address) {
|
|
9504
|
+
this.selected = true;
|
|
9505
|
+
this.selectedChange.emit(address);
|
|
9506
|
+
};
|
|
9403
9507
|
return RelationAddressTileComponent;
|
|
9404
9508
|
}());
|
|
9405
9509
|
RelationAddressTileComponent.decorators = [
|
|
9406
9510
|
{ type: i0.Component, args: [{
|
|
9407
9511
|
selector: "co-relation-address-tile",
|
|
9408
|
-
template: "\n <ng-container *ngIf=\"!actAsAddTile\">\n <co-tile [selected]=\"selected\" (selectedChange)=\"
|
|
9512
|
+
template: "\n <ng-container *ngIf=\"!actAsAddTile\">\n <co-tile [selected]=\"selected\" (selectedChange)=\"handleSelectedChange(address)\">\n <div class=\"relation-content-wrapper\">\n <span class=\"relation-address-type\" [textContent]=\"address.displayType | localize\"></span>\n <span class=\"relation-address-name\" [textContent]=\"address.addressName\"></span>\n <span class=\"relation-address-address\" [textContent]=\"address.displayAddress\"></span>\n <span class=\"relation-address-postal\" [textContent]=\"address.displayPostal\"></span>\n <span class=\"relation-address-country\" [textContent]=\"address.displayCountry\"></span>\n </div>\n <div class=\"relation-address-edit\" (click)=\"handleEditAddressClick($event)\">\n <icon class=\"relation-address-edit-icon\" [icon]=\"icons.EditPencil\"></icon>\n </div>\n </co-tile>\n </ng-container>\n <ng-container *ngIf=\"actAsAddTile\">\n <co-tile (click)=\"addAddressClicked.emit()\">\n <div class=\"relation-content-wrapper\">\n <icon class=\"relation-address-icon\" [icon]=\"icons.PlusRound\"></icon>\n <span [textContent]=\"'ADDRESS_ADD' | localize\"></span>\n </div>\n </co-tile>\n </ng-container>\n ",
|
|
9409
9513
|
encapsulation: i0.ViewEncapsulation.None
|
|
9410
9514
|
},] }
|
|
9411
9515
|
];
|
|
@@ -9432,7 +9536,7 @@
|
|
|
9432
9536
|
TileComponent.decorators = [
|
|
9433
9537
|
{ type: i0.Component, args: [{
|
|
9434
9538
|
selector: "co-tile",
|
|
9435
|
-
template: "\n <div class=\"co-tile-wrapper\" (click)=\"selectedChange.emit(selected)\">\n <div class=\"co-tile-select-wrapper\">\n <co-input-radio-button [model]=\"selected\" (modelChange)=\"selectedChange.emit($event)\"></co-input-radio-button>\n </div>\n <div class=\"co-tile-content-wrapper\">\n <ng-content></ng-content>\n </div>\n </div>\n ",
|
|
9539
|
+
template: "\n <div class=\"co-tile-wrapper\" (click)=\"selectedChange.emit(selected)\">\n <div class=\"co-tile-select-wrapper\">\n <co-input-radio-button [model]=\"selected\" [readonly]=\"selected\" (modelChange)=\"selectedChange.emit($event)\"></co-input-radio-button>\n </div>\n <div class=\"co-tile-content-wrapper\">\n <ng-content></ng-content>\n </div>\n </div>\n ",
|
|
9436
9540
|
encapsulation: i0.ViewEncapsulation.None
|
|
9437
9541
|
},] }
|
|
9438
9542
|
];
|
|
@@ -9736,16 +9840,149 @@
|
|
|
9736
9840
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-totals",] }]
|
|
9737
9841
|
};
|
|
9738
9842
|
|
|
9739
|
-
var
|
|
9740
|
-
|
|
9741
|
-
|
|
9742
|
-
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
|
|
9843
|
+
var TransactionHeaderFilterPopupBaseComponent = /** @class */ (function () {
|
|
9844
|
+
function TransactionHeaderFilterPopupBaseComponent() {
|
|
9845
|
+
this.autoClose = false;
|
|
9846
|
+
this.useModel = true;
|
|
9847
|
+
this.valueChange = new i0.EventEmitter();
|
|
9848
|
+
this.closeAfterCommit = new i0.EventEmitter();
|
|
9849
|
+
this.viewModels = [];
|
|
9850
|
+
this.viewModelsFiltered = [];
|
|
9851
|
+
this.propsForLabel = [];
|
|
9852
|
+
this._collection = [];
|
|
9853
|
+
}
|
|
9854
|
+
Object.defineProperty(TransactionHeaderFilterPopupBaseComponent.prototype, "searchText", {
|
|
9855
|
+
get: function () {
|
|
9856
|
+
return this._searchText;
|
|
9857
|
+
},
|
|
9858
|
+
set: function (value) {
|
|
9859
|
+
if (value !== undefined && value !== null) {
|
|
9860
|
+
this._searchText = value;
|
|
9861
|
+
this._doSearch();
|
|
9862
|
+
}
|
|
9863
|
+
},
|
|
9864
|
+
enumerable: false,
|
|
9865
|
+
configurable: true
|
|
9866
|
+
});
|
|
9867
|
+
Object.defineProperty(TransactionHeaderFilterPopupBaseComponent.prototype, "collection", {
|
|
9868
|
+
get: function () {
|
|
9869
|
+
return this._collection;
|
|
9870
|
+
},
|
|
9871
|
+
set: function (value) {
|
|
9872
|
+
this._collection = value;
|
|
9873
|
+
this.prepareViewModels();
|
|
9874
|
+
},
|
|
9875
|
+
enumerable: false,
|
|
9876
|
+
configurable: true
|
|
9877
|
+
});
|
|
9878
|
+
Object.defineProperty(TransactionHeaderFilterPopupBaseComponent.prototype, "model", {
|
|
9879
|
+
get: function () {
|
|
9880
|
+
return undefined;
|
|
9881
|
+
},
|
|
9882
|
+
enumerable: false,
|
|
9883
|
+
configurable: true
|
|
9884
|
+
});
|
|
9885
|
+
TransactionHeaderFilterPopupBaseComponent.prototype.commit = function (value) {
|
|
9886
|
+
return Promise.resolve(true);
|
|
9887
|
+
};
|
|
9888
|
+
TransactionHeaderFilterPopupBaseComponent.prototype.handleChecked = function (row) {
|
|
9889
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9890
|
+
var currentModel, i;
|
|
9891
|
+
return __generator(this, function (_a) {
|
|
9892
|
+
switch (_a.label) {
|
|
9893
|
+
case 0:
|
|
9894
|
+
row.checked = true;
|
|
9895
|
+
currentModel = this.viewModels.find(function (v) { return v.value === row.value; });
|
|
9896
|
+
if (currentModel) {
|
|
9897
|
+
currentModel.checked = true;
|
|
9898
|
+
}
|
|
9899
|
+
for (i = 0; i < this.viewModels.length; i++) {
|
|
9900
|
+
if (this.viewModels[i].value !== row.value) {
|
|
9901
|
+
this.viewModels[i].checked = false;
|
|
9902
|
+
}
|
|
9903
|
+
}
|
|
9904
|
+
if (!this.useModel) return [3 /*break*/, 4];
|
|
9905
|
+
if (!this.autoClose) return [3 /*break*/, 2];
|
|
9906
|
+
return [4 /*yield*/, this.commit(row.value)];
|
|
9907
|
+
case 1:
|
|
9908
|
+
if (_a.sent()) {
|
|
9909
|
+
this.closeAfterCommit.emit();
|
|
9910
|
+
}
|
|
9911
|
+
return [3 /*break*/, 3];
|
|
9912
|
+
case 2:
|
|
9913
|
+
this.commit(row.value);
|
|
9914
|
+
_a.label = 3;
|
|
9915
|
+
case 3: return [3 /*break*/, 5];
|
|
9916
|
+
case 4:
|
|
9917
|
+
this.valueChange.emit(row.value);
|
|
9918
|
+
_a.label = 5;
|
|
9919
|
+
case 5: return [2 /*return*/];
|
|
9920
|
+
}
|
|
9921
|
+
});
|
|
9922
|
+
});
|
|
9923
|
+
};
|
|
9924
|
+
TransactionHeaderFilterPopupBaseComponent.prototype.prepareViewModels = function () {
|
|
9925
|
+
var _this = this;
|
|
9926
|
+
this.collection.forEach(function (d, index) {
|
|
9927
|
+
var labels = _this.propsForLabel.map(function (p) { return d[p]; });
|
|
9928
|
+
_this.viewModels.push({
|
|
9929
|
+
value: d[_this.codeField],
|
|
9930
|
+
propsForLabel: labels,
|
|
9931
|
+
checked: (_this.useModel && _this.model && _this.checkField) ?
|
|
9932
|
+
_this.model[_this.checkField] === d[_this.codeField] :
|
|
9933
|
+
(_this.value ? _this.value === d[_this.codeField] : index === 0)
|
|
9934
|
+
});
|
|
9935
|
+
});
|
|
9936
|
+
this.viewModelsFiltered = this.viewModels.slice();
|
|
9937
|
+
if (!this.useModel && this.viewModels.length > 0) {
|
|
9938
|
+
this.valueChange.next(this.value ? this.value : this.viewModels[0].value);
|
|
9939
|
+
}
|
|
9940
|
+
};
|
|
9941
|
+
TransactionHeaderFilterPopupBaseComponent.prototype._doSearch = function () {
|
|
9942
|
+
var _this = this;
|
|
9943
|
+
this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
9944
|
+
if (this.searchText) {
|
|
9945
|
+
this.viewModelsFiltered = this.viewModelsFiltered.filter(function (vmf) {
|
|
9946
|
+
return vmf.propsForLabel.find(function (p) { return p && p.toString().match(new RegExp(_this.searchText, 'gi')); });
|
|
9947
|
+
});
|
|
9948
|
+
// if (!this.searchText) {
|
|
9949
|
+
// this.viewModelsFiltered = this.viewModels.slice();
|
|
9950
|
+
// } else {
|
|
9951
|
+
// this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
9952
|
+
// for (let i = 0; i < this.viewModelsFiltered.length; i++) {
|
|
9953
|
+
// const vmf = this.viewModelsFiltered[i];
|
|
9954
|
+
// for (let j = 0; j < vmf.propsForLabel.length; j++) {
|
|
9955
|
+
// if (vmf.propsForLabel[j]) {
|
|
9956
|
+
// vmf.propsForLabel[j] = vmf.propsForLabel[j].replace(new RegExp(this.searchText, 'gi'), `<span class="highlight">${this.searchText}</span>`);
|
|
9957
|
+
// }
|
|
9958
|
+
// }
|
|
9959
|
+
// }
|
|
9960
|
+
}
|
|
9961
|
+
};
|
|
9962
|
+
return TransactionHeaderFilterPopupBaseComponent;
|
|
9963
|
+
}());
|
|
9964
|
+
TransactionHeaderFilterPopupBaseComponent.decorators = [
|
|
9965
|
+
{ type: i0.Directive }
|
|
9966
|
+
];
|
|
9967
|
+
TransactionHeaderFilterPopupBaseComponent.propDecorators = {
|
|
9968
|
+
autoClose: [{ type: i0.Input }],
|
|
9969
|
+
useModel: [{ type: i0.Input }],
|
|
9970
|
+
searchText: [{ type: i0.Input }],
|
|
9971
|
+
value: [{ type: i0.Input }],
|
|
9972
|
+
valueChange: [{ type: i0.Output }],
|
|
9973
|
+
closeAfterCommit: [{ type: i0.Output }]
|
|
9974
|
+
};
|
|
9975
|
+
|
|
9976
|
+
var TransactionHeaderBaseComponent = /** @class */ (function (_super) {
|
|
9977
|
+
__extends(TransactionHeaderBaseComponent, _super);
|
|
9978
|
+
function TransactionHeaderBaseComponent() {
|
|
9979
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
9980
|
+
_this.readonly = false;
|
|
9981
|
+
_this._transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
9982
|
+
_this._transactionTotal = new transactionTotal_bo.TransactionTotal();
|
|
9983
|
+
return _this;
|
|
9984
|
+
}
|
|
9985
|
+
Object.defineProperty(TransactionHeaderBaseComponent.prototype, "transactionInfo", {
|
|
9749
9986
|
get: function () {
|
|
9750
9987
|
return this._transactionInfo;
|
|
9751
9988
|
},
|
|
@@ -9785,7 +10022,7 @@
|
|
|
9785
10022
|
TransactionHeaderBaseComponent.prototype.transactionTotalSet = function () {
|
|
9786
10023
|
};
|
|
9787
10024
|
return TransactionHeaderBaseComponent;
|
|
9788
|
-
}(
|
|
10025
|
+
}(TransactionHeaderFilterPopupBaseComponent));
|
|
9789
10026
|
TransactionHeaderBaseComponent.decorators = [
|
|
9790
10027
|
{ type: i0.Directive }
|
|
9791
10028
|
];
|
|
@@ -11192,34 +11429,6 @@
|
|
|
11192
11429
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-quick-access-order-confirmation",] }]
|
|
11193
11430
|
};
|
|
11194
11431
|
|
|
11195
|
-
var TransactionEventService = /** @class */ (function () {
|
|
11196
|
-
function TransactionEventService() {
|
|
11197
|
-
this.addToCartBySku = new rxjs.Subject();
|
|
11198
|
-
this.addToCartBySelectorResult = new rxjs.Subject();
|
|
11199
|
-
this.openShoppingCartModule = new rxjs.Subject();
|
|
11200
|
-
this.loggedIn = new rxjs.Subject();
|
|
11201
|
-
this.addNewUserToShoppingCartModule = new rxjs.Subject();
|
|
11202
|
-
this.addUserRelationShoppingCartModule = new rxjs.Subject();
|
|
11203
|
-
this.addArticleLine = new rxjs.Subject();
|
|
11204
|
-
this.addTextLine = new rxjs.Subject();
|
|
11205
|
-
this.addArticleLineAt = new rxjs.Subject();
|
|
11206
|
-
this.addTextLineAt = new rxjs.Subject();
|
|
11207
|
-
this.changeLineSequence = new rxjs.Subject();
|
|
11208
|
-
this.transactionLineClicked = new rxjs.Subject();
|
|
11209
|
-
this.rightSidebarClose = new rxjs.Subject();
|
|
11210
|
-
this.scrollContent = new rxjs.Subject();
|
|
11211
|
-
this.commitReceivePurchaseOrders = new rxjs.Subject();
|
|
11212
|
-
this.selectAllLines = new rxjs.Subject();
|
|
11213
|
-
this.transactionLineChanged = new rxjs.Subject();
|
|
11214
|
-
this.openSidePanel = new rxjs.Subject();
|
|
11215
|
-
}
|
|
11216
|
-
return TransactionEventService;
|
|
11217
|
-
}());
|
|
11218
|
-
TransactionEventService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
|
|
11219
|
-
TransactionEventService.decorators = [
|
|
11220
|
-
{ type: i0.Injectable, args: [{ providedIn: "root" },] }
|
|
11221
|
-
];
|
|
11222
|
-
|
|
11223
11432
|
var TransactionReceiveGoodsService = /** @class */ (function () {
|
|
11224
11433
|
function TransactionReceiveGoodsService(_transactionService, _transactionEventService) {
|
|
11225
11434
|
var _this = this;
|
|
@@ -11662,7 +11871,6 @@
|
|
|
11662
11871
|
this.waitingForUserAction = new i0.EventEmitter();
|
|
11663
11872
|
this.preview = false;
|
|
11664
11873
|
this.readonly = false;
|
|
11665
|
-
this.lineSet = new rxjs.BehaviorSubject(false);
|
|
11666
11874
|
this.lineVisible = new rxjs.BehaviorSubject(false);
|
|
11667
11875
|
}
|
|
11668
11876
|
Object.defineProperty(TransactionLinesLineBaseComponent.prototype, "line", {
|
|
@@ -11675,7 +11883,7 @@
|
|
|
11675
11883
|
this.isArticle = this._line.isArticle;
|
|
11676
11884
|
this.isSelected = this._line.isSelected;
|
|
11677
11885
|
this.readonly = this._line.hasInvoices;
|
|
11678
|
-
this.
|
|
11886
|
+
this.transactionLineSet();
|
|
11679
11887
|
},
|
|
11680
11888
|
enumerable: false,
|
|
11681
11889
|
configurable: true
|
|
@@ -11683,6 +11891,9 @@
|
|
|
11683
11891
|
TransactionLinesLineBaseComponent.prototype.showClass = function () {
|
|
11684
11892
|
return true;
|
|
11685
11893
|
};
|
|
11894
|
+
// overridden by descendents
|
|
11895
|
+
TransactionLinesLineBaseComponent.prototype.transactionLineSet = function () {
|
|
11896
|
+
};
|
|
11686
11897
|
return TransactionLinesLineBaseComponent;
|
|
11687
11898
|
}());
|
|
11688
11899
|
TransactionLinesLineBaseComponent.decorators = [
|
|
@@ -11702,18 +11913,16 @@
|
|
|
11702
11913
|
|
|
11703
11914
|
var TransactionOverviewLineComponent = /** @class */ (function (_super) {
|
|
11704
11915
|
__extends(TransactionOverviewLineComponent, _super);
|
|
11705
|
-
function TransactionOverviewLineComponent(service, iconCacheService,
|
|
11916
|
+
function TransactionOverviewLineComponent(service, iconCacheService, _dictionaryService) {
|
|
11706
11917
|
var _this = _super.call(this) || this;
|
|
11707
11918
|
_this.service = service;
|
|
11708
11919
|
_this.iconCacheService = iconCacheService;
|
|
11709
|
-
_this._dialogService = _dialogService;
|
|
11710
11920
|
_this._dictionaryService = _dictionaryService;
|
|
11711
11921
|
_this.stock = stockStatus_enum.StockStatus.Low;
|
|
11712
11922
|
_this.mouseOver = false;
|
|
11713
11923
|
_this.readonly = false;
|
|
11714
11924
|
_this.showDialogVat = false;
|
|
11715
11925
|
_this.showDialogDiscount = false;
|
|
11716
|
-
_this.subscriptions = [];
|
|
11717
11926
|
return _this;
|
|
11718
11927
|
}
|
|
11719
11928
|
TransactionOverviewLineComponent.prototype.showClass = function () {
|
|
@@ -11725,36 +11934,16 @@
|
|
|
11725
11934
|
TransactionOverviewLineComponent.prototype.handleMouseLeave = function (event) {
|
|
11726
11935
|
this.mouseOver = false;
|
|
11727
11936
|
};
|
|
11728
|
-
TransactionOverviewLineComponent.prototype.ngOnChanges = function (changes) {
|
|
11729
|
-
console.log(changes);
|
|
11730
|
-
};
|
|
11731
11937
|
TransactionOverviewLineComponent.prototype.ngOnInit = function () {
|
|
11732
|
-
var _this = this;
|
|
11733
|
-
this.subscriptions.push(this.lineSet.subscribe(function (set) {
|
|
11734
|
-
if (set) {
|
|
11735
|
-
_this.localAmount = _this._line.amount;
|
|
11736
|
-
_this._loadLineVat();
|
|
11737
|
-
}
|
|
11738
|
-
}));
|
|
11739
11938
|
this.transactionKind = this.service.currentTransaction.transactionInfo.transactionKind;
|
|
11740
11939
|
};
|
|
11741
|
-
TransactionOverviewLineComponent.prototype.ngOnDestroy = function () {
|
|
11742
|
-
this.subscriptions.forEach(function (subscription) { return subscription.unsubscribe(); });
|
|
11743
|
-
};
|
|
11744
|
-
TransactionOverviewLineComponent.prototype.changeLineAmount = function (amount) {
|
|
11745
|
-
var _this = this;
|
|
11746
|
-
this.service.changeTransactionLineQuantity(this.line.uuid, amount).then(function (value) {
|
|
11747
|
-
if (!value || !value.isSuccess) {
|
|
11748
|
-
_this.localAmount = _this._line.amount;
|
|
11749
|
-
return;
|
|
11750
|
-
}
|
|
11751
|
-
// this._handleLine(value).then();
|
|
11752
|
-
});
|
|
11753
|
-
};
|
|
11754
11940
|
TransactionOverviewLineComponent.prototype.handleOpenArticleText = function (text) {
|
|
11755
11941
|
this.transactionLineActionButtons.textToEdit = text;
|
|
11756
11942
|
this.transactionLineActionButtons.showArticleTextDialog();
|
|
11757
11943
|
};
|
|
11944
|
+
TransactionOverviewLineComponent.prototype.transactionLineSet = function () {
|
|
11945
|
+
this._loadLineVat();
|
|
11946
|
+
};
|
|
11758
11947
|
TransactionOverviewLineComponent.prototype._loadLineVat = function () {
|
|
11759
11948
|
return __awaiter(this, void 0, void 0, function () {
|
|
11760
11949
|
var _this = this;
|
|
@@ -11774,14 +11963,13 @@
|
|
|
11774
11963
|
TransactionOverviewLineComponent.decorators = [
|
|
11775
11964
|
{ type: i0.Component, args: [{
|
|
11776
11965
|
selector: "co-transaction-overview-line",
|
|
11777
|
-
template: "\n <co-transaction-base-line [line]=\"line\" [preview]=\"preview\">\n <ng-container *ngIf=\"line.isArticle\">\n <div class=\"transaction-line-wrapper\">\n <div *ngIf=!preview class=\"transaction-line-stock\">\n <div class=\"transaction-line-stock-wrapper\">\n <stock-status-indicator [model]=\"stock\"></stock-status-indicator>\n </div>\n </div>\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <co-transaction-line-commission-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-commission-button>\n <co-transaction-line-warehouse-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-delivery-button>\n <co-transaction-line-delivery-date-button [transactionLine]=\"line\" class=\"two-column\"></co-transaction-line-delivery-date-button>\n <co-transaction-line-statusbar [transaction]=\"line\" [transactionKind]=\"transactionKind\"></co-transaction-line-statusbar>\n </div>\n <div *ngIf=\"!preview\" class=\"transaction-line-button\" (click)=\"showDialogVat = true\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.vatDescription\"></span>\n </div>\n <div class=\"transaction-line-totals\">\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [transactionLine]=\"line\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <div class=\"transaction-line-button custom-width transaction-line-totals-discount\" (click)=\"showDialogDiscount = true\">\n <span class=\"co-transaction-overflow-ellipsis\" [class.transaction-negative-value]=\"line.lineTotalDiscountAmount < 0\"\n [textContent]=\"(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)\"></span>\n </div>\n <div *ngIf=!preview class=\"transaction-line-totals-amount\">\n <co-
|
|
11966
|
+
template: "\n <co-transaction-base-line [line]=\"line\" [preview]=\"preview\">\n <ng-container *ngIf=\"line.isArticle\">\n <div class=\"transaction-line-wrapper\">\n <div *ngIf=!preview class=\"transaction-line-stock\">\n <div class=\"transaction-line-stock-wrapper\">\n <stock-status-indicator [model]=\"stock\"></stock-status-indicator>\n </div>\n </div>\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <co-transaction-line-commission-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-commission-button>\n <co-transaction-line-warehouse-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-delivery-button>\n <co-transaction-line-delivery-date-button [transactionLine]=\"line\" class=\"two-column\"></co-transaction-line-delivery-date-button>\n <co-transaction-line-statusbar [transaction]=\"line\" [transactionKind]=\"transactionKind\"></co-transaction-line-statusbar>\n </div>\n <div *ngIf=\"!preview\" class=\"transaction-line-button\" (click)=\"showDialogVat = true\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.vatDescription\"></span>\n </div>\n <div class=\"transaction-line-totals\">\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [transactionLine]=\"line\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <div class=\"transaction-line-button custom-width transaction-line-totals-discount\" (click)=\"showDialogDiscount = true\">\n <span class=\"co-transaction-overflow-ellipsis\" [class.transaction-negative-value]=\"line.lineTotalDiscountAmount < 0\"\n [textContent]=\"(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)\"></span>\n </div>\n <div *ngIf=!preview class=\"transaction-line-totals-amount\">\n <co-transaction-line-amount class=\"amount-number-picker\" [transactionLine]=\"line\"></co-transaction-line-amount>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"line.displayNetLineTotal | coCurrency\"\n [editModel]=\"line.displayNetLineTotal\"\n [readonly]=\"readonly\"\n [commit]=\"!readonly\"\n ></co-editable-label>\n </div>\n </div>\n </ng-container>\n </co-transaction-base-line>\n <co-dialog-transaction-line-vat *ngIf=\"showDialogVat\"\n [autoClose]=\"true\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogVat = false\">\n </co-dialog-transaction-line-vat>\n <co-dialog-transaction-line-discount *ngIf=\"showDialogDiscount\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogDiscount = false\"\n ></co-dialog-transaction-line-discount>\n ",
|
|
11778
11967
|
encapsulation: i0.ViewEncapsulation.None
|
|
11779
11968
|
},] }
|
|
11780
11969
|
];
|
|
11781
11970
|
TransactionOverviewLineComponent.ctorParameters = function () { return [
|
|
11782
11971
|
{ type: TransactionService },
|
|
11783
11972
|
{ type: IconCacheService },
|
|
11784
|
-
{ type: DialogService },
|
|
11785
11973
|
{ type: DictionaryService }
|
|
11786
11974
|
]; };
|
|
11787
11975
|
TransactionOverviewLineComponent.propDecorators = {
|
|
@@ -11843,16 +12031,11 @@
|
|
|
11843
12031
|
_this.iconService = iconService;
|
|
11844
12032
|
_this.service = service;
|
|
11845
12033
|
_this._transactionEventService = _transactionEventService;
|
|
11846
|
-
_this.icons = Icon;
|
|
11847
|
-
_this.showDialog = false;
|
|
11848
12034
|
return _this;
|
|
11849
12035
|
}
|
|
11850
12036
|
TransactionQuickAccessOrderDeliveryComponent.prototype.showClass = function () {
|
|
11851
12037
|
return true;
|
|
11852
12038
|
};
|
|
11853
|
-
TransactionQuickAccessOrderDeliveryComponent.prototype.openDeliveryDocumentDialog = function () {
|
|
11854
|
-
this.showDialog = !this.showDialog;
|
|
11855
|
-
};
|
|
11856
12039
|
TransactionQuickAccessOrderDeliveryComponent.prototype.handleSelectAllLines = function (value) {
|
|
11857
12040
|
this._transactionEventService.selectAllLines.next(value);
|
|
11858
12041
|
};
|
|
@@ -11861,7 +12044,7 @@
|
|
|
11861
12044
|
TransactionQuickAccessOrderDeliveryComponent.decorators = [
|
|
11862
12045
|
{ type: i0.Component, args: [{
|
|
11863
12046
|
selector: "co-transaction-quick-access-order-delivery",
|
|
11864
|
-
template: "\n <div class=\"
|
|
12047
|
+
template: "\n <div class=\"quick-access-content-wrapper\">\n <div class=\"select-all-wrapper\">\n <co-input-checkbox\n [label]=\"'SELECT_ALL_LINES' | localize\"\n (modelChange)=\"handleSelectAllLines($event)\"\n ></co-input-checkbox>\n </div>\n <div class=\"send-button-wrapper\">\n <co-transaction-send-button-dialog></co-transaction-send-button-dialog>\n </div>\n </div>\n ",
|
|
11865
12048
|
encapsulation: i0.ViewEncapsulation.None
|
|
11866
12049
|
},] }
|
|
11867
12050
|
];
|
|
@@ -11966,6 +12149,167 @@
|
|
|
11966
12149
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-receive-goods-line",] }]
|
|
11967
12150
|
};
|
|
11968
12151
|
|
|
12152
|
+
var TransactionPurchaseLineComponent = /** @class */ (function (_super) {
|
|
12153
|
+
__extends(TransactionPurchaseLineComponent, _super);
|
|
12154
|
+
function TransactionPurchaseLineComponent(service, iconCacheService, _transactionEventService) {
|
|
12155
|
+
var _this = _super.call(this) || this;
|
|
12156
|
+
_this.service = service;
|
|
12157
|
+
_this.iconCacheService = iconCacheService;
|
|
12158
|
+
_this._transactionEventService = _transactionEventService;
|
|
12159
|
+
_this.selected = false;
|
|
12160
|
+
_this.showDialogDiscount = false;
|
|
12161
|
+
_this.showCheckboxForLine = false;
|
|
12162
|
+
_this._subs = [];
|
|
12163
|
+
return _this;
|
|
12164
|
+
}
|
|
12165
|
+
TransactionPurchaseLineComponent.prototype.showClass = function () {
|
|
12166
|
+
return true;
|
|
12167
|
+
};
|
|
12168
|
+
TransactionPurchaseLineComponent.prototype.ngOnInit = function () {
|
|
12169
|
+
var _this = this;
|
|
12170
|
+
this._subs.push(this._transactionEventService.selectAllSalesOrderLinesForPurchase.subscribe(function (value) {
|
|
12171
|
+
_this.selected = value;
|
|
12172
|
+
}));
|
|
12173
|
+
};
|
|
12174
|
+
TransactionPurchaseLineComponent.prototype.ngOnDestroy = function () {
|
|
12175
|
+
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
12176
|
+
};
|
|
12177
|
+
TransactionPurchaseLineComponent.prototype.transactionLineSet = function () {
|
|
12178
|
+
this.showCheckboxForLine = this.line.commissionCode === "0";
|
|
12179
|
+
};
|
|
12180
|
+
return TransactionPurchaseLineComponent;
|
|
12181
|
+
}(TransactionLinesLineBaseComponent));
|
|
12182
|
+
TransactionPurchaseLineComponent.decorators = [
|
|
12183
|
+
{ type: i0.Component, args: [{
|
|
12184
|
+
selector: "co-transaction-purchase-line",
|
|
12185
|
+
template: "\n <co-transaction-base-line [line]=\"line\" [preview]=\"preview\" [checkbox]=\"showCheckboxForLine\" [checkboxValue]=\"selected\" (checkboxValueChanged)=\"selected = $event\">\n <ng-container *ngIf=\"line.isArticle\">\n <div class=\"transaction-line-wrapper\">\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <co-transaction-line-supplier-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-supplier-button>\n <co-transaction-line-commission-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-commission-button>\n <co-transaction-line-warehouse-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-delivery-button>\n <co-transaction-line-delivery-date-button [transactionLine]=\"line\" class=\"two-column\"></co-transaction-line-delivery-date-button>\n <co-transaction-line-statusbar [transaction]=\"line\" [transactionKind]=\"service.currentTransaction.transactionInfo.transactionKind\"></co-transaction-line-statusbar>\n </div>\n <div class=\"transaction-line-totals\">\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [transactionLine]=\"line\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <div class=\"transaction-line-button custom-width transaction-line-totals-discount\" (click)=\"showDialogDiscount = true\">\n <span class=\"co-transaction-overflow-ellipsis\" [class.transaction-negative-value]=\"line.lineTotalDiscountAmount < 0\"\n [textContent]=\"(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)\"></span>\n </div>\n <div *ngIf=!preview class=\"transaction-line-totals-amount\">\n <co-transaction-line-amount class=\"amount-number-picker\" [transactionLine]=\"line\"></co-transaction-line-amount>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"line.displayNetLineTotal | coCurrency\"\n [editModel]=\"line.displayNetLineTotal\"\n [readonly]=\"readonly\"\n [commit]=\"!readonly\"\n ></co-editable-label>\n </div>\n </div>\n </ng-container>\n </co-transaction-base-line>\n <co-dialog-transaction-line-discount *ngIf=\"showDialogDiscount\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogDiscount = false\"\n ></co-dialog-transaction-line-discount>\n ",
|
|
12186
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
12187
|
+
},] }
|
|
12188
|
+
];
|
|
12189
|
+
TransactionPurchaseLineComponent.ctorParameters = function () { return [
|
|
12190
|
+
{ type: TransactionService },
|
|
12191
|
+
{ type: IconCacheService },
|
|
12192
|
+
{ type: TransactionEventService }
|
|
12193
|
+
]; };
|
|
12194
|
+
TransactionPurchaseLineComponent.propDecorators = {
|
|
12195
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-purchase-line",] }]
|
|
12196
|
+
};
|
|
12197
|
+
|
|
12198
|
+
var TransactionQuickAccessOrderPurchaseComponent = /** @class */ (function (_super) {
|
|
12199
|
+
__extends(TransactionQuickAccessOrderPurchaseComponent, _super);
|
|
12200
|
+
function TransactionQuickAccessOrderPurchaseComponent(service, _transactionEventService) {
|
|
12201
|
+
var _this = _super.call(this, service) || this;
|
|
12202
|
+
_this.service = service;
|
|
12203
|
+
_this._transactionEventService = _transactionEventService;
|
|
12204
|
+
_this.icons = Icon;
|
|
12205
|
+
return _this;
|
|
12206
|
+
}
|
|
12207
|
+
TransactionQuickAccessOrderPurchaseComponent.prototype.showClass = function () {
|
|
12208
|
+
return true;
|
|
12209
|
+
};
|
|
12210
|
+
TransactionQuickAccessOrderPurchaseComponent.prototype.handleSelectAllLines = function (value) {
|
|
12211
|
+
this._transactionEventService.selectAllSalesOrderLinesForPurchase.next(value);
|
|
12212
|
+
};
|
|
12213
|
+
TransactionQuickAccessOrderPurchaseComponent.prototype.handleSendButtonClick = function (event) {
|
|
12214
|
+
this.service.generateCommissionOrders(this.transactionInfo.id, false);
|
|
12215
|
+
};
|
|
12216
|
+
return TransactionQuickAccessOrderPurchaseComponent;
|
|
12217
|
+
}(TransactionBaseComponent));
|
|
12218
|
+
TransactionQuickAccessOrderPurchaseComponent.decorators = [
|
|
12219
|
+
{ type: i0.Component, args: [{
|
|
12220
|
+
selector: "co-transaction-quick-access-order-purchase",
|
|
12221
|
+
template: "\n <div class=\"quick-access-content-wrapper\">\n <div class=\"select-all-wrapper\">\n <co-input-checkbox\n [label]=\"'SELECT_ALL_LINES' | localize\"\n (modelChange)=\"handleSelectAllLines($event)\"\n ></co-input-checkbox>\n </div>\n <div class=\"send-button-wrapper\">\n <co-transaction-send-button-dialog\n [showSendIcon]=\"false\"\n [showHoverIcon]=\"false\"\n (sendButtonClick)=\"handleSendButtonClick($event)\"></co-transaction-send-button-dialog>\n </div>\n </div>\n ",
|
|
12222
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
12223
|
+
},] }
|
|
12224
|
+
];
|
|
12225
|
+
TransactionQuickAccessOrderPurchaseComponent.ctorParameters = function () { return [
|
|
12226
|
+
{ type: TransactionService },
|
|
12227
|
+
{ type: TransactionEventService }
|
|
12228
|
+
]; };
|
|
12229
|
+
TransactionQuickAccessOrderPurchaseComponent.propDecorators = {
|
|
12230
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-quick-access-order-purchase",] }]
|
|
12231
|
+
};
|
|
12232
|
+
|
|
12233
|
+
var TransactionButtonBarButtonBaseComponent = /** @class */ (function () {
|
|
12234
|
+
function TransactionButtonBarButtonBaseComponent() {
|
|
12235
|
+
this.showLoaderChange = new rxjs.BehaviorSubject(undefined);
|
|
12236
|
+
this.checkedChange = new rxjs.BehaviorSubject(undefined);
|
|
12237
|
+
this._showLoader = false;
|
|
12238
|
+
this._checked = false;
|
|
12239
|
+
}
|
|
12240
|
+
Object.defineProperty(TransactionButtonBarButtonBaseComponent.prototype, "showLoader", {
|
|
12241
|
+
get: function () {
|
|
12242
|
+
return this._showLoader;
|
|
12243
|
+
},
|
|
12244
|
+
set: function (value) {
|
|
12245
|
+
this._showLoader = value;
|
|
12246
|
+
this.showLoaderChange.next(this._showLoader);
|
|
12247
|
+
},
|
|
12248
|
+
enumerable: false,
|
|
12249
|
+
configurable: true
|
|
12250
|
+
});
|
|
12251
|
+
Object.defineProperty(TransactionButtonBarButtonBaseComponent.prototype, "checked", {
|
|
12252
|
+
get: function () {
|
|
12253
|
+
return this._checked;
|
|
12254
|
+
},
|
|
12255
|
+
set: function (value) {
|
|
12256
|
+
this._checked = value;
|
|
12257
|
+
this.checkedChange.next(this._checked);
|
|
12258
|
+
},
|
|
12259
|
+
enumerable: false,
|
|
12260
|
+
configurable: true
|
|
12261
|
+
});
|
|
12262
|
+
return TransactionButtonBarButtonBaseComponent;
|
|
12263
|
+
}());
|
|
12264
|
+
TransactionButtonBarButtonBaseComponent.decorators = [
|
|
12265
|
+
{ type: i0.Directive }
|
|
12266
|
+
];
|
|
12267
|
+
TransactionButtonBarButtonBaseComponent.propDecorators = {
|
|
12268
|
+
title: [{ type: i0.Input }],
|
|
12269
|
+
iconName: [{ type: i0.Input }],
|
|
12270
|
+
transactionInfoResponse: [{ type: i0.Input }],
|
|
12271
|
+
showLoader: [{ type: i0.Input }],
|
|
12272
|
+
checked: [{ type: i0.Input }],
|
|
12273
|
+
showLoaderChange: [{ type: i0.Output }],
|
|
12274
|
+
checkedChange: [{ type: i0.Output }]
|
|
12275
|
+
};
|
|
12276
|
+
|
|
12277
|
+
var TransactionSalesPurchaseButtonBarButtonComponent = /** @class */ (function (_super) {
|
|
12278
|
+
__extends(TransactionSalesPurchaseButtonBarButtonComponent, _super);
|
|
12279
|
+
function TransactionSalesPurchaseButtonBarButtonComponent(iconCacheService, _transactionEventService) {
|
|
12280
|
+
var _this = _super.call(this) || this;
|
|
12281
|
+
_this.iconCacheService = iconCacheService;
|
|
12282
|
+
_this._transactionEventService = _transactionEventService;
|
|
12283
|
+
_this.showClass = true;
|
|
12284
|
+
_this._subs = [];
|
|
12285
|
+
_this._subs.push(_this._transactionEventService.generateCommissionOrders.subscribe(function (generating) {
|
|
12286
|
+
_this.showLoader = generating;
|
|
12287
|
+
if (!_this.showLoader) {
|
|
12288
|
+
_this.checked = true;
|
|
12289
|
+
}
|
|
12290
|
+
}));
|
|
12291
|
+
return _this;
|
|
12292
|
+
}
|
|
12293
|
+
TransactionSalesPurchaseButtonBarButtonComponent.prototype.ngOnDestroy = function () {
|
|
12294
|
+
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
12295
|
+
};
|
|
12296
|
+
return TransactionSalesPurchaseButtonBarButtonComponent;
|
|
12297
|
+
}(TransactionButtonBarButtonBaseComponent));
|
|
12298
|
+
TransactionSalesPurchaseButtonBarButtonComponent.decorators = [
|
|
12299
|
+
{ type: i0.Component, args: [{
|
|
12300
|
+
selector: "co-transaction-sales-purchase-button-bar-button",
|
|
12301
|
+
template: "\n <co-icon class=\"co-transaction-button-bar-icon\" [iconData]=\"iconCacheService.getIcon(iconName)\"></co-icon>\n <span class=\"button-title\" [textContent]=\"title | localize\"></span>\n ",
|
|
12302
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
12303
|
+
},] }
|
|
12304
|
+
];
|
|
12305
|
+
TransactionSalesPurchaseButtonBarButtonComponent.ctorParameters = function () { return [
|
|
12306
|
+
{ type: IconCacheService },
|
|
12307
|
+
{ type: TransactionEventService }
|
|
12308
|
+
]; };
|
|
12309
|
+
TransactionSalesPurchaseButtonBarButtonComponent.propDecorators = {
|
|
12310
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-sales-purchase-button-bar-button',] }]
|
|
12311
|
+
};
|
|
12312
|
+
|
|
11969
12313
|
var TransactionMappingService = /** @class */ (function () {
|
|
11970
12314
|
function TransactionMappingService() {
|
|
11971
12315
|
this._buttonBarTransaction = new Map([
|
|
@@ -11979,7 +12323,7 @@
|
|
|
11979
12323
|
]],
|
|
11980
12324
|
[transactionKind_enum.TransactionKind.SalesOrder, [
|
|
11981
12325
|
{ title: 'OVERVIEW', icon: Icon.CartShoppingSolid, category: TransactionTypeCategory.SalesOrderOverview },
|
|
11982
|
-
{ title: 'PURCHASE', icon: Icon.PalletBoxesSolid, category: TransactionTypeCategory.SalesOrderPurchase },
|
|
12326
|
+
{ title: 'PURCHASE', icon: Icon.PalletBoxesSolid, category: TransactionTypeCategory.SalesOrderPurchase, component: TransactionSalesPurchaseButtonBarButtonComponent },
|
|
11983
12327
|
{ title: 'LOGISTICS', icon: Icon.ShelvesSolid, category: TransactionTypeCategory.SalesOrderLogistics },
|
|
11984
12328
|
{ title: 'PLANNING', icon: Icon.TruckMovingSolid, category: TransactionTypeCategory.SalesOrderPlanning },
|
|
11985
12329
|
{ title: 'DELIVERY_NOTE', icon: Icon.MemoCircleCheckSolid, category: TransactionTypeCategory.SalesOrderDeliveryNote },
|
|
@@ -11990,6 +12334,7 @@
|
|
|
11990
12334
|
[{ type: transactionKind_enum.TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation }, TransactionQuickAccessOrderConfirmationComponent],
|
|
11991
12335
|
[{ type: transactionKind_enum.TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionQuickAccessReceivedGoodsComponent],
|
|
11992
12336
|
[{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionQuickAccessOverviewComponent],
|
|
12337
|
+
[{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderPurchase }, TransactionQuickAccessOrderPurchaseComponent],
|
|
11993
12338
|
[{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderDeliveryNote }, TransactionQuickAccessOrderDeliveryComponent]
|
|
11994
12339
|
]);
|
|
11995
12340
|
this._transactionGridComponent = new Map([
|
|
@@ -11999,6 +12344,7 @@
|
|
|
11999
12344
|
]);
|
|
12000
12345
|
this._transactionLineComponent = new Map([
|
|
12001
12346
|
[{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionOverviewLineComponent],
|
|
12347
|
+
[{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderPurchase }, TransactionPurchaseLineComponent],
|
|
12002
12348
|
[{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderDeliveryNote }, TransactionOrderDeliveryLineComponent],
|
|
12003
12349
|
[{ type: transactionKind_enum.TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionReceiveGoodsLineComponent],
|
|
12004
12350
|
]);
|
|
@@ -12981,15 +13327,18 @@
|
|
|
12981
13327
|
PaymentComponent.prototype._getDownpaymentInfo = function () {
|
|
12982
13328
|
var _this = this;
|
|
12983
13329
|
this.downPayments.length = 0;
|
|
12984
|
-
|
|
12985
|
-
_this.
|
|
12986
|
-
|
|
12987
|
-
info.downPayments
|
|
12988
|
-
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
|
|
12992
|
-
|
|
13330
|
+
return new Promise(function (resolve) {
|
|
13331
|
+
_this._paymentService.getDownPaymentInfo(_this.transactionUuid).then(function (info) {
|
|
13332
|
+
_this.amountToPay = (info.toDownPayAmount ? info.toDownPayAmount : 0) - (info.payedDownAmount ? info.payedDownAmount : 0);
|
|
13333
|
+
if (info.downPayments) {
|
|
13334
|
+
info.downPayments.forEach(function (dp) {
|
|
13335
|
+
var paymentMethod = _this.paymentMethods.find(function (pm) { return pm.payment.code === dp.paymentMethodCode; });
|
|
13336
|
+
_this.downPayments.push(new DownPaymentViewModel(dp, paymentMethod));
|
|
13337
|
+
});
|
|
13338
|
+
}
|
|
13339
|
+
_this.showLoaderDownPayments = false;
|
|
13340
|
+
resolve();
|
|
13341
|
+
});
|
|
12993
13342
|
});
|
|
12994
13343
|
};
|
|
12995
13344
|
PaymentComponent.prototype._dataUriToBase64 = function (uri, mimeType) {
|
|
@@ -13075,7 +13424,7 @@
|
|
|
13075
13424
|
PaymentComponent.decorators = [
|
|
13076
13425
|
{ type: i0.Component, args: [{
|
|
13077
13426
|
selector: "co-payment",
|
|
13078
|
-
template: "\n <div class=\"payment-wrapper\">\n <div class=\"payment-methods-header\">\n <span class=\"payment-header-title\" [textContent]=\"'SELECT_A' | localize\"></span>\n <span class=\"payment-header-title extra\" [textContent]=\"'FREE' | localize:false\"></span>\n <span class=\"payment-header-title\" [textContent]=\"'PAYMENT_METHOD' | localize:false\"></span>\n </div>\n <div class=\"payment-methods\">\n <
|
|
13427
|
+
template: "\n <div class=\"payment-wrapper\">\n <div class=\"payment-methods-header\">\n <span class=\"payment-header-title\" [textContent]=\"'SELECT_A' | localize\"></span>\n <span class=\"payment-header-title extra\" [textContent]=\"'FREE' | localize:false\"></span>\n <span class=\"payment-header-title\" [textContent]=\"'PAYMENT_METHOD' | localize:false\"></span>\n </div>\n <div class=\"payment-methods\">\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <ng-container *ngIf=\"!showLoader\">\n <co-payment-tile *ngFor=\"let paymentMethod of paymentMethods; let index = index\"\n [image]=\"paymentMethod.image\"\n [description]=\"paymentMethod.payment.description\"\n [selected]=\"paymentMethodIdx === index\"\n (selectedChange)=\"paymentMethodSelected(paymentMethod.payment, index)\"\n ></co-payment-tile>\n </ng-container>\n </div>\n <div class=\"payment-cash-register-wrapper\" *ngIf=\"showCashRegisters\">\n <div class=\"payment-cash-register-header\">\n <span class=\"payment-header-title\" [textContent]=\"'SELECT_CASH_REGISTER' | localize\"></span>\n </div>\n <div class=\"payment-methods\">\n <co-payment-tile *ngFor=\"let cashRegister of cashRegisters; let index = index\"\n [icon]=\"cashRegister.icon\"\n [description]=\"cashRegister.description\"\n [selected]=\"cashRegisterIdx === index\"\n (selectedChange)=\"cashRegisterSelected(cashRegister, index)\"\n ></co-payment-tile>\n </div>\n </div>\n <div class=\"payment-to-pay-wrapper\">\n <div class=\"payment-to-pay\">\n <div [textContent]=\"'TO_PAY' | localize\"></div>\n <div class=\"payment-amount\" [textContent]=\"amountToPay === 0 ? amountToPay : (amountToPay | priceDisplay)\"></div>\n </div>\n <div class=\"payment-downpayment\" [class.no-display]=\"!downPayments || downPayments.length === 0\">\n <co-down-payment [transactionUuid]=\"transactionUuid\" [downPayments]=\"downPayments\" [showLoader]=\"showLoaderDownPayments\"></co-down-payment>\n </div>\n <div class=\"payment-to-pay-button\" [class.no-downpayments]=\"!downPayments || downPayments.length === 0\">\n <co-button [label]=\"'PAY' | localize\" (click)=\"handlePayment()\" [disabled]=\"amountToPay === 0\"></co-button>\n </div>\n <co-key-pad class=\"payment-to-pay-keypad\"\n [showValue]=\"false\"\n [emitModelChangeOnEnter]=\"false\"\n [model]=\"amountToPay\"\n (modelChange)=\"handleKeyPadModelChange($event)\"\n (enterClick)=\"handlePayment()\"\n ></co-key-pad>\n </div>\n </div>\n <co-dialog *ngIf=\"showPspQrCode\" (closeClick)=\"showPspQrCode = false\">\n <co-payment-qr-code\n [qrCodeImage]=\"qrCodeImage\"\n ></co-payment-qr-code>\n </co-dialog>\n ",
|
|
13079
13428
|
encapsulation: i0.ViewEncapsulation.None
|
|
13080
13429
|
},] }
|
|
13081
13430
|
];
|
|
@@ -13151,7 +13500,7 @@
|
|
|
13151
13500
|
PaymentQrCodeComponent.decorators = [
|
|
13152
13501
|
{ type: i0.Component, args: [{
|
|
13153
13502
|
selector: "co-payment-qr-code",
|
|
13154
|
-
template: "\n <div class=\"payment-qr-code-wrapper\">\n <
|
|
13503
|
+
template: "\n <div class=\"payment-qr-code-wrapper\">\n <co-loader *ngIf=\"!qrCodeImage\"></co-loader>\n <img *ngIf=\"qrCodeImage\" [src]=\"qrCodeImage\"/>\n </div>\n ",
|
|
13155
13504
|
encapsulation: i0.ViewEncapsulation.None
|
|
13156
13505
|
},] }
|
|
13157
13506
|
];
|
|
@@ -13160,6 +13509,44 @@
|
|
|
13160
13509
|
showClass: [{ type: i0.HostBinding, args: ["class.co-payment-qr-code",] }]
|
|
13161
13510
|
};
|
|
13162
13511
|
|
|
13512
|
+
var LoaderComponent = /** @class */ (function () {
|
|
13513
|
+
function LoaderComponent() {
|
|
13514
|
+
}
|
|
13515
|
+
LoaderComponent.prototype.showClass = function () {
|
|
13516
|
+
return true;
|
|
13517
|
+
};
|
|
13518
|
+
return LoaderComponent;
|
|
13519
|
+
}());
|
|
13520
|
+
LoaderComponent.decorators = [
|
|
13521
|
+
{ type: i0.Component, args: [{
|
|
13522
|
+
selector: "co-loader",
|
|
13523
|
+
template: "\n <div class=\"transaction-loader\">\n <svg width=\"38\" height=\"38\" viewBox=\"0 0 38 38\" xmlns=\"http://www.w3.org/2000/svg\">\n <defs>\n <linearGradient x1=\"8.042%\" y1=\"0%\" x2=\"65.682%\" y2=\"23.865%\" id=\"a\">\n <stop stop-color=\"#000\" stop-opacity=\"0\" offset=\"0%\"/>\n <stop stop-color=\"#000\" stop-opacity=\".631\" offset=\"63.146%\"/>\n <stop stop-color=\"#000\" offset=\"100%\"/>\n </linearGradient>\n </defs>\n <g fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(1 1)\">\n <path d=\"M36 18c0-9.94-8.06-18-18-18\" id=\"Oval-2\" stroke=\"url(#a)\" stroke-width=\"2\">\n <animateTransform\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 18 18\"\n to=\"360 18 18\"\n dur=\"0.9s\"\n repeatCount=\"indefinite\"/>\n </path>\n <circle fill=\"#000\" cx=\"36\" cy=\"18\" r=\"1\">\n <animateTransform\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 18 18\"\n to=\"360 18 18\"\n dur=\"0.9s\"\n repeatCount=\"indefinite\"/>\n </circle>\n </g>\n </g>\n </svg>\n </div>\n ",
|
|
13524
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
13525
|
+
},] }
|
|
13526
|
+
];
|
|
13527
|
+
LoaderComponent.propDecorators = {
|
|
13528
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-loader",] }]
|
|
13529
|
+
};
|
|
13530
|
+
|
|
13531
|
+
var LoaderModule = /** @class */ (function () {
|
|
13532
|
+
function LoaderModule() {
|
|
13533
|
+
}
|
|
13534
|
+
return LoaderModule;
|
|
13535
|
+
}());
|
|
13536
|
+
LoaderModule.decorators = [
|
|
13537
|
+
{ type: i0.NgModule, args: [{
|
|
13538
|
+
imports: [
|
|
13539
|
+
common.CommonModule
|
|
13540
|
+
],
|
|
13541
|
+
declarations: [
|
|
13542
|
+
LoaderComponent
|
|
13543
|
+
],
|
|
13544
|
+
exports: [
|
|
13545
|
+
LoaderComponent
|
|
13546
|
+
]
|
|
13547
|
+
},] }
|
|
13548
|
+
];
|
|
13549
|
+
|
|
13163
13550
|
var PaymentQrCodeModule = /** @class */ (function () {
|
|
13164
13551
|
function PaymentQrCodeModule() {
|
|
13165
13552
|
}
|
|
@@ -13169,7 +13556,8 @@
|
|
|
13169
13556
|
{ type: i0.NgModule, args: [{
|
|
13170
13557
|
imports: [
|
|
13171
13558
|
common.CommonModule,
|
|
13172
|
-
CoreModule
|
|
13559
|
+
CoreModule,
|
|
13560
|
+
LoaderModule
|
|
13173
13561
|
],
|
|
13174
13562
|
declarations: [
|
|
13175
13563
|
PaymentQrCodeComponent
|
|
@@ -13222,7 +13610,7 @@
|
|
|
13222
13610
|
DownPaymentComponent.decorators = [
|
|
13223
13611
|
{ type: i0.Component, args: [{
|
|
13224
13612
|
selector: "co-down-payment",
|
|
13225
|
-
template: "\n <
|
|
13613
|
+
template: "\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <div class=\"down-payment-payments-title\" [textContent]=\"'PAYMENTS_MADE' | localize\" *ngIf=\"downPayments && downPayments.length > 0\"></div>\n <div class=\"down-payment-payments-wrapper\">\n <div class=\"down-payment-payments\" *ngFor=\"let payment of downPayments\">\n <co-payment-tile\n [image]=\"payment.paymentMethod.image\"\n [description]=\"payment.paymentMethod.payment.description\"\n ></co-payment-tile>\n <div class=\"down-payment-amount-wrapper\">\n <div class=\"down-payment-amount\" [textContent]=\"payment.downPayment.downPaymentAmount | coCurrency\"></div>\n <div class=\"down-payment-date\" [textContent]=\"payment.downPayment.date | date:'d MMMM yyyy'\"></div>\n </div>\n </div>\n </div>\n ",
|
|
13226
13614
|
encapsulation: i0.ViewEncapsulation.None
|
|
13227
13615
|
},] }
|
|
13228
13616
|
];
|
|
@@ -13247,7 +13635,8 @@
|
|
|
13247
13635
|
common.CommonModule,
|
|
13248
13636
|
CoreModule,
|
|
13249
13637
|
PipeModule,
|
|
13250
|
-
PaymentTileModule
|
|
13638
|
+
PaymentTileModule,
|
|
13639
|
+
LoaderModule
|
|
13251
13640
|
],
|
|
13252
13641
|
declarations: [
|
|
13253
13642
|
DownPaymentComponent
|
|
@@ -13275,7 +13664,8 @@
|
|
|
13275
13664
|
corecomponents_v12.CoDialogModule,
|
|
13276
13665
|
corecomponents_v12.ButtonModule,
|
|
13277
13666
|
PaymentQrCodeModule,
|
|
13278
|
-
DownPaymentModule
|
|
13667
|
+
DownPaymentModule,
|
|
13668
|
+
LoaderModule
|
|
13279
13669
|
],
|
|
13280
13670
|
declarations: [
|
|
13281
13671
|
PaymentComponent
|
|
@@ -13289,6 +13679,7 @@
|
|
|
13289
13679
|
var RelationTypeComponent = /** @class */ (function () {
|
|
13290
13680
|
function RelationTypeComponent() {
|
|
13291
13681
|
this.relType = relationNameKind_enum.RelationNameKind;
|
|
13682
|
+
this.readonly = false;
|
|
13292
13683
|
this.relation = nulRelationObject.NULL_RELATION_OBJECT;
|
|
13293
13684
|
this.relationChange = new i0.EventEmitter();
|
|
13294
13685
|
}
|
|
@@ -13304,11 +13695,12 @@
|
|
|
13304
13695
|
RelationTypeComponent.decorators = [
|
|
13305
13696
|
{ type: i0.Component, args: [{
|
|
13306
13697
|
selector: "co-relation-type",
|
|
13307
|
-
template: "\n <div class=\"default-data-row\">\n <co-input-radio-button class=\"default-width\"\n [label]=\"'PRIVATE_PERSON' | localize\"\n [model]=\"relation.type === relType.Private\"\n (modelChange)=\"handleChangeRelationType(relType.Private)\"\n ></co-input-radio-button>\n <co-input-radio-button class=\"default-width\"\n [label]=\"'COMPANY' | localize\"\n [model]=\"relation.type === relType.Company\"\n (modelChange)=\"handleChangeRelationType(relType.Company)\"\n ></co-input-radio-button>\n </div>\n ",
|
|
13698
|
+
template: "\n <div class=\"default-data-row\">\n <co-input-radio-button class=\"default-width\"\n [readonly]=\"readonly\"\n [label]=\"'PRIVATE_PERSON' | localize\"\n [model]=\"relation.type === relType.Private\"\n (modelChange)=\"handleChangeRelationType(relType.Private)\"\n ></co-input-radio-button>\n <co-input-radio-button class=\"default-width\"\n [readonly]=\"readonly\"\n [label]=\"'COMPANY' | localize\"\n [model]=\"relation.type === relType.Company\"\n (modelChange)=\"handleChangeRelationType(relType.Company)\"\n ></co-input-radio-button>\n </div>\n ",
|
|
13308
13699
|
encapsulation: i0.ViewEncapsulation.None
|
|
13309
13700
|
},] }
|
|
13310
13701
|
];
|
|
13311
13702
|
RelationTypeComponent.propDecorators = {
|
|
13703
|
+
readonly: [{ type: i0.Input }],
|
|
13312
13704
|
relation: [{ type: i0.Input }],
|
|
13313
13705
|
relationChange: [{ type: i0.Output }],
|
|
13314
13706
|
showClass: [{ type: i0.HostBinding, args: ["class.co-relation-type",] }]
|
|
@@ -13337,11 +13729,14 @@
|
|
|
13337
13729
|
|
|
13338
13730
|
var RelationGeneralComponent = /** @class */ (function (_super) {
|
|
13339
13731
|
__extends(RelationGeneralComponent, _super);
|
|
13340
|
-
function RelationGeneralComponent(_service) {
|
|
13732
|
+
function RelationGeneralComponent(_service, _dictionaryService, _dialogService) {
|
|
13341
13733
|
var _this = _super.call(this) || this;
|
|
13342
13734
|
_this._service = _service;
|
|
13735
|
+
_this._dictionaryService = _dictionaryService;
|
|
13736
|
+
_this._dialogService = _dialogService;
|
|
13343
13737
|
_this.relType = relationNameKind_enum.RelationNameKind;
|
|
13344
13738
|
_this.genderType = genderType_enum.GenderType;
|
|
13739
|
+
_this.readonly = false;
|
|
13345
13740
|
_this.relationSuggestions = [];
|
|
13346
13741
|
_this.showSuggestionsSidebar = false;
|
|
13347
13742
|
// fetches relation suggestions
|
|
@@ -13378,7 +13773,9 @@
|
|
|
13378
13773
|
}
|
|
13379
13774
|
};
|
|
13380
13775
|
RelationGeneralComponent.prototype.showSidebar = function () {
|
|
13381
|
-
this.
|
|
13776
|
+
if (!this.readonly) {
|
|
13777
|
+
this.showSuggestionsSidebar = true;
|
|
13778
|
+
}
|
|
13382
13779
|
};
|
|
13383
13780
|
// Hide sidebar with a little timeout to prevent missing the click
|
|
13384
13781
|
RelationGeneralComponent.prototype.hideSidebar = function () {
|
|
@@ -13389,21 +13786,26 @@
|
|
|
13389
13786
|
};
|
|
13390
13787
|
RelationGeneralComponent.prototype.onRelationSuggestionClick = function (relationSuggested) {
|
|
13391
13788
|
return __awaiter(this, void 0, void 0, function () {
|
|
13392
|
-
var _a;
|
|
13789
|
+
var lockResult, _a;
|
|
13393
13790
|
return __generator(this, function (_b) {
|
|
13394
13791
|
switch (_b.label) {
|
|
13395
13792
|
case 0:
|
|
13396
|
-
if (!relationSuggested) return [3 /*break*/,
|
|
13793
|
+
if (!relationSuggested) return [3 /*break*/, 4];
|
|
13794
|
+
return [4 /*yield*/, this._service.lockRelation(relationSuggested.relationType, parseInt(relationSuggested.relationNr, 0))];
|
|
13795
|
+
case 1:
|
|
13796
|
+
lockResult = _b.sent();
|
|
13797
|
+
if (!!lockResult.success) return [3 /*break*/, 2];
|
|
13798
|
+
this._dialogService.showError(this._dictionaryService.get("RELATION_ALREADY_LOCKED"), lockResult.messages[0].message);
|
|
13799
|
+
return [3 /*break*/, 4];
|
|
13800
|
+
case 2:
|
|
13397
13801
|
this.hideSidebar();
|
|
13398
|
-
// await this._service.addRelationToTransaction(relationSuggested.relationId);
|
|
13399
13802
|
_a = this;
|
|
13400
13803
|
return [4 /*yield*/, this._service.getCustomerFullObjectByRelationId(relationSuggested.relationId)];
|
|
13401
|
-
case
|
|
13402
|
-
// await this._service.addRelationToTransaction(relationSuggested.relationId);
|
|
13804
|
+
case 3:
|
|
13403
13805
|
_a.relation = _b.sent();
|
|
13404
13806
|
this.relationChange.next(this.relation);
|
|
13405
|
-
_b.label =
|
|
13406
|
-
case
|
|
13807
|
+
_b.label = 4;
|
|
13808
|
+
case 4: return [2 /*return*/];
|
|
13407
13809
|
}
|
|
13408
13810
|
});
|
|
13409
13811
|
});
|
|
@@ -13452,7 +13854,7 @@
|
|
|
13452
13854
|
RelationGeneralComponent.decorators = [
|
|
13453
13855
|
{ type: i0.Component, args: [{
|
|
13454
13856
|
selector: "co-relation-general",
|
|
13455
|
-
template: "\n <div *ngIf=\"relation.type === relType.Private\" class=\"collapseable\" @showHidePrivateRelationFields>\n <div class=\"default-data-row\">\n <co-input-text\n class=\"checkout-first-name\"\n [(model)]=\"relation.firstName\"\n [placeholder]=\"'FIRST_NAME' | localize\"\n (modelChange)=\"firstNameChange($event)\"\n (blur)=\"checkVisibilitySuggestions()\"\n [required]=\"true\"\n ></co-input-text>\n <co-input-text\n class=\"checkout-prefix-name default-width\"\n [(model)]=\"relation.prefix\"\n [placeholder]=\"'PREFIX' | localize\"\n ></co-input-text>\n <co-input-text\n class=\"checkout-last-name\"\n [(model)]=\"relation.familyName\"\n [placeholder]=\"'LAST_NAME' | localize\"\n (modelChange)=\"familyNameChange($event)\"\n (blur)=\"checkVisibilitySuggestions()\"\n [required]=\"true\"></co-input-text>\n </div>\n <div class=\"default-data-row\">\n <co-input-radio-button class=\"default-width\"\n [label]=\"'MALE' | localize\"\n [model]=\"relation.gender === genderType.Male\"\n (modelChange)=\"changeGenderType(genderType.Male)\"\n ></co-input-radio-button>\n <co-input-radio-button class=\"default-width\"\n [label]=\"'FEMALE' | localize \"\n [model]=\"relation.gender === genderType.Female\"\n (modelChange)=\"changeGenderType(genderType.Female)\"\n ></co-input-radio-button>\n <co-input-radio-button class=\"default-width\"\n [label]=\"'UNKNOWN' | localize\"\n [model]=\"relation.gender === genderType.Unspecified\"\n (modelChange)=\"changeGenderType(genderType.Unspecified)\"\n ></co-input-radio-button>\n </div>\n <div class=\"default-data-row\">\n <co-input-date [placeholder]=\"'DATE_OF_BIRTH' | localize \" [(model)]=\"dateOfBirth\"></co-input-date>\n </div>\n </div>\n <div *ngIf=\"relation?.type === relType.Company\" class=\"default-data-row collapseable\" @showHideCompanyRelationFields>\n <co-input-text [(model)]=\"relation.familyName\" [placeholder]=\"'COMPANY_NAME' | localize\" [required]=\"true\"></co-input-text>\n </div>\n\n <div class=\"suggestions-sidebar\" *ngIf=\"showSuggestionsSidebar\" @showHideSidebar>\n <div class=\"relation-sidebar-header\">\n <label class=\"checkout-label-h3\" [textContent]=\"'SUGGESTIONS' | localize\"></label>\n </div>\n <co-relation-suggestions-list\n [suggestions]=\"relationSuggestions\"\n (suggestionSelected)=\"onRelationSuggestionClick($event)\"\n ></co-relation-suggestions-list>\n </div>\n ",
|
|
13857
|
+
template: "\n <div *ngIf=\"relation.type === relType.Private\" class=\"collapseable\" @showHidePrivateRelationFields>\n <div class=\"default-data-row\">\n <co-input-text\n class=\"checkout-first-name\"\n [readonly]=\"readonly\"\n [(model)]=\"relation.firstName\"\n [placeholder]=\"'FIRST_NAME' | localize\"\n (modelChange)=\"firstNameChange($event)\"\n (blur)=\"checkVisibilitySuggestions()\"\n [required]=\"true\"\n ></co-input-text>\n <co-input-text\n class=\"checkout-prefix-name default-width\"\n [readonly]=\"readonly\"\n [(model)]=\"relation.prefix\"\n [placeholder]=\"'PREFIX' | localize\"\n ></co-input-text>\n <co-input-text\n class=\"checkout-last-name\"\n [readonly]=\"readonly\"\n [(model)]=\"relation.familyName\"\n [placeholder]=\"'LAST_NAME' | localize\"\n (modelChange)=\"familyNameChange($event)\"\n (blur)=\"checkVisibilitySuggestions()\"\n [required]=\"true\"></co-input-text>\n </div>\n <div class=\"default-data-row\">\n <co-input-radio-button class=\"default-width\"\n [readonly]=\"readonly\"\n [label]=\"'MALE' | localize\"\n [model]=\"relation.gender === genderType.Male\"\n (modelChange)=\"changeGenderType(genderType.Male)\"\n ></co-input-radio-button>\n <co-input-radio-button class=\"default-width\"\n [readonly]=\"readonly\"\n [label]=\"'FEMALE' | localize \"\n [model]=\"relation.gender === genderType.Female\"\n (modelChange)=\"changeGenderType(genderType.Female)\"\n ></co-input-radio-button>\n <co-input-radio-button class=\"default-width\"\n [readonly]=\"readonly\"\n [label]=\"'UNKNOWN' | localize\"\n [model]=\"relation.gender === genderType.Unspecified\"\n (modelChange)=\"changeGenderType(genderType.Unspecified)\"\n ></co-input-radio-button>\n </div>\n <div class=\"default-data-row\">\n <co-input-date [readonly]=\"readonly\" [placeholder]=\"'DATE_OF_BIRTH' | localize \" [(model)]=\"dateOfBirth\"></co-input-date>\n </div>\n </div>\n <div *ngIf=\"relation?.type === relType.Company\" class=\"default-data-row collapseable\" @showHideCompanyRelationFields>\n <co-input-text [readonly]=\"readonly\" [(model)]=\"relation.familyName\" [placeholder]=\"'COMPANY_NAME' | localize\" [required]=\"true\"></co-input-text>\n </div>\n\n <div class=\"suggestions-sidebar\" *ngIf=\"showSuggestionsSidebar\" @showHideSidebar>\n <div class=\"relation-sidebar-header\">\n <label class=\"checkout-label-h3\" [textContent]=\"'SUGGESTIONS' | localize\"></label>\n </div>\n <co-relation-suggestions-list\n [suggestions]=\"relationSuggestions\"\n (suggestionSelected)=\"onRelationSuggestionClick($event)\"\n ></co-relation-suggestions-list>\n </div>\n ",
|
|
13456
13858
|
animations: [
|
|
13457
13859
|
animations.trigger("showHidePrivateRelationFields", [
|
|
13458
13860
|
animations.state("void", animations.style({ height: 0 })),
|
|
@@ -13476,9 +13878,12 @@
|
|
|
13476
13878
|
},] }
|
|
13477
13879
|
];
|
|
13478
13880
|
RelationGeneralComponent.ctorParameters = function () { return [
|
|
13479
|
-
{ type: TransactionService }
|
|
13881
|
+
{ type: TransactionService },
|
|
13882
|
+
{ type: DictionaryService },
|
|
13883
|
+
{ type: DialogService }
|
|
13480
13884
|
]; };
|
|
13481
13885
|
RelationGeneralComponent.propDecorators = {
|
|
13886
|
+
readonly: [{ type: i0.Input }],
|
|
13482
13887
|
showClass: [{ type: i0.HostBinding, args: ["class.co-relation-general",] }]
|
|
13483
13888
|
};
|
|
13484
13889
|
|
|
@@ -13604,11 +14009,12 @@
|
|
|
13604
14009
|
_this._boFactory = _boFactory;
|
|
13605
14010
|
_this._formMasterService = _formMasterService;
|
|
13606
14011
|
_this.icons = Icon;
|
|
14012
|
+
_this.readonly = false;
|
|
13607
14013
|
_this.addresses = [];
|
|
14014
|
+
_this.showOnlyActive = true;
|
|
13608
14015
|
_this.type = addressType_enum.AddressType.DeliveryAddress;
|
|
13609
|
-
_this.
|
|
13610
|
-
_this.
|
|
13611
|
-
_this.selectedAddressNawNrChange = new i0.EventEmitter();
|
|
14016
|
+
_this.selectedNawNr = 0;
|
|
14017
|
+
_this.selectedNawNrChange = new i0.EventEmitter();
|
|
13612
14018
|
_this.showEditAddressDialog = false;
|
|
13613
14019
|
return _this;
|
|
13614
14020
|
}
|
|
@@ -13637,22 +14043,24 @@
|
|
|
13637
14043
|
this.addressToEdit = new address_bo.Address();
|
|
13638
14044
|
this.showEditAddressDialog = true;
|
|
13639
14045
|
};
|
|
13640
|
-
RelationAddressesComponent.prototype.
|
|
13641
|
-
this.
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
|
|
14046
|
+
RelationAddressesComponent.prototype.changeAddress = function (address) {
|
|
14047
|
+
if (address && !this.readonly) {
|
|
14048
|
+
this.selectedNawNr = address.nawNr;
|
|
14049
|
+
this.selectedNawNrChange.emit(this.selectedNawNr);
|
|
14050
|
+
}
|
|
13645
14051
|
};
|
|
13646
14052
|
RelationAddressesComponent.prototype.editAddress = function (addr) {
|
|
13647
|
-
|
|
13648
|
-
|
|
14053
|
+
if (!this.readonly) {
|
|
14054
|
+
this.addressToEdit = this._boFactory.makeWithRawBackendData(address_bo.Address, addr);
|
|
14055
|
+
this.showEditAddressDialog = true;
|
|
14056
|
+
}
|
|
13649
14057
|
};
|
|
13650
14058
|
return RelationAddressesComponent;
|
|
13651
14059
|
}(RelationBaseComponent));
|
|
13652
14060
|
RelationAddressesComponent.decorators = [
|
|
13653
14061
|
{ type: i0.Component, args: [{
|
|
13654
14062
|
selector: "co-relation-addresses",
|
|
13655
|
-
template: "\n <div class=\"default-data-row\">\n <co-carousel
|
|
14063
|
+
template: "\n <div class=\"default-data-row\">\n <co-carousel *ngIf=\"addresses && addresses.length > 1\">\n <co-relation-address-tile #carouselItem *ngFor=\"let address of addresses | filter:'isActive':true; let index = index\"\n [address]=\"address\"\n [selected]=\"selectedNawNr === address.nawNr\"\n (editAddressClicked)=\"editAddress($event)\"\n (selectedChange)=\"changeAddress($event)\"\n ></co-relation-address-tile>\n </co-carousel>\n </div>\n <div class=\"default-data-row\" *ngIf=\"!readonly\">\n <div class=\"relation-address-new\">\n <icon class=\"relation-address-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'ADDRESS_ADD' | localize\" (click)=\"showNewAddressDialog()\"></div>\n </div>\n </div>\n <co-dialog class=\"dialog-relation-addresses-create-address\" *ngIf=\"showEditAddressDialog\"\n [footerTemplate]=\"templateFooter\"\n [headerTemplate]=\"templateHeader\"\n (closeClick)=\"showEditAddressDialog = false\"\n >\n <co-form>\n <co-relation-address\n [relation]=\"relation\"\n [(address)]=\"addressToEdit\"\n ></co-relation-address>\n </co-form>\n <ng-template #templateHeader>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'NEW_ADDRESS' | localize\"></div>\n </ng-template>\n <ng-template #templateFooter>\n <div class=\"co-transaction-dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"submitForm()\"></co-button>\n </div>\n </ng-template>\n </co-dialog>\n ",
|
|
13656
14064
|
providers: [
|
|
13657
14065
|
corecomponents_v12.FormMasterService
|
|
13658
14066
|
],
|
|
@@ -13664,11 +14072,12 @@
|
|
|
13664
14072
|
{ type: corecomponents_v12.FormMasterService }
|
|
13665
14073
|
]; };
|
|
13666
14074
|
RelationAddressesComponent.propDecorators = {
|
|
14075
|
+
readonly: [{ type: i0.Input }],
|
|
13667
14076
|
addresses: [{ type: i0.Input }],
|
|
14077
|
+
showOnlyActive: [{ type: i0.Input }],
|
|
13668
14078
|
type: [{ type: i0.Input }],
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
selectedAddressNawNrChange: [{ type: i0.Output }],
|
|
14079
|
+
selectedNawNr: [{ type: i0.Input }],
|
|
14080
|
+
selectedNawNrChange: [{ type: i0.Output }],
|
|
13672
14081
|
showClass: [{ type: i0.HostBinding, args: ["class.co-relation-addresses",] }]
|
|
13673
14082
|
};
|
|
13674
14083
|
|
|
@@ -13688,7 +14097,9 @@
|
|
|
13688
14097
|
corecomponents_v12.CoDialogModule,
|
|
13689
14098
|
RelationAddressModule,
|
|
13690
14099
|
corecomponents_v12.FormModule,
|
|
13691
|
-
corecomponents_v12.ButtonModule
|
|
14100
|
+
corecomponents_v12.ButtonModule,
|
|
14101
|
+
corecomponents_v12.CarouselModule,
|
|
14102
|
+
corecomponents_v12.FilterPipeModule
|
|
13692
14103
|
],
|
|
13693
14104
|
declarations: [
|
|
13694
14105
|
RelationAddressesComponent
|
|
@@ -13703,6 +14114,7 @@
|
|
|
13703
14114
|
__extends(RelationContactDetailsComponent, _super);
|
|
13704
14115
|
function RelationContactDetailsComponent() {
|
|
13705
14116
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
14117
|
+
_this.readonly = false;
|
|
13706
14118
|
_this.emailAddress = new contactOption_bo.ContactOption();
|
|
13707
14119
|
_this.phoneNumber = new contactOption_bo.ContactOption();
|
|
13708
14120
|
_this.inviteToAccount = false;
|
|
@@ -13742,11 +14154,12 @@
|
|
|
13742
14154
|
RelationContactDetailsComponent.decorators = [
|
|
13743
14155
|
{ type: i0.Component, args: [{
|
|
13744
14156
|
selector: "co-relation-contact-details",
|
|
13745
|
-
template: "\n <div class=\"default-data-row\">\n <co-input-text [(model)]=\"phoneNumber.value\" [placeholder]=\"'PHONE_NO' | localize \" [required]=\"true\"></co-input-text>\n </div>\n <div class=\"default-data-row\">\n <co-input-text [(model)]=\"emailAddress.value\" [placeholder]=\"'EMAIL_ADDRESS' | localize \" [type]=\"'email'\" [required]=\"true\"></co-input-text>\n </div>\n <div class=\"default-data-row\">\n <co-input-checkbox [label]=\"'INVITE_TO_ACCOUNT' | localize\" [(model)]=\"inviteToAccount\"></co-input-checkbox>\n </div>\n ",
|
|
14157
|
+
template: "\n <div class=\"default-data-row\">\n <co-input-text [readonly]=\"readonly\" [(model)]=\"phoneNumber.value\" [placeholder]=\"'PHONE_NO' | localize \" [required]=\"true\"></co-input-text>\n </div>\n <div class=\"default-data-row\">\n <co-input-text [readonly]=\"readonly\" [(model)]=\"emailAddress.value\" [placeholder]=\"'EMAIL_ADDRESS' | localize \" [type]=\"'email'\" [required]=\"true\"></co-input-text>\n </div>\n <div class=\"default-data-row\">\n <co-input-checkbox [readonly]=\"readonly\" [label]=\"'INVITE_TO_ACCOUNT' | localize\" [(model)]=\"inviteToAccount\"></co-input-checkbox>\n </div>\n ",
|
|
13746
14158
|
encapsulation: i0.ViewEncapsulation.None
|
|
13747
14159
|
},] }
|
|
13748
14160
|
];
|
|
13749
14161
|
RelationContactDetailsComponent.propDecorators = {
|
|
14162
|
+
readonly: [{ type: i0.Input }],
|
|
13750
14163
|
showClass: [{ type: i0.HostBinding, args: ["class.co-relation-contact-details",] }]
|
|
13751
14164
|
};
|
|
13752
14165
|
|
|
@@ -13777,6 +14190,7 @@
|
|
|
13777
14190
|
function RelationPreferencesComponent(_service) {
|
|
13778
14191
|
var _this = _super.call(this) || this;
|
|
13779
14192
|
_this._service = _service;
|
|
14193
|
+
_this.readonly = false;
|
|
13780
14194
|
return _this;
|
|
13781
14195
|
}
|
|
13782
14196
|
RelationPreferencesComponent.prototype.showClass = function () {
|
|
@@ -13830,7 +14244,7 @@
|
|
|
13830
14244
|
RelationPreferencesComponent.decorators = [
|
|
13831
14245
|
{ type: i0.Component, args: [{
|
|
13832
14246
|
selector: "co-relation-preferences",
|
|
13833
|
-
template: "\n <div class=\"two-column-grid\">\n <ng-container *ngFor=\"let privacySetting of privacySettings\">\n <co-input-checkbox class=\"first-column\"\n [label]=\"privacySetting.description\"\n [model]=\"isShared(privacySetting)\"\n (modelChange)=\"changePrivacySetting(privacySetting, $event)\"\n ></co-input-checkbox>\n <span class=\"second-column\" [textContent]=\"privacySetting.explanation\"></span>\n </ng-container>\n </div>\n ",
|
|
14247
|
+
template: "\n <div class=\"two-column-grid\">\n <ng-container *ngFor=\"let privacySetting of privacySettings\">\n <co-input-checkbox class=\"first-column\"\n [readonly]=\"readonly\"\n [label]=\"privacySetting.description\"\n [model]=\"isShared(privacySetting)\"\n (modelChange)=\"changePrivacySetting(privacySetting, $event)\"\n ></co-input-checkbox>\n <span class=\"second-column\" [textContent]=\"privacySetting.explanation\"></span>\n </ng-container>\n </div>\n ",
|
|
13834
14248
|
encapsulation: i0.ViewEncapsulation.None
|
|
13835
14249
|
},] }
|
|
13836
14250
|
];
|
|
@@ -13838,6 +14252,7 @@
|
|
|
13838
14252
|
{ type: TransactionService }
|
|
13839
14253
|
]; };
|
|
13840
14254
|
RelationPreferencesComponent.propDecorators = {
|
|
14255
|
+
readonly: [{ type: i0.Input }],
|
|
13841
14256
|
showClass: [{ type: i0.HostBinding, args: ["class.co-relation-preferences",] }]
|
|
13842
14257
|
};
|
|
13843
14258
|
|
|
@@ -14505,6 +14920,27 @@
|
|
|
14505
14920
|
});
|
|
14506
14921
|
});
|
|
14507
14922
|
};
|
|
14923
|
+
TransactionHeaderDeliveryMethodComponent.prototype.setDeliveryType = function (method) {
|
|
14924
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14925
|
+
var idx, success;
|
|
14926
|
+
return __generator(this, function (_a) {
|
|
14927
|
+
switch (_a.label) {
|
|
14928
|
+
case 0:
|
|
14929
|
+
idx = this.collection.findIndex(function (d) { return d.code === method.code; });
|
|
14930
|
+
if (!method) return [3 /*break*/, 2];
|
|
14931
|
+
return [4 /*yield*/, this.commit(method.code)];
|
|
14932
|
+
case 1:
|
|
14933
|
+
success = _a.sent();
|
|
14934
|
+
if (success) {
|
|
14935
|
+
this.selectedIdx = idx;
|
|
14936
|
+
this.deliveryMethodChange.emit(method);
|
|
14937
|
+
}
|
|
14938
|
+
_a.label = 2;
|
|
14939
|
+
case 2: return [2 /*return*/];
|
|
14940
|
+
}
|
|
14941
|
+
});
|
|
14942
|
+
});
|
|
14943
|
+
};
|
|
14508
14944
|
TransactionHeaderDeliveryMethodComponent.prototype.transactionInfoSet = function () {
|
|
14509
14945
|
this.readonly = this.readonly || this.transactionInfo.deliveryDateDefinitive;
|
|
14510
14946
|
};
|
|
@@ -14513,7 +14949,7 @@
|
|
|
14513
14949
|
TransactionHeaderDeliveryMethodComponent.decorators = [
|
|
14514
14950
|
{ type: i0.Component, args: [{
|
|
14515
14951
|
selector: "co-transaction-header-delivery-method",
|
|
14516
|
-
template: "\n <ng-container *ngIf=\"showAsCarousel\">\n <co-carousel
|
|
14952
|
+
template: "\n <ng-container *ngIf=\"showAsCarousel\">\n <co-carousel>\n <co-delivery-type-tile #carouselItem *ngFor=\"let method of collection; let index = index\"\n [method]=\"method\"\n [selected]=\"selectedIdx === index\"\n (selectedChange)=\"setDeliveryType($event)\"\n ></co-delivery-type-tile>\n </co-carousel>\n </ng-container>\n <ng-container *ngIf=\"!showAsCarousel\">\n <co-transaction-line-checkbox-list\n [collection]=\"viewModelsFiltered\"\n [readonly]=\"readonly\"\n (checked)=\"handleChecked($event)\"\n ></co-transaction-line-checkbox-list>\n </ng-container>\n ",
|
|
14517
14953
|
encapsulation: i0.ViewEncapsulation.None
|
|
14518
14954
|
},] }
|
|
14519
14955
|
];
|
|
@@ -14552,7 +14988,7 @@
|
|
|
14552
14988
|
TransactionLineCheckboxListComponent.decorators = [
|
|
14553
14989
|
{ type: i0.Component, args: [{
|
|
14554
14990
|
selector: "co-transaction-line-checkbox-list",
|
|
14555
|
-
template: "\n <cdk-virtual-scroll-viewport [itemSize]=\"itemHeight\" class=\"virtual-scroll-container co-transaction-small-toolbar\">\n <div *cdkVirtualFor=\"let row of collection\" #scrollingItem class=\"virtual-scroll-item\" (click)=\"handleChecked($event, row)\">\n <div class=\"checkbox-wrapper\">\n <co-input-checkbox\n [model]=\"row.checked\"\n [readonly]=\"readonly\"\n (modelChange)=\"handleCheckboxChecked($event, row)\"\n ></co-input-checkbox>\n </div>\n <div class=\"label-wrapper\">\n <span *ngFor=\"let label of row.propsForLabel\" [innerHTML]=\"label\" class=\"label\"></span>\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n ",
|
|
14991
|
+
template: "\n <cdk-virtual-scroll-viewport [itemSize]=\"itemHeight\" class=\"virtual-scroll-container co-transaction-small-toolbar\">\n <div *cdkVirtualFor=\"let row of collection\" #scrollingItem class=\"virtual-scroll-item\" (click)=\"handleChecked($event, row)\">\n <div class=\"checkbox-wrapper\">\n <co-input-checkbox\n [model]=\"row.checked\"\n [readonly]=\"readonly\"\n (modelChange)=\"handleCheckboxChecked($event, row)\"\n ></co-input-checkbox>\n </div>\n <div class=\"label-wrapper\">\n <span *ngFor=\"let label of row.propsForLabel; let index = index\" [innerHTML]=\"label\" [class.first]=\"index === 0\" class=\"label\"></span>\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n ",
|
|
14556
14992
|
encapsulation: i0.ViewEncapsulation.None
|
|
14557
14993
|
},] }
|
|
14558
14994
|
];
|
|
@@ -14599,7 +15035,8 @@
|
|
|
14599
15035
|
corecomponents_v12.Carousel3dModule,
|
|
14600
15036
|
DeliveryTypeTileModule,
|
|
14601
15037
|
corecomponents_v12.InputCheckboxModule,
|
|
14602
|
-
TransactionLineCheckboxModule
|
|
15038
|
+
TransactionLineCheckboxModule,
|
|
15039
|
+
corecomponents_v12.CarouselModule
|
|
14603
15040
|
],
|
|
14604
15041
|
declarations: [
|
|
14605
15042
|
TransactionHeaderDeliveryMethodComponent
|
|
@@ -14734,7 +15171,7 @@
|
|
|
14734
15171
|
DialogTransactionHeaderDeliveryMethodComponent.decorators = [
|
|
14735
15172
|
{ type: i0.Component, args: [{
|
|
14736
15173
|
selector: "co-dialog-transaction-header-delivery-method",
|
|
14737
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-header-delivery-method\n [autoClose]=\"autoClose\"\n [showAsCarousel]=\"false\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-header-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
15174
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-header-delivery-method\n [autoClose]=\"autoClose\"\n [showAsCarousel]=\"false\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-header-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
14738
15175
|
encapsulation: i0.ViewEncapsulation.None
|
|
14739
15176
|
},] }
|
|
14740
15177
|
];
|
|
@@ -15835,7 +16272,7 @@
|
|
|
15835
16272
|
TransactionComponent.decorators = [
|
|
15836
16273
|
{ type: i0.Component, args: [{
|
|
15837
16274
|
selector: "co-transaction",
|
|
15838
|
-
template: "\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\" [relation]=\"relation\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [
|
|
16275
|
+
template: "\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\" [relation]=\"relation\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-quick-access>\n\n <co-transaction-button-bar *ngIf=\"showButtonBar\" class=\"transaction-lines-header-item\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\"\n ></co-transaction-button-bar>\n\n <co-view-mode-buttons class=\"transaction-lines-header-item\"\n [showViewModes]=\"[viewModes.List, viewModes.Grid, viewModes.Tiles]\" (viewModeChange)=\"activeViewMode = $event\"></co-view-mode-buttons>\n </div>\n\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles\">\n <co-transaction-tile\n *ngFor=\"let transaction of transaction.transactionLines\"\n [transactionLine]=\"transaction\"\n (showSidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-tile>\n </div>\n <div class=\"transaction-lines-wrapper\" *ngIf=\"activeViewMode === viewModes.List\">\n <co-transaction-lines\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLines]=\"transaction.transactionLines\"\n [transactionId]=\"transactionId\"\n [activeCategory]=\"activeCategory\"\n (saveTransactionLine)=\"saveTransactionLine($event)\"\n ></co-transaction-lines>\n </div>\n <div class=\"transaction-lines-grid-wrapper\" *ngIf=\"activeViewMode === viewModes.Grid\">\n <co-transaction-grid\n [transactionLines]=\"transaction.transactionLines\"\n [transactionId]=\"transactionId\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-grid>\n <!--\n <co-transaction-order-confirmation-grid\n *ngIf=\"activeCategory === 1\"\n [transactionLines]=\"transaction.transactionLines\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-order-confirmation-grid>\n -->\n </div>\n <div class=\"transaction-footer-wrapper\">\n <co-transaction-totals\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionTotal]=\"transaction.transactionTotal\"\n [showDiscount]=\"true\"\n ></co-transaction-totals>\n </div>\n ",
|
|
15839
16276
|
encapsulation: i0.ViewEncapsulation.None
|
|
15840
16277
|
},] }
|
|
15841
16278
|
];
|
|
@@ -15895,10 +16332,11 @@
|
|
|
15895
16332
|
|
|
15896
16333
|
var TransactionHeaderRelationComponent = /** @class */ (function (_super) {
|
|
15897
16334
|
__extends(TransactionHeaderRelationComponent, _super);
|
|
15898
|
-
function TransactionHeaderRelationComponent(service, _dictionary) {
|
|
16335
|
+
function TransactionHeaderRelationComponent(service, _dictionary, _dialogService) {
|
|
15899
16336
|
var _this = _super.call(this, service) || this;
|
|
15900
16337
|
_this.service = service;
|
|
15901
16338
|
_this._dictionary = _dictionary;
|
|
16339
|
+
_this._dialogService = _dialogService;
|
|
15902
16340
|
_this.addressType = addressType_enum.AddressType;
|
|
15903
16341
|
_this.deliveryAddressIdx = 0;
|
|
15904
16342
|
_this.invoiceAddressIdx = 0;
|
|
@@ -15906,6 +16344,7 @@
|
|
|
15906
16344
|
_this.showDialog = false;
|
|
15907
16345
|
_this.categories = [_this._dictionary.get('CLIENT_DATA'), _this._dictionary.get('PRIVACY_PREFERENCES')];
|
|
15908
16346
|
_this.relationType = relationKind_enum.RelationKind.Customer;
|
|
16347
|
+
_this.readonly = false;
|
|
15909
16348
|
_this._relation = new customerFullObject_bo.CustomerFullObject();
|
|
15910
16349
|
return _this;
|
|
15911
16350
|
}
|
|
@@ -15958,6 +16397,32 @@
|
|
|
15958
16397
|
this.relation.customerGroup = this.customerGroup;
|
|
15959
16398
|
}
|
|
15960
16399
|
};
|
|
16400
|
+
TransactionHeaderRelationComponent.prototype.handleShowDialog = function () {
|
|
16401
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
16402
|
+
var lockResult, question;
|
|
16403
|
+
return __generator(this, function (_a) {
|
|
16404
|
+
switch (_a.label) {
|
|
16405
|
+
case 0: return [4 /*yield*/, this.service.lockRelation(this.relation.relationType, parseInt(this.relation.relationNumber, 0))];
|
|
16406
|
+
case 1:
|
|
16407
|
+
lockResult = _a.sent();
|
|
16408
|
+
if (!!lockResult.success) return [3 /*break*/, 3];
|
|
16409
|
+
return [4 /*yield*/, this._dialogService.showYesNo("LOCKED", lockResult.messages[0].message)];
|
|
16410
|
+
case 2:
|
|
16411
|
+
question = _a.sent();
|
|
16412
|
+
if (question) {
|
|
16413
|
+
this.readonly = true;
|
|
16414
|
+
this.showDialog = true;
|
|
16415
|
+
}
|
|
16416
|
+
return [3 /*break*/, 4];
|
|
16417
|
+
case 3:
|
|
16418
|
+
this.readonly = false;
|
|
16419
|
+
this.showDialog = true;
|
|
16420
|
+
_a.label = 4;
|
|
16421
|
+
case 4: return [2 /*return*/];
|
|
16422
|
+
}
|
|
16423
|
+
});
|
|
16424
|
+
});
|
|
16425
|
+
};
|
|
15961
16426
|
TransactionHeaderRelationComponent.prototype.relationSet = function () {
|
|
15962
16427
|
if (this.relationType === relationKind_enum.RelationKind.Customer) {
|
|
15963
16428
|
this.customerGroup = this.relation.customerGroup;
|
|
@@ -15968,7 +16433,7 @@
|
|
|
15968
16433
|
TransactionHeaderRelationComponent.decorators = [
|
|
15969
16434
|
{ type: i0.Component, args: [{
|
|
15970
16435
|
selector: "co-transaction-header-relation",
|
|
15971
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"
|
|
16436
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"handleShowDialog()\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"relation.displayName\"></div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-relation-address\" [textContent]=\"relation.displayFirstAddress\"></div>\n <div class=\"header-relation-postal\" [textContent]=\"relation.displayFirstPostal\"></div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-relation-email\" [textContent]=\"relation.primaryEmail\"></div>\n <div class=\"header-relation-phone\" [textContent]=\"relation.primaryPhoneOrMobileNumber\"></div>\n </ng-template>\n <co-dialog class=\"transaction-header-relation-dialog\" [customCssClass]=\"'co-transaction-small-toolbar'\" *ngIf=\"showDialog\" [headerTemplate]=\"dialogHeader\" (closeClick)=\"showDialog = false\">\n <ng-template #dialogHeader>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'CLIENT_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n ></co-transaction-header-block>\n <co-transaction-filter-categories [categories]=\"categories\" (categoryClick)=\"handleNavigationClick($event)\"></co-transaction-filter-categories>\n </ng-template>\n <div #navigationItems class=\"header-relation-navigation-wrapper\">\n <div #mainItems class=\"header-relation-navigation-content\">\n <div class=\"header-relation-section\">\n <div class=\"header-relation-section-label\" [textContent]=\"'PERSONAL_DATA' | localize\"></div>\n <co-relation-type\n [readonly]=\"readonly\"\n [relation]=\"relation\"\n ></co-relation-type>\n <ng-container *ngIf=\"relationType === relationKind.Customer\">\n <relation-customer-groups [readonly]=\"readonly\" [model]=\"customerGroup\" (modelChange)=\"handleChangeCustomGroup($event)\" required></relation-customer-groups>\n </ng-container>\n <co-relation-general [readonly]=\"readonly\" [relation]=\"relation\" (relationChange)=\"updateRelation($event)\"></co-relation-general>\n </div>\n <div class=\"header-relation-section\">\n <div class=\"header-relation-section-label\" [textContent]=\"'ADDRESSES' | localize\"></div>\n <co-relation-addresses\n [readonly]=\"readonly\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.DeliveryAddress\"\n [selectedNawNr]=\"deliveryAddressIdx\"\n (selectedAddressChange)=\"setIndexDeliveryAddress($event)\"\n ></co-relation-addresses>\n <div class=\"header-relation-section-label\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></div>\n <co-input-checkbox [readonly]=\"readonly\" [(model)]=\"invoiceAddressSameAsDeliveryAddress\" (modelChange)=\"checkSameAddress($event)\" [label]=\"'SAME_AS_DELIVERY' | localize\"></co-input-checkbox>\n <div class=\"overview-delivery-invoice-address\" *ngIf=\"!invoiceAddressSameAsDeliveryAddress\" @showHideInvoiceAddress>\n <co-relation-addresses\n [readonly]=\"readonly\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.BillingAddress\"\n [selectedNawNr]=\"invoiceAddressIdx\"\n (selectedAddressChange)=\"setIndexInvoiceAddress($event)\"\n ></co-relation-addresses>\n </div>\n </div>\n <div class=\"header-relation-section\">\n <div class=\"header-relation-section-label\" [textContent]=\"'CONTACT_DETAILS' | localize\"></div>\n <co-relation-contact-details [readonly]=\"readonly\" [relation]=\"relation\"></co-relation-contact-details>\n </div>\n </div>\n <div #preferenceItems class=\"header-relation-navigation-content\">\n <co-relation-preferences [readonly]=\"readonly\" [relation]=\"relation\"></co-relation-preferences>\n </div>\n </div>\n </co-dialog>\n ",
|
|
15972
16437
|
animations: [
|
|
15973
16438
|
animations.trigger("showHideInvoiceAddress", [
|
|
15974
16439
|
animations.state("void", animations.style({ height: 0, opacity: 0 })),
|
|
@@ -15982,7 +16447,8 @@
|
|
|
15982
16447
|
];
|
|
15983
16448
|
TransactionHeaderRelationComponent.ctorParameters = function () { return [
|
|
15984
16449
|
{ type: TransactionService },
|
|
15985
|
-
{ type: DictionaryService }
|
|
16450
|
+
{ type: DictionaryService },
|
|
16451
|
+
{ type: DialogService }
|
|
15986
16452
|
]; };
|
|
15987
16453
|
TransactionHeaderRelationComponent.propDecorators = {
|
|
15988
16454
|
navigationItems: [{ type: i0.ViewChild, args: ['navigationItems', { read: i0.ElementRef },] }],
|
|
@@ -16175,7 +16641,7 @@
|
|
|
16175
16641
|
TransactionHeaderPaymentComponent.decorators = [
|
|
16176
16642
|
{ type: i0.Component, args: [{
|
|
16177
16643
|
selector: "co-transaction-header-payment",
|
|
16178
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"'BALANCE' | localize\"></div>\n <div class=\"header-block-balance\" *ngIf=\"transactionInfo.transactionKind !== transactionKind.PurchaseOrder\" (click)=\"openPayment($event)\">\n <co-icon class=\"payment-icon\" [iconData]=\"iconService.getIcon(icons.CreditCardSolid)\"></co-icon>\n <div class=\"payment-payed-wrapper\">\n <
|
|
16644
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"'BALANCE' | localize\"></div>\n <div class=\"header-block-balance\" *ngIf=\"transactionInfo.transactionKind !== transactionKind.PurchaseOrder\" (click)=\"openPayment($event)\">\n <co-icon class=\"payment-icon\" [iconData]=\"iconService.getIcon(icons.CreditCardSolid)\"></co-icon>\n <div class=\"payment-payed-wrapper\">\n <span class=\"payment-to-pay\" [textContent]=\"toPay | priceDisplay\"></span>\n <span class=\"payment-divider\" [textContent]=\"'/'\"></span>\n <span class=\"payment-paid\" [class.success]=\"paid >= toPay\" [textContent]=\"paid | priceDisplay\"></span>\n </div>\n </div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-downpayment-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_PERCENTAGE' | localize\"></div>\n <co-transaction-header-downpayment-percentage class=\"transaction-header-downpayment\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-downpayment-percentage>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-downpayment-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_AMOUNT' | localize\"></div>\n <co-transaction-header-downpayment-amount class=\"transaction-header-downpayment\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-downpayment-amount>\n </ng-template>\n <co-dialog class=\"transaction-header-payment-dialog\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'PAYMENT_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"payment-dialog-section\">\n <span [textContent]=\"'NOG_NIET_GEIMPLEMENTEERD'\"></span>\n </div>\n <div class=\"payment-dialog-section\">\n <span [textContent]=\"'NOG_NIET_GEIMPLEMENTEERD'\"></span>\n </div>\n </co-dialog>\n <co-dialog class=\"payment-dialog\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"showPaymentDialog = false\"\n >\n <co-payment\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"transactionTotal.netAmount\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
|
|
16179
16645
|
encapsulation: i0.ViewEncapsulation.None
|
|
16180
16646
|
},] }
|
|
16181
16647
|
];
|
|
@@ -16653,6 +17119,135 @@
|
|
|
16653
17119
|
},] }
|
|
16654
17120
|
];
|
|
16655
17121
|
|
|
17122
|
+
var TransactionFilterPopupBaseComponent = /** @class */ (function (_super) {
|
|
17123
|
+
__extends(TransactionFilterPopupBaseComponent, _super);
|
|
17124
|
+
function TransactionFilterPopupBaseComponent() {
|
|
17125
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
17126
|
+
_this.autoClose = false;
|
|
17127
|
+
_this.useModel = true;
|
|
17128
|
+
_this.valueChange = new i0.EventEmitter();
|
|
17129
|
+
_this.closeAfterCommit = new i0.EventEmitter();
|
|
17130
|
+
_this.viewModels = [];
|
|
17131
|
+
_this.viewModelsFiltered = [];
|
|
17132
|
+
_this.propsForLabel = [];
|
|
17133
|
+
_this._collection = [];
|
|
17134
|
+
return _this;
|
|
17135
|
+
}
|
|
17136
|
+
Object.defineProperty(TransactionFilterPopupBaseComponent.prototype, "searchText", {
|
|
17137
|
+
get: function () {
|
|
17138
|
+
return this._searchText;
|
|
17139
|
+
},
|
|
17140
|
+
set: function (value) {
|
|
17141
|
+
if (value !== undefined && value !== null) {
|
|
17142
|
+
this._searchText = value;
|
|
17143
|
+
this._doSearch();
|
|
17144
|
+
}
|
|
17145
|
+
},
|
|
17146
|
+
enumerable: false,
|
|
17147
|
+
configurable: true
|
|
17148
|
+
});
|
|
17149
|
+
Object.defineProperty(TransactionFilterPopupBaseComponent.prototype, "collection", {
|
|
17150
|
+
get: function () {
|
|
17151
|
+
return this._collection;
|
|
17152
|
+
},
|
|
17153
|
+
set: function (value) {
|
|
17154
|
+
this._collection = value;
|
|
17155
|
+
this.prepareViewModels();
|
|
17156
|
+
},
|
|
17157
|
+
enumerable: false,
|
|
17158
|
+
configurable: true
|
|
17159
|
+
});
|
|
17160
|
+
TransactionFilterPopupBaseComponent.prototype.commit = function (value) {
|
|
17161
|
+
return Promise.resolve(true);
|
|
17162
|
+
};
|
|
17163
|
+
TransactionFilterPopupBaseComponent.prototype.handleChecked = function (row) {
|
|
17164
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17165
|
+
var currentModel, i;
|
|
17166
|
+
return __generator(this, function (_a) {
|
|
17167
|
+
switch (_a.label) {
|
|
17168
|
+
case 0:
|
|
17169
|
+
row.checked = true;
|
|
17170
|
+
currentModel = this.viewModels.find(function (v) { return v.value === row.value; });
|
|
17171
|
+
if (currentModel) {
|
|
17172
|
+
currentModel.checked = true;
|
|
17173
|
+
}
|
|
17174
|
+
for (i = 0; i < this.viewModels.length; i++) {
|
|
17175
|
+
if (this.viewModels[i].value !== row.value) {
|
|
17176
|
+
this.viewModels[i].checked = false;
|
|
17177
|
+
}
|
|
17178
|
+
}
|
|
17179
|
+
if (!this.useModel) return [3 /*break*/, 4];
|
|
17180
|
+
if (!this.autoClose) return [3 /*break*/, 2];
|
|
17181
|
+
return [4 /*yield*/, this.commit(row.value)];
|
|
17182
|
+
case 1:
|
|
17183
|
+
if (_a.sent()) {
|
|
17184
|
+
this.closeAfterCommit.emit();
|
|
17185
|
+
}
|
|
17186
|
+
return [3 /*break*/, 3];
|
|
17187
|
+
case 2:
|
|
17188
|
+
this.commit(row.value);
|
|
17189
|
+
_a.label = 3;
|
|
17190
|
+
case 3: return [3 /*break*/, 5];
|
|
17191
|
+
case 4:
|
|
17192
|
+
this.valueChange.emit(row.value);
|
|
17193
|
+
_a.label = 5;
|
|
17194
|
+
case 5: return [2 /*return*/];
|
|
17195
|
+
}
|
|
17196
|
+
});
|
|
17197
|
+
});
|
|
17198
|
+
};
|
|
17199
|
+
TransactionFilterPopupBaseComponent.prototype.prepareViewModels = function () {
|
|
17200
|
+
var _this = this;
|
|
17201
|
+
this.collection.forEach(function (d, index) {
|
|
17202
|
+
var labels = _this.propsForLabel.map(function (p) { return d[p]; });
|
|
17203
|
+
_this.viewModels.push({
|
|
17204
|
+
value: d[_this.codeField],
|
|
17205
|
+
propsForLabel: labels,
|
|
17206
|
+
checked: (_this.useModel && _this.model && _this.checkField) ?
|
|
17207
|
+
_this.model[_this.checkField] === d[_this.codeField] :
|
|
17208
|
+
(_this.value ? _this.value === d[_this.codeField] : index === 0)
|
|
17209
|
+
});
|
|
17210
|
+
});
|
|
17211
|
+
this.viewModelsFiltered = this.viewModels.slice();
|
|
17212
|
+
if (!this.useModel && this.viewModels.length > 0) {
|
|
17213
|
+
this.valueChange.next(this.value ? this.value : this.viewModels[0].value);
|
|
17214
|
+
}
|
|
17215
|
+
};
|
|
17216
|
+
TransactionFilterPopupBaseComponent.prototype._doSearch = function () {
|
|
17217
|
+
var _this = this;
|
|
17218
|
+
this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
17219
|
+
if (this.searchText) {
|
|
17220
|
+
this.viewModelsFiltered = this.viewModelsFiltered.filter(function (vmf) {
|
|
17221
|
+
return vmf.propsForLabel.find(function (p) { return p && p.toString().match(new RegExp(_this.searchText, 'gi')); });
|
|
17222
|
+
});
|
|
17223
|
+
// if (!this.searchText) {
|
|
17224
|
+
// this.viewModelsFiltered = this.viewModels.slice();
|
|
17225
|
+
// } else {
|
|
17226
|
+
// this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
17227
|
+
// for (let i = 0; i < this.viewModelsFiltered.length; i++) {
|
|
17228
|
+
// const vmf = this.viewModelsFiltered[i];
|
|
17229
|
+
// for (let j = 0; j < vmf.propsForLabel.length; j++) {
|
|
17230
|
+
// if (vmf.propsForLabel[j]) {
|
|
17231
|
+
// vmf.propsForLabel[j] = vmf.propsForLabel[j].replace(new RegExp(this.searchText, 'gi'), `<span class="highlight">${this.searchText}</span>`);
|
|
17232
|
+
// }
|
|
17233
|
+
// }
|
|
17234
|
+
// }
|
|
17235
|
+
}
|
|
17236
|
+
};
|
|
17237
|
+
return TransactionFilterPopupBaseComponent;
|
|
17238
|
+
}(TransactionLineBaseComponent));
|
|
17239
|
+
TransactionFilterPopupBaseComponent.decorators = [
|
|
17240
|
+
{ type: i0.Directive }
|
|
17241
|
+
];
|
|
17242
|
+
TransactionFilterPopupBaseComponent.propDecorators = {
|
|
17243
|
+
autoClose: [{ type: i0.Input }],
|
|
17244
|
+
useModel: [{ type: i0.Input }],
|
|
17245
|
+
searchText: [{ type: i0.Input }],
|
|
17246
|
+
value: [{ type: i0.Input }],
|
|
17247
|
+
valueChange: [{ type: i0.Output }],
|
|
17248
|
+
closeAfterCommit: [{ type: i0.Output }]
|
|
17249
|
+
};
|
|
17250
|
+
|
|
16656
17251
|
var TransactionLineVatComponent = /** @class */ (function (_super) {
|
|
16657
17252
|
__extends(TransactionLineVatComponent, _super);
|
|
16658
17253
|
function TransactionLineVatComponent(_transactionService) {
|
|
@@ -16691,7 +17286,7 @@
|
|
|
16691
17286
|
});
|
|
16692
17287
|
};
|
|
16693
17288
|
return TransactionLineVatComponent;
|
|
16694
|
-
}(
|
|
17289
|
+
}(TransactionFilterPopupBaseComponent));
|
|
16695
17290
|
TransactionLineVatComponent.decorators = [
|
|
16696
17291
|
{ type: i0.Component, args: [{
|
|
16697
17292
|
selector: "co-transaction-line-vat",
|
|
@@ -16768,7 +17363,7 @@
|
|
|
16768
17363
|
this.readonly = this.readonly || !this.transactionInfo.transactionDefinitive;
|
|
16769
17364
|
};
|
|
16770
17365
|
return TransactionLinePriceListComponent;
|
|
16771
|
-
}(
|
|
17366
|
+
}(TransactionFilterPopupBaseComponent));
|
|
16772
17367
|
TransactionLinePriceListComponent.decorators = [
|
|
16773
17368
|
{ type: i0.Component, args: [{
|
|
16774
17369
|
selector: "co-transaction-line-price-list",
|
|
@@ -16844,7 +17439,7 @@
|
|
|
16844
17439
|
this.readonly = this.readonly || !this.transactionInfo.transactionDefinitive;
|
|
16845
17440
|
};
|
|
16846
17441
|
return TransactionLineDeliveryMethodComponent;
|
|
16847
|
-
}(
|
|
17442
|
+
}(TransactionFilterPopupBaseComponent));
|
|
16848
17443
|
TransactionLineDeliveryMethodComponent.decorators = [
|
|
16849
17444
|
{ type: i0.Component, args: [{
|
|
16850
17445
|
selector: "co-transaction-line-delivery-method",
|
|
@@ -17109,7 +17704,7 @@
|
|
|
17109
17704
|
this.readonly = this.readonly || this.transactionInfo.transactionDefinitive;
|
|
17110
17705
|
};
|
|
17111
17706
|
return TransactionLineCommissionCodeComponent;
|
|
17112
|
-
}(
|
|
17707
|
+
}(TransactionFilterPopupBaseComponent));
|
|
17113
17708
|
TransactionLineCommissionCodeComponent.decorators = [
|
|
17114
17709
|
{ type: i0.Component, args: [{
|
|
17115
17710
|
selector: "co-transaction-line-commission-code",
|
|
@@ -17182,7 +17777,7 @@
|
|
|
17182
17777
|
});
|
|
17183
17778
|
};
|
|
17184
17779
|
return TransactionLineWarehouseComponent;
|
|
17185
|
-
}(
|
|
17780
|
+
}(TransactionFilterPopupBaseComponent));
|
|
17186
17781
|
TransactionLineWarehouseComponent.decorators = [
|
|
17187
17782
|
{ type: i0.Component, args: [{
|
|
17188
17783
|
selector: "co-transaction-line-warehouse",
|
|
@@ -17451,7 +18046,9 @@
|
|
|
17451
18046
|
function TransactionLineSupplierComponent(_transactionService) {
|
|
17452
18047
|
var _this = _super.call(this) || this;
|
|
17453
18048
|
_this._transactionService = _transactionService;
|
|
17454
|
-
_this.
|
|
18049
|
+
_this.codeField = 'relationId';
|
|
18050
|
+
_this.checkField = 'supplierId';
|
|
18051
|
+
_this.propsForLabel = ['relationNr', 'displayName'];
|
|
17455
18052
|
return _this;
|
|
17456
18053
|
}
|
|
17457
18054
|
TransactionLineSupplierComponent.prototype.ngOnInit = function () {
|
|
@@ -17462,18 +18059,23 @@
|
|
|
17462
18059
|
_this.collection = relationListObjects;
|
|
17463
18060
|
});
|
|
17464
18061
|
};
|
|
17465
|
-
TransactionLineSupplierComponent.prototype.commit = function (
|
|
18062
|
+
TransactionLineSupplierComponent.prototype.commit = function (id) {
|
|
17466
18063
|
return __awaiter(this, void 0, void 0, function () {
|
|
18064
|
+
var oldId, success;
|
|
17467
18065
|
return __generator(this, function (_a) {
|
|
17468
|
-
|
|
17469
|
-
|
|
17470
|
-
|
|
17471
|
-
|
|
17472
|
-
|
|
17473
|
-
|
|
17474
|
-
|
|
17475
|
-
|
|
17476
|
-
|
|
18066
|
+
switch (_a.label) {
|
|
18067
|
+
case 0:
|
|
18068
|
+
if (!(this.transactionLine.supplierId !== id)) return [3 /*break*/, 2];
|
|
18069
|
+
oldId = this.transactionLine.supplierId;
|
|
18070
|
+
return [4 /*yield*/, this._transactionService.updateSupplierTransactionLine(this._transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, id)];
|
|
18071
|
+
case 1:
|
|
18072
|
+
success = _a.sent();
|
|
18073
|
+
if (!success) {
|
|
18074
|
+
this.transactionLine.supplierId = oldId;
|
|
18075
|
+
}
|
|
18076
|
+
return [2 /*return*/, success];
|
|
18077
|
+
case 2: return [2 /*return*/];
|
|
18078
|
+
}
|
|
17477
18079
|
});
|
|
17478
18080
|
});
|
|
17479
18081
|
};
|
|
@@ -17481,11 +18083,11 @@
|
|
|
17481
18083
|
this.readonly = this.readonly || !this.transactionLine.articleFreeSupplier;
|
|
17482
18084
|
};
|
|
17483
18085
|
return TransactionLineSupplierComponent;
|
|
17484
|
-
}(
|
|
18086
|
+
}(TransactionFilterPopupBaseComponent));
|
|
17485
18087
|
TransactionLineSupplierComponent.decorators = [
|
|
17486
18088
|
{ type: i0.Component, args: [{
|
|
17487
18089
|
selector: "co-transaction-line-supplier",
|
|
17488
|
-
template: "\n <co-
|
|
18090
|
+
template: "\n <co-transaction-line-checkbox-list\n [collection]=\"viewModelsFiltered\"\n [readonly]=\"readonly\"\n (checked)=\"handleChecked($event)\"\n ></co-transaction-line-checkbox-list>\n ",
|
|
17489
18091
|
encapsulation: i0.ViewEncapsulation.None
|
|
17490
18092
|
},] }
|
|
17491
18093
|
];
|
|
@@ -17503,7 +18105,8 @@
|
|
|
17503
18105
|
imports: [
|
|
17504
18106
|
common.CommonModule,
|
|
17505
18107
|
PipeModule,
|
|
17506
|
-
corecomponents_v12.InputComboBoxModule
|
|
18108
|
+
corecomponents_v12.InputComboBoxModule,
|
|
18109
|
+
TransactionLineCheckboxModule
|
|
17507
18110
|
],
|
|
17508
18111
|
declarations: [
|
|
17509
18112
|
TransactionLineSupplierComponent
|
|
@@ -17986,43 +18589,136 @@
|
|
|
17986
18589
|
TransactionButtonBarComponent.decorators = [
|
|
17987
18590
|
{ type: i0.Component, args: [{
|
|
17988
18591
|
selector: "co-transaction-button-bar",
|
|
17989
|
-
template: "\n <div class=\"button-bar-wrapper\">\n <co-transaction-button-bar-button *ngFor=\"let button of buttons; let index = index\"\n [class.selected]=\"selectedCategory === button.category\"\n [title]=\"button.title\"\n [iconName]=\"button.icon\"\n (click)=\"selectCategory(index)\"\n ></co-transaction-button-bar-button>\n </div>\n ",
|
|
18592
|
+
template: "\n <div class=\"button-bar-wrapper\">\n <co-transaction-button-bar-button *ngFor=\"let button of buttons; let index = index\"\n [transactionInfoResponse]=\"transactionInfoResponse\"\n [component]=\"button.component\"\n [class.selected]=\"selectedCategory === button.category\"\n [title]=\"button.title\"\n [iconName]=\"button.icon\"\n (click)=\"selectCategory(index)\"\n ></co-transaction-button-bar-button>\n </div>\n ",
|
|
18593
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
18594
|
+
},] }
|
|
18595
|
+
];
|
|
18596
|
+
TransactionButtonBarComponent.ctorParameters = function () { return [
|
|
18597
|
+
{ type: TransactionMappingService }
|
|
18598
|
+
]; };
|
|
18599
|
+
TransactionButtonBarComponent.propDecorators = {
|
|
18600
|
+
transactionType: [{ type: i0.Input }],
|
|
18601
|
+
transactionInfoResponse: [{ type: i0.Input }],
|
|
18602
|
+
selectedCategory: [{ type: i0.Input }],
|
|
18603
|
+
buttonClicked: [{ type: i0.Output }],
|
|
18604
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-button-bar",] }]
|
|
18605
|
+
};
|
|
18606
|
+
|
|
18607
|
+
var TransactionButtonBarButtonComponent = /** @class */ (function (_super) {
|
|
18608
|
+
__extends(TransactionButtonBarButtonComponent, _super);
|
|
18609
|
+
function TransactionButtonBarButtonComponent(iconCacheService, _compFactoryResolver, appRef, injector) {
|
|
18610
|
+
var _this = _super.call(this) || this;
|
|
18611
|
+
_this.iconCacheService = iconCacheService;
|
|
18612
|
+
_this._compFactoryResolver = _compFactoryResolver;
|
|
18613
|
+
_this.appRef = appRef;
|
|
18614
|
+
_this.injector = injector;
|
|
18615
|
+
_this.showClass = true;
|
|
18616
|
+
_this.useComponent = false;
|
|
18617
|
+
return _this;
|
|
18618
|
+
}
|
|
18619
|
+
Object.defineProperty(TransactionButtonBarButtonComponent.prototype, "child", {
|
|
18620
|
+
set: function (content) {
|
|
18621
|
+
this.buttonWrapper = content;
|
|
18622
|
+
this._checkAndCreateComponent();
|
|
18623
|
+
},
|
|
18624
|
+
enumerable: false,
|
|
18625
|
+
configurable: true
|
|
18626
|
+
});
|
|
18627
|
+
Object.defineProperty(TransactionButtonBarButtonComponent.prototype, "isLoaderShowing", {
|
|
18628
|
+
get: function () {
|
|
18629
|
+
return this.showLoader;
|
|
18630
|
+
},
|
|
18631
|
+
enumerable: false,
|
|
18632
|
+
configurable: true
|
|
18633
|
+
});
|
|
18634
|
+
TransactionButtonBarButtonComponent.prototype.ngOnInit = function () {
|
|
18635
|
+
this._checkAndCreateComponent();
|
|
18636
|
+
};
|
|
18637
|
+
TransactionButtonBarButtonComponent.prototype._checkAndCreateComponent = function () {
|
|
18638
|
+
var _this = this;
|
|
18639
|
+
if (this.component && this.buttonWrapper && this.buttonWrapper.nativeElement) {
|
|
18640
|
+
this.useComponent = true;
|
|
18641
|
+
var componentRef_1 = this._compFactoryResolver.resolveComponentFactory(this.component).create(this.injector);
|
|
18642
|
+
componentRef_1.instance.transactionInfoResponse = this.transactionInfoResponse;
|
|
18643
|
+
componentRef_1.instance.iconName = this.iconName;
|
|
18644
|
+
componentRef_1.instance.title = this.title;
|
|
18645
|
+
componentRef_1.instance.showLoader = this.showLoader;
|
|
18646
|
+
componentRef_1.instance.checked = this.checked;
|
|
18647
|
+
componentRef_1.instance.showLoaderChange.subscribe(function (value) { return _this.showLoader = value; });
|
|
18648
|
+
componentRef_1.instance.checkedChange.subscribe(function (value) { return _this.checked = value; });
|
|
18649
|
+
this.appRef.attachView(componentRef_1.hostView);
|
|
18650
|
+
var domElem = componentRef_1.hostView
|
|
18651
|
+
.rootNodes[0];
|
|
18652
|
+
this.buttonWrapper.nativeElement.appendChild(domElem);
|
|
18653
|
+
componentRef_1.onDestroy(function () {
|
|
18654
|
+
_this.appRef.detachView(componentRef_1.hostView);
|
|
18655
|
+
});
|
|
18656
|
+
}
|
|
18657
|
+
};
|
|
18658
|
+
return TransactionButtonBarButtonComponent;
|
|
18659
|
+
}(TransactionButtonBarButtonBaseComponent));
|
|
18660
|
+
TransactionButtonBarButtonComponent.decorators = [
|
|
18661
|
+
{ type: i0.Component, args: [{
|
|
18662
|
+
selector: "co-transaction-button-bar-button",
|
|
18663
|
+
template: "\n <co-loader *ngIf=\"showLoader\"></co-loader>\n <div class=\"button-wrapper\" #buttonWrapper>\n <co-animated-checkbox [checked]=\"checked\"></co-animated-checkbox>\n <ng-container *ngIf=\"!useComponent\">\n <co-icon class=\"co-transaction-button-bar-icon\" [iconData]=\"iconCacheService.getIcon(iconName)\"></co-icon>\n <span class=\"button-title\" [textContent]=\"title | localize\"></span>\n </ng-container>\n </div>\n ",
|
|
17990
18664
|
encapsulation: i0.ViewEncapsulation.None
|
|
17991
18665
|
},] }
|
|
17992
18666
|
];
|
|
17993
|
-
|
|
17994
|
-
{ type:
|
|
18667
|
+
TransactionButtonBarButtonComponent.ctorParameters = function () { return [
|
|
18668
|
+
{ type: IconCacheService },
|
|
18669
|
+
{ type: i0.ComponentFactoryResolver },
|
|
18670
|
+
{ type: i0.ApplicationRef },
|
|
18671
|
+
{ type: i0.Injector }
|
|
17995
18672
|
]; };
|
|
17996
|
-
|
|
17997
|
-
|
|
17998
|
-
|
|
17999
|
-
|
|
18000
|
-
|
|
18673
|
+
TransactionButtonBarButtonComponent.propDecorators = {
|
|
18674
|
+
child: [{ type: i0.ViewChild, args: ["buttonWrapper", { read: i0.ElementRef },] }],
|
|
18675
|
+
component: [{ type: i0.Input }],
|
|
18676
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-button-bar-button',] }],
|
|
18677
|
+
isLoaderShowing: [{ type: i0.HostBinding, args: ['class.show-loader',] }]
|
|
18001
18678
|
};
|
|
18002
18679
|
|
|
18003
|
-
var
|
|
18004
|
-
function
|
|
18005
|
-
this.
|
|
18006
|
-
this.showClass = true;
|
|
18680
|
+
var AnimatedCheckboxComponent = /** @class */ (function () {
|
|
18681
|
+
function AnimatedCheckboxComponent() {
|
|
18682
|
+
this.checked = false;
|
|
18007
18683
|
}
|
|
18008
|
-
|
|
18684
|
+
AnimatedCheckboxComponent.prototype.showClass = function () {
|
|
18685
|
+
return true;
|
|
18686
|
+
};
|
|
18687
|
+
return AnimatedCheckboxComponent;
|
|
18009
18688
|
}());
|
|
18010
|
-
|
|
18689
|
+
AnimatedCheckboxComponent.decorators = [
|
|
18011
18690
|
{ type: i0.Component, args: [{
|
|
18012
|
-
selector: "co-
|
|
18013
|
-
template: "\n <div class=\"
|
|
18691
|
+
selector: "co-animated-checkbox",
|
|
18692
|
+
template: "\n <div class=\"checkbox\">\n <div class=\"checkmark\" [class.show]=\"checked\"></div>\n </div>\n <div class=\"label\" *ngIf=\"label\" [textContent]=\"label | localize\"></div>\n ",
|
|
18014
18693
|
encapsulation: i0.ViewEncapsulation.None
|
|
18015
18694
|
},] }
|
|
18016
18695
|
];
|
|
18017
|
-
|
|
18018
|
-
{ type:
|
|
18019
|
-
|
|
18020
|
-
|
|
18021
|
-
title: [{ type: i0.Input }],
|
|
18022
|
-
iconName: [{ type: i0.Input }],
|
|
18023
|
-
showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-button-bar-button',] }]
|
|
18696
|
+
AnimatedCheckboxComponent.propDecorators = {
|
|
18697
|
+
checked: [{ type: i0.Input }],
|
|
18698
|
+
label: [{ type: i0.Input }],
|
|
18699
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-animated-checkbox",] }]
|
|
18024
18700
|
};
|
|
18025
18701
|
|
|
18702
|
+
var AnimatedCheckboxModule = /** @class */ (function () {
|
|
18703
|
+
function AnimatedCheckboxModule() {
|
|
18704
|
+
}
|
|
18705
|
+
return AnimatedCheckboxModule;
|
|
18706
|
+
}());
|
|
18707
|
+
AnimatedCheckboxModule.decorators = [
|
|
18708
|
+
{ type: i0.NgModule, args: [{
|
|
18709
|
+
imports: [
|
|
18710
|
+
common.CommonModule,
|
|
18711
|
+
PipeModule
|
|
18712
|
+
],
|
|
18713
|
+
declarations: [
|
|
18714
|
+
AnimatedCheckboxComponent
|
|
18715
|
+
],
|
|
18716
|
+
exports: [
|
|
18717
|
+
AnimatedCheckboxComponent
|
|
18718
|
+
]
|
|
18719
|
+
},] }
|
|
18720
|
+
];
|
|
18721
|
+
|
|
18026
18722
|
var TransactionButtonBarModule = /** @class */ (function () {
|
|
18027
18723
|
function TransactionButtonBarModule() {
|
|
18028
18724
|
}
|
|
@@ -18035,14 +18731,18 @@
|
|
|
18035
18731
|
CoreModule,
|
|
18036
18732
|
corecomponents_v12.IconModule,
|
|
18037
18733
|
PipeModule,
|
|
18734
|
+
LoaderModule,
|
|
18735
|
+
AnimatedCheckboxModule,
|
|
18038
18736
|
],
|
|
18039
18737
|
declarations: [
|
|
18040
18738
|
TransactionButtonBarComponent,
|
|
18041
|
-
TransactionButtonBarButtonComponent
|
|
18739
|
+
TransactionButtonBarButtonComponent,
|
|
18740
|
+
TransactionSalesPurchaseButtonBarButtonComponent
|
|
18042
18741
|
],
|
|
18043
18742
|
exports: [
|
|
18044
18743
|
TransactionButtonBarComponent,
|
|
18045
|
-
TransactionButtonBarButtonComponent
|
|
18744
|
+
TransactionButtonBarButtonComponent,
|
|
18745
|
+
TransactionSalesPurchaseButtonBarButtonComponent
|
|
18046
18746
|
]
|
|
18047
18747
|
},] }
|
|
18048
18748
|
];
|
|
@@ -18689,7 +19389,7 @@
|
|
|
18689
19389
|
DialogTransactionLineDeliveryMethodComponent.decorators = [
|
|
18690
19390
|
{ type: i0.Component, args: [{
|
|
18691
19391
|
selector: "co-dialog-transaction-line-delivery-method",
|
|
18692
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-delivery-method\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
19392
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-delivery-method\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
18693
19393
|
encapsulation: i0.ViewEncapsulation.None
|
|
18694
19394
|
},] }
|
|
18695
19395
|
];
|
|
@@ -18734,7 +19434,7 @@
|
|
|
18734
19434
|
DialogTransactionLineVatComponent.decorators = [
|
|
18735
19435
|
{ type: i0.Component, args: [{
|
|
18736
19436
|
selector: "co-dialog-transaction-line-vat",
|
|
18737
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-vat\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-vat>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'VAT'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
19437
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-vat\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-vat>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'VAT'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
18738
19438
|
encapsulation: i0.ViewEncapsulation.None
|
|
18739
19439
|
},] }
|
|
18740
19440
|
];
|
|
@@ -18806,7 +19506,7 @@
|
|
|
18806
19506
|
DialogTransactionLineDiscountComponent.decorators = [
|
|
18807
19507
|
{ type: i0.Component, args: [{
|
|
18808
19508
|
selector: "co-dialog-transaction-line-discount",
|
|
18809
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <div class=\"transaction-line-discount-wrapper co-transaction-small-toolbar\">\n <div class=\"two-column-grid\">\n <co-transaction-line-line-discount [transactionLine]=\"transactionLine\"></co-transaction-line-line-discount>\n <co-transaction-line-discount-amount [transactionLine]=\"transactionLine\"></co-transaction-line-discount-amount>\n </div>\n <div class=\"two-column-grid\">\n <co-transaction-line-special-discount [transactionLine]=\"transactionLine\"></co-transaction-line-special-discount>\n <co-transaction-line-quantum-discount [transactionLine]=\"transactionLine\"></co-transaction-line-quantum-discount>\n </div>\n <div class=\"
|
|
19509
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <div class=\"transaction-line-discount-wrapper co-transaction-small-toolbar\">\n <div class=\"two-column-grid\">\n <co-transaction-line-line-discount [transactionLine]=\"transactionLine\"></co-transaction-line-line-discount>\n <co-transaction-line-discount-amount [transactionLine]=\"transactionLine\"></co-transaction-line-discount-amount>\n </div>\n <div class=\"two-column-grid\">\n <co-transaction-line-special-discount [transactionLine]=\"transactionLine\"></co-transaction-line-special-discount>\n <co-transaction-line-quantum-discount [transactionLine]=\"transactionLine\"></co-transaction-line-quantum-discount>\n </div>\n <div class=\"transaction-line-discount-overview\">\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'TRANSACTION_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionLine.discountAmount < 0\" [textContent]=\"transactionLine.discountAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'BUSINESS_RULE_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionLine.transBusinessRuleDiscount < 0\" [textContent]=\"transactionLine.transBusinessRuleDiscount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'QUANTUM_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionLine.quantumDiscount < 0\" [textContent]=\"transactionLine.quantumDiscount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'SURCHARGE_AMOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionLine.surchargeAmount < 0\" [textContent]=\"transactionLine.surchargeAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item total\">\n <div class=\"title\" [textContent]=\"'TOTAL_LINE_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionLine.lineTotalDiscountAmount < 0\" [textContent]=\"transactionLine.lineTotalDiscountAmount | coCurrency\"></div>\n </div>\n </div>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'DISCOUNT_PRICE_INFORMATION' | localize\"></div>\n <div class=\"transaction-line-button full-width\" (click)=\"openThePriceListDialog()\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"transactionLine.priceListDescription\"></span>\n </div>\n </ng-template>\n <co-dialog-transaction-line-price-list *ngIf=\"showPriceListDialog\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showPriceListDialog = false\"\n ></co-dialog-transaction-line-price-list>\n ",
|
|
18810
19510
|
encapsulation: i0.ViewEncapsulation.None
|
|
18811
19511
|
},] }
|
|
18812
19512
|
];
|
|
@@ -18831,7 +19531,7 @@
|
|
|
18831
19531
|
DialogTransactionLinePriceListComponent.decorators = [
|
|
18832
19532
|
{ type: i0.Component, args: [{
|
|
18833
19533
|
selector: "co-dialog-transaction-line-price-list",
|
|
18834
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-price-list\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-price-list>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'PRICE_LIST'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
19534
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-price-list\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-price-list>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'PRICE_LIST'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
18835
19535
|
encapsulation: i0.ViewEncapsulation.None
|
|
18836
19536
|
},] }
|
|
18837
19537
|
];
|
|
@@ -19057,12 +19757,13 @@
|
|
|
19057
19757
|
this.appRef = appRef;
|
|
19058
19758
|
this.injector = injector;
|
|
19059
19759
|
}
|
|
19060
|
-
Object.defineProperty(TransactionQuickAccessComponent.prototype, "
|
|
19760
|
+
Object.defineProperty(TransactionQuickAccessComponent.prototype, "transaction", {
|
|
19061
19761
|
get: function () {
|
|
19062
|
-
return this.
|
|
19762
|
+
return this._transaction;
|
|
19063
19763
|
},
|
|
19064
19764
|
set: function (value) {
|
|
19065
|
-
this.
|
|
19765
|
+
this._transaction = value;
|
|
19766
|
+
this.transactionType = this._transaction.transactionInfo ? this._transaction.transactionInfo.transactionKind : transactionKind_enum.TransactionKind.SalesOrder;
|
|
19066
19767
|
this._prepareContent();
|
|
19067
19768
|
},
|
|
19068
19769
|
enumerable: false,
|
|
@@ -19084,7 +19785,7 @@
|
|
|
19084
19785
|
};
|
|
19085
19786
|
TransactionQuickAccessComponent.prototype._prepareContent = function () {
|
|
19086
19787
|
var _this = this;
|
|
19087
|
-
if (!this.
|
|
19788
|
+
if (!this.transactionType || !this._activeCategory || !this.quickAccessContainer) {
|
|
19088
19789
|
return;
|
|
19089
19790
|
}
|
|
19090
19791
|
var componentClass = this._mappingService.getQuickAccessComponent(this.transactionType, this.activeCategory);
|
|
@@ -19097,6 +19798,7 @@
|
|
|
19097
19798
|
this._componentRef = this._compFactoryResolver
|
|
19098
19799
|
.resolveComponentFactory(componentClass)
|
|
19099
19800
|
.create(this.injector);
|
|
19801
|
+
this._componentRef.instance.transaction = this.transaction;
|
|
19100
19802
|
this.appRef.attachView(this._componentRef.hostView);
|
|
19101
19803
|
var domElem = this._componentRef.hostView
|
|
19102
19804
|
.rootNodes[0];
|
|
@@ -19122,7 +19824,7 @@
|
|
|
19122
19824
|
]; };
|
|
19123
19825
|
TransactionQuickAccessComponent.propDecorators = {
|
|
19124
19826
|
quickAccessContainer: [{ type: i0.ViewChild, args: ['quickAccessContent', { read: i0.ElementRef },] }],
|
|
19125
|
-
|
|
19827
|
+
transaction: [{ type: i0.Input }],
|
|
19126
19828
|
activeCategory: [{ type: i0.Input }],
|
|
19127
19829
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-quick-access",] }]
|
|
19128
19830
|
};
|
|
@@ -19196,6 +19898,82 @@
|
|
|
19196
19898
|
},] }
|
|
19197
19899
|
];
|
|
19198
19900
|
|
|
19901
|
+
var TransactionSendButtonDialogComponent = /** @class */ (function () {
|
|
19902
|
+
function TransactionSendButtonDialogComponent(iconService) {
|
|
19903
|
+
this.iconService = iconService;
|
|
19904
|
+
this.icons = Icon;
|
|
19905
|
+
this.label = 'SEND';
|
|
19906
|
+
this.showSendIcon = true;
|
|
19907
|
+
this.showHoverIcon = true;
|
|
19908
|
+
this.sendButtonClick = new i0.EventEmitter();
|
|
19909
|
+
// @HostListener("mouseenter", ["$event"])
|
|
19910
|
+
// public mouseEnter(event: MouseEvent) {
|
|
19911
|
+
// this.showOpenDialogIcon = true;
|
|
19912
|
+
// }
|
|
19913
|
+
//
|
|
19914
|
+
// @HostListener("mouseleave", ["$event"])
|
|
19915
|
+
// public mouseLeave(event: MouseEvent) {
|
|
19916
|
+
// this.showOpenDialogIcon = false;
|
|
19917
|
+
// }
|
|
19918
|
+
this.showDialog = false;
|
|
19919
|
+
this.showOpenDialogIcon = false;
|
|
19920
|
+
}
|
|
19921
|
+
TransactionSendButtonDialogComponent.prototype.showClass = function () {
|
|
19922
|
+
return true;
|
|
19923
|
+
};
|
|
19924
|
+
TransactionSendButtonDialogComponent.prototype.openDialog = function () {
|
|
19925
|
+
this.showDialog = !this.showDialog;
|
|
19926
|
+
};
|
|
19927
|
+
return TransactionSendButtonDialogComponent;
|
|
19928
|
+
}());
|
|
19929
|
+
TransactionSendButtonDialogComponent.decorators = [
|
|
19930
|
+
{ type: i0.Component, args: [{
|
|
19931
|
+
selector: "co-transaction-send-button-dialog",
|
|
19932
|
+
template: "\n <div class=\"transaction-send-button-content-wrapper\" (mouseenter)=\"showOpenDialogIcon = true\" (mouseleave)=\"showOpenDialogIcon = false\">\n <div class=\"transaction-send-button-wrapper\" (click)=\"sendButtonClick.emit($event)\">\n <div class=\"transaction-send-button-icon-wrapper\">\n <co-icon class=\"button-icon\" [iconData]=\"iconService.getIcon(icons.ShareSolid)\"></co-icon>\n <co-icon *ngIf=\"showSendIcon\" class=\"button-icon send-type-icon\" [iconData]=\"iconService.getIcon(icons.AtSolid)\"></co-icon>\n </div>\n <span class=\"button-title\" [textContent]=\"label | localize\"></span>\n </div>\n <div class=\"transaction-send-button-hover-icon-wrapper\" *ngIf=\"showHoverIcon\">\n <co-icon *ngIf=\"showOpenDialogIcon\" class=\"hover-icon\" @showHideHoverIcon\n [iconData]=\"iconService.getIcon(icons.EllipsisVerticalSolid)\" (click)=\"openDialog()\">\n </co-icon>\n </div>\n </div>\n <ione-send-method-dialog\n [showDialog]=\"showDialog\"\n ></ione-send-method-dialog>\n ",
|
|
19933
|
+
animations: [
|
|
19934
|
+
animations.trigger("showHideHoverIcon", [
|
|
19935
|
+
animations.state("void", animations.style({ width: 0, opacity: 0 })),
|
|
19936
|
+
animations.state("*", animations.style({ width: "*", opacity: 1 })),
|
|
19937
|
+
animations.transition("void => *", animations.animate("200ms ease-in-out")),
|
|
19938
|
+
animations.transition("* => void", animations.animate("200ms ease-out"))
|
|
19939
|
+
])
|
|
19940
|
+
],
|
|
19941
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
19942
|
+
},] }
|
|
19943
|
+
];
|
|
19944
|
+
TransactionSendButtonDialogComponent.ctorParameters = function () { return [
|
|
19945
|
+
{ type: IconCacheService }
|
|
19946
|
+
]; };
|
|
19947
|
+
TransactionSendButtonDialogComponent.propDecorators = {
|
|
19948
|
+
label: [{ type: i0.Input }],
|
|
19949
|
+
showSendIcon: [{ type: i0.Input }],
|
|
19950
|
+
showHoverIcon: [{ type: i0.Input }],
|
|
19951
|
+
sendButtonClick: [{ type: i0.Output }],
|
|
19952
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-send-button-dialog",] }]
|
|
19953
|
+
};
|
|
19954
|
+
|
|
19955
|
+
var TransactionSendButtonDialogModule = /** @class */ (function () {
|
|
19956
|
+
function TransactionSendButtonDialogModule() {
|
|
19957
|
+
}
|
|
19958
|
+
return TransactionSendButtonDialogModule;
|
|
19959
|
+
}());
|
|
19960
|
+
TransactionSendButtonDialogModule.decorators = [
|
|
19961
|
+
{ type: i0.NgModule, args: [{
|
|
19962
|
+
imports: [
|
|
19963
|
+
common.CommonModule,
|
|
19964
|
+
corecomponents_v12.IconModule,
|
|
19965
|
+
PipeModule,
|
|
19966
|
+
sharedcomponents.SendMethodDialogModule
|
|
19967
|
+
],
|
|
19968
|
+
declarations: [
|
|
19969
|
+
TransactionSendButtonDialogComponent
|
|
19970
|
+
],
|
|
19971
|
+
exports: [
|
|
19972
|
+
TransactionSendButtonDialogComponent
|
|
19973
|
+
]
|
|
19974
|
+
},] }
|
|
19975
|
+
];
|
|
19976
|
+
|
|
19199
19977
|
var TransactionQuickAccessOrderDeliveryModule = /** @class */ (function () {
|
|
19200
19978
|
function TransactionQuickAccessOrderDeliveryModule() {
|
|
19201
19979
|
}
|
|
@@ -19209,7 +19987,8 @@
|
|
|
19209
19987
|
corecomponents_v12.IconModule,
|
|
19210
19988
|
PipeModule,
|
|
19211
19989
|
corecomponents_v12.InputCheckboxModule,
|
|
19212
|
-
sharedcomponents.SendMethodDialogModule
|
|
19990
|
+
sharedcomponents.SendMethodDialogModule,
|
|
19991
|
+
TransactionSendButtonDialogModule
|
|
19213
19992
|
],
|
|
19214
19993
|
declarations: [
|
|
19215
19994
|
TransactionQuickAccessOrderDeliveryComponent
|
|
@@ -19220,6 +19999,30 @@
|
|
|
19220
19999
|
},] }
|
|
19221
20000
|
];
|
|
19222
20001
|
|
|
20002
|
+
var TransactionQuickAccessOrderPurchaseModule = /** @class */ (function () {
|
|
20003
|
+
function TransactionQuickAccessOrderPurchaseModule() {
|
|
20004
|
+
}
|
|
20005
|
+
return TransactionQuickAccessOrderPurchaseModule;
|
|
20006
|
+
}());
|
|
20007
|
+
TransactionQuickAccessOrderPurchaseModule.decorators = [
|
|
20008
|
+
{ type: i0.NgModule, args: [{
|
|
20009
|
+
imports: [
|
|
20010
|
+
common.CommonModule,
|
|
20011
|
+
corecomponents_v12.InputCheckboxModule,
|
|
20012
|
+
corecomponents_v12.IconModule,
|
|
20013
|
+
PipeModule,
|
|
20014
|
+
sharedcomponents.SendMethodDialogModule,
|
|
20015
|
+
TransactionSendButtonDialogModule
|
|
20016
|
+
],
|
|
20017
|
+
declarations: [
|
|
20018
|
+
TransactionQuickAccessOrderPurchaseComponent
|
|
20019
|
+
],
|
|
20020
|
+
exports: [
|
|
20021
|
+
TransactionQuickAccessOrderPurchaseComponent
|
|
20022
|
+
]
|
|
20023
|
+
},] }
|
|
20024
|
+
];
|
|
20025
|
+
|
|
19223
20026
|
var TransactionQuickAccessModule = /** @class */ (function () {
|
|
19224
20027
|
function TransactionQuickAccessModule() {
|
|
19225
20028
|
}
|
|
@@ -19237,7 +20040,8 @@
|
|
|
19237
20040
|
TransactionQuickAccessOrderConfirmationModule,
|
|
19238
20041
|
TransactionQuickAccessReceivedGoodsModule,
|
|
19239
20042
|
TransactionQuickAccessOverviewModule,
|
|
19240
|
-
TransactionQuickAccessOrderDeliveryModule
|
|
20043
|
+
TransactionQuickAccessOrderDeliveryModule,
|
|
20044
|
+
TransactionQuickAccessOrderPurchaseModule
|
|
19241
20045
|
],
|
|
19242
20046
|
declarations: [
|
|
19243
20047
|
TransactionQuickAccessComponent
|
|
@@ -19606,7 +20410,7 @@
|
|
|
19606
20410
|
});
|
|
19607
20411
|
};
|
|
19608
20412
|
return TransactionLineWarehouseLocationComponent;
|
|
19609
|
-
}(
|
|
20413
|
+
}(TransactionFilterPopupBaseComponent));
|
|
19610
20414
|
TransactionLineWarehouseLocationComponent.decorators = [
|
|
19611
20415
|
{ type: i0.Component, args: [{
|
|
19612
20416
|
selector: "co-transaction-line-warehouse-location",
|
|
@@ -19922,6 +20726,7 @@
|
|
|
19922
20726
|
_this.checkbox = false;
|
|
19923
20727
|
_this.checkboxValue = false;
|
|
19924
20728
|
_this.actionButtons = true;
|
|
20729
|
+
_this.checkboxValueChanged = new i0.EventEmitter();
|
|
19925
20730
|
return _this;
|
|
19926
20731
|
}
|
|
19927
20732
|
TransactionBaseLineComponent.prototype.showClass = function () {
|
|
@@ -19944,14 +20749,12 @@
|
|
|
19944
20749
|
this._transactionEventService.openSidePanel.next(line);
|
|
19945
20750
|
this.waitingForUserAction.next(true);
|
|
19946
20751
|
};
|
|
19947
|
-
TransactionBaseLineComponent.prototype.handleCheckboxValueChanged = function () {
|
|
19948
|
-
};
|
|
19949
20752
|
return TransactionBaseLineComponent;
|
|
19950
20753
|
}(TransactionLinesLineBaseComponent));
|
|
19951
20754
|
TransactionBaseLineComponent.decorators = [
|
|
19952
20755
|
{ type: i0.Component, args: [{
|
|
19953
20756
|
selector: "co-transaction-base-line",
|
|
19954
|
-
template: "\n <div class=\"transaction-base-line-wrapper\" data-action=\"openSidePanel\">\n <ng-container *ngIf=\"line.isArticle\">\n <div class=\"transaction-base-line-section\">\n <co-input-checkbox *ngIf=\"checkbox\" class=\"transaction-line-checkbox\"\n [model]=\"checkboxValue\"\n (modelChange)=\"
|
|
20757
|
+
template: "\n <div class=\"transaction-base-line-wrapper\" data-action=\"openSidePanel\">\n <ng-container *ngIf=\"line.isArticle\">\n <div class=\"transaction-base-line-section\">\n <co-input-checkbox *ngIf=\"checkbox\" class=\"transaction-line-checkbox\"\n [model]=\"checkboxValue\"\n (modelChange)=\"checkboxValueChanged.emit($event)\"\n ></co-input-checkbox>\n <co-transaction-line-image-and-description\n *ngIf=\"line.isArticle\" class=\"transaction-line-image-and-description-wrapper\"\n [preview]=\"preview\"\n [line]=\"line\"\n (handleDeleteLine)=\"deleteTransactionLineClick()\"\n ></co-transaction-line-image-and-description>\n </div>\n <div class=\"transaction-base-line-section\">\n <ng-content></ng-content>\n <div *ngIf=\"!preview && actionButtons\" class=\"transaction-line-buttons\">\n <co-transaction-line-action-buttons\n [transactionLine]=\"line\"\n (waitingForUserAction)=\"waitingForUserAction.next($event)\"\n (sidePanelButtonClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-line-action-buttons>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"line.isText\">\n <div [textContent]=\"line.text\"></div>\n <div class=\"transaction-line-delete\" *ngIf=\"!preview\">\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\" (click)=\"deleteTransactionLineClick()\"></co-icon>\n </div>\n </ng-container>\n </div>\n ",
|
|
19955
20758
|
encapsulation: i0.ViewEncapsulation.None
|
|
19956
20759
|
},] }
|
|
19957
20760
|
];
|
|
@@ -19964,6 +20767,7 @@
|
|
|
19964
20767
|
checkbox: [{ type: i0.Input }],
|
|
19965
20768
|
checkboxValue: [{ type: i0.Input }],
|
|
19966
20769
|
actionButtons: [{ type: i0.Input }],
|
|
20770
|
+
checkboxValueChanged: [{ type: i0.Output }],
|
|
19967
20771
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-base-line",] }]
|
|
19968
20772
|
};
|
|
19969
20773
|
|
|
@@ -20234,6 +21038,71 @@
|
|
|
20234
21038
|
},] }
|
|
20235
21039
|
];
|
|
20236
21040
|
|
|
21041
|
+
var TransactionLineAmountComponent = /** @class */ (function (_super) {
|
|
21042
|
+
__extends(TransactionLineAmountComponent, _super);
|
|
21043
|
+
function TransactionLineAmountComponent(_service) {
|
|
21044
|
+
var _this = _super.call(this) || this;
|
|
21045
|
+
_this._service = _service;
|
|
21046
|
+
return _this;
|
|
21047
|
+
}
|
|
21048
|
+
TransactionLineAmountComponent.prototype.showClass = function () {
|
|
21049
|
+
return true;
|
|
21050
|
+
};
|
|
21051
|
+
TransactionLineAmountComponent.prototype.changeLineAmount = function (amount) {
|
|
21052
|
+
var _this = this;
|
|
21053
|
+
this._service.changeTransactionLineQuantity(this.transactionLine.uuid, amount).then(function (value) {
|
|
21054
|
+
if (!value || !value.isSuccess) {
|
|
21055
|
+
_this.localAmount = _this.transactionLine.amount;
|
|
21056
|
+
return;
|
|
21057
|
+
}
|
|
21058
|
+
});
|
|
21059
|
+
};
|
|
21060
|
+
TransactionLineAmountComponent.prototype.transactionLineSet = function () {
|
|
21061
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
21062
|
+
return __generator(this, function (_a) {
|
|
21063
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
21064
|
+
this.localAmount = this.transactionLine.amount;
|
|
21065
|
+
}
|
|
21066
|
+
return [2 /*return*/];
|
|
21067
|
+
});
|
|
21068
|
+
});
|
|
21069
|
+
};
|
|
21070
|
+
return TransactionLineAmountComponent;
|
|
21071
|
+
}(TransactionLineBaseComponent));
|
|
21072
|
+
TransactionLineAmountComponent.decorators = [
|
|
21073
|
+
{ type: i0.Component, args: [{
|
|
21074
|
+
selector: "co-transaction-line-amount",
|
|
21075
|
+
template: "\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"localAmount\" [min]=\"0\"\n [readonly]=\"readonly\"\n (modelChange)=\"changeLineAmount($event)\"></co-input-number-picker>\n ",
|
|
21076
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
21077
|
+
},] }
|
|
21078
|
+
];
|
|
21079
|
+
TransactionLineAmountComponent.ctorParameters = function () { return [
|
|
21080
|
+
{ type: TransactionService }
|
|
21081
|
+
]; };
|
|
21082
|
+
TransactionLineAmountComponent.propDecorators = {
|
|
21083
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-amount",] }]
|
|
21084
|
+
};
|
|
21085
|
+
|
|
21086
|
+
var TransactionLineAmountModule = /** @class */ (function () {
|
|
21087
|
+
function TransactionLineAmountModule() {
|
|
21088
|
+
}
|
|
21089
|
+
return TransactionLineAmountModule;
|
|
21090
|
+
}());
|
|
21091
|
+
TransactionLineAmountModule.decorators = [
|
|
21092
|
+
{ type: i0.NgModule, args: [{
|
|
21093
|
+
imports: [
|
|
21094
|
+
common.CommonModule,
|
|
21095
|
+
corecomponents_v12.InputNumberPickerModule
|
|
21096
|
+
],
|
|
21097
|
+
declarations: [
|
|
21098
|
+
TransactionLineAmountComponent
|
|
21099
|
+
],
|
|
21100
|
+
exports: [
|
|
21101
|
+
TransactionLineAmountComponent
|
|
21102
|
+
]
|
|
21103
|
+
},] }
|
|
21104
|
+
];
|
|
21105
|
+
|
|
20237
21106
|
var TransactionOverviewLineModule = /** @class */ (function () {
|
|
20238
21107
|
function TransactionOverviewLineModule() {
|
|
20239
21108
|
}
|
|
@@ -20262,7 +21131,8 @@
|
|
|
20262
21131
|
TransactionLineDeliveryDateButtonModule,
|
|
20263
21132
|
DialogTransactionLineVatModule,
|
|
20264
21133
|
DialogTransactionLineDiscountModule,
|
|
20265
|
-
TransactionLineStatusbarModule
|
|
21134
|
+
TransactionLineStatusbarModule,
|
|
21135
|
+
TransactionLineAmountModule
|
|
20266
21136
|
],
|
|
20267
21137
|
declarations: [
|
|
20268
21138
|
TransactionOverviewLineComponent
|
|
@@ -20328,6 +21198,147 @@
|
|
|
20328
21198
|
},] }
|
|
20329
21199
|
];
|
|
20330
21200
|
|
|
21201
|
+
var TransactionLineSupplierButtonComponent = /** @class */ (function (_super) {
|
|
21202
|
+
__extends(TransactionLineSupplierButtonComponent, _super);
|
|
21203
|
+
function TransactionLineSupplierButtonComponent(_service) {
|
|
21204
|
+
var _this = _super.call(this) || this;
|
|
21205
|
+
_this._service = _service;
|
|
21206
|
+
_this.showDialogSupplier = false;
|
|
21207
|
+
return _this;
|
|
21208
|
+
}
|
|
21209
|
+
TransactionLineSupplierButtonComponent.prototype.showClass = function () {
|
|
21210
|
+
return true;
|
|
21211
|
+
};
|
|
21212
|
+
TransactionLineSupplierButtonComponent.prototype.transactionLineSet = function () {
|
|
21213
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
21214
|
+
var _this = this;
|
|
21215
|
+
return __generator(this, function (_a) {
|
|
21216
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
21217
|
+
this._service.getSupplierFullObjectByRelationId(this.transactionLine.supplierId).then(function (supp) {
|
|
21218
|
+
_this.transactionLine.supplierDescription = supp ? supp.displayName : "";
|
|
21219
|
+
});
|
|
21220
|
+
}
|
|
21221
|
+
return [2 /*return*/];
|
|
21222
|
+
});
|
|
21223
|
+
});
|
|
21224
|
+
};
|
|
21225
|
+
return TransactionLineSupplierButtonComponent;
|
|
21226
|
+
}(TransactionLineBaseComponent));
|
|
21227
|
+
TransactionLineSupplierButtonComponent.decorators = [
|
|
21228
|
+
{ type: i0.Component, args: [{
|
|
21229
|
+
selector: "co-transaction-line-supplier-button",
|
|
21230
|
+
template: "\n <div class=\"transaction-line-button big\" (click)=\"showDialogSupplier = true\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"transactionLine.supplierDescription\"></span>\n </div>\n <co-dialog-transaction-line-supplier *ngIf=\"showDialogSupplier\"\n [autoClose]=\"true\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showDialogSupplier = false\"\n ></co-dialog-transaction-line-supplier>\n ",
|
|
21231
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
21232
|
+
},] }
|
|
21233
|
+
];
|
|
21234
|
+
TransactionLineSupplierButtonComponent.ctorParameters = function () { return [
|
|
21235
|
+
{ type: TransactionService }
|
|
21236
|
+
]; };
|
|
21237
|
+
TransactionLineSupplierButtonComponent.propDecorators = {
|
|
21238
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-supplier-button",] }]
|
|
21239
|
+
};
|
|
21240
|
+
|
|
21241
|
+
var DialogTransactionLineSupplierComponent = /** @class */ (function (_super) {
|
|
21242
|
+
__extends(DialogTransactionLineSupplierComponent, _super);
|
|
21243
|
+
function DialogTransactionLineSupplierComponent() {
|
|
21244
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
21245
|
+
}
|
|
21246
|
+
DialogTransactionLineSupplierComponent.prototype.showClass = function () {
|
|
21247
|
+
return true;
|
|
21248
|
+
};
|
|
21249
|
+
return DialogTransactionLineSupplierComponent;
|
|
21250
|
+
}(DialogTransactionLineBaseComponent));
|
|
21251
|
+
DialogTransactionLineSupplierComponent.decorators = [
|
|
21252
|
+
{ type: i0.Component, args: [{
|
|
21253
|
+
selector: "co-dialog-transaction-line-supplier",
|
|
21254
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-supplier\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [searchText]=\"searchText\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-supplier>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'SUPPLIER'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-transaction-dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
21255
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
21256
|
+
},] }
|
|
21257
|
+
];
|
|
21258
|
+
DialogTransactionLineSupplierComponent.propDecorators = {
|
|
21259
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-line-supplier",] }]
|
|
21260
|
+
};
|
|
21261
|
+
|
|
21262
|
+
var DialogTransactionLineSupplierModule = /** @class */ (function () {
|
|
21263
|
+
function DialogTransactionLineSupplierModule() {
|
|
21264
|
+
}
|
|
21265
|
+
return DialogTransactionLineSupplierModule;
|
|
21266
|
+
}());
|
|
21267
|
+
DialogTransactionLineSupplierModule.decorators = [
|
|
21268
|
+
{ type: i0.NgModule, args: [{
|
|
21269
|
+
imports: [
|
|
21270
|
+
common.CommonModule,
|
|
21271
|
+
corecomponents_v12.CoDialogModule,
|
|
21272
|
+
TransactionLineSupplierModule,
|
|
21273
|
+
PipeModule,
|
|
21274
|
+
corecomponents_v12.ButtonModule,
|
|
21275
|
+
DialogHeaderSearchModule
|
|
21276
|
+
],
|
|
21277
|
+
declarations: [
|
|
21278
|
+
DialogTransactionLineSupplierComponent
|
|
21279
|
+
],
|
|
21280
|
+
exports: [
|
|
21281
|
+
DialogTransactionLineSupplierComponent
|
|
21282
|
+
]
|
|
21283
|
+
},] }
|
|
21284
|
+
];
|
|
21285
|
+
|
|
21286
|
+
var TransactionLineSupplierButtonModule = /** @class */ (function () {
|
|
21287
|
+
function TransactionLineSupplierButtonModule() {
|
|
21288
|
+
}
|
|
21289
|
+
return TransactionLineSupplierButtonModule;
|
|
21290
|
+
}());
|
|
21291
|
+
TransactionLineSupplierButtonModule.decorators = [
|
|
21292
|
+
{ type: i0.NgModule, args: [{
|
|
21293
|
+
imports: [
|
|
21294
|
+
common.CommonModule,
|
|
21295
|
+
corecomponents_v12.CoDialogModule,
|
|
21296
|
+
TransactionLineSupplierModule,
|
|
21297
|
+
PipeModule,
|
|
21298
|
+
corecomponents_v12.ButtonModule,
|
|
21299
|
+
DialogTransactionLineSupplierModule
|
|
21300
|
+
],
|
|
21301
|
+
declarations: [
|
|
21302
|
+
TransactionLineSupplierButtonComponent
|
|
21303
|
+
],
|
|
21304
|
+
exports: [
|
|
21305
|
+
TransactionLineSupplierButtonComponent
|
|
21306
|
+
]
|
|
21307
|
+
},] }
|
|
21308
|
+
];
|
|
21309
|
+
|
|
21310
|
+
var TransactionPurchaseLineModule = /** @class */ (function () {
|
|
21311
|
+
function TransactionPurchaseLineModule() {
|
|
21312
|
+
}
|
|
21313
|
+
return TransactionPurchaseLineModule;
|
|
21314
|
+
}());
|
|
21315
|
+
TransactionPurchaseLineModule.decorators = [
|
|
21316
|
+
{ type: i0.NgModule, args: [{
|
|
21317
|
+
imports: [
|
|
21318
|
+
common.CommonModule,
|
|
21319
|
+
TransactionBaseLineModule,
|
|
21320
|
+
TransactionLineWarehouseButtonModule,
|
|
21321
|
+
TransactionLineDeliveryButtonModule,
|
|
21322
|
+
TransactionLineDeliveryDateButtonModule,
|
|
21323
|
+
TransactionLineStatusbarModule,
|
|
21324
|
+
TransactionLinePriceModule,
|
|
21325
|
+
PipeModule,
|
|
21326
|
+
corecomponents_v12.InputNumberPickerModule,
|
|
21327
|
+
EditableLabelModule,
|
|
21328
|
+
DialogTransactionLineDiscountModule,
|
|
21329
|
+
TransactionLineAmountModule,
|
|
21330
|
+
TransactionLineCommissionButtonModule,
|
|
21331
|
+
TransactionLineSupplierButtonModule
|
|
21332
|
+
],
|
|
21333
|
+
declarations: [
|
|
21334
|
+
TransactionPurchaseLineComponent
|
|
21335
|
+
],
|
|
21336
|
+
exports: [
|
|
21337
|
+
TransactionPurchaseLineComponent
|
|
21338
|
+
]
|
|
21339
|
+
},] }
|
|
21340
|
+
];
|
|
21341
|
+
|
|
20331
21342
|
var TransactionModule = /** @class */ (function () {
|
|
20332
21343
|
function TransactionModule() {
|
|
20333
21344
|
}
|
|
@@ -20359,7 +21370,8 @@
|
|
|
20359
21370
|
TransactionTileModule,
|
|
20360
21371
|
TransactionOverviewLineModule,
|
|
20361
21372
|
TransactionOrderDeliveryLineModule,
|
|
20362
|
-
TransactionReceiveGoodsLineModule
|
|
21373
|
+
TransactionReceiveGoodsLineModule,
|
|
21374
|
+
TransactionPurchaseLineModule
|
|
20363
21375
|
],
|
|
20364
21376
|
declarations: [
|
|
20365
21377
|
TransactionComponent
|
|
@@ -21057,7 +22069,7 @@
|
|
|
21057
22069
|
TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
21058
22070
|
{ type: i0.Component, args: [{
|
|
21059
22071
|
selector: 'co-transaction-purchase-order-filter-content-logistics',
|
|
21060
|
-
template: "\n <div class=\"transaction-filter-content-logistics-wrapper transaction-filter-content-wrapper\" lazyRenderMaster>\n\n <!--Bevestigde leverdatum-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderConfirmedDeliveryDate=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderConfirmedDeliveryDate.isShowing\"\n
|
|
22072
|
+
template: "\n <div class=\"transaction-filter-content-logistics-wrapper transaction-filter-content-wrapper\" lazyRenderMaster>\n\n <!--Bevestigde leverdatum-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderConfirmedDeliveryDate=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderConfirmedDeliveryDate.isShowing\"\n [placeholder]=\"'CONFIRMED_DELIVERY_DATE'\"\n [customContent]=\"true\">\n <co-input-date-range\n [startDate]=\"confirmedDeliveryStartDate\"\n [endDate]=\"confirmedDeliveryEndDate\"\n (dateRangeChange)=\"onDateRangeChange($event, 'confirmedDeliveryDateRange')\"\n (cleared)=\"onClearedDateRangeChange('confirmedDeliveryDateRange')\"\n [placeholder]=\"'SELECT_DATE' | localize\">\n </co-input-date-range>\n </co-transaction-filter-item>\n </div>\n\n <!--Serienummer-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderSerialNumber=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderSerialNumber.isShowing\"\n [placeholder]=\"'SERIAL_NUMBER'\"\n [customContent]=\"true\">\n <co-input-text [(model)]=\"searchRequest.serialNumber\"\n [placeholder]=\"searchPlaceholder | localize\"></co-input-text>\n </co-transaction-filter-item>\n </div>\n\n <!--Batchnummer-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderBatchNumber=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderBatchNumber.isShowing\"\n [placeholder]=\"'BATCH_NUMBER'\"\n [customContent]=\"true\">\n <co-input-text [(model)]=\"searchRequest.batchNumber\"\n [placeholder]=\"searchPlaceholder | localize\"></co-input-text>\n </co-transaction-filter-item>\n </div>\n\n <!--Geleverd-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderDelivered=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderDelivered.isShowing\"\n [label]=\"'DELIVERED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityDelivered')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Gefactureerd-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderInvoiced=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderInvoiced.isShowing\"\n [label]=\"'INVOICED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityInvoiced')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Binnengemeld / Geleverd -->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderReceived=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderReceived.isShowing\"\n [label]=\"'RECEIVED_DELIVERED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityReceived')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Bevestigd-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderConfirmed=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderConfirmed.isShowing\"\n [label]=\"'CONFIRMED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityConfirmed')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Aankomstdatum-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderArrivalDate=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderArrivalDate.isShowing\"\n [placeholder]=\"'ARRIVAL_DATE'\"\n [customContent]=\"true\">\n <co-input-date-range\n [startDate]=\"arrivalStartDate\"\n [endDate]=\"arrivalEndDate\"\n (dateRangeChange)=\"onDateRangeChange($event, 'arrivalDateRange')\"\n (cleared)=\"onClearedDateRangeChange('arrivalDateRange')\"\n [placeholder]=\"'SELECT_DATE' | localize\">\n </co-input-date-range>\n </co-transaction-filter-item>\n </div>\n\n <!--Toegewezen-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderAllocated=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderAllocated.isShowing\"\n [label]=\"'ALLOCATED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityAllocated')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Te picken-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderToBePicked=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderToBePicked.isShowing\"\n [label]=\"'TO_BE_PICKED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityToBePicked')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Gepicked-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderPicked=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderPicked.isShowing\"\n [label]=\"'PICKED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityPicked')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Deellevering-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderPartialDelivery=\"lazyRender\">\n <co-filter-item *ngIf=\"lazyRenderPartialDelivery.isShowing\"\n [placeholder]=\"'PART_DELIVERY' | localize\"\n [customContent]=\"true\"\n [filterButtonLabel]=\"filterButtonLabel | localize\"\n [expanded]=\"true\">\n <co-input-checkbox\n [model]=\"searchRequest.partialDelivery === 'J'\"\n (modelChange)=\"filterRequestService.handleCheckboxValueChangeForString($event, 'partialDelivery')\"\n [label]=\"'PART_DELIVERY' | localize\">\n </co-input-checkbox>\n </co-filter-item>\n </div>\n\n <!--Magazijn-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderWarehouse=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderWarehouse.isShowing\"\n [placeholder]=\"'WAREHOUSE'\"\n [singleSelect]=\"true\"\n [collection]=\"warehouses\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForSingleSelect($event, 'warehouse')\">\n </co-transaction-filter-item>\n </div>\n\n <!--Bron magazijn-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderSourceWarehouse=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderSourceWarehouse.isShowing\"\n [placeholder]=\"'SOURCE_WAREHOUSE'\"\n [singleSelect]=\"true\"\n [collection]=\"sourceWarehouses\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForSingleSelect($event, 'sourceWarehouse')\">\n </co-transaction-filter-item>\n </div>\n\n <!--Levermethode-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderDeliveryMethod=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderDeliveryMethod.isShowing\"\n [placeholder]=\"'DELIVERY_METHOD'\"\n [collection]=\"deliveryMethods\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForRange($event, 'rangeDeliveryMethod')\">\n </co-transaction-filter-item>\n </div>\n\n <!--Leverdatum definitief-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderDeliveryDateDefinitive=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderDeliveryDateDefinitive.isShowing\"\n [placeholder]=\"'DELIVERY_DATE_FINAL'\"\n [customContent]=\"true\">\n <co-input-checkbox\n [model]=\"searchRequest.deliveryDateDefinitive === 'J'\"\n (modelChange)=\"filterRequestService.handleCheckboxValueChangeForString($event, 'deliveryDateDefinitive')\"\n [label]=\"'DELIVERY_DATE_FINAL' | localize\"></co-input-checkbox>\n </co-transaction-filter-item>\n </div>\n\n <!--Uitvoerbaar: todo: vraag staat uit wat hiermee bedoeld wordt. Daarna hier aanvullen -->\n </div>\n "
|
|
21061
22073
|
},] }
|
|
21062
22074
|
];
|
|
21063
22075
|
TransactionPurchaseOrderFilterContentLogisticsComponent.ctorParameters = function () { return [
|
|
@@ -21070,9 +22082,10 @@
|
|
|
21070
22082
|
};
|
|
21071
22083
|
|
|
21072
22084
|
var TransactionFilterHistoricStateComponent = /** @class */ (function () {
|
|
21073
|
-
function TransactionFilterHistoricStateComponent() {
|
|
22085
|
+
function TransactionFilterHistoricStateComponent(_dictionary) {
|
|
22086
|
+
this._dictionary = _dictionary;
|
|
21074
22087
|
this.expanded = true;
|
|
21075
|
-
this.
|
|
22088
|
+
this.collectionChange = new i0.EventEmitter();
|
|
21076
22089
|
this.states = [];
|
|
21077
22090
|
}
|
|
21078
22091
|
Object.defineProperty(TransactionFilterHistoricStateComponent.prototype, "label", {
|
|
@@ -21093,14 +22106,11 @@
|
|
|
21093
22106
|
TransactionFilterHistoricStateComponent.prototype.showClass = function () {
|
|
21094
22107
|
return true;
|
|
21095
22108
|
};
|
|
21096
|
-
TransactionFilterHistoricStateComponent.prototype.handleStateChange = function (value) {
|
|
21097
|
-
this.filterClicked.emit(value);
|
|
21098
|
-
};
|
|
21099
22109
|
TransactionFilterHistoricStateComponent.prototype._setStates = function () {
|
|
21100
22110
|
this.states = [
|
|
21101
|
-
{
|
|
21102
|
-
{
|
|
21103
|
-
{
|
|
22111
|
+
{ description: this._dictionary.get(this.labelNothing), code: quantityInHistoricState_enum.QuantityInHistoricState.Nothing, checked: false },
|
|
22112
|
+
{ description: this._dictionary.get(this.labelPartly), code: quantityInHistoricState_enum.QuantityInHistoricState.Partly, checked: false },
|
|
22113
|
+
{ description: this._dictionary.get(this.labelFully), code: quantityInHistoricState_enum.QuantityInHistoricState.Fully, checked: false }
|
|
21104
22114
|
];
|
|
21105
22115
|
};
|
|
21106
22116
|
return TransactionFilterHistoricStateComponent;
|
|
@@ -21108,14 +22118,17 @@
|
|
|
21108
22118
|
TransactionFilterHistoricStateComponent.decorators = [
|
|
21109
22119
|
{ type: i0.Component, args: [{
|
|
21110
22120
|
selector: "co-transaction-filter-historic-state",
|
|
21111
|
-
template: "\n <co-transaction-filter-item\n [placeholder]=\"label\"\n [
|
|
22121
|
+
template: "\n <co-transaction-filter-item\n [placeholder]=\"label\"\n [collection]=\"states\"\n (collectionChange)=\"collectionChange.emit($event)\">\n </co-transaction-filter-item>\n ",
|
|
21112
22122
|
encapsulation: i0.ViewEncapsulation.None
|
|
21113
22123
|
},] }
|
|
21114
22124
|
];
|
|
22125
|
+
TransactionFilterHistoricStateComponent.ctorParameters = function () { return [
|
|
22126
|
+
{ type: DictionaryService }
|
|
22127
|
+
]; };
|
|
21115
22128
|
TransactionFilterHistoricStateComponent.propDecorators = {
|
|
21116
22129
|
label: [{ type: i0.Input }],
|
|
21117
22130
|
expanded: [{ type: i0.Input }],
|
|
21118
|
-
|
|
22131
|
+
collectionChange: [{ type: i0.Output }],
|
|
21119
22132
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-filter-historic-state",] }]
|
|
21120
22133
|
};
|
|
21121
22134
|
|
|
@@ -22077,7 +23090,7 @@
|
|
|
22077
23090
|
TransactionSalesOrderFilterContentLogisticsComponent.decorators = [
|
|
22078
23091
|
{ type: i0.Component, args: [{
|
|
22079
23092
|
selector: 'co-transaction-sales-order-filter-content-logistics',
|
|
22080
|
-
template: "\n <div class=\"transaction-filter-content-logistics-wrapper transaction-filter-content-wrapper\" lazyRenderMaster>\n\n <!--Levermethode-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderDeliveryMethod=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderDeliveryMethod.isShowing\"\n [placeholder]=\"'DELIVERY_METHOD'\"\n [collection]=\"deliveryMethods\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForRange($event, 'rangeDeliveryMethod')\"\n >\n </co-transaction-filter-item>\n </div>\n\n\n <!--Leverdatum definitief-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderDeliveryDateFinal=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderDeliveryDateFinal.isShowing\"\n [placeholder]=\"'DELIVERY_DATE_FINAL'\"\n [customContent]=\"true\"\n >\n <co-input-checkbox\n [model]=\"searchRequest.deliveryDateDefinitive === 'J'\"\n (modelChange)=\"filterRequestService.handleCheckboxValueChangeForString($event, 'deliveryDateDefinitive')\"\n [label]=\"'DELIVERY_DATE_FINAL' | localize\"></co-input-checkbox>\n </co-transaction-filter-item>\n </div>\n\n <!--Toegewezen-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderAllocated=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderAllocated.isShowing\"\n [label]=\"'ALLOCATED'\"\n (
|
|
23093
|
+
template: "\n <div class=\"transaction-filter-content-logistics-wrapper transaction-filter-content-wrapper\" lazyRenderMaster>\n\n <!--Levermethode-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderDeliveryMethod=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderDeliveryMethod.isShowing\"\n [placeholder]=\"'DELIVERY_METHOD'\"\n [collection]=\"deliveryMethods\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForRange($event, 'rangeDeliveryMethod')\"\n >\n </co-transaction-filter-item>\n </div>\n\n\n <!--Leverdatum definitief-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderDeliveryDateFinal=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderDeliveryDateFinal.isShowing\"\n [placeholder]=\"'DELIVERY_DATE_FINAL'\"\n [customContent]=\"true\"\n >\n <co-input-checkbox\n [model]=\"searchRequest.deliveryDateDefinitive === 'J'\"\n (modelChange)=\"filterRequestService.handleCheckboxValueChangeForString($event, 'deliveryDateDefinitive')\"\n [label]=\"'DELIVERY_DATE_FINAL' | localize\"></co-input-checkbox>\n </co-transaction-filter-item>\n </div>\n\n <!--Toegewezen-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderAllocated=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderAllocated.isShowing\"\n [label]=\"'ALLOCATED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityAllocated')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Geleverd-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderDelivered=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderDelivered.isShowing\"\n [label]=\"'DELIVERED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityDelivered')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Gefactureerd-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderInvoiced=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderInvoiced.isShowing\"\n [label]=\"'INVOICED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityInvoiced')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Te picken-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderToBePicked=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderToBePicked.isShowing\"\n [label]=\"'TO_BE_PICKED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityToBePicked')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Gepicked-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderPicked=\"lazyRender\">\n <co-transaction-filter-historic-state *ngIf=\"lazyRenderPicked.isShowing\"\n [label]=\"'PICKED'\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForArray($event, 'quantityPicked')\"\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Bevestigde leverdatum-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderConfirmedDeliveryDate=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderConfirmedDeliveryDate.isShowing\"\n [placeholder]=\"'CONFIRMED_DELIVERY_DATE'\"\n [customContent]=\"true\">\n <co-input-date-range\n [startDate]=\"confirmedDeliveryStartDate\"\n [endDate]=\"confirmedDeliveryEndDate\"\n (dateRangeChange)=\"onDateRangeChange($event, 'confirmedDeliveryDateRange')\"\n (cleared)=\"onClearedDateRangeChange('confirmedDeliveryDateRange')\"\n [placeholder]=\"'SELECT_DATE' | localize\">\n </co-input-date-range>\n </co-transaction-filter-item>\n </div>\n\n <!--Aankomstdatum-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderArrivalDate=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderArrivalDate.isShowing\"\n [placeholder]=\"'ARRIVAL_DATE'\"\n [customContent]=\"true\">\n <co-input-date-range\n [startDate]=\"arrivalStartDate\"\n [endDate]=\"arrivalEndDate\"\n (dateRangeChange)=\"onDateRangeChange($event, 'arrivalDateRange')\"\n (cleared)=\"onClearedDateRangeChange('arrivalDateRange')\"\n [placeholder]=\"'SELECT_DATE' | localize\">\n </co-input-date-range>\n </co-transaction-filter-item>\n </div>\n\n <!--Deellevering-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderPartialDelivery=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderPartialDelivery.isShowing\"\n [placeholder]=\"'PART_DELIVERY'\"\n [customContent]=\"true\">\n <co-input-checkbox\n [model]=\"searchRequest.partialDelivery === 'J'\"\n (modelChange)=\"filterRequestService.handleCheckboxValueChangeForString($event, 'partialDelivery')\"\n [label]=\"'PART_DELIVERY' | localize\">\n </co-input-checkbox>\n </co-transaction-filter-item>\n </div>\n\n <!--Magazijn -->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderWarehouse=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderWarehouse.isShowing\"\n [placeholder]=\"'WAREHOUSE'\"\n [singleSelect]=\"true\"\n [collection]=\"warehouses\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForSingleSelect($event, 'warehouse')\">\n </co-transaction-filter-item>\n </div>\n\n <!--Bron magazijn-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderSourceWarehouse=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderSourceWarehouse.isShowing\"\n [placeholder]=\"'SOURCE_WAREHOUSE'\"\n [singleSelect]=\"true\"\n [collection]=\"sourceWarehouses\"\n (collectionChange)=\"filterRequestService.handleCollectionChangeForSingleSelect($event, 'sourceWarehouse')\">\n </co-transaction-filter-item>\n </div>\n\n <!--Serienummer -->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderSerialNumber=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderSerialNumber.isShowing\"\n [placeholder]=\"'SERIAL_NUMBER'\"\n [customContent]=\"true\">\n <co-input-text [(model)]=\"searchRequest.serialNumber\"\n [placeholder]=\"searchPlaceholder | localize\"></co-input-text>\n </co-transaction-filter-item>\n </div>\n\n <!--Batchnummer -->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderBatchNumber=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderBatchNumber.isShowing\"\n [placeholder]=\"'BATCH_NUMBER'\"\n [customContent]=\"true\">\n <co-input-text [(model)]=\"searchRequest.batchNumber\"\n [placeholder]=\"searchPlaceholder | localize\"></co-input-text>\n </co-transaction-filter-item>\n </div>\n\n <!--Inclusief retouren-->\n <div class=\"filter-item-wrapper\" lazyRender #lazyRenderIncludingReturns=\"lazyRender\">\n <co-transaction-filter-item *ngIf=\"lazyRenderIncludingReturns.isShowing\"\n [placeholder]=\"'INCLUDING_RETURNS'\"\n [customContent]=\"true\">\n <co-input-checkbox\n [label]=\"'INCLUDING_RETURNS' | localize\"\n [model]=\"searchRequest.includingReturns === 1\"\n (modelChange)=\"filterRequestService.handleCheckboxValueChangeForNumber($event, 'includingReturns')\"\n >\n </co-input-checkbox>\n </co-transaction-filter-item>\n </div>\n\n <!--Levermethode op (regel/header): todo: nog uitzoeken welke filter dit is-->\n </div>\n "
|
|
22081
23094
|
},] }
|
|
22082
23095
|
];
|
|
22083
23096
|
TransactionSalesOrderFilterContentLogisticsComponent.ctorParameters = function () { return [
|
|
@@ -22352,6 +23365,8 @@
|
|
|
22352
23365
|
|
|
22353
23366
|
exports.CheckoutComponent = CheckoutComponent;
|
|
22354
23367
|
exports.CheckoutModule = CheckoutModule;
|
|
23368
|
+
exports.LoaderComponent = LoaderComponent;
|
|
23369
|
+
exports.LoaderModule = LoaderModule;
|
|
22355
23370
|
exports.ShoppingCartComponent = ShoppingCartComponent;
|
|
22356
23371
|
exports.ShoppingCartModule = ShoppingCartModule;
|
|
22357
23372
|
exports.ShoppingCartPreviewComponent = ShoppingCartPreviewComponent;
|
|
@@ -22392,16 +23407,16 @@
|
|
|
22392
23407
|
exports.TransactionTotalsModule = TransactionTotalsModule;
|
|
22393
23408
|
exports["ɵa"] = PendingReasonService;
|
|
22394
23409
|
exports["ɵb"] = DialogService;
|
|
22395
|
-
exports["ɵba"] =
|
|
22396
|
-
exports["ɵbb"] =
|
|
22397
|
-
exports["ɵbc"] =
|
|
22398
|
-
exports["ɵbd"] =
|
|
22399
|
-
exports["ɵbe"] =
|
|
22400
|
-
exports["ɵbf"] =
|
|
22401
|
-
exports["ɵbg"] =
|
|
22402
|
-
exports["ɵbh"] =
|
|
22403
|
-
exports["ɵbi"] =
|
|
22404
|
-
exports["ɵbj"] =
|
|
23410
|
+
exports["ɵba"] = DialogBaseComponent;
|
|
23411
|
+
exports["ɵbb"] = IconCacheService;
|
|
23412
|
+
exports["ɵbc"] = CharacteristicAnswerModule;
|
|
23413
|
+
exports["ɵbd"] = CharacteristicAnswerComponent;
|
|
23414
|
+
exports["ɵbe"] = WarehouseModule;
|
|
23415
|
+
exports["ɵbf"] = WarehouseComponent;
|
|
23416
|
+
exports["ɵbg"] = ImageDisplayComponent;
|
|
23417
|
+
exports["ɵbh"] = IconComponent;
|
|
23418
|
+
exports["ɵbi"] = CustomerGroupsComponent;
|
|
23419
|
+
exports["ɵbj"] = StockStatusIndicatorComponent;
|
|
22405
23420
|
exports["ɵbk"] = LazyRenderMasterDirective;
|
|
22406
23421
|
exports["ɵbl"] = LazyRenderDirective;
|
|
22407
23422
|
exports["ɵbm"] = RelationAddressModule;
|
|
@@ -22426,109 +23441,109 @@
|
|
|
22426
23441
|
exports["ɵce"] = TransactionLineDescriptionModule;
|
|
22427
23442
|
exports["ɵcf"] = TransactionLineDescriptionComponent;
|
|
22428
23443
|
exports["ɵcg"] = TransactionLineBaseComponent;
|
|
22429
|
-
exports["ɵch"] =
|
|
22430
|
-
exports["ɵci"] =
|
|
22431
|
-
exports["ɵcj"] =
|
|
22432
|
-
exports["ɵck"] =
|
|
22433
|
-
exports["ɵcl"] =
|
|
22434
|
-
exports["ɵcm"] =
|
|
22435
|
-
exports["ɵcn"] =
|
|
22436
|
-
exports["ɵco"] =
|
|
22437
|
-
exports["ɵcp"] =
|
|
22438
|
-
exports["ɵcq"] =
|
|
22439
|
-
exports["ɵcr"] =
|
|
22440
|
-
exports["ɵcs"] =
|
|
22441
|
-
exports["ɵct"] =
|
|
22442
|
-
exports["ɵcu"] =
|
|
22443
|
-
exports["ɵcv"] =
|
|
22444
|
-
exports["ɵcw"] =
|
|
22445
|
-
exports["ɵcx"] =
|
|
22446
|
-
exports["ɵcy"] =
|
|
22447
|
-
exports["ɵcz"] =
|
|
23444
|
+
exports["ɵch"] = TransactionLineImageAndDescriptionComponent;
|
|
23445
|
+
exports["ɵci"] = TransactionImageService;
|
|
23446
|
+
exports["ɵcj"] = TransactionArticleTextComponent;
|
|
23447
|
+
exports["ɵck"] = TransactionReceiveGoodsService;
|
|
23448
|
+
exports["ɵcl"] = DialogTransactionHeaderDiscountModule;
|
|
23449
|
+
exports["ɵcm"] = TransactionHeaderDiscountPercentageModule;
|
|
23450
|
+
exports["ɵcn"] = TransactionHeaderDiscountPercentageComponent;
|
|
23451
|
+
exports["ɵco"] = TransactionHeaderBaseComponent;
|
|
23452
|
+
exports["ɵcp"] = TransactionHeaderFilterPopupBaseComponent;
|
|
23453
|
+
exports["ɵcq"] = TransactionHeaderDiscountAmountModule;
|
|
23454
|
+
exports["ɵcr"] = TransactionHeaderDiscountAmountComponent;
|
|
23455
|
+
exports["ɵcs"] = TransactionHeaderDiscountTransactionTotalModule;
|
|
23456
|
+
exports["ɵct"] = TransactionHeaderDiscountTransactionTotalComponent;
|
|
23457
|
+
exports["ɵcu"] = DialogTransactionHeaderDiscountComponent;
|
|
23458
|
+
exports["ɵcv"] = DialogTransactionHeaderBaseComponent;
|
|
23459
|
+
exports["ɵcw"] = AvatarModule;
|
|
23460
|
+
exports["ɵcx"] = AvatarComponent;
|
|
23461
|
+
exports["ɵcy"] = SharedService;
|
|
23462
|
+
exports["ɵcz"] = SharedConnectorService;
|
|
22448
23463
|
exports["ɵd"] = OptionsService;
|
|
22449
|
-
exports["ɵda"] =
|
|
22450
|
-
exports["ɵdb"] =
|
|
22451
|
-
exports["ɵdc"] =
|
|
22452
|
-
exports["ɵdd"] =
|
|
22453
|
-
exports["ɵde"] =
|
|
22454
|
-
exports["ɵdf"] =
|
|
22455
|
-
exports["ɵdg"] =
|
|
22456
|
-
exports["ɵdh"] =
|
|
22457
|
-
exports["ɵdi"] =
|
|
22458
|
-
exports["ɵdj"] =
|
|
22459
|
-
exports["ɵdk"] =
|
|
22460
|
-
exports["ɵdl"] =
|
|
22461
|
-
exports["ɵdm"] =
|
|
22462
|
-
exports["ɵdn"] =
|
|
22463
|
-
exports["ɵdo"] =
|
|
22464
|
-
exports["ɵdp"] =
|
|
22465
|
-
exports["ɵdq"] =
|
|
22466
|
-
exports["ɵdr"] =
|
|
22467
|
-
exports["ɵds"] =
|
|
22468
|
-
exports["ɵdt"] =
|
|
22469
|
-
exports["ɵdu"] =
|
|
22470
|
-
exports["ɵdv"] =
|
|
22471
|
-
exports["ɵdw"] =
|
|
22472
|
-
exports["ɵdx"] =
|
|
22473
|
-
exports["ɵdy"] =
|
|
22474
|
-
exports["ɵdz"] =
|
|
23464
|
+
exports["ɵda"] = DeliveryTypeTileModule;
|
|
23465
|
+
exports["ɵdb"] = DeliveryTypeTileComponent;
|
|
23466
|
+
exports["ɵdc"] = PaymentModule;
|
|
23467
|
+
exports["ɵdd"] = PaymentTileModule;
|
|
23468
|
+
exports["ɵde"] = PaymentTileComponent;
|
|
23469
|
+
exports["ɵdf"] = PaymentQrCodeModule;
|
|
23470
|
+
exports["ɵdg"] = PaymentQrCodeComponent;
|
|
23471
|
+
exports["ɵdh"] = DownPaymentModule;
|
|
23472
|
+
exports["ɵdi"] = DownPaymentComponent;
|
|
23473
|
+
exports["ɵdj"] = PaymentService;
|
|
23474
|
+
exports["ɵdk"] = PaymentComponent;
|
|
23475
|
+
exports["ɵdl"] = RelationTypeModule;
|
|
23476
|
+
exports["ɵdm"] = RelationTypeComponent;
|
|
23477
|
+
exports["ɵdn"] = RelationGeneralModule;
|
|
23478
|
+
exports["ɵdo"] = RelationSuggestionsListModule;
|
|
23479
|
+
exports["ɵdp"] = RelationSuggestionsListItemModule;
|
|
23480
|
+
exports["ɵdq"] = RelationSuggestionsListItemComponent;
|
|
23481
|
+
exports["ɵdr"] = RelationSuggestionsListComponent;
|
|
23482
|
+
exports["ɵds"] = RelationGeneralComponent;
|
|
23483
|
+
exports["ɵdt"] = RelationAddressesModule;
|
|
23484
|
+
exports["ɵdu"] = RelationAddressesComponent;
|
|
23485
|
+
exports["ɵdv"] = RelationContactDetailsModule;
|
|
23486
|
+
exports["ɵdw"] = RelationContactDetailsComponent;
|
|
23487
|
+
exports["ɵdx"] = RelationPreferencesModule;
|
|
23488
|
+
exports["ɵdy"] = RelationPreferencesComponent;
|
|
23489
|
+
exports["ɵdz"] = TransactionHeaderBlockModule;
|
|
22475
23490
|
exports["ɵe"] = DictionaryService;
|
|
22476
|
-
exports["ɵea"] =
|
|
22477
|
-
exports["ɵeb"] =
|
|
22478
|
-
exports["ɵec"] =
|
|
22479
|
-
exports["ɵed"] =
|
|
22480
|
-
exports["ɵee"] =
|
|
22481
|
-
exports["ɵef"] =
|
|
22482
|
-
exports["ɵeg"] =
|
|
22483
|
-
exports["ɵeh"] =
|
|
22484
|
-
exports["ɵei"] =
|
|
22485
|
-
exports["ɵej"] =
|
|
22486
|
-
exports["ɵek"] =
|
|
22487
|
-
exports["ɵel"] =
|
|
22488
|
-
exports["ɵem"] =
|
|
22489
|
-
exports["ɵen"] =
|
|
22490
|
-
exports["ɵeo"] =
|
|
22491
|
-
exports["ɵep"] =
|
|
22492
|
-
exports["ɵeq"] =
|
|
22493
|
-
exports["ɵer"] =
|
|
22494
|
-
exports["ɵes"] =
|
|
22495
|
-
exports["ɵet"] =
|
|
22496
|
-
exports["ɵeu"] =
|
|
22497
|
-
exports["ɵev"] =
|
|
22498
|
-
exports["ɵew"] =
|
|
22499
|
-
exports["ɵex"] =
|
|
22500
|
-
exports["ɵey"] =
|
|
22501
|
-
exports["ɵez"] =
|
|
23491
|
+
exports["ɵea"] = TransactionHeaderBlockComponent;
|
|
23492
|
+
exports["ɵeb"] = TransactionHeaderDeliveryDateModule;
|
|
23493
|
+
exports["ɵec"] = TransactionHeaderDeliveryDateComponent;
|
|
23494
|
+
exports["ɵed"] = TransactionHeaderDeliveryOptionsModule;
|
|
23495
|
+
exports["ɵee"] = TransactionHeaderDeliveryOptionsComponent;
|
|
23496
|
+
exports["ɵef"] = TransactionHeaderRemarksModule;
|
|
23497
|
+
exports["ɵeg"] = TransactionHeaderRemarksComponent;
|
|
23498
|
+
exports["ɵeh"] = TransactionHeaderReferenceModule;
|
|
23499
|
+
exports["ɵei"] = TransactionHeaderReferenceComponent;
|
|
23500
|
+
exports["ɵej"] = TransactionHeaderRelationReferenceModule;
|
|
23501
|
+
exports["ɵek"] = TransactionHeaderRelationReferenceComponent;
|
|
23502
|
+
exports["ɵel"] = TransactionHeaderDeliveryMethodModule;
|
|
23503
|
+
exports["ɵem"] = TransactionLineCheckboxModule;
|
|
23504
|
+
exports["ɵen"] = TransactionLineCheckboxListComponent;
|
|
23505
|
+
exports["ɵeo"] = TransactionHeaderDeliveryMethodComponent;
|
|
23506
|
+
exports["ɵep"] = TransactionHeaderPreferredDeliveryDateModule;
|
|
23507
|
+
exports["ɵeq"] = TransactionHeaderPreferredDeliveryDateComponent;
|
|
23508
|
+
exports["ɵer"] = DialogTransactionHeaderDeliveryMethodModule;
|
|
23509
|
+
exports["ɵes"] = DialogHeaderSearchModule;
|
|
23510
|
+
exports["ɵet"] = DialogHeaderSearchComponent;
|
|
23511
|
+
exports["ɵeu"] = DialogTransactionHeaderDeliveryMethodComponent;
|
|
23512
|
+
exports["ɵev"] = TransactionHeaderPartialDeliveryModule;
|
|
23513
|
+
exports["ɵew"] = TransactionHeaderPartialDeliveryComponent;
|
|
23514
|
+
exports["ɵex"] = TransactionBaseComponent;
|
|
23515
|
+
exports["ɵey"] = TransactionHeaderDownpaymentPercentageModule;
|
|
23516
|
+
exports["ɵez"] = TransactionHeaderDownpaymentPercentageComponent;
|
|
22502
23517
|
exports["ɵf"] = TransactionConnectorService;
|
|
22503
|
-
exports["ɵfa"] =
|
|
22504
|
-
exports["ɵfb"] =
|
|
22505
|
-
exports["ɵfc"] =
|
|
22506
|
-
exports["ɵfd"] =
|
|
22507
|
-
exports["ɵfe"] =
|
|
22508
|
-
exports["ɵff"] =
|
|
22509
|
-
exports["ɵfg"] =
|
|
22510
|
-
exports["ɵfh"] =
|
|
22511
|
-
exports["ɵfi"] =
|
|
22512
|
-
exports["ɵfj"] =
|
|
22513
|
-
exports["ɵfk"] =
|
|
22514
|
-
exports["ɵfl"] =
|
|
22515
|
-
exports["ɵfm"] =
|
|
22516
|
-
exports["ɵfn"] =
|
|
22517
|
-
exports["ɵfo"] =
|
|
22518
|
-
exports["ɵfp"] =
|
|
22519
|
-
exports["ɵfq"] =
|
|
22520
|
-
exports["ɵfr"] =
|
|
22521
|
-
exports["ɵfs"] =
|
|
22522
|
-
exports["ɵft"] =
|
|
22523
|
-
exports["ɵfu"] =
|
|
22524
|
-
exports["ɵfv"] =
|
|
22525
|
-
exports["ɵfw"] =
|
|
22526
|
-
exports["ɵfx"] =
|
|
22527
|
-
exports["ɵfy"] =
|
|
22528
|
-
exports["ɵfz"] =
|
|
23518
|
+
exports["ɵfa"] = TransactionHeaderDownpaymentAmountModule;
|
|
23519
|
+
exports["ɵfb"] = TransactionHeaderDownpaymentAmountComponent;
|
|
23520
|
+
exports["ɵfc"] = TransactionHeaderDefinitiveModule;
|
|
23521
|
+
exports["ɵfd"] = TransactionHeaderDefinitiveComponent;
|
|
23522
|
+
exports["ɵfe"] = TransactionHeaderBranchModule;
|
|
23523
|
+
exports["ɵff"] = TransactionHeaderBranchComponent;
|
|
23524
|
+
exports["ɵfg"] = TransactionHeaderAdministrativeRelationModule;
|
|
23525
|
+
exports["ɵfh"] = TransactionHeaderAdministrativeRelationComponent;
|
|
23526
|
+
exports["ɵfi"] = TransactionHeaderMarketingModule;
|
|
23527
|
+
exports["ɵfj"] = TransactionHeaderMarketingComponent;
|
|
23528
|
+
exports["ɵfk"] = CheckoutOverviewRelationEditComponent;
|
|
23529
|
+
exports["ɵfl"] = CheckoutOverviewDeliveryEditComponent;
|
|
23530
|
+
exports["ɵfm"] = CheckoutOverviewDeliveryAddressComponent;
|
|
23531
|
+
exports["ɵfn"] = CheckoutOverviewPaymentComponent;
|
|
23532
|
+
exports["ɵfo"] = CheckoutLoginComponent;
|
|
23533
|
+
exports["ɵfp"] = TransactionFilterCategoriesModule;
|
|
23534
|
+
exports["ɵfq"] = TransactionFilterCategoriesComponent;
|
|
23535
|
+
exports["ɵfr"] = TransactionHeaderPaymentModule;
|
|
23536
|
+
exports["ɵfs"] = TransactionHeaderPaymentComponent;
|
|
23537
|
+
exports["ɵft"] = TransactionLinesGridModule;
|
|
23538
|
+
exports["ɵfu"] = TransactionBaseGridModule;
|
|
23539
|
+
exports["ɵfv"] = TransactionLineSidePanelModule;
|
|
23540
|
+
exports["ɵfw"] = TransactionLineSidePanelDefaultModule;
|
|
23541
|
+
exports["ɵfx"] = TransactionLinePriceModule;
|
|
23542
|
+
exports["ɵfy"] = TransactionLinePriceComponent;
|
|
23543
|
+
exports["ɵfz"] = TransactionLinePriceListModule;
|
|
22529
23544
|
exports["ɵg"] = TransactionConnectorAdapterService;
|
|
22530
|
-
exports["ɵga"] =
|
|
22531
|
-
exports["ɵgb"] =
|
|
23545
|
+
exports["ɵga"] = TransactionLinePriceListComponent;
|
|
23546
|
+
exports["ɵgb"] = TransactionFilterPopupBaseComponent;
|
|
22532
23547
|
exports["ɵgc"] = TransactionLineVatModule;
|
|
22533
23548
|
exports["ɵgd"] = TransactionLineVatComponent;
|
|
22534
23549
|
exports["ɵge"] = TransactionLineQuantityModule;
|
|
@@ -22565,138 +23580,154 @@
|
|
|
22565
23580
|
exports["ɵhi"] = TransactionReceivingGoodsDetailsComponent;
|
|
22566
23581
|
exports["ɵhj"] = ArticleService;
|
|
22567
23582
|
exports["ɵhk"] = TransactionButtonBarModule;
|
|
22568
|
-
exports["ɵhl"] =
|
|
22569
|
-
exports["ɵhm"] =
|
|
22570
|
-
exports["ɵhn"] =
|
|
22571
|
-
exports["ɵho"] =
|
|
22572
|
-
exports["ɵhp"] =
|
|
22573
|
-
exports["ɵhq"] =
|
|
22574
|
-
exports["ɵhr"] =
|
|
22575
|
-
exports["ɵhs"] =
|
|
22576
|
-
exports["ɵht"] =
|
|
22577
|
-
exports["ɵhu"] =
|
|
22578
|
-
exports["ɵhv"] =
|
|
22579
|
-
exports["ɵhw"] =
|
|
22580
|
-
exports["ɵhx"] =
|
|
22581
|
-
exports["ɵhy"] =
|
|
22582
|
-
exports["ɵhz"] =
|
|
23583
|
+
exports["ɵhl"] = AnimatedCheckboxModule;
|
|
23584
|
+
exports["ɵhm"] = AnimatedCheckboxComponent;
|
|
23585
|
+
exports["ɵhn"] = TransactionButtonBarComponent;
|
|
23586
|
+
exports["ɵho"] = TransactionButtonBarButtonComponent;
|
|
23587
|
+
exports["ɵhp"] = TransactionButtonBarButtonBaseComponent;
|
|
23588
|
+
exports["ɵhq"] = TransactionSalesPurchaseButtonBarButtonComponent;
|
|
23589
|
+
exports["ɵhr"] = TransactionLineSidePanelPurchaseModule;
|
|
23590
|
+
exports["ɵhs"] = DefaultOkCancelButtonsModule;
|
|
23591
|
+
exports["ɵht"] = DefaultOkCancelButtonsComponent;
|
|
23592
|
+
exports["ɵhu"] = TransactionLineSidePanelPurchaseComponent;
|
|
23593
|
+
exports["ɵhv"] = TransactionLineSidePanelComponent;
|
|
23594
|
+
exports["ɵhw"] = DynamicBaseComponent;
|
|
23595
|
+
exports["ɵhx"] = TransactionLineActionButtonsModule;
|
|
23596
|
+
exports["ɵhy"] = TransactionArticleTextOverviewModule;
|
|
23597
|
+
exports["ɵhz"] = TransactionArticleTextOverviewComponent;
|
|
22583
23598
|
exports["ɵi"] = BusinessObjectCacheManagerService;
|
|
22584
|
-
exports["ɵia"] =
|
|
22585
|
-
exports["ɵib"] =
|
|
22586
|
-
exports["ɵic"] =
|
|
22587
|
-
exports["ɵid"] =
|
|
22588
|
-
exports["ɵie"] =
|
|
22589
|
-
exports["ɵif"] =
|
|
22590
|
-
exports["ɵig"] =
|
|
22591
|
-
exports["ɵih"] =
|
|
22592
|
-
exports["ɵii"] =
|
|
22593
|
-
exports["ɵij"] =
|
|
22594
|
-
exports["ɵik"] =
|
|
22595
|
-
exports["ɵil"] =
|
|
22596
|
-
exports["ɵim"] =
|
|
22597
|
-
exports["ɵin"] =
|
|
22598
|
-
exports["ɵio"] =
|
|
22599
|
-
exports["ɵip"] =
|
|
22600
|
-
exports["ɵiq"] =
|
|
22601
|
-
exports["ɵir"] =
|
|
22602
|
-
exports["ɵis"] =
|
|
22603
|
-
exports["ɵit"] =
|
|
22604
|
-
exports["ɵiu"] =
|
|
22605
|
-
exports["ɵiv"] =
|
|
22606
|
-
exports["ɵiw"] =
|
|
22607
|
-
exports["ɵix"] =
|
|
22608
|
-
exports["ɵiy"] =
|
|
22609
|
-
exports["ɵiz"] =
|
|
23599
|
+
exports["ɵia"] = TransactionLineActionButtonsComponent;
|
|
23600
|
+
exports["ɵib"] = TransactionBaseGridComponent;
|
|
23601
|
+
exports["ɵic"] = TransactionGridBaseComponent;
|
|
23602
|
+
exports["ɵid"] = DialogTransactionLineCommissionCodeModule;
|
|
23603
|
+
exports["ɵie"] = DialogTransactionLineCommissionCodeComponent;
|
|
23604
|
+
exports["ɵif"] = DialogTransactionLineBaseComponent;
|
|
23605
|
+
exports["ɵig"] = DialogTransactionLineWarehouseModule;
|
|
23606
|
+
exports["ɵih"] = DialogTransactionLineWarehouseComponent;
|
|
23607
|
+
exports["ɵii"] = DialogTransactionLineWarehouseCcModule;
|
|
23608
|
+
exports["ɵij"] = DialogTransactionLineWarehouseCcComponent;
|
|
23609
|
+
exports["ɵik"] = DialogTransactionLineDeliveryMethodModule;
|
|
23610
|
+
exports["ɵil"] = DialogTransactionLineDeliveryMethodComponent;
|
|
23611
|
+
exports["ɵim"] = DialogTransactionLineVatModule;
|
|
23612
|
+
exports["ɵin"] = DialogTransactionLineVatComponent;
|
|
23613
|
+
exports["ɵio"] = DialogTransactionLineDiscountModule;
|
|
23614
|
+
exports["ɵip"] = DialogTransactionLinePriceListModule;
|
|
23615
|
+
exports["ɵiq"] = DialogTransactionLinePriceListComponent;
|
|
23616
|
+
exports["ɵir"] = DialogTransactionLineDiscountComponent;
|
|
23617
|
+
exports["ɵis"] = TransactionLinesGridComponent;
|
|
23618
|
+
exports["ɵit"] = DiscountModule;
|
|
23619
|
+
exports["ɵiu"] = DiscountComponent;
|
|
23620
|
+
exports["ɵiv"] = TransactionQuickAccessOverviewModule;
|
|
23621
|
+
exports["ɵiw"] = TransactionQuickAccessOverviewComponent;
|
|
23622
|
+
exports["ɵix"] = TransactionQuickAccessOrderDeliveryModule;
|
|
23623
|
+
exports["ɵiy"] = TransactionSendButtonDialogModule;
|
|
23624
|
+
exports["ɵiz"] = TransactionSendButtonDialogComponent;
|
|
22610
23625
|
exports["ɵj"] = CacheField;
|
|
22611
|
-
exports["ɵja"] =
|
|
22612
|
-
exports["ɵjb"] =
|
|
22613
|
-
exports["ɵjc"] =
|
|
22614
|
-
exports["ɵjd"] =
|
|
22615
|
-
exports["ɵje"] =
|
|
22616
|
-
exports["ɵjf"] =
|
|
22617
|
-
exports["ɵjg"] =
|
|
22618
|
-
exports["ɵjh"] =
|
|
22619
|
-
exports["ɵji"] =
|
|
22620
|
-
exports["ɵjj"] =
|
|
22621
|
-
exports["ɵjk"] =
|
|
22622
|
-
exports["ɵjl"] =
|
|
22623
|
-
exports["ɵjm"] =
|
|
22624
|
-
exports["ɵjn"] =
|
|
22625
|
-
exports["ɵjo"] =
|
|
22626
|
-
exports["ɵjp"] =
|
|
22627
|
-
exports["ɵjq"] =
|
|
22628
|
-
exports["ɵjr"] =
|
|
22629
|
-
exports["ɵjs"] =
|
|
22630
|
-
exports["ɵjt"] =
|
|
22631
|
-
exports["ɵju"] =
|
|
22632
|
-
exports["ɵjv"] =
|
|
22633
|
-
exports["ɵjw"] =
|
|
22634
|
-
exports["ɵjx"] =
|
|
22635
|
-
exports["ɵjy"] =
|
|
22636
|
-
exports["ɵjz"] =
|
|
23626
|
+
exports["ɵja"] = TransactionQuickAccessOrderDeliveryComponent;
|
|
23627
|
+
exports["ɵjb"] = TransactionQuickAccessOrderPurchaseModule;
|
|
23628
|
+
exports["ɵjc"] = TransactionQuickAccessOrderPurchaseComponent;
|
|
23629
|
+
exports["ɵjd"] = TransactionOrderConfirmationGridModule;
|
|
23630
|
+
exports["ɵje"] = TransactionOrderConfirmationGridComponent;
|
|
23631
|
+
exports["ɵjf"] = TransactionReceivedGoodsGridModule;
|
|
23632
|
+
exports["ɵjg"] = DialogTransactionLineWarehouseLocationModule;
|
|
23633
|
+
exports["ɵjh"] = TransactionLineWarehouseLocationModule;
|
|
23634
|
+
exports["ɵji"] = TransactionLineWarehouseLocationComponent;
|
|
23635
|
+
exports["ɵjj"] = DialogTransactionLineWarehouseLocationComponent;
|
|
23636
|
+
exports["ɵjk"] = TransactionLineWarehouseLocationButtonModule;
|
|
23637
|
+
exports["ɵjl"] = TransactionLineWarehouseLocationButtonComponent;
|
|
23638
|
+
exports["ɵjm"] = TransactionReceivedGoodsGridComponent;
|
|
23639
|
+
exports["ɵjn"] = ViewModeButtonsModule;
|
|
23640
|
+
exports["ɵjo"] = ViewModeButtonsComponent;
|
|
23641
|
+
exports["ɵjp"] = TransactionGridModule;
|
|
23642
|
+
exports["ɵjq"] = TransactionGridComponent;
|
|
23643
|
+
exports["ɵjr"] = TransactionTileModule;
|
|
23644
|
+
exports["ɵjs"] = TransactionTileComponent;
|
|
23645
|
+
exports["ɵjt"] = TransactionOverviewLineModule;
|
|
23646
|
+
exports["ɵju"] = EditableLabelModule;
|
|
23647
|
+
exports["ɵjv"] = EditableLabelComponent;
|
|
23648
|
+
exports["ɵjw"] = TransactionBaseLineModule;
|
|
23649
|
+
exports["ɵjx"] = TransactionBaseLineComponent;
|
|
23650
|
+
exports["ɵjy"] = TransactionLinesLineBaseComponent;
|
|
23651
|
+
exports["ɵjz"] = TransactionLineCommissionButtonModule;
|
|
22637
23652
|
exports["ɵk"] = SelectMultipleParameterizedCacheService;
|
|
22638
|
-
exports["ɵka"] =
|
|
22639
|
-
exports["ɵkb"] =
|
|
22640
|
-
exports["ɵkc"] =
|
|
22641
|
-
exports["ɵkd"] =
|
|
22642
|
-
exports["ɵke"] =
|
|
22643
|
-
exports["ɵkf"] =
|
|
22644
|
-
exports["ɵkg"] =
|
|
22645
|
-
exports["ɵkh"] =
|
|
22646
|
-
exports["ɵki"] =
|
|
22647
|
-
exports["ɵkj"] =
|
|
22648
|
-
exports["ɵkk"] =
|
|
22649
|
-
exports["ɵkl"] =
|
|
22650
|
-
exports["ɵkm"] =
|
|
22651
|
-
exports["ɵkn"] =
|
|
22652
|
-
exports["ɵko"] =
|
|
22653
|
-
exports["ɵkp"] =
|
|
22654
|
-
exports["ɵkq"] =
|
|
22655
|
-
exports["ɵkr"] =
|
|
22656
|
-
exports["ɵks"] =
|
|
22657
|
-
exports["ɵkt"] =
|
|
22658
|
-
exports["ɵku"] =
|
|
22659
|
-
exports["ɵkv"] =
|
|
22660
|
-
exports["ɵkw"] =
|
|
22661
|
-
exports["ɵkx"] =
|
|
22662
|
-
exports["ɵky"] =
|
|
22663
|
-
exports["ɵkz"] =
|
|
23653
|
+
exports["ɵka"] = TransactionLineCommissionButtonComponent;
|
|
23654
|
+
exports["ɵkb"] = TransactionLineWarehouseButtonModule;
|
|
23655
|
+
exports["ɵkc"] = TransactionLineWarehouseButtonComponent;
|
|
23656
|
+
exports["ɵkd"] = TransactionLineDeliveryButtonModule;
|
|
23657
|
+
exports["ɵke"] = TransactionLineDeliveryButtonComponent;
|
|
23658
|
+
exports["ɵkf"] = TransactionLineDeliveryDateButtonModule;
|
|
23659
|
+
exports["ɵkg"] = TransactionLineDeliveryDateButtonComponent;
|
|
23660
|
+
exports["ɵkh"] = TransactionLineAmountModule;
|
|
23661
|
+
exports["ɵki"] = TransactionLineAmountComponent;
|
|
23662
|
+
exports["ɵkj"] = TransactionOverviewLineComponent;
|
|
23663
|
+
exports["ɵkk"] = TransactionOrderDeliveryLineModule;
|
|
23664
|
+
exports["ɵkl"] = TransactionOrderDeliveryLineComponent;
|
|
23665
|
+
exports["ɵkm"] = TransactionReceiveGoodsLineModule;
|
|
23666
|
+
exports["ɵkn"] = TransactionReceiveGoodsLineComponent;
|
|
23667
|
+
exports["ɵko"] = TransactionPurchaseLineModule;
|
|
23668
|
+
exports["ɵkp"] = TransactionLineSupplierButtonModule;
|
|
23669
|
+
exports["ɵkq"] = DialogTransactionLineSupplierModule;
|
|
23670
|
+
exports["ɵkr"] = DialogTransactionLineSupplierComponent;
|
|
23671
|
+
exports["ɵks"] = TransactionLineSupplierButtonComponent;
|
|
23672
|
+
exports["ɵkt"] = TransactionPurchaseLineComponent;
|
|
23673
|
+
exports["ɵku"] = TransactionSearchResultModule;
|
|
23674
|
+
exports["ɵkv"] = TransactionSearchSalesOrderTileModule;
|
|
23675
|
+
exports["ɵkw"] = TransactionSearchSalesOrderTileComponent;
|
|
23676
|
+
exports["ɵkx"] = TransactionSearchTileBaseComponent;
|
|
23677
|
+
exports["ɵky"] = TransactionSearchPurchaseOrderTileModule;
|
|
23678
|
+
exports["ɵkz"] = TransactionSearchPurchaseOrderTileComponent;
|
|
22664
23679
|
exports["ɵl"] = ErrorService;
|
|
22665
|
-
exports["ɵla"] =
|
|
22666
|
-
exports["ɵlb"] =
|
|
22667
|
-
exports["ɵlc"] =
|
|
22668
|
-
exports["ɵld"] =
|
|
22669
|
-
exports["ɵle"] =
|
|
22670
|
-
exports["ɵlf"] =
|
|
22671
|
-
exports["ɵlg"] =
|
|
22672
|
-
exports["ɵlh"] =
|
|
22673
|
-
exports["ɵli"] =
|
|
22674
|
-
exports["ɵlj"] =
|
|
22675
|
-
exports["ɵlk"] =
|
|
22676
|
-
exports["ɵll"] =
|
|
22677
|
-
exports["ɵlm"] =
|
|
22678
|
-
exports["ɵln"] =
|
|
22679
|
-
exports["ɵlo"] =
|
|
22680
|
-
exports["ɵlp"] =
|
|
22681
|
-
exports["ɵlq"] =
|
|
22682
|
-
exports["ɵlr"] =
|
|
22683
|
-
exports["ɵls"] =
|
|
22684
|
-
exports["ɵlt"] =
|
|
22685
|
-
exports["ɵlu"] =
|
|
23680
|
+
exports["ɵla"] = TransactionSearchSalesOrderGridModule;
|
|
23681
|
+
exports["ɵlb"] = TransactionSearchSalesOrderGridComponent;
|
|
23682
|
+
exports["ɵlc"] = TransactionSearchGridBaseComponent;
|
|
23683
|
+
exports["ɵld"] = TransactionSearchPurchaseOrderGridModule;
|
|
23684
|
+
exports["ɵle"] = TransactionSearchPurchaseOrderGridComponent;
|
|
23685
|
+
exports["ɵlf"] = TransactionSearchHeaderModule;
|
|
23686
|
+
exports["ɵlg"] = TransactionSearchHeaderComponent;
|
|
23687
|
+
exports["ɵlh"] = TransactionSearchGridModule;
|
|
23688
|
+
exports["ɵli"] = TransactionSearchGridComponent;
|
|
23689
|
+
exports["ɵlj"] = TransactionSearchTileModule;
|
|
23690
|
+
exports["ɵlk"] = TransactionSearchTileComponent;
|
|
23691
|
+
exports["ɵll"] = TransactionSearchResultComponent;
|
|
23692
|
+
exports["ɵlm"] = TransactionSalesOrderFilterModule;
|
|
23693
|
+
exports["ɵln"] = TransactionSalesOrderFilterContentOrderModule;
|
|
23694
|
+
exports["ɵlo"] = TransactionFilterItemModule;
|
|
23695
|
+
exports["ɵlp"] = TransactionFilterItemComponent;
|
|
23696
|
+
exports["ɵlq"] = TransactionSalesOrderFilterContentOrderComponent;
|
|
23697
|
+
exports["ɵlr"] = TransactionFilterContentBaseComponent;
|
|
23698
|
+
exports["ɵls"] = FilterRequestService;
|
|
23699
|
+
exports["ɵlt"] = TransactionSalesOrderFilterContentLogisticsModule;
|
|
23700
|
+
exports["ɵlu"] = TransactionFilterHistoricStateModule;
|
|
23701
|
+
exports["ɵlv"] = TransactionFilterHistoricStateComponent;
|
|
23702
|
+
exports["ɵlw"] = TransactionSalesOrderFilterContentLogisticsComponent;
|
|
23703
|
+
exports["ɵlx"] = TransactionSalesOrderFilterContentArticleModule;
|
|
23704
|
+
exports["ɵly"] = TransactionSalesOrderFilterContentArticleComponent;
|
|
23705
|
+
exports["ɵlz"] = TransactionSalesOrderFilterComponent;
|
|
22686
23706
|
exports["ɵm"] = SelectSingleCacheService;
|
|
23707
|
+
exports["ɵma"] = TransactionFilterBaseComponent;
|
|
23708
|
+
exports["ɵmb"] = TransactionPurchaseOrderFilterModule;
|
|
23709
|
+
exports["ɵmc"] = TransactionPurchaseOrderFilterContentOrderModule;
|
|
23710
|
+
exports["ɵmd"] = TransactionPurchaseOrderFilterContentOrderComponent;
|
|
23711
|
+
exports["ɵme"] = TransactionPurchaseOrderFilterContentLogisticsModule;
|
|
23712
|
+
exports["ɵmf"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
|
|
23713
|
+
exports["ɵmg"] = TransactionPurchaseOrderFilterContentArticleModule;
|
|
23714
|
+
exports["ɵmh"] = TransactionPurchaseOrderFilterContentArticleComponent;
|
|
23715
|
+
exports["ɵmi"] = TransactionPurchaseOrderFilterComponent;
|
|
23716
|
+
exports["ɵmj"] = TransactionFilterModule;
|
|
23717
|
+
exports["ɵmk"] = TransactionFilterComponent;
|
|
22687
23718
|
exports["ɵn"] = ArticleConnectorService;
|
|
22688
|
-
exports["ɵo"] =
|
|
22689
|
-
exports["ɵp"] =
|
|
22690
|
-
exports["ɵq"] =
|
|
22691
|
-
exports["ɵr"] =
|
|
22692
|
-
exports["ɵs"] =
|
|
22693
|
-
exports["ɵt"] =
|
|
22694
|
-
exports["ɵu"] =
|
|
22695
|
-
exports["ɵv"] =
|
|
22696
|
-
exports["ɵw"] =
|
|
22697
|
-
exports["ɵx"] =
|
|
22698
|
-
exports["ɵy"] =
|
|
22699
|
-
exports["ɵz"] =
|
|
23719
|
+
exports["ɵo"] = TransactionEventService;
|
|
23720
|
+
exports["ɵp"] = CoreModule;
|
|
23721
|
+
exports["ɵq"] = ConfirmationDialogModule;
|
|
23722
|
+
exports["ɵr"] = PipeModule;
|
|
23723
|
+
exports["ɵs"] = AppendPipe;
|
|
23724
|
+
exports["ɵt"] = DeliveryTimePipe;
|
|
23725
|
+
exports["ɵu"] = DateDurationPipe;
|
|
23726
|
+
exports["ɵv"] = LocalizePipe;
|
|
23727
|
+
exports["ɵw"] = CoCurrencyPipe;
|
|
23728
|
+
exports["ɵx"] = SafeStylePipe;
|
|
23729
|
+
exports["ɵy"] = SafeHtmlPipe;
|
|
23730
|
+
exports["ɵz"] = ConfirmationDialogComponent;
|
|
22700
23731
|
|
|
22701
23732
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
22702
23733
|
|