@colijnit/transaction 12.1.55 → 12.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/colijnit-transaction.umd.js +661 -388
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +221 -219
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +222 -220
- package/esm2015/lib/assets/dictionary/text.properties.js +3 -1
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +2 -2
- package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.js +2 -2
- package/esm2015/lib/component/core/base/components/warehouse/warehouse.component.js +2 -2
- package/esm2015/lib/component/core/base/transaction-base.component.js +4 -2
- package/esm2015/lib/component/core/base/transaction-line-base.component.js +5 -1
- package/esm2015/lib/component/dialog/dialog-header-search/dialog-header-search.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.js +4 -4
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/dialog-transaction-line-commission-code.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +2 -2
- package/esm2015/lib/component/discount/discount.component.js +2 -2
- package/esm2015/lib/component/down-payment/down-payment.component.js +71 -0
- package/esm2015/lib/component/down-payment/down-payment.module.js +25 -0
- package/esm2015/lib/component/payment/payment.component.js +54 -35
- package/esm2015/lib/component/payment/payment.module.js +4 -2
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +2 -2
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +2 -2
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +2 -2
- package/esm2015/lib/component/transaction/transaction.component.js +14 -4
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +3 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +27 -6
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-amount.component.js +5 -5
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.component.js +5 -5
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.js +34 -23
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +14 -14
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.module.js +4 -3
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +13 -13
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +10 -4
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.js +4 -2
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +2 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +7 -4
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +23 -6
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +4 -3
- package/esm2015/lib/component/transaction-totals/transaction-totals.component.js +3 -3
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/down-payment-view-model.js +7 -0
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/service/dynamic-component.service.js +4 -1
- package/esm2015/lib/service/payment.service.js +39 -4
- package/esm2015/lib/service/transaction-connector-adapter.service.js +14 -1
- package/fesm2015/colijnit-transaction.js +412 -172
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/components/characteristic-answer/style/_layout.scss +1 -1
- package/lib/component/core/base/components/warehouse/style/_layout.scss +1 -1
- package/lib/component/core/base/transaction-line-base.component.d.ts +1 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-vat/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_layout.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/style/_layout.scss +1 -1
- package/lib/component/down-payment/down-payment.component.d.ts +16 -0
- package/lib/component/down-payment/down-payment.module.d.ts +2 -0
- package/lib/component/down-payment/style/_layout.scss +62 -0
- package/lib/component/down-payment/style/_material-definition.scss +20 -0
- package/lib/component/down-payment/style/_theme.scss +4 -0
- package/lib/component/down-payment/style/material.scss +4 -0
- package/lib/component/payment/payment.component.d.ts +8 -1
- package/lib/component/payment/style/_layout.scss +26 -5
- package/lib/component/payment/style/_material-definition.scss +3 -0
- package/lib/component/payment/style/material.scss +1 -0
- package/lib/component/relation/relation-addresses/style/_layout.scss +1 -1
- package/lib/component/transaction/transaction.component.d.ts +6 -2
- package/lib/component/transaction-button-bar/style/_material-definition.scss +2 -1
- package/lib/component/transaction-button-bar/style/_theme.scss +21 -0
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +7 -1
- package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +15 -3
- package/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.d.ts +2 -1
- package/lib/component/transaction-line/transaction-receive-goods-line/style/_layout.scss +1 -2
- package/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.d.ts +3 -3
- package/lib/component/transaction-line-action-buttons/style/_layout.scss +29 -18
- package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +14 -8
- package/lib/component/transaction-line-action-buttons/style/_theme.scss +4 -4
- package/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.d.ts +2 -0
- package/lib/component/transaction-line-image-and-description/style/_layout.scss +1 -0
- package/lib/component/transaction-line-image-and-description/style/_material-definition.scss +1 -0
- package/lib/component/transaction-line-image-and-description/style/_theme.scss +3 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +6 -4
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +7 -2
- package/lib/component/transaction-receiving-goods-details/style/_layout.scss +10 -7
- package/lib/component/transaction-receiving-goods-details/style/_material-definition.scss +3 -3
- package/lib/component/transaction-receiving-goods-history/style/_layout.scss +1 -1
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/model/down-payment-view-model.d.ts +7 -0
- package/lib/service/dynamic-component.service.d.ts +2 -1
- package/lib/service/payment.service.d.ts +7 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +2 -0
- package/lib/style/_variables.scss +18 -2
- package/lib/style/transaction-globals.scss +4 -3
- package/package.json +3 -6
|
@@ -1,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/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/
|
|
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/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/
|
|
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.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.
|
|
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, 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,
|
|
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';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
26
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
/*! *****************************************************************************
|
|
29
29
|
Copyright (c) Microsoft Corporation.
|
|
30
30
|
|
|
31
31
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
function step(op) {
|
|
124
124
|
if (f)
|
|
125
125
|
throw new TypeError("Generator is already executing.");
|
|
126
|
-
while (
|
|
126
|
+
while (_)
|
|
127
127
|
try {
|
|
128
128
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
129
129
|
return t;
|
|
@@ -187,11 +187,7 @@
|
|
|
187
187
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
188
188
|
if (k2 === undefined)
|
|
189
189
|
k2 = k;
|
|
190
|
-
|
|
191
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
192
|
-
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
193
|
-
}
|
|
194
|
-
Object.defineProperty(o, k2, desc);
|
|
190
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
195
191
|
}) : (function (o, m, k, k2) {
|
|
196
192
|
if (k2 === undefined)
|
|
197
193
|
k2 = k;
|
|
@@ -345,11 +341,6 @@
|
|
|
345
341
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
346
342
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
347
343
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
348
|
-
}
|
|
349
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
350
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
351
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
352
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
353
344
|
}
|
|
354
345
|
|
|
355
346
|
var LanguageCode;
|
|
@@ -662,6 +653,7 @@
|
|
|
662
653
|
"PAYMENT": "Betaling",
|
|
663
654
|
"PAYMENT_INFORMATION": "Betaalinformatie",
|
|
664
655
|
"PAYMENT_METHOD": "Betaalmethode",
|
|
656
|
+
"PAYMENTS_MADE": "Verrichte betalingen",
|
|
665
657
|
"PERSONAL_DATA": "Basisgegevens",
|
|
666
658
|
"PICKED": "Gepickt",
|
|
667
659
|
"PHONE_NO": "Telefoonnummer",
|
|
@@ -1009,6 +1001,7 @@
|
|
|
1009
1001
|
"PAYMENT": "Payment",
|
|
1010
1002
|
"PAYMENT_INFORMATION": "Payment information",
|
|
1011
1003
|
"PAYMENT_METHOD": "Payment method",
|
|
1004
|
+
"PAYMENTS_MADE": "Payments made",
|
|
1012
1005
|
"PERSONAL_DATA": "Personal data",
|
|
1013
1006
|
"PHONE_NO": "Telephone number",
|
|
1014
1007
|
"PLANNING": "Planning",
|
|
@@ -2431,6 +2424,7 @@
|
|
|
2431
2424
|
Icon["EllipsisLight"] = "ellipsis_light";
|
|
2432
2425
|
Icon["FileCircleInfoSolid"] = "file_circle_info_solid";
|
|
2433
2426
|
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
2427
|
+
Icon["GearSolid"] = "gear_solid";
|
|
2434
2428
|
Icon["GripDotsVerticalSolid"] = "grip_dots_vertical_solid";
|
|
2435
2429
|
Icon["IdealLogo"] = "ideal_logo";
|
|
2436
2430
|
Icon["InboxInSolid"] = "inbox_in_solid";
|
|
@@ -2501,6 +2495,7 @@
|
|
|
2501
2495
|
"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>",
|
|
2502
2496
|
"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>",
|
|
2503
2497
|
"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
|
+
"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>",
|
|
2504
2499
|
"grip_dots_vertical_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><path d=\"M48 144c26.5 0 48-21.5 48-48s-21.5-48-48-48S0 69.5 0 96s21.5 48 48 48zm0 160c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM96 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 144c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48 112c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z\"/></svg>",
|
|
2505
2500
|
"ideal_logo": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 306.1 269.8\" style=\"enable-background:new 0 0 306.1 269.8;\" ><style type=\"text/css\">.st0{fill:#FFFFFF;}.st1{fill:#CC0066;}</style><g><g><path class=\"st0\" d=\"M0,20v229.8c0,11,9,20,20,20h137.3c103.8,0,148.8-58.1,148.8-135.2C306.1,57.9,261.1,0,157.3,0H20C9,0,0,9,0,20z\"/><path class=\"st1\" d=\"M91.9,56.4v169.8h73.9c67.1,0,96.2-37.9,96.2-91.5c0-51.3-29.1-91.1-96.2-91.1h-61.1C97.6,43.6,91.9,49.4,91.9,56.4z\"/><g><g><path d=\"M157.3,251.5H37.9c-10.6,0-19.2-8.6-19.2-19.2V37.6c0-10.6,8.6-19.2,19.2-19.2h119.4c113.3,0,130.2,72.9,130.2,116.3C287.5,210,241.2,251.5,157.3,251.5z M37.9,24.8c-7.1,0-12.8,5.7-12.8,12.8v194.7c0,7.1,5.7,12.8,12.8,12.8h119.4c79.8,0,123.8-39.2,123.8-110.4c0-95.6-77.6-109.9-123.8-109.9H37.9z\"/></g></g></g><g><path class=\"st0\" d=\"M117.9,111.8c2.6,0,5,0.4,7.3,1.2c2.3,0.8,4.2,2.1,5.9,3.7c1.6,1.7,2.9,3.8,3.9,6.2c0.9,2.5,1.4,5.4,1.4,8.8c0,3-0.4,5.7-1.1,8.2c-0.8,2.5-1.9,4.7-3.4,6.5c-1.5,1.8-3.4,3.2-5.7,4.3c-2.3,1-5,1.6-8.1,1.6h-17.5v-40.6H117.9z M117.3,144.9c1.3,0,2.5-0.2,3.8-0.6c1.2-0.4,2.3-1.1,3.2-2.1c0.9-1,1.7-2.2,2.3-3.8c0.6-1.6,0.9-3.4,0.9-5.7c0-2-0.2-3.9-0.6-5.5c-0.4-1.6-1.1-3.1-2-4.2s-2.1-2.1-3.6-2.7c-1.5-0.6-3.3-0.9-5.5-0.9h-6.4v25.6H117.3z\"/><path class=\"st0\" d=\"M172.5,111.8v7.5h-21.4v8.7h19.7v6.9h-19.7v9.9H173v7.5h-30.8v-40.6H172.5z\"/><path class=\"st0\" d=\"M203.1,111.8l15.2,40.6H209l-3.1-9h-15.2l-3.2,9h-9l15.3-40.6H203.1z M203.6,136.7l-5.1-14.9h-0.1l-5.3,14.9H203.6z\"/><path class=\"st0\" d=\"M232.8,111.8v33.1h19.8v7.5h-28.7v-40.6H232.8z\"/></g><g><circle cx=\"58.5\" cy=\"132.1\" r=\"18.7\"/></g><path d=\"M72.6,226.2L72.6,226.2c-15.7,0-28.3-12.7-28.3-28.3v-22.1c0-7.8,6.3-14.2,14.2-14.2h0c7.8,0,14.2,6.3,14.2,14.2V226.2z\"/></g></svg>",
|
|
2506
2501
|
"inbox_in_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M288 32V210.7l41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7V32c0-17.7 14.3-32 32-32s32 14.3 32 32zM48 320h76.2c12.1 0 23.2 6.8 28.6 17.7l14.3 28.6c5.4 10.8 16.5 17.7 28.6 17.7H316.2c12.1 0 23.2-6.8 28.6-17.7l14.3-28.6c5.4-10.8 16.5-17.7 28.6-17.7H464c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48z\"/></svg>",
|
|
@@ -2625,7 +2620,7 @@
|
|
|
2625
2620
|
ConfirmationDialogComponent.decorators = [
|
|
2626
2621
|
{ type: i0.Component, args: [{
|
|
2627
2622
|
selector: "co-confirmation-dialog",
|
|
2628
|
-
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=\"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 ",
|
|
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 ",
|
|
2629
2624
|
encapsulation: i0.ViewEncapsulation.None
|
|
2630
2625
|
},] }
|
|
2631
2626
|
];
|
|
@@ -2690,7 +2685,7 @@
|
|
|
2690
2685
|
CharacteristicAnswerComponent.decorators = [
|
|
2691
2686
|
{ type: i0.Component, args: [{
|
|
2692
2687
|
selector: "co-characteristic-answer",
|
|
2693
|
-
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=\"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 ",
|
|
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 ",
|
|
2694
2689
|
encapsulation: i0.ViewEncapsulation.None
|
|
2695
2690
|
},] }
|
|
2696
2691
|
];
|
|
@@ -2885,6 +2880,10 @@
|
|
|
2885
2880
|
// overridden by descendents
|
|
2886
2881
|
TransactionLineBaseComponent.prototype.transactionInfoSet = function () {
|
|
2887
2882
|
};
|
|
2883
|
+
TransactionLineBaseComponent.prototype.stopPropagation = function (event) {
|
|
2884
|
+
event.preventDefault();
|
|
2885
|
+
event.stopPropagation();
|
|
2886
|
+
};
|
|
2888
2887
|
return TransactionLineBaseComponent;
|
|
2889
2888
|
}(TransactionFilterPopupBaseComponent));
|
|
2890
2889
|
TransactionLineBaseComponent.decorators = [
|
|
@@ -2962,7 +2961,7 @@
|
|
|
2962
2961
|
DialogTransactionLineCommissionCodeComponent.decorators = [
|
|
2963
2962
|
{ type: i0.Component, args: [{
|
|
2964
2963
|
selector: "co-dialog-transaction-line-commission-code",
|
|
2965
|
-
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=\"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 ",
|
|
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 ",
|
|
2966
2965
|
encapsulation: i0.ViewEncapsulation.None
|
|
2967
2966
|
},] }
|
|
2968
2967
|
];
|
|
@@ -2977,6 +2976,9 @@
|
|
|
2977
2976
|
this.injector = injector;
|
|
2978
2977
|
this._componentRefs = [];
|
|
2979
2978
|
}
|
|
2979
|
+
DynamicComponentService.prototype.getComponentRefs = function () {
|
|
2980
|
+
return this._componentRefs;
|
|
2981
|
+
};
|
|
2980
2982
|
DynamicComponentService.prototype.createComponent = function (componentClass, inputs, outputs, providers) {
|
|
2981
2983
|
var _this = this;
|
|
2982
2984
|
return new Promise(function (resolve) {
|
|
@@ -3101,7 +3103,7 @@
|
|
|
3101
3103
|
DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
3102
3104
|
{ type: i0.Component, args: [{
|
|
3103
3105
|
selector: "co-dialog-transaction-line-warehouse-cc",
|
|
3104
|
-
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=\"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 ",
|
|
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 ",
|
|
3105
3107
|
encapsulation: i0.ViewEncapsulation.None
|
|
3106
3108
|
},] }
|
|
3107
3109
|
];
|
|
@@ -5219,6 +5221,26 @@
|
|
|
5219
5221
|
});
|
|
5220
5222
|
});
|
|
5221
5223
|
};
|
|
5224
|
+
TransactionConnectorAdapterService.prototype.getDownPaymentInfo = function (uuid) {
|
|
5225
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5226
|
+
var response;
|
|
5227
|
+
return __generator(this, function (_a) {
|
|
5228
|
+
switch (_a.label) {
|
|
5229
|
+
case 0: return [4 /*yield*/, this.connector.getDownPaymentInfo(uuid)];
|
|
5230
|
+
case 1:
|
|
5231
|
+
response = _a.sent();
|
|
5232
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
5233
|
+
return [2 /*return*/, this._boFactory.makeWithRawBackendData(transactionDownPaymentInfo_bo.TransactionDownPaymentInfo, response.resultObject)];
|
|
5234
|
+
}
|
|
5235
|
+
else {
|
|
5236
|
+
this._handleExceptionFromResponse(response);
|
|
5237
|
+
return [2 /*return*/, null];
|
|
5238
|
+
}
|
|
5239
|
+
return [2 /*return*/];
|
|
5240
|
+
}
|
|
5241
|
+
});
|
|
5242
|
+
});
|
|
5243
|
+
};
|
|
5222
5244
|
TransactionConnectorAdapterService.prototype.getGoodsReceiptStatus = function (transId, lineNr) {
|
|
5223
5245
|
return __awaiter(this, void 0, void 0, function () {
|
|
5224
5246
|
var response;
|
|
@@ -8937,7 +8959,7 @@
|
|
|
8937
8959
|
WarehouseComponent.decorators = [
|
|
8938
8960
|
{ type: i0.Component, args: [{
|
|
8939
8961
|
selector: "co-warehouse",
|
|
8940
|
-
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=\"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 ",
|
|
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 ",
|
|
8941
8963
|
encapsulation: i0.ViewEncapsulation.None
|
|
8942
8964
|
},] }
|
|
8943
8965
|
];
|
|
@@ -9702,7 +9724,7 @@
|
|
|
9702
9724
|
TransactionTotalsComponent.decorators = [
|
|
9703
9725
|
{ type: i0.Component, args: [{
|
|
9704
9726
|
selector: "co-transaction-totals",
|
|
9705
|
-
template: "\n <div class=\"transaction-totals-wrapper\">\n <span class=\"totals-gross label\" [textContent]=\"'ORDER_GROSS' | localize\"></span>\n <span class=\"totals-gross value\" [textContent]=\"transactionTotal?.grossAmount | coCurrency: true\"></span>\n <ng-container *ngIf=\"transactionTotal?.
|
|
9727
|
+
template: "\n <div class=\"transaction-totals-wrapper\">\n <span class=\"totals-gross label\" [textContent]=\"'ORDER_GROSS' | localize\"></span>\n <span class=\"totals-gross value\" [textContent]=\"transactionTotal?.grossAmount | coCurrency: true\"></span>\n <ng-container *ngIf=\"transactionTotal?.totalDiscountAmount\">\n <span class=\"totals-discount-amount label\" [textContent]=\"'DISCOUNT_AMOUNT' | localize\"></span>\n <span class=\"totals-discount-amount value\" [class.transaction-negative-value]=\"transactionTotal?.totalDiscountAmount < 0\" [textContent]=\"transactionTotal?.totalDiscountAmount | coCurrency: true\"></span>\n </ng-container>\n <ng-container *ngIf=\"transactionTotal?.transactionDiscountAmount\">\n <span class=\"totals-discount label\" [textContent]=\"'TRANSACTION_DISCOUNT' | localize\"></span>\n <span class=\"totals-discount value\" [class.transaction-negative-value]=\"transactionTotal?.transactionDiscountAmount < 0\" [textContent]=\"transactionTotal?.transactionDiscountAmount | coCurrency: true\"></span>\n </ng-container>\n <ng-container *ngIf=\"transactionTotal?.transactionDiscountPercentage\">\n <span class=\"totals-discount-percentage label\" [textContent]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"></span>\n <span class=\"totals-discount-percentage value\" [class.transaction-negative-value]=\"transactionTotal?.transactionDiscountPercentage < 0\" [textContent]=\"transactionTotal?.transactionDiscountPercentage.toString() | append:' %'\"></span>\n </ng-container>\n <span class=\"totals-net label\" [textContent]=\"'ORDER_NET'| localize\"></span>\n <span class=\"totals-net value\" [textContent]=\"transactionTotal?.netAmount | coCurrency: true\"></span>\n <a *ngIf=\"showDiscount\" class=\"add-discount label\" (click)=\"showDiscountDialog = true\" [textContent]=\"'ADD_DISCOUNTS' | localize\"></a>\n </div>\n <co-dialog-transaction-header-discount class=\"discount-dialog\" *ngIf=\"showDiscountDialog\"\n [transactionInfo]=\"transactionInfo\"\n [transactionTotal]=\"transactionTotal\"\n (close)=\"showDiscountDialog = false\">\n </co-dialog-transaction-header-discount>\n ",
|
|
9706
9728
|
encapsulation: i0.ViewEncapsulation.None
|
|
9707
9729
|
},] }
|
|
9708
9730
|
];
|
|
@@ -9832,7 +9854,7 @@
|
|
|
9832
9854
|
DialogTransactionHeaderDiscountComponent.decorators = [
|
|
9833
9855
|
{ type: i0.Component, args: [{
|
|
9834
9856
|
selector: "co-dialog-transaction-header-discount",
|
|
9835
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <div class=\"transaction-discount-wrapper co-transaction-small-toolbar\">\n <div class=\"two-column-grid\">\n <co-transaction-header-discount-percentage [transactionInfo]=\"transactionInfo\" [transactionTotal]=\"transactionTotal\"></co-transaction-header-discount-percentage>\n <co-transaction-header-discount-amount [transactionInfo]=\"transactionInfo\" [transactionTotal]=\"transactionTotal\"></co-transaction-header-discount-amount>\n </div>\n <div class=\"two-column-grid\">\n <co-transaction-header-discount-transaction-total [transactionInfo]=\"transactionInfo\" [transactionTotal]=\"transactionTotal\"></co-transaction-header-discount-transaction-total>\n <div class=\"transaction-line-button custom-width\" (click)=\"redistributeDiscount()\">\n <span class=\"co-transaction-overflow-ellipsis transaction-discount\"\n [textContent]=\"'REDISTRIBUTE_DISCOUNT' | localize\"></span>\n </div>\n </div>\n <div class=\"transaction-discount-overview\">\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'ORDER_GROSS' | localize\"></div>\n <div class=\"value\" [textContent]=\"transactionTotal.grossAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionTotal.
|
|
9857
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <div class=\"transaction-discount-wrapper co-transaction-small-toolbar\">\n <div class=\"two-column-grid\">\n <co-transaction-header-discount-percentage [transactionInfo]=\"transactionInfo\" [transactionTotal]=\"transactionTotal\"></co-transaction-header-discount-percentage>\n <co-transaction-header-discount-amount [transactionInfo]=\"transactionInfo\" [transactionTotal]=\"transactionTotal\"></co-transaction-header-discount-amount>\n </div>\n <div class=\"two-column-grid\">\n <co-transaction-header-discount-transaction-total [transactionInfo]=\"transactionInfo\" [transactionTotal]=\"transactionTotal\"></co-transaction-header-discount-transaction-total>\n <div class=\"transaction-line-button custom-width\" (click)=\"redistributeDiscount()\">\n <span class=\"co-transaction-overflow-ellipsis transaction-discount\"\n [textContent]=\"'REDISTRIBUTE_DISCOUNT' | localize\"></span>\n </div>\n </div>\n <div class=\"transaction-discount-overview\">\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'ORDER_GROSS' | localize\"></div>\n <div class=\"value\" [textContent]=\"transactionTotal.grossAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionTotal.totalDiscountAmount < 0\" [textContent]=\"transactionTotal.totalDiscountAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'ASSEMBLY_COSTS' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionTotal.assemblyCosts < 0\" [textContent]=\"transactionTotal.assemblyCosts | coCurrency\"></div>\n </div>\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'SURCHARGE_AMOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionTotal.totalSurchargeAmount < 0\" [textContent]=\"transactionTotal.totalSurchargeAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'DELIVERY_COSTS' | localize\"></div>\n <div class=\"value\" [textContent]=\"'NOT_IMPLEMENTED_YET'\"></div>\n </div>\n <div class=\"transaction-discount-overview-item total\">\n <div class=\"title\" [textContent]=\"'ORDER_NET' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionTotal.netAmount < 0\" [textContent]=\"transactionTotal.netAmount | 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 </ng-template>\n ",
|
|
9836
9858
|
encapsulation: i0.ViewEncapsulation.None
|
|
9837
9859
|
},] }
|
|
9838
9860
|
];
|
|
@@ -10338,7 +10360,7 @@
|
|
|
10338
10360
|
TransactionLineImageAndDescriptionComponent.decorators = [
|
|
10339
10361
|
{ type: i0.Component, args: [{
|
|
10340
10362
|
selector: "co-transaction-line-image-and-description",
|
|
10341
|
-
template: "\n <div class=\"transaction-line-image\" [class.preview]=\"preview\">\n <co-image-display [model]=\"image\"></co-image-display>\n </div>\n <div class=\"transaction-line-description\">\n <div class=\"description-wrapper\">\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionLine]=\"line\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n <div class=\"transaction-line-article-number-wrapper\" *ngIf=\"!popUpView\">\n <span *ngIf=\"line.goodDescription && line.articleNumber\">|</span>\n <span [textContent]=\"line.articleNumber\"></span>\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\"\n (click)=\"deleteTransactionLineClick()\"></co-icon>\n </div>\n </div>\n <div *ngIf=\"!preview && !popUpView\" class=\"article-text-wrapper\">\n <div class=\"article-text\" *ngFor=\"let text of line.articleTestAsArray\">\n <span [innerHTML]=\"text | safeHtml\" (dblclick)=\"handleOpenArticleText(text)\"></span>\n </div>\n </div>\n <div *ngIf=\"!preview && !popUpView\">\n <span [innerHTML]=\"line.configurationReadable\"></span>\n </div>\n </div>\n ",
|
|
10363
|
+
template: "\n <div class=\"transaction-line-image\" [class.preview]=\"preview\">\n <co-image-display [model]=\"image\"></co-image-display>\n </div>\n <div class=\"transaction-line-description\" data-action=\"openSidePanel\">\n <div class=\"description-wrapper\">\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionLine]=\"line\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n <div class=\"transaction-line-article-number-wrapper\" *ngIf=\"!popUpView\">\n <span *ngIf=\"line.goodDescription && line.articleNumber\">|</span>\n <span [textContent]=\"line.articleNumber\"></span>\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\"\n (click)=\"deleteTransactionLineClick()\"></co-icon>\n </div>\n </div>\n <div *ngIf=\"!preview && !popUpView\" class=\"article-text-wrapper\">\n <div class=\"article-text\" *ngFor=\"let text of line.articleTestAsArray\">\n <span [innerHTML]=\"text | safeHtml\" (dblclick)=\"handleOpenArticleText(text)\"></span>\n </div>\n </div>\n <div *ngIf=\"!preview && !popUpView\">\n <span [innerHTML]=\"line.configurationReadable\"></span>\n </div>\n </div>\n ",
|
|
10342
10364
|
encapsulation: i0.ViewEncapsulation.None
|
|
10343
10365
|
},] }
|
|
10344
10366
|
];
|
|
@@ -10595,7 +10617,7 @@
|
|
|
10595
10617
|
TransactionArticleTextComponent.decorators = [
|
|
10596
10618
|
{ type: i0.Component, args: [{
|
|
10597
10619
|
selector: "co-transaction-article-text",
|
|
10598
|
-
template: "\n <co-dialog (closeClick)=\"closeClick.emit($event)\" [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <div class=\"article-image-description-wrapper\">\n <co-transaction-line-image-and-description\n [line]=\"transactionLine\"\n [popUpView]=\"true\">\n </co-transaction-line-image-and-description>\n </div>\n\n <div class=\"standard-texts-dropdown-wrapper\">\n <co-drop-down-list\n @showStandardTextsDropdown\n *ngIf=\"showDropdown\"\n [collection]=\"standardTexts\"\n [fields]=\"fields\"\n [placeholder]=\"'STANDARD_TEXTS' | localize\"\n (modelChange)=\"onSelectStandardText($event)\"\n ></co-drop-down-list>\n </div>\n\n <div class=\"article-text-content-wrapper\">\n <div class=\"editor-wrapper\">\n <co-button class=\"search-button\"\n [iconData]=\"searchIcon\"\n (onClick)=\"showStandardTextsDropdown()\">\n </co-button>\n <textarea class=\"article-text\"\n [placeholder]=\"textAreaPlaceholder\"\n [(ngModel)]=\"transactionAddTextLineRequest.text\"\n ></textarea>\n </div>\n <div class=\"option-wrapper\">\n <co-input-listbox\n [collection]=\"documents\"\n [fields]=\"fieldsDocuments\"\n [placeholder]=\"'FOR_DOCUMENTS' | localize\"\n [value]=\"transactionAddTextLineRequest.showOnDocuments\"\n [showCheckbox]=\"true\"\n [fullWidth]=\"true\"\n (modelChange)=\"handleDocumentsChange($event)\"\n ></co-input-listbox>\n </div>\n </div>\n </co-dialog>\n\n <ng-template #headerTemplate>\n <span class=\"
|
|
10620
|
+
template: "\n <co-dialog (closeClick)=\"closeClick.emit($event)\" [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <div class=\"article-image-description-wrapper\">\n <co-transaction-line-image-and-description\n [line]=\"transactionLine\"\n [popUpView]=\"true\">\n </co-transaction-line-image-and-description>\n </div>\n\n <div class=\"standard-texts-dropdown-wrapper\">\n <co-drop-down-list\n @showStandardTextsDropdown\n *ngIf=\"showDropdown\"\n [collection]=\"standardTexts\"\n [fields]=\"fields\"\n [placeholder]=\"'STANDARD_TEXTS' | localize\"\n (modelChange)=\"onSelectStandardText($event)\"\n ></co-drop-down-list>\n </div>\n\n <div class=\"article-text-content-wrapper\">\n <div class=\"editor-wrapper\">\n <co-button class=\"search-button\"\n [iconData]=\"searchIcon\"\n (onClick)=\"showStandardTextsDropdown()\">\n </co-button>\n <textarea class=\"article-text\"\n [placeholder]=\"textAreaPlaceholder\"\n [(ngModel)]=\"transactionAddTextLineRequest.text\"\n ></textarea>\n </div>\n <div class=\"option-wrapper\">\n <co-input-listbox\n [collection]=\"documents\"\n [fields]=\"fieldsDocuments\"\n [placeholder]=\"'FOR_DOCUMENTS' | localize\"\n [value]=\"transactionAddTextLineRequest.showOnDocuments\"\n [showCheckbox]=\"true\"\n [fullWidth]=\"true\"\n (modelChange)=\"handleDocumentsChange($event)\"\n ></co-input-listbox>\n </div>\n </div>\n </co-dialog>\n\n <ng-template #headerTemplate>\n <span class=\"co-transaction-dialog-header-title\" [textContent]=\"header\"></span>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onOkClick($event)\"></co-button>\n <co-button [label]=\"'CANCEL' | localize \" (click)=\"onCancelClick($event)\"></co-button>\n </div>\n </ng-template>\n ",
|
|
10599
10621
|
animations: [
|
|
10600
10622
|
animations.trigger("showStandardTextsDropdown", [
|
|
10601
10623
|
animations.state("void", animations.style({ transform: 'translateY(-100%)', opacity: 0 })),
|
|
@@ -11104,7 +11126,9 @@
|
|
|
11104
11126
|
if (this._transaction.lineOperationStatuses) {
|
|
11105
11127
|
this.lineOperationStatuses = this._transaction.lineOperationStatuses;
|
|
11106
11128
|
}
|
|
11107
|
-
this.
|
|
11129
|
+
if (this._transaction.transactionInfo && this._transaction.transactionInfo.uuid) {
|
|
11130
|
+
this.transactionSet();
|
|
11131
|
+
}
|
|
11108
11132
|
}
|
|
11109
11133
|
},
|
|
11110
11134
|
enumerable: false,
|
|
@@ -11196,15 +11220,93 @@
|
|
|
11196
11220
|
{ type: i0.Injectable, args: [{ providedIn: "root" },] }
|
|
11197
11221
|
];
|
|
11198
11222
|
|
|
11223
|
+
var TransactionReceiveGoodsService = /** @class */ (function () {
|
|
11224
|
+
function TransactionReceiveGoodsService(_transactionService, _transactionEventService) {
|
|
11225
|
+
var _this = this;
|
|
11226
|
+
this._transactionService = _transactionService;
|
|
11227
|
+
this._transactionEventService = _transactionEventService;
|
|
11228
|
+
this.lines = [];
|
|
11229
|
+
this._subscriptions = [];
|
|
11230
|
+
this._subscriptions.push(this._transactionEventService.commitReceivePurchaseOrders.subscribe((function (value) {
|
|
11231
|
+
_this.handleReceiveSelectedPurchaseOrders(value);
|
|
11232
|
+
})), this._transactionEventService.transactionLineChanged.subscribe(function (value) {
|
|
11233
|
+
_this._handleTransactionLineChanged(value);
|
|
11234
|
+
}));
|
|
11235
|
+
}
|
|
11236
|
+
TransactionReceiveGoodsService.prototype.handleReceiveSelectedPurchaseOrders = function (value) {
|
|
11237
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11238
|
+
var selectedLines, receivedGoodsRequest_1, response;
|
|
11239
|
+
return __generator(this, function (_a) {
|
|
11240
|
+
switch (_a.label) {
|
|
11241
|
+
case 0:
|
|
11242
|
+
selectedLines = this.lines.filter(function (line) { return line.selected && line.quantityToReceive > 0; });
|
|
11243
|
+
if (!(selectedLines.length > 0)) return [3 /*break*/, 2];
|
|
11244
|
+
receivedGoodsRequest_1 = new receiveGoodsForPurchaseOrderRequest_bo.ReceiveGoodsForPurchaseOrderRequest();
|
|
11245
|
+
receivedGoodsRequest_1.transId = selectedLines[0].transId;
|
|
11246
|
+
receivedGoodsRequest_1.receivedDate = value.date;
|
|
11247
|
+
receivedGoodsRequest_1.packingSlipNr = value.id;
|
|
11248
|
+
receivedGoodsRequest_1.purchaseOrderLineReceiptDetailsDTOS = [];
|
|
11249
|
+
selectedLines.forEach(function (line) {
|
|
11250
|
+
var detail = new purchaseOrderLineReceiptDetails_bo.PurchaseOrderLineReceiptDetails();
|
|
11251
|
+
detail.lineNr = line.lineNr;
|
|
11252
|
+
detail.quantityToReceive = line.quantityToReceive;
|
|
11253
|
+
detail.warehouseNr = line.warehouseNumber;
|
|
11254
|
+
detail.locationNr = line.locationNr;
|
|
11255
|
+
receivedGoodsRequest_1.purchaseOrderLineReceiptDetailsDTOS.push(detail);
|
|
11256
|
+
});
|
|
11257
|
+
return [4 /*yield*/, this._transactionService.receiveGoodsForPurchaseOrder(receivedGoodsRequest_1)];
|
|
11258
|
+
case 1:
|
|
11259
|
+
response = _a.sent();
|
|
11260
|
+
if (response) {
|
|
11261
|
+
this._handleAfterCommitReceivedOrders(selectedLines);
|
|
11262
|
+
}
|
|
11263
|
+
return [2 /*return*/, !!response];
|
|
11264
|
+
case 2: return [2 /*return*/, false];
|
|
11265
|
+
}
|
|
11266
|
+
});
|
|
11267
|
+
});
|
|
11268
|
+
};
|
|
11269
|
+
TransactionReceiveGoodsService.prototype._handleAfterCommitReceivedOrders = function (selectedLines) {
|
|
11270
|
+
var _this = this;
|
|
11271
|
+
selectedLines.forEach(function (line) {
|
|
11272
|
+
line.quantityReceived += line.quantityToReceive;
|
|
11273
|
+
line.quantityToReceive -= line.quantityToReceive;
|
|
11274
|
+
_this._transactionEventService.selectAllLines.next(false);
|
|
11275
|
+
});
|
|
11276
|
+
};
|
|
11277
|
+
TransactionReceiveGoodsService.prototype._handleTransactionLineChanged = function (change) {
|
|
11278
|
+
var receiveGoodViewModel = this.lines.find(function (line) { return line.lineNr === change.transactionLine.lineNr; });
|
|
11279
|
+
if (receiveGoodViewModel) {
|
|
11280
|
+
receiveGoodViewModel.quantityToReceive = change.goodsReceiptStatus.quantityToReceive;
|
|
11281
|
+
receiveGoodViewModel.quantityReceived = change.goodsReceiptStatus.quantityReceived;
|
|
11282
|
+
}
|
|
11283
|
+
};
|
|
11284
|
+
return TransactionReceiveGoodsService;
|
|
11285
|
+
}());
|
|
11286
|
+
TransactionReceiveGoodsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionReceiveGoodsService_Factory() { return new TransactionReceiveGoodsService(i0__namespace.ɵɵinject(TransactionService), i0__namespace.ɵɵinject(TransactionEventService)); }, token: TransactionReceiveGoodsService, providedIn: "root" });
|
|
11287
|
+
TransactionReceiveGoodsService.decorators = [
|
|
11288
|
+
{ type: i0.Injectable, args: [{
|
|
11289
|
+
providedIn: "root"
|
|
11290
|
+
},] }
|
|
11291
|
+
];
|
|
11292
|
+
TransactionReceiveGoodsService.ctorParameters = function () { return [
|
|
11293
|
+
{ type: TransactionService },
|
|
11294
|
+
{ type: TransactionEventService }
|
|
11295
|
+
]; };
|
|
11296
|
+
|
|
11199
11297
|
var TransactionQuickAccessReceivedGoodsComponent = /** @class */ (function (_super) {
|
|
11200
11298
|
__extends(TransactionQuickAccessReceivedGoodsComponent, _super);
|
|
11201
|
-
function TransactionQuickAccessReceivedGoodsComponent(iconService, _transactionService, _transactionEventService) {
|
|
11299
|
+
function TransactionQuickAccessReceivedGoodsComponent(iconService, _transactionService, _transactionEventService, _receiveGoodsService) {
|
|
11202
11300
|
var _this = _super.call(this, _transactionService) || this;
|
|
11203
11301
|
_this.iconService = iconService;
|
|
11204
11302
|
_this._transactionService = _transactionService;
|
|
11205
11303
|
_this._transactionEventService = _transactionEventService;
|
|
11304
|
+
_this._receiveGoodsService = _receiveGoodsService;
|
|
11206
11305
|
_this.icons = Icon;
|
|
11207
11306
|
_this.localCheckboxState = true;
|
|
11307
|
+
_this.awaitingResult = false;
|
|
11308
|
+
_this.resultSuccessful = false;
|
|
11309
|
+
_this.iconVisible = true;
|
|
11208
11310
|
// Route through event service instead
|
|
11209
11311
|
_this.checkboxValueChanged = new i0.EventEmitter();
|
|
11210
11312
|
return _this;
|
|
@@ -11217,7 +11319,27 @@
|
|
|
11217
11319
|
this.commitDate = new Date(timeElapsed);
|
|
11218
11320
|
};
|
|
11219
11321
|
TransactionQuickAccessReceivedGoodsComponent.prototype.handleCommitEvent = function (value) {
|
|
11220
|
-
this
|
|
11322
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11323
|
+
var _a;
|
|
11324
|
+
var _this = this;
|
|
11325
|
+
return __generator(this, function (_b) {
|
|
11326
|
+
switch (_b.label) {
|
|
11327
|
+
case 0:
|
|
11328
|
+
this.iconVisible = false;
|
|
11329
|
+
this.resultSuccessful = false;
|
|
11330
|
+
this.awaitingResult = true;
|
|
11331
|
+
_a = this;
|
|
11332
|
+
return [4 /*yield*/, this._receiveGoodsService.handleReceiveSelectedPurchaseOrders(value)];
|
|
11333
|
+
case 1:
|
|
11334
|
+
_a.resultSuccessful = _b.sent();
|
|
11335
|
+
this.awaitingResult = false;
|
|
11336
|
+
setTimeout(function () {
|
|
11337
|
+
_this.iconVisible = true;
|
|
11338
|
+
}, 600);
|
|
11339
|
+
return [2 /*return*/];
|
|
11340
|
+
}
|
|
11341
|
+
});
|
|
11342
|
+
});
|
|
11221
11343
|
};
|
|
11222
11344
|
TransactionQuickAccessReceivedGoodsComponent.prototype.handleSelectAllLines = function (value) {
|
|
11223
11345
|
this._transactionEventService.selectAllLines.next(value);
|
|
@@ -11227,14 +11349,15 @@
|
|
|
11227
11349
|
TransactionQuickAccessReceivedGoodsComponent.decorators = [
|
|
11228
11350
|
{ type: i0.Component, args: [{
|
|
11229
11351
|
selector: "co-transaction-quick-access-received-goods",
|
|
11230
|
-
template: "\n <co-input-date\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n [(model)]=\"this.commitDate\"\n ></co-input-date>\n <co-input-text\n [placeholder]=\"'PACKING_SLIP' | localize\"\n [(model)]=\"this.commitReferenceId\"\n ></co-input-text>\n <co-input-checkbox\n class=\"checkbox-wrapper\"\n [(model)]=\"localCheckboxState\"\n (modelChange)=\"handleSelectAllLines($event)\"\n ></co-input-checkbox>\n <div class=\"buttons\">\n <div class=\"button-wrapper receive\" (click)=\"handleCommitEvent({date: this.commitDate, id: this.commitReferenceId})\">\n <co-icon class=\"button-icon\" [iconData]=\"iconService.getIcon(icons.
|
|
11352
|
+
template: "\n <co-input-date\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n [(model)]=\"this.commitDate\"\n ></co-input-date>\n <co-input-text\n [placeholder]=\"'PACKING_SLIP' | localize\"\n [(model)]=\"this.commitReferenceId\"\n ></co-input-text>\n <co-input-checkbox\n class=\"checkbox-wrapper\"\n [(model)]=\"localCheckboxState\"\n (modelChange)=\"handleSelectAllLines($event)\"\n ></co-input-checkbox>\n <div class=\"buttons\">\n <div class=\"button-wrapper receive\" (click)=\"handleCommitEvent({date: this.commitDate, id: this.commitReferenceId})\">\n <co-checkmark-overlay [successful]=\"resultSuccessful\" [visible]=\"awaitingResult\"></co-checkmark-overlay>\n <co-icon class=\"button-icon\" [iconData]=\"iconService.getIcon(icons.GearSolid)\" [class.hidden]=\"!iconVisible\"></co-icon>\n<!-- <span class=\"button-title\" [textContent]=\"'INSIDE' | localize\"></span>-->\n </div>\n <div class=\"button-wrapper print\">\n <co-icon class=\"button-icon\" [iconData]=\"iconService.getIcon(icons.PrintSolid)\"></co-icon>\n <div class=\"dots-wrapper\"><div class=\"dot\"></div><div class=\"dot\"></div><div class=\"dot\"></div></div>\n </div>\n </div>\n ",
|
|
11231
11353
|
encapsulation: i0.ViewEncapsulation.None
|
|
11232
11354
|
},] }
|
|
11233
11355
|
];
|
|
11234
11356
|
TransactionQuickAccessReceivedGoodsComponent.ctorParameters = function () { return [
|
|
11235
11357
|
{ type: IconCacheService },
|
|
11236
11358
|
{ type: TransactionService },
|
|
11237
|
-
{ type: TransactionEventService }
|
|
11359
|
+
{ type: TransactionEventService },
|
|
11360
|
+
{ type: TransactionReceiveGoodsService }
|
|
11238
11361
|
]; };
|
|
11239
11362
|
TransactionQuickAccessReceivedGoodsComponent.propDecorators = {
|
|
11240
11363
|
commitDate: [{ type: i0.Input }],
|
|
@@ -11515,7 +11638,7 @@
|
|
|
11515
11638
|
TransactionLineActionButtonsComponent.decorators = [
|
|
11516
11639
|
{ type: i0.Component, args: [{
|
|
11517
11640
|
selector: "co-transaction-line-action-buttons",
|
|
11518
|
-
template: "\n <div class=\"transaction-line-action-buttons-wrapper\">\n <div class=\"menu-button-container\">\n <co-button\n class=\"action-menu-button circle\"\n [iconData]=\"iconCacheService.getIcon(icons.EllipsisLight)\"\n (click)=\"handleShowHideClick()\">\n </co-button>\n </div>\n\n <div class=\"action-buttons-container\" clickOutside\n *ngIf=\"showActionButtons\"\n [ngClass]=\"alignDirection\"\n (clickOutside)=\"handleShowHideClick()\">\n\n <co-button\n
|
|
11641
|
+
template: "\n <div class=\"transaction-line-action-buttons-wrapper\">\n <div class=\"menu-button-container\">\n <co-button\n class=\"action-menu-button circle\"\n [iconData]=\"iconCacheService.getIcon(icons.EllipsisLight)\"\n (click)=\"handleShowHideClick()\">\n </co-button>\n </div>\n\n <div class=\"action-buttons-container\" clickOutside\n *ngIf=\"showActionButtons\"\n [ngClass]=\"alignDirection\"\n (clickOutside)=\"handleShowHideClick()\">\n\n <co-button\n class=\"transaction-line-overview-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSizeSolid)\"\n (click)=\"handleTransactionArticleTextOverview()\"></co-button>\n\n <co-button\n class=\"transaction-line-add-text-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"\n (click)=\"handleTransactionArticleText()\"></co-button>\n\n <co-button\n class=\"transaction-line-show-sidebar-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.ObjectIntersectSolid)\"\n (click)=\"handleShowSidePanel()\"></co-button>\n </div>\n </div>\n\n <co-transaction-article-text-overview *ngIf=\"showTransactionArticleTextOverview\"\n [header]=\"articleTextHeader | localize\"\n [transactionLine]=\"transactionLine\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleTextOverview($event)\"\n (cancelClick)=\"closeTransactionArticleTextOverview($event)\"\n ></co-transaction-article-text-overview>\n\n <co-transaction-article-text *ngIf=\"showTransactionArticleText\"\n [header]=\"articleTextHeader | localize\"\n [articleLineNr]=\"transactionLine.lineNr\"\n [articleRef]=\"transactionLine.articleNumber\"\n [transactionLine]=\"transactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleText($event)\"\n (cancelClick)=\"closeTransactionArticleText($event)\"\n ></co-transaction-article-text>\n ",
|
|
11519
11642
|
encapsulation: i0.ViewEncapsulation.None
|
|
11520
11643
|
},] }
|
|
11521
11644
|
];
|
|
@@ -11751,63 +11874,6 @@
|
|
|
11751
11874
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-quick-access-order-delivery",] }]
|
|
11752
11875
|
};
|
|
11753
11876
|
|
|
11754
|
-
var TransactionReceiveGoodsService = /** @class */ (function () {
|
|
11755
|
-
function TransactionReceiveGoodsService(_transactionService, _transactionEventService) {
|
|
11756
|
-
var _this = this;
|
|
11757
|
-
this._transactionService = _transactionService;
|
|
11758
|
-
this._transactionEventService = _transactionEventService;
|
|
11759
|
-
this.lines = [];
|
|
11760
|
-
this._subscriptions = [];
|
|
11761
|
-
this._subscriptions.push(this._transactionEventService.commitReceivePurchaseOrders.subscribe((function (value) {
|
|
11762
|
-
_this.handleReceiveSelectedPurchaseOrders(value);
|
|
11763
|
-
})));
|
|
11764
|
-
}
|
|
11765
|
-
TransactionReceiveGoodsService.prototype.handleReceiveSelectedPurchaseOrders = function (value) {
|
|
11766
|
-
var _this = this;
|
|
11767
|
-
var selectedLines = this.lines.filter(function (line) { return line.selected && line.quantityToReceive > 0; });
|
|
11768
|
-
if (selectedLines.length > 0) {
|
|
11769
|
-
var receivedGoodsRequest_1 = new receiveGoodsForPurchaseOrderRequest_bo.ReceiveGoodsForPurchaseOrderRequest();
|
|
11770
|
-
receivedGoodsRequest_1.transId = selectedLines[0].transId;
|
|
11771
|
-
receivedGoodsRequest_1.receivedDate = value.date;
|
|
11772
|
-
receivedGoodsRequest_1.packingSlipNr = value.id;
|
|
11773
|
-
receivedGoodsRequest_1.purchaseOrderLineReceiptDetailsDTOS = [];
|
|
11774
|
-
selectedLines.forEach(function (line) {
|
|
11775
|
-
var detail = new purchaseOrderLineReceiptDetails_bo.PurchaseOrderLineReceiptDetails();
|
|
11776
|
-
detail.lineNr = line.lineNr;
|
|
11777
|
-
detail.quantityToReceive = line.quantityToReceive;
|
|
11778
|
-
detail.warehouseNr = line.warehouseNumber;
|
|
11779
|
-
detail.locationNr = line.locationNr;
|
|
11780
|
-
receivedGoodsRequest_1.purchaseOrderLineReceiptDetailsDTOS.push(detail);
|
|
11781
|
-
});
|
|
11782
|
-
this._transactionService.receiveGoodsForPurchaseOrder(receivedGoodsRequest_1).then(function (response) {
|
|
11783
|
-
if (response) {
|
|
11784
|
-
_this._handleAfterCommitReceivedOrders(selectedLines);
|
|
11785
|
-
}
|
|
11786
|
-
});
|
|
11787
|
-
}
|
|
11788
|
-
};
|
|
11789
|
-
TransactionReceiveGoodsService.prototype._handleAfterCommitReceivedOrders = function (selectedLines) {
|
|
11790
|
-
selectedLines.forEach(function (line) {
|
|
11791
|
-
line.quantityReceived += line.quantityToReceive;
|
|
11792
|
-
line.quantityToReceive -= line.quantityToReceive;
|
|
11793
|
-
if (line.quantityToReceive !== 0) {
|
|
11794
|
-
line.selected = false;
|
|
11795
|
-
}
|
|
11796
|
-
});
|
|
11797
|
-
};
|
|
11798
|
-
return TransactionReceiveGoodsService;
|
|
11799
|
-
}());
|
|
11800
|
-
TransactionReceiveGoodsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionReceiveGoodsService_Factory() { return new TransactionReceiveGoodsService(i0__namespace.ɵɵinject(TransactionService), i0__namespace.ɵɵinject(TransactionEventService)); }, token: TransactionReceiveGoodsService, providedIn: "root" });
|
|
11801
|
-
TransactionReceiveGoodsService.decorators = [
|
|
11802
|
-
{ type: i0.Injectable, args: [{
|
|
11803
|
-
providedIn: "root"
|
|
11804
|
-
},] }
|
|
11805
|
-
];
|
|
11806
|
-
TransactionReceiveGoodsService.ctorParameters = function () { return [
|
|
11807
|
-
{ type: TransactionService },
|
|
11808
|
-
{ type: TransactionEventService }
|
|
11809
|
-
]; };
|
|
11810
|
-
|
|
11811
11877
|
var ReceiveGoodViewModel = /** @class */ (function (_super) {
|
|
11812
11878
|
__extends(ReceiveGoodViewModel, _super);
|
|
11813
11879
|
function ReceiveGoodViewModel() {
|
|
@@ -11838,7 +11904,7 @@
|
|
|
11838
11904
|
this.allowPartialDelivery = this.service.currentTransaction.transactionInfo.allowPartialDelivery;
|
|
11839
11905
|
this._initViewModel();
|
|
11840
11906
|
this._subscriptions.push(this._transactionEventService.selectAllLines.subscribe(function (value) {
|
|
11841
|
-
_this.viewModel.selected = value;
|
|
11907
|
+
_this.viewModel.selected = _this.viewModel.quantityReceived === _this.viewModel.amount ? false : value;
|
|
11842
11908
|
}), this.lineVisible.subscribe(function () { return _this.handleRowVisible(); }));
|
|
11843
11909
|
};
|
|
11844
11910
|
TransactionReceiveGoodsLineComponent.prototype.ngOnDestroy = function () {
|
|
@@ -11851,7 +11917,6 @@
|
|
|
11851
11917
|
this.viewModel.quantityReceived = 0;
|
|
11852
11918
|
this.viewModel.lineNr = this.line.lineNr;
|
|
11853
11919
|
this.viewModel.transId = this.transactionId;
|
|
11854
|
-
this.viewModel.selected = true;
|
|
11855
11920
|
};
|
|
11856
11921
|
TransactionReceiveGoodsLineComponent.prototype.handleRowVisible = function () {
|
|
11857
11922
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -11865,6 +11930,7 @@
|
|
|
11865
11930
|
goodsReceiptStatus = _a.sent();
|
|
11866
11931
|
this.viewModel.quantityToReceive = goodsReceiptStatus.quantityToReceive;
|
|
11867
11932
|
this.viewModel.quantityReceived = goodsReceiptStatus.quantityReceived;
|
|
11933
|
+
this.viewModel.selected = this.viewModel.quantityReceived !== this.viewModel.amount && !this.viewModel.isSerialNrRequired && !this.viewModel.isBatchNrRequired;
|
|
11868
11934
|
this._transactionReceiveGoodsService.lines.push(this.viewModel);
|
|
11869
11935
|
_a.label = 2;
|
|
11870
11936
|
case 2: return [2 /*return*/];
|
|
@@ -11875,13 +11941,17 @@
|
|
|
11875
11941
|
TransactionReceiveGoodsLineComponent.prototype.changeLineAmount = function (amount) {
|
|
11876
11942
|
};
|
|
11877
11943
|
TransactionReceiveGoodsLineComponent.prototype.handleLineClicked = function (mouseClick) {
|
|
11944
|
+
var target = mouseClick.target;
|
|
11945
|
+
if (target && target.dataset && target.dataset['action'] && target.dataset['action'] === 'openSidePanel') {
|
|
11946
|
+
this._transactionEventService.openSidePanel.next(this.line);
|
|
11947
|
+
}
|
|
11878
11948
|
};
|
|
11879
11949
|
return TransactionReceiveGoodsLineComponent;
|
|
11880
11950
|
}(TransactionLinesLineBaseComponent));
|
|
11881
11951
|
TransactionReceiveGoodsLineComponent.decorators = [
|
|
11882
11952
|
{ type: i0.Component, args: [{
|
|
11883
11953
|
selector: "co-transaction-receive-goods-line",
|
|
11884
|
-
template: "\n <co-transaction-base-line [line]=\"viewModel\" [preview]=\"preview\" [actionButtons]=\"false\" (click)=\"handleLineClicked($event)\">\n <div class=\"line-content-wrapper\">\n <co-transaction-line-warehouse-button [transactionLine]=\"viewModel\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-warehouse-location-button [readonly]=\"viewModel.quantityReceived === viewModel.amount\" [line]=\"viewModel\"></co-transaction-line-warehouse-location-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"viewModel.amount.toString() + 'x'\"\n [readonly]=\"true\"\n ></co-editable-label>\n <
|
|
11954
|
+
template: "\n <co-transaction-base-line [line]=\"viewModel\" [preview]=\"preview\" [actionButtons]=\"false\" (click)=\"handleLineClicked($event)\" observeVisibility (visible)=\"handleRowVisible()\">\n <div class=\"line-content-wrapper\" data-action=\"openSidePanel\">\n <co-transaction-line-warehouse-button [transactionLine]=\"viewModel\" [readonly]=\"viewModel.quantityReceived === viewModel.amount\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-warehouse-location-button [readonly]=\"viewModel.quantityReceived === viewModel.amount || !viewModel.isLocationRequired\" [line]=\"viewModel\"></co-transaction-line-warehouse-location-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"viewModel.amount.toString() + 'x'\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"transaction-line-totals-amount\"\n [class.fully-delivered]=\"viewModel.quantityReceived === viewModel.amount\"\n [class.partially-delivered]=\"viewModel.quantityReceived !== viewModel.amount\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"viewModel.quantityToReceive\"\n [min]=\"!allowPartialDelivery ? viewModel.amount : 1\"\n [max]=\"viewModel.amount - viewModel.quantityReceived\"\n [readonly]=\"readonly || !allowPartialDelivery || viewModel.quantityReceived === viewModel.amount\"\n (modelChange)=\"changeLineAmount($event)\">\n </co-input-number-picker>\n </div>\n <co-input-checkbox class=\"transaction-line-checkbox\"\n [(model)]=\"viewModel.selected\"\n [disabled]=\"viewModel.quantityReceived === viewModel.amount\"\n ></co-input-checkbox>\n <div class=\"print-button\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.PrintSolid)\"></co-icon>\n <span class=\"price\" [textContent]=\"1\"></span>\n </div>\n </div>\n </co-transaction-base-line>\n ",
|
|
11885
11955
|
encapsulation: i0.ViewEncapsulation.None
|
|
11886
11956
|
},] }
|
|
11887
11957
|
];
|
|
@@ -12262,14 +12332,17 @@
|
|
|
12262
12332
|
return __generator(this, function (_a) {
|
|
12263
12333
|
switch (_a.label) {
|
|
12264
12334
|
case 0:
|
|
12265
|
-
this.hasComponent = !!this._mappingService.getTransactionLineComponent(this.service.currentTransaction.transactionInfo.transactionKind, this._activeCategory);
|
|
12266
12335
|
if (!(this._activeCategory === TransactionTypeCategory.PurchaseOrderReceivedGoods)) return [3 /*break*/, 2];
|
|
12267
12336
|
if (!this.transactionLines.find(function (l) { return l.isLocationRequired; })) return [3 /*break*/, 2];
|
|
12268
12337
|
return [4 /*yield*/, this._dialogService.showWarehouseLocation(this.transactionLines[0].warehouseNumber, false, false, true)];
|
|
12269
12338
|
case 1:
|
|
12270
12339
|
response_1 = _a.sent();
|
|
12271
12340
|
if (response_1.button === AppPopupButtonType.Ok) {
|
|
12272
|
-
this._receiveGoodsService.lines.forEach(function (line) {
|
|
12341
|
+
this._receiveGoodsService.lines.forEach(function (line) {
|
|
12342
|
+
if (line.isLocationRequired && !line.isBatchNrRequired && !line.isSerialNrRequired && line.quantityToReceive > 0) {
|
|
12343
|
+
line.locationNr = response_1.output;
|
|
12344
|
+
}
|
|
12345
|
+
});
|
|
12273
12346
|
}
|
|
12274
12347
|
_a.label = 2;
|
|
12275
12348
|
case 2: return [2 /*return*/];
|
|
@@ -12282,7 +12355,7 @@
|
|
|
12282
12355
|
TransactionLinesComponent.decorators = [
|
|
12283
12356
|
{ type: i0.Component, args: [{
|
|
12284
12357
|
selector: "co-transaction-lines",
|
|
12285
|
-
template: "\n <div cdkDropListGroup class=\"drop-list-group\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"transaction-lines-drag-drop-list narrow-scrollbar\"\n [cdkDropListDisabled]=\"preview || userActionRequired\"\n [cdkDropListData]=\"transactionLines\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"draggable-transaction-line\" *ngFor=\"let line of transactionLines; trackBy:trackByFn;\" cdkDrag>\n <co-icon *ngIf=\"!preview\" class=\"transaction-line-drag-handle\"\n [class.show]=\"line === selectedTransactionLine && transactionLines.length > 1\" cdkDragHandle\n [iconData]=\"iconCacheService.getIcon(icons.GripDotsVerticalSolid)\">\n </co-icon>\n <co-transaction-line
|
|
12358
|
+
template: "\n <div cdkDropListGroup class=\"drop-list-group\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"transaction-lines-drag-drop-list narrow-scrollbar\"\n [cdkDropListDisabled]=\"preview || userActionRequired\"\n [cdkDropListData]=\"transactionLines\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"draggable-transaction-line\" *ngFor=\"let line of transactionLines; trackBy:trackByFn;\" cdkDrag>\n <co-icon *ngIf=\"!preview\" class=\"transaction-line-drag-handle\"\n [class.show]=\"line === selectedTransactionLine && transactionLines.length > 1\" cdkDragHandle\n [iconData]=\"iconCacheService.getIcon(icons.GripDotsVerticalSolid)\">\n </co-icon>\n <co-transaction-line\n [transactionType]=\"service.currentTransaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n [transactionId]=\"transactionId\"\n [preview]=\"preview\"\n [line]=\"line\"\n [selected]=\"line === selectedTransactionLine\"\n (waitingForUserAction)=\"userActionRequired = $event\"\n (dblclick)=\"handleTransactionLineDblClick(line)\"\n (click)=\"selectedTransactionLine = line\"\n ></co-transaction-line>\n </div>\n </div>\n </div>\n <co-button *ngIf=!preview class=\"add-text-button circle\" [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\" (click)=\"handleTransactionArticleText($event)\"></co-button>\n <co-transaction-article-text *ngIf=\"showTransactionArticleText\"\n [header]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"\n [transactionLine]=\"selectedArticleText\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleText($event)\"\n (cancelClick)=\"closeTransactionArticleText($event)\"\n ></co-transaction-article-text>\n ",
|
|
12286
12359
|
encapsulation: i0.ViewEncapsulation.None
|
|
12287
12360
|
},] }
|
|
12288
12361
|
];
|
|
@@ -12660,11 +12733,19 @@
|
|
|
12660
12733
|
},] }
|
|
12661
12734
|
];
|
|
12662
12735
|
|
|
12736
|
+
var PaymentViewmodel = /** @class */ (function () {
|
|
12737
|
+
function PaymentViewmodel(method) {
|
|
12738
|
+
this.payment = method;
|
|
12739
|
+
}
|
|
12740
|
+
return PaymentViewmodel;
|
|
12741
|
+
}());
|
|
12742
|
+
|
|
12663
12743
|
var PaymentService = /** @class */ (function () {
|
|
12664
|
-
function PaymentService(_adapterService, _selectMultipleCacheService, _transactionService) {
|
|
12744
|
+
function PaymentService(_adapterService, _selectMultipleCacheService, _transactionService, _sharedService) {
|
|
12665
12745
|
this._adapterService = _adapterService;
|
|
12666
12746
|
this._selectMultipleCacheService = _selectMultipleCacheService;
|
|
12667
12747
|
this._transactionService = _transactionService;
|
|
12748
|
+
this._sharedService = _sharedService;
|
|
12668
12749
|
}
|
|
12669
12750
|
PaymentService.prototype.updateHeaderTransactionToDownPay = function (uuid, downPayment) {
|
|
12670
12751
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -12719,6 +12800,13 @@
|
|
|
12719
12800
|
});
|
|
12720
12801
|
});
|
|
12721
12802
|
};
|
|
12803
|
+
PaymentService.prototype.getDownPaymentInfo = function (uuid) {
|
|
12804
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12805
|
+
return __generator(this, function (_a) {
|
|
12806
|
+
return [2 /*return*/, this._adapterService.getDownPaymentInfo(uuid)];
|
|
12807
|
+
});
|
|
12808
|
+
});
|
|
12809
|
+
};
|
|
12722
12810
|
PaymentService.prototype.getPaymentMethods = function () {
|
|
12723
12811
|
return __awaiter(this, void 0, void 0, function () {
|
|
12724
12812
|
var _this = this;
|
|
@@ -12729,9 +12817,53 @@
|
|
|
12729
12817
|
});
|
|
12730
12818
|
});
|
|
12731
12819
|
};
|
|
12820
|
+
PaymentService.prototype.getPaymentMethodsViewModels = function () {
|
|
12821
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12822
|
+
var result, methods;
|
|
12823
|
+
var _this = this;
|
|
12824
|
+
return __generator(this, function (_a) {
|
|
12825
|
+
switch (_a.label) {
|
|
12826
|
+
case 0:
|
|
12827
|
+
result = [];
|
|
12828
|
+
return [4 /*yield*/, this.getPaymentMethods()];
|
|
12829
|
+
case 1:
|
|
12830
|
+
methods = _a.sent();
|
|
12831
|
+
methods.forEach(function (m) { return __awaiter(_this, void 0, void 0, function () {
|
|
12832
|
+
var paymentViewModel, imageDocs, image, content;
|
|
12833
|
+
return __generator(this, function (_a) {
|
|
12834
|
+
switch (_a.label) {
|
|
12835
|
+
case 0:
|
|
12836
|
+
paymentViewModel = new PaymentViewmodel(m);
|
|
12837
|
+
imageDocs = m.documents.filter(function (d) { return d.isImageDocument(); });
|
|
12838
|
+
if (!(imageDocs && imageDocs.length)) return [3 /*break*/, 4];
|
|
12839
|
+
image = imageDocs[0];
|
|
12840
|
+
if (!image.filePath) return [3 /*break*/, 1];
|
|
12841
|
+
paymentViewModel.image = image.filePath;
|
|
12842
|
+
return [3 /*break*/, 4];
|
|
12843
|
+
case 1:
|
|
12844
|
+
if (!!image.thumbnailBody) return [3 /*break*/, 3];
|
|
12845
|
+
return [4 /*yield*/, this._sharedService.getDocumentContent(image.documentId)];
|
|
12846
|
+
case 2:
|
|
12847
|
+
content = _a.sent();
|
|
12848
|
+
image.thumbnailBody = content;
|
|
12849
|
+
_a.label = 3;
|
|
12850
|
+
case 3:
|
|
12851
|
+
paymentViewModel.image = image.thumbnailBodyAsDataUri;
|
|
12852
|
+
_a.label = 4;
|
|
12853
|
+
case 4:
|
|
12854
|
+
result.push(paymentViewModel);
|
|
12855
|
+
return [2 /*return*/];
|
|
12856
|
+
}
|
|
12857
|
+
});
|
|
12858
|
+
}); });
|
|
12859
|
+
return [2 /*return*/, result];
|
|
12860
|
+
}
|
|
12861
|
+
});
|
|
12862
|
+
});
|
|
12863
|
+
};
|
|
12732
12864
|
return PaymentService;
|
|
12733
12865
|
}());
|
|
12734
|
-
PaymentService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PaymentService_Factory() { return new PaymentService(i0__namespace.ɵɵinject(TransactionConnectorAdapterService), i0__namespace.ɵɵinject(SelectMultipleCacheService), i0__namespace.ɵɵinject(TransactionService)); }, token: PaymentService, providedIn: "root" });
|
|
12866
|
+
PaymentService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PaymentService_Factory() { return new PaymentService(i0__namespace.ɵɵinject(TransactionConnectorAdapterService), i0__namespace.ɵɵinject(SelectMultipleCacheService), i0__namespace.ɵɵinject(TransactionService), i0__namespace.ɵɵinject(SharedService)); }, token: PaymentService, providedIn: "root" });
|
|
12735
12867
|
PaymentService.decorators = [
|
|
12736
12868
|
{ type: i0.Injectable, args: [{
|
|
12737
12869
|
providedIn: "root"
|
|
@@ -12740,14 +12872,16 @@
|
|
|
12740
12872
|
PaymentService.ctorParameters = function () { return [
|
|
12741
12873
|
{ type: TransactionConnectorAdapterService },
|
|
12742
12874
|
{ type: SelectMultipleCacheService },
|
|
12743
|
-
{ type: TransactionService }
|
|
12875
|
+
{ type: TransactionService },
|
|
12876
|
+
{ type: SharedService }
|
|
12744
12877
|
]; };
|
|
12745
12878
|
|
|
12746
|
-
var
|
|
12747
|
-
function
|
|
12748
|
-
this.
|
|
12879
|
+
var DownPaymentViewModel = /** @class */ (function () {
|
|
12880
|
+
function DownPaymentViewModel(downPayment, paymentMethodViewmodel) {
|
|
12881
|
+
this.downPayment = downPayment;
|
|
12882
|
+
this.paymentMethod = paymentMethodViewmodel;
|
|
12749
12883
|
}
|
|
12750
|
-
return
|
|
12884
|
+
return DownPaymentViewModel;
|
|
12751
12885
|
}());
|
|
12752
12886
|
|
|
12753
12887
|
var PaymentComponent = /** @class */ (function () {
|
|
@@ -12756,28 +12890,43 @@
|
|
|
12756
12890
|
this._sharedService = _sharedService;
|
|
12757
12891
|
this._paymentService = _paymentService;
|
|
12758
12892
|
this.icons = Icon;
|
|
12759
|
-
this.amount = 0;
|
|
12760
12893
|
this.payed = new i0.EventEmitter();
|
|
12761
12894
|
this.paymentMethodIdx = 0;
|
|
12762
12895
|
this.cashRegisterIdx = 0;
|
|
12763
12896
|
this.paymentMethods = [];
|
|
12897
|
+
this.downPayments = [];
|
|
12764
12898
|
this.cashRegisters = [];
|
|
12765
12899
|
this.showCashRegisters = false;
|
|
12766
12900
|
this.showKeyPad = false;
|
|
12767
12901
|
this.showPspQrCode = false;
|
|
12768
12902
|
this.showLoader = true;
|
|
12903
|
+
this.showLoaderDownPayments = true;
|
|
12904
|
+
this.amountToPay = 0;
|
|
12905
|
+
this._amount = 0;
|
|
12769
12906
|
this._paymentStatusPollIntervalMs = 5000;
|
|
12770
12907
|
this._paymentStatusMaxPollInterval = 10;
|
|
12771
12908
|
this._paymentStatusPollIntervalCount = 0;
|
|
12772
12909
|
}
|
|
12910
|
+
Object.defineProperty(PaymentComponent.prototype, "amount", {
|
|
12911
|
+
get: function () {
|
|
12912
|
+
return this._amount;
|
|
12913
|
+
},
|
|
12914
|
+
set: function (value) {
|
|
12915
|
+
this._amount = value;
|
|
12916
|
+
this.amountToPay = this._amount;
|
|
12917
|
+
},
|
|
12918
|
+
enumerable: false,
|
|
12919
|
+
configurable: true
|
|
12920
|
+
});
|
|
12773
12921
|
PaymentComponent.prototype.showClass = function () {
|
|
12774
12922
|
return true;
|
|
12775
12923
|
};
|
|
12776
12924
|
PaymentComponent.prototype.ngOnInit = function () {
|
|
12777
12925
|
var _this = this;
|
|
12778
|
-
this._paymentService.updateHeaderTransactionToDownPay(this.transactionUuid, this.
|
|
12926
|
+
this._paymentService.updateHeaderTransactionToDownPay(this.transactionUuid, this.amountToPay).then(function () {
|
|
12779
12927
|
_this._getPaymentMethods().then(function () {
|
|
12780
12928
|
_this.showLoader = false;
|
|
12929
|
+
_this._getDownpaymentInfo();
|
|
12781
12930
|
_this._prepareCashRegisters();
|
|
12782
12931
|
});
|
|
12783
12932
|
});
|
|
@@ -12797,7 +12946,7 @@
|
|
|
12797
12946
|
var currentPaymentViewModel = this.paymentMethods[this.paymentMethodIdx];
|
|
12798
12947
|
this.currentPaymentMethod = currentPaymentViewModel.payment;
|
|
12799
12948
|
if (this.currentPaymentMethod && this.currentPaymentMethod.externalSourceId) { // psp payment
|
|
12800
|
-
this._paymentService.createIonePaymentLinkAndQRCode(this.transactionUuid, this.
|
|
12949
|
+
this._paymentService.createIonePaymentLinkAndQRCode(this.transactionUuid, this.amountToPay, this.currentPaymentMethod.code).then(function (response) {
|
|
12801
12950
|
_this._paymentResult = response;
|
|
12802
12951
|
if (_this._paymentResult && _this._paymentResult.imageBase64) {
|
|
12803
12952
|
_this.qrCodeImage = _this._dataUriToBase64(_this._paymentResult.imageBase64, 'image/png');
|
|
@@ -12809,14 +12958,39 @@
|
|
|
12809
12958
|
}
|
|
12810
12959
|
else {
|
|
12811
12960
|
var currentCashRegister = this.cashRegisters[this.cashRegisterIdx];
|
|
12812
|
-
this._paymentService.registerSalesOrderPayment(this.transactionUuid, this.
|
|
12813
|
-
|
|
12814
|
-
|
|
12815
|
-
|
|
12961
|
+
this._paymentService.registerSalesOrderPayment(this.transactionUuid, this.amountToPay, this.currencyId, this.currentPaymentMethod.code, currentCashRegister.group).then(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
12962
|
+
return __generator(this, function (_a) {
|
|
12963
|
+
switch (_a.label) {
|
|
12964
|
+
case 0:
|
|
12965
|
+
this.showKeyPad = false;
|
|
12966
|
+
return [4 /*yield*/, this._getDownpaymentInfo()];
|
|
12967
|
+
case 1:
|
|
12968
|
+
_a.sent();
|
|
12969
|
+
if (this.amountToPay === 0) {
|
|
12970
|
+
this.payed.emit();
|
|
12971
|
+
}
|
|
12972
|
+
return [2 /*return*/];
|
|
12973
|
+
}
|
|
12974
|
+
});
|
|
12975
|
+
}); });
|
|
12816
12976
|
}
|
|
12817
12977
|
};
|
|
12818
12978
|
PaymentComponent.prototype.handleKeyPadModelChange = function (model) {
|
|
12819
|
-
this.
|
|
12979
|
+
this.amountToPay = model;
|
|
12980
|
+
};
|
|
12981
|
+
PaymentComponent.prototype._getDownpaymentInfo = function () {
|
|
12982
|
+
var _this = this;
|
|
12983
|
+
this.downPayments.length = 0;
|
|
12984
|
+
this._paymentService.getDownPaymentInfo(this.transactionUuid).then(function (info) {
|
|
12985
|
+
_this.amountToPay = (info.toDownPayAmount ? info.toDownPayAmount : 0) - (info.payedDownAmount ? info.payedDownAmount : 0);
|
|
12986
|
+
if (info.downPayments) {
|
|
12987
|
+
info.downPayments.forEach(function (dp) {
|
|
12988
|
+
var paymentMethod = _this.paymentMethods.find(function (pm) { return pm.payment.code === dp.paymentMethodCode; });
|
|
12989
|
+
_this.downPayments.push(new DownPaymentViewModel(dp, paymentMethod));
|
|
12990
|
+
});
|
|
12991
|
+
}
|
|
12992
|
+
_this.showLoaderDownPayments = false;
|
|
12993
|
+
});
|
|
12820
12994
|
};
|
|
12821
12995
|
PaymentComponent.prototype._dataUriToBase64 = function (uri, mimeType) {
|
|
12822
12996
|
return uri ? "data:" + mimeType + ";base64," + uri : "";
|
|
@@ -12831,18 +13005,24 @@
|
|
|
12831
13005
|
case 0:
|
|
12832
13006
|
if (!(this._paymentStatusPollIntervalCount >= this._paymentStatusMaxPollInterval)) return [3 /*break*/, 1];
|
|
12833
13007
|
this._clearInterval();
|
|
12834
|
-
return [3 /*break*/,
|
|
13008
|
+
return [3 /*break*/, 5];
|
|
12835
13009
|
case 1: return [4 /*yield*/, this._paymentService.getPaymentLinkStatus(this._paymentResult.paymentLinkUUID)];
|
|
12836
13010
|
case 2:
|
|
12837
13011
|
status = _a.sent();
|
|
12838
|
-
if (status.payedDate)
|
|
12839
|
-
|
|
12840
|
-
|
|
13012
|
+
if (!status.payedDate) return [3 /*break*/, 4];
|
|
13013
|
+
this._clearInterval();
|
|
13014
|
+
this.showPspQrCode = false;
|
|
13015
|
+
return [4 /*yield*/, this._getDownpaymentInfo()];
|
|
13016
|
+
case 3:
|
|
13017
|
+
_a.sent();
|
|
13018
|
+
if (this.amountToPay === 0) {
|
|
12841
13019
|
this.payed.emit();
|
|
12842
13020
|
}
|
|
13021
|
+
_a.label = 4;
|
|
13022
|
+
case 4:
|
|
12843
13023
|
this._paymentStatusPollIntervalCount++;
|
|
12844
|
-
_a.label =
|
|
12845
|
-
case
|
|
13024
|
+
_a.label = 5;
|
|
13025
|
+
case 5: return [2 /*return*/];
|
|
12846
13026
|
}
|
|
12847
13027
|
});
|
|
12848
13028
|
}); }, this._paymentStatusPollIntervalMs);
|
|
@@ -12882,36 +13062,12 @@
|
|
|
12882
13062
|
};
|
|
12883
13063
|
PaymentComponent.prototype._getPaymentMethods = function () {
|
|
12884
13064
|
var _this = this;
|
|
12885
|
-
|
|
12886
|
-
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
|
|
12890
|
-
|
|
12891
|
-
case 0:
|
|
12892
|
-
paymentViewModel = new PaymentViewmodel(m);
|
|
12893
|
-
imageDocs = m.documents.filter(function (d) { return d.isImageDocument(); });
|
|
12894
|
-
if (!(imageDocs && imageDocs.length)) return [3 /*break*/, 4];
|
|
12895
|
-
image = imageDocs[0];
|
|
12896
|
-
if (!image.filePath) return [3 /*break*/, 1];
|
|
12897
|
-
paymentViewModel.image = image.filePath;
|
|
12898
|
-
return [3 /*break*/, 4];
|
|
12899
|
-
case 1:
|
|
12900
|
-
if (!!image.thumbnailBody) return [3 /*break*/, 3];
|
|
12901
|
-
return [4 /*yield*/, this._sharedService.getDocumentContent(image.documentId)];
|
|
12902
|
-
case 2:
|
|
12903
|
-
content = _a.sent();
|
|
12904
|
-
image.thumbnailBody = content;
|
|
12905
|
-
_a.label = 3;
|
|
12906
|
-
case 3:
|
|
12907
|
-
paymentViewModel.image = image.thumbnailBodyAsDataUri;
|
|
12908
|
-
_a.label = 4;
|
|
12909
|
-
case 4:
|
|
12910
|
-
this.paymentMethods.push(paymentViewModel);
|
|
12911
|
-
return [2 /*return*/];
|
|
12912
|
-
}
|
|
12913
|
-
});
|
|
12914
|
-
}); });
|
|
13065
|
+
return new Promise(function (resolve) {
|
|
13066
|
+
_this.paymentMethods.length = 0;
|
|
13067
|
+
_this._paymentService.getPaymentMethodsViewModels().then(function (methods) {
|
|
13068
|
+
_this.paymentMethods = methods.slice();
|
|
13069
|
+
resolve();
|
|
13070
|
+
});
|
|
12915
13071
|
});
|
|
12916
13072
|
};
|
|
12917
13073
|
return PaymentComponent;
|
|
@@ -12919,7 +13075,7 @@
|
|
|
12919
13075
|
PaymentComponent.decorators = [
|
|
12920
13076
|
{ type: i0.Component, args: [{
|
|
12921
13077
|
selector: "co-payment",
|
|
12922
|
-
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 <transaction-loader *ngIf=\"showLoader\"></transaction-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]=\"
|
|
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 <transaction-loader class=\"loader\" *ngIf=\"showLoader\"></transaction-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 ",
|
|
12923
13079
|
encapsulation: i0.ViewEncapsulation.None
|
|
12924
13080
|
},] }
|
|
12925
13081
|
];
|
|
@@ -13024,6 +13180,84 @@
|
|
|
13024
13180
|
},] }
|
|
13025
13181
|
];
|
|
13026
13182
|
|
|
13183
|
+
var DownPaymentComponent = /** @class */ (function () {
|
|
13184
|
+
function DownPaymentComponent(_paymentService) {
|
|
13185
|
+
this._paymentService = _paymentService;
|
|
13186
|
+
this.showLoader = true;
|
|
13187
|
+
this.paymentMethods = [];
|
|
13188
|
+
}
|
|
13189
|
+
DownPaymentComponent.prototype.showClass = function () {
|
|
13190
|
+
return true;
|
|
13191
|
+
};
|
|
13192
|
+
DownPaymentComponent.prototype.ngOnInit = function () {
|
|
13193
|
+
this._prepareData();
|
|
13194
|
+
};
|
|
13195
|
+
DownPaymentComponent.prototype._getDownpaymentInfo = function () {
|
|
13196
|
+
var _this = this;
|
|
13197
|
+
this.downPayments.length = 0;
|
|
13198
|
+
this._paymentService.getDownPaymentInfo(this.transactionUuid).then(function (info) {
|
|
13199
|
+
if (info.downPayments) {
|
|
13200
|
+
info.downPayments.forEach(function (dp) {
|
|
13201
|
+
var paymentMethod = _this.paymentMethods.find(function (pm) { return pm.payment.code === dp.paymentMethodCode; });
|
|
13202
|
+
_this.downPayments.push(new DownPaymentViewModel(dp, paymentMethod));
|
|
13203
|
+
});
|
|
13204
|
+
}
|
|
13205
|
+
});
|
|
13206
|
+
};
|
|
13207
|
+
DownPaymentComponent.prototype._prepareData = function () {
|
|
13208
|
+
var _this = this;
|
|
13209
|
+
if (!this.downPayments) {
|
|
13210
|
+
this.downPayments = [];
|
|
13211
|
+
this.showLoader = true;
|
|
13212
|
+
this.paymentMethods.length = 0;
|
|
13213
|
+
this._paymentService.getPaymentMethodsViewModels().then(function (methods) {
|
|
13214
|
+
_this.paymentMethods = methods.slice();
|
|
13215
|
+
_this._getDownpaymentInfo();
|
|
13216
|
+
_this.showLoader = false;
|
|
13217
|
+
});
|
|
13218
|
+
}
|
|
13219
|
+
};
|
|
13220
|
+
return DownPaymentComponent;
|
|
13221
|
+
}());
|
|
13222
|
+
DownPaymentComponent.decorators = [
|
|
13223
|
+
{ type: i0.Component, args: [{
|
|
13224
|
+
selector: "co-down-payment",
|
|
13225
|
+
template: "\n <transaction-loader class=\"loader\" *ngIf=\"showLoader\"></transaction-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
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
13227
|
+
},] }
|
|
13228
|
+
];
|
|
13229
|
+
DownPaymentComponent.ctorParameters = function () { return [
|
|
13230
|
+
{ type: PaymentService }
|
|
13231
|
+
]; };
|
|
13232
|
+
DownPaymentComponent.propDecorators = {
|
|
13233
|
+
transactionUuid: [{ type: i0.Input }],
|
|
13234
|
+
downPayments: [{ type: i0.Input }],
|
|
13235
|
+
showLoader: [{ type: i0.Input }],
|
|
13236
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-down-payment",] }]
|
|
13237
|
+
};
|
|
13238
|
+
|
|
13239
|
+
var DownPaymentModule = /** @class */ (function () {
|
|
13240
|
+
function DownPaymentModule() {
|
|
13241
|
+
}
|
|
13242
|
+
return DownPaymentModule;
|
|
13243
|
+
}());
|
|
13244
|
+
DownPaymentModule.decorators = [
|
|
13245
|
+
{ type: i0.NgModule, args: [{
|
|
13246
|
+
imports: [
|
|
13247
|
+
common.CommonModule,
|
|
13248
|
+
CoreModule,
|
|
13249
|
+
PipeModule,
|
|
13250
|
+
PaymentTileModule
|
|
13251
|
+
],
|
|
13252
|
+
declarations: [
|
|
13253
|
+
DownPaymentComponent
|
|
13254
|
+
],
|
|
13255
|
+
exports: [
|
|
13256
|
+
DownPaymentComponent
|
|
13257
|
+
]
|
|
13258
|
+
},] }
|
|
13259
|
+
];
|
|
13260
|
+
|
|
13027
13261
|
var PaymentModule = /** @class */ (function () {
|
|
13028
13262
|
function PaymentModule() {
|
|
13029
13263
|
}
|
|
@@ -13040,7 +13274,8 @@
|
|
|
13040
13274
|
sharedcomponents.KeyPadModule,
|
|
13041
13275
|
corecomponents_v12.CoDialogModule,
|
|
13042
13276
|
corecomponents_v12.ButtonModule,
|
|
13043
|
-
PaymentQrCodeModule
|
|
13277
|
+
PaymentQrCodeModule,
|
|
13278
|
+
DownPaymentModule
|
|
13044
13279
|
],
|
|
13045
13280
|
declarations: [
|
|
13046
13281
|
PaymentComponent
|
|
@@ -13417,7 +13652,7 @@
|
|
|
13417
13652
|
RelationAddressesComponent.decorators = [
|
|
13418
13653
|
{ type: i0.Component, args: [{
|
|
13419
13654
|
selector: "co-relation-addresses",
|
|
13420
|
-
template: "\n <div class=\"default-data-row\">\n <co-carousel-3d *ngIf=\"addresses && addresses.length > 1\"\n [tileWidth]=\"200\"\n [tileHeight]=\"100\"\n [selectedIndex]=\"selectedAddressIdx\"\n (indexSelected)=\"setIndexAddress($event)\">\n <co-relation-address-tile #carouselItem *ngFor=\"let address of addresses; let index = index\"\n [address]=\"address\"\n [selected]=\"selectedAddressIdx === index\"\n (editAddressClicked)=\"editAddress($event)\"\n ></co-relation-address-tile>\n </co-carousel-3d>\n </div>\n <div class=\"default-data-row\">\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 <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=\"title\" [textContent]=\"'NEW_ADDRESS' | localize\"></div>\n </ng-template>\n <ng-template #templateFooter>\n <div class=\"dialog-footer-button-wrapper\">\n <co-button [label]=\"'SAVE' | localize\" (click)=\"submitForm()\"></co-button>\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"showEditAddressDialog = false\"></co-button>\n </div>\n </ng-template>\n </co-dialog>\n ",
|
|
13655
|
+
template: "\n <div class=\"default-data-row\">\n <co-carousel-3d *ngIf=\"addresses && addresses.length > 1\"\n [tileWidth]=\"200\"\n [tileHeight]=\"100\"\n [selectedIndex]=\"selectedAddressIdx\"\n (indexSelected)=\"setIndexAddress($event)\">\n <co-relation-address-tile #carouselItem *ngFor=\"let address of addresses; let index = index\"\n [address]=\"address\"\n [selected]=\"selectedAddressIdx === index\"\n (editAddressClicked)=\"editAddress($event)\"\n ></co-relation-address-tile>\n </co-carousel-3d>\n </div>\n <div class=\"default-data-row\">\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 <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=\"dialog-footer-button-wrapper\">\n <co-button [label]=\"'SAVE' | localize\" (click)=\"submitForm()\"></co-button>\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"showEditAddressDialog = false\"></co-button>\n </div>\n </ng-template>\n </co-dialog>\n ",
|
|
13421
13656
|
providers: [
|
|
13422
13657
|
corecomponents_v12.FormMasterService
|
|
13423
13658
|
],
|
|
@@ -14533,7 +14768,7 @@
|
|
|
14533
14768
|
DialogHeaderSearchComponent.decorators = [
|
|
14534
14769
|
{ type: i0.Component, args: [{
|
|
14535
14770
|
selector: "co-dialog-header-search",
|
|
14536
|
-
template: "\n <div class=\"dialog-header-search-wrapper\">\n <div class=\"dialog-header-
|
|
14771
|
+
template: "\n <div class=\"dialog-header-search-wrapper\">\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"title | localize\"></div>\n <co-input-search [placeholder]=\"searchPlaceholder | localize\" [noIcon]=\"true\" (modelChange)=\"handleSearch($event)\"></co-input-search>\n </div>\n ",
|
|
14537
14772
|
encapsulation: i0.ViewEncapsulation.None
|
|
14538
14773
|
},] }
|
|
14539
14774
|
];
|
|
@@ -14838,8 +15073,8 @@
|
|
|
14838
15073
|
return __generator(this, function (_a) {
|
|
14839
15074
|
switch (_a.label) {
|
|
14840
15075
|
case 0:
|
|
14841
|
-
if (!(this.transactionInfo
|
|
14842
|
-
oldDownPayPercentage = this.transactionInfo.
|
|
15076
|
+
if (!(this.transactionInfo && this.transactionInfo.toDownPayPercentage !== amount)) return [3 /*break*/, 2];
|
|
15077
|
+
oldDownPayPercentage = this.transactionInfo.toDownPayPercentage;
|
|
14843
15078
|
return [4 /*yield*/, this._transactionService.updateHeaderTransactionDownpaymentPercentage(this.transactionInfo.uuid, amount)];
|
|
14844
15079
|
case 1:
|
|
14845
15080
|
success = _a.sent();
|
|
@@ -14860,7 +15095,7 @@
|
|
|
14860
15095
|
TransactionHeaderDownpaymentPercentageComponent.decorators = [
|
|
14861
15096
|
{ type: i0.Component, args: [{
|
|
14862
15097
|
selector: "co-transaction-header-downpayment-percentage",
|
|
14863
|
-
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionInfo.
|
|
15098
|
+
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionInfo.toDownPayPercentage | append: '%'\"></span>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [type]=\"'number'\"\n [placeholder]=\"showLabel ? ('DOWNPAYMENT_PERCENTAGE' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [model]=\"transactionInfo.toDownPayPercentage\"\n (blur)=\"editMode = false\"\n ></co-input-text>\n ",
|
|
14864
15099
|
encapsulation: i0.ViewEncapsulation.None
|
|
14865
15100
|
},] }
|
|
14866
15101
|
];
|
|
@@ -14946,8 +15181,8 @@
|
|
|
14946
15181
|
return __generator(this, function (_a) {
|
|
14947
15182
|
switch (_a.label) {
|
|
14948
15183
|
case 0:
|
|
14949
|
-
if (!(this.transactionInfo
|
|
14950
|
-
oldDownPayPercentage = this.transactionInfo.
|
|
15184
|
+
if (!(this.transactionInfo && this.transactionInfo.toDownPayAmount !== amount)) return [3 /*break*/, 2];
|
|
15185
|
+
oldDownPayPercentage = this.transactionInfo.toDownPayAmount;
|
|
14951
15186
|
return [4 /*yield*/, this._transactionService.updateHeaderTransactionDownpaymentAmount(this.transactionInfo.uuid, amount)];
|
|
14952
15187
|
case 1:
|
|
14953
15188
|
success = _a.sent();
|
|
@@ -14968,7 +15203,7 @@
|
|
|
14968
15203
|
TransactionHeaderDownpaymentAmountComponent.decorators = [
|
|
14969
15204
|
{ type: i0.Component, args: [{
|
|
14970
15205
|
selector: "co-transaction-header-downpayment-amount",
|
|
14971
|
-
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionInfo.
|
|
15206
|
+
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionInfo.toDownPayAmount | coCurrency\"></span>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [type]=\"'number'\"\n [placeholder]=\"showLabel ? ('DOWNPAYMENT' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [model]=\"transactionInfo.toDownPayAmount\"\n (blur)=\"editMode = false\"\n ></co-input-text>\n ",
|
|
14972
15207
|
encapsulation: i0.ViewEncapsulation.None
|
|
14973
15208
|
},] }
|
|
14974
15209
|
];
|
|
@@ -15512,10 +15747,11 @@
|
|
|
15512
15747
|
};
|
|
15513
15748
|
|
|
15514
15749
|
var TransactionComponent = /** @class */ (function () {
|
|
15515
|
-
function TransactionComponent(iconCacheService, _service, _dynamicComponentService, _transactionEventService) {
|
|
15750
|
+
function TransactionComponent(iconCacheService, _service, _appRef, _dynamicComponentService, _transactionEventService) {
|
|
15516
15751
|
var _this = this;
|
|
15517
15752
|
this.iconCacheService = iconCacheService;
|
|
15518
15753
|
this._service = _service;
|
|
15754
|
+
this._appRef = _appRef;
|
|
15519
15755
|
this._dynamicComponentService = _dynamicComponentService;
|
|
15520
15756
|
this._transactionEventService = _transactionEventService;
|
|
15521
15757
|
this.viewModes = ContentViewMode;
|
|
@@ -15526,6 +15762,7 @@
|
|
|
15526
15762
|
this.showButtonBar = true;
|
|
15527
15763
|
this.activeViewMode = ContentViewMode.List;
|
|
15528
15764
|
this.activeCategory = TransactionTypeCategory.SalesOrderOverview;
|
|
15765
|
+
this.sidePanelOpen = false;
|
|
15529
15766
|
this._subs = [];
|
|
15530
15767
|
this._transaction = new transactionInfoResponse_bo.TransactionInfoResponse();
|
|
15531
15768
|
this._subs.push(this._service.transactionUpdated.subscribe(function (transaction) {
|
|
@@ -15580,6 +15817,12 @@
|
|
|
15580
15817
|
this.activeCategory = button.category;
|
|
15581
15818
|
};
|
|
15582
15819
|
TransactionComponent.prototype.handleShowSidePanel = function (line) {
|
|
15820
|
+
var _a;
|
|
15821
|
+
var sidePanelComponent = (_a = this._dynamicComponentService.getComponentRefs()
|
|
15822
|
+
.find(function (ref) { return ref.instance instanceof TransactionLineSidePanelComponent; })) === null || _a === void 0 ? void 0 : _a.instance;
|
|
15823
|
+
if (sidePanelComponent) {
|
|
15824
|
+
sidePanelComponent.handleCancelClick();
|
|
15825
|
+
}
|
|
15583
15826
|
this.sidePanelTransactionLine = line;
|
|
15584
15827
|
this._dynamicComponentService.createComponent(TransactionLineSidePanelComponent, {
|
|
15585
15828
|
transactionInfo: this.transaction.transactionInfo,
|
|
@@ -15599,6 +15842,7 @@
|
|
|
15599
15842
|
TransactionComponent.ctorParameters = function () { return [
|
|
15600
15843
|
{ type: IconCacheService },
|
|
15601
15844
|
{ type: TransactionService },
|
|
15845
|
+
{ type: i0.ApplicationRef },
|
|
15602
15846
|
{ type: DynamicComponentService },
|
|
15603
15847
|
{ type: TransactionEventService }
|
|
15604
15848
|
]; };
|
|
@@ -15609,7 +15853,8 @@
|
|
|
15609
15853
|
showHeader: [{ type: i0.Input }],
|
|
15610
15854
|
showQuickAccess: [{ type: i0.HostBinding, args: ['class.show-quick-access',] }, { type: i0.Input }],
|
|
15611
15855
|
showButtonBar: [{ type: i0.HostBinding, args: ['class.show-button-bar',] }, { type: i0.Input }],
|
|
15612
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction",] }]
|
|
15856
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction",] }],
|
|
15857
|
+
sidePanelComponents: [{ type: i0.ViewChildren, args: [TransactionLineSidePanelComponent,] }]
|
|
15613
15858
|
};
|
|
15614
15859
|
|
|
15615
15860
|
var TransactionHeaderComponent = /** @class */ (function () {
|
|
@@ -15857,7 +16102,7 @@
|
|
|
15857
16102
|
TransactionHeaderOrderComponent.decorators = [
|
|
15858
16103
|
{ type: i0.Component, args: [{
|
|
15859
16104
|
selector: "co-transaction-header-order",
|
|
15860
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"transactionInfo.branch?.familyName\"></div>\n <div class=\"header-order-definitive\">\n <co-transaction-header-definitive [transactionInfo]=\"transactionInfo\"></co-transaction-header-definitive>\n </div>\n </ng-template>\n <ng-template #firstBlock>\n <span class=\"header-order-total-label co-transaction-label\" [textContent]=\"'ORDER_TOTAL' | localize\"></span>\n <div class=\"header-order-total\" [textContent]=\"transactionTotal.netAmount | priceDisplay\"></div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"transaction-line-button custom-width\" (click)=\"handleShowDiscountDialog($event)\">\n <span class=\"co-transaction-label\" [textContent]=\"'DISCOUNT' | localize\"></span>\n <span class=\"co-transaction-overflow-ellipsis transaction-discount\" [class.transaction-negative-value]=\"transactionTotal.
|
|
16105
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"transactionInfo.branch?.familyName\"></div>\n <div class=\"header-order-definitive\">\n <co-transaction-header-definitive [transactionInfo]=\"transactionInfo\"></co-transaction-header-definitive>\n </div>\n </ng-template>\n <ng-template #firstBlock>\n <span class=\"header-order-total-label co-transaction-label\" [textContent]=\"'ORDER_TOTAL' | localize\"></span>\n <div class=\"header-order-total\" [textContent]=\"transactionTotal.netAmount | priceDisplay\"></div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"transaction-line-button custom-width\" (click)=\"handleShowDiscountDialog($event)\">\n <span class=\"co-transaction-label\" [textContent]=\"'DISCOUNT' | localize\"></span>\n <span class=\"co-transaction-overflow-ellipsis transaction-discount\" [class.transaction-negative-value]=\"transactionTotal.totalDiscountAmount < 0\"\n [textContent]=\"transactionTotal.totalDiscountAmount | coCurrency\"></span>\n </div>\n </ng-template>\n <ng-template #thirdBlock>\n <span class=\"header-order-line-amount-label co-transaction-label\" [textContent]=\"'ORDER_LINES' | localize\"></span>\n <div class=\"header-order-line-amount\" [textContent]=\"transactionLines.length\"></div>\n </ng-template>\n <co-dialog-transaction-header-discount class=\"discount-dialog\" *ngIf=\"showDiscountDialog\"\n [transactionInfo]=\"transactionInfo\"\n [transactionTotal]=\"transactionTotal\"\n (close)=\"showDiscountDialog = false\">\n </co-dialog-transaction-header-discount>\n ",
|
|
15861
16106
|
encapsulation: i0.ViewEncapsulation.None
|
|
15862
16107
|
},] }
|
|
15863
16108
|
];
|
|
@@ -15892,14 +16137,17 @@
|
|
|
15892
16137
|
|
|
15893
16138
|
var TransactionHeaderPaymentComponent = /** @class */ (function (_super) {
|
|
15894
16139
|
__extends(TransactionHeaderPaymentComponent, _super);
|
|
15895
|
-
function TransactionHeaderPaymentComponent(iconService, service) {
|
|
16140
|
+
function TransactionHeaderPaymentComponent(iconService, service, _paymentService) {
|
|
15896
16141
|
var _this = _super.call(this, service) || this;
|
|
15897
16142
|
_this.iconService = iconService;
|
|
15898
16143
|
_this.service = service;
|
|
16144
|
+
_this._paymentService = _paymentService;
|
|
15899
16145
|
_this.icons = Icon;
|
|
15900
16146
|
_this.transactionKind = transactionKind_enum.TransactionKind;
|
|
15901
16147
|
_this.showDialog = false;
|
|
15902
16148
|
_this.showPaymentDialog = false;
|
|
16149
|
+
_this.paid = 0;
|
|
16150
|
+
_this.toPay = 0;
|
|
15903
16151
|
return _this;
|
|
15904
16152
|
}
|
|
15905
16153
|
TransactionHeaderPaymentComponent.prototype.showClass = function () {
|
|
@@ -15910,18 +16158,31 @@
|
|
|
15910
16158
|
event.stopPropagation();
|
|
15911
16159
|
this.showPaymentDialog = true;
|
|
15912
16160
|
};
|
|
16161
|
+
TransactionHeaderPaymentComponent.prototype.transactionSet = function () {
|
|
16162
|
+
this._getDownpaymentInfo();
|
|
16163
|
+
};
|
|
16164
|
+
TransactionHeaderPaymentComponent.prototype._getDownpaymentInfo = function () {
|
|
16165
|
+
var _this = this;
|
|
16166
|
+
this._paymentService.getDownPaymentInfo(this.transactionInfo.uuid).then(function (info) {
|
|
16167
|
+
if (info) {
|
|
16168
|
+
_this.toPay = info.toDownPayAmount;
|
|
16169
|
+
_this.paid = info.payedDownAmount;
|
|
16170
|
+
}
|
|
16171
|
+
});
|
|
16172
|
+
};
|
|
15913
16173
|
return TransactionHeaderPaymentComponent;
|
|
15914
16174
|
}(TransactionBaseComponent));
|
|
15915
16175
|
TransactionHeaderPaymentComponent.decorators = [
|
|
15916
16176
|
{ type: i0.Component, args: [{
|
|
15917
16177
|
selector: "co-transaction-header-payment",
|
|
15918
|
-
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-paid\" [textContent]=\"
|
|
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 <ng-container *ngIf=\"toPay === paid\">\n <span class=\"payment-paid\" [textContent]=\"paid | priceDisplay\"></span>\n </ng-container>\n <ng-container *ngIf=\"toPay !== paid\">\n <span class=\"payment-paid\" [textContent]=\"paid | priceDisplay\"></span>\n <span class=\"payment-divider\" [textContent]=\"'/'\"></span>\n <span class=\"payment-to-pay\" [textContent]=\"toPay | priceDisplay\"></span>\n </ng-container>\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 ",
|
|
15919
16179
|
encapsulation: i0.ViewEncapsulation.None
|
|
15920
16180
|
},] }
|
|
15921
16181
|
];
|
|
15922
16182
|
TransactionHeaderPaymentComponent.ctorParameters = function () { return [
|
|
15923
16183
|
{ type: IconCacheService },
|
|
15924
|
-
{ type: TransactionService }
|
|
16184
|
+
{ type: TransactionService },
|
|
16185
|
+
{ type: PaymentService }
|
|
15925
16186
|
]; };
|
|
15926
16187
|
TransactionHeaderPaymentComponent.propDecorators = {
|
|
15927
16188
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-header-payment",] }]
|
|
@@ -18272,7 +18533,7 @@
|
|
|
18272
18533
|
TransactionArticleTextOverviewComponent.decorators = [
|
|
18273
18534
|
{ type: i0.Component, args: [{
|
|
18274
18535
|
selector: "co-transaction-article-text-overview",
|
|
18275
|
-
template: "\n <co-dialog (closeClick)=\"closeClick.emit($event)\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <div class=\"article-text-content-wrapper\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"article-text-drag-drop-list\"\n [cdkDropListData]=\"collection\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"article-text-overview-article-text-wrapper\" *ngFor=\"let transLine of collection; let index = index\" cdkDrag (dblclick)=\"handleOpenArticleText(transLine)\">\n <div class=\"index\" [textContent]=\"index + 1\"></div>\n <div class=\"text\" [innerHTML]=\"transLine.text | safeHtml\"></div>\n </div>\n </div>\n </div>\n </co-dialog>\n <ng-template #headerTemplate><span [textContent]=\"header\"></span></ng-template>\n <ng-template #footerTemplate>\n <div class=\"button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onOkClick($event)\"></co-button>\n <co-button [label]=\"'CANCEL' | localize \" (click)=\"onCancelClick($event)\"></co-button>\n </div>\n </ng-template>\n <co-transaction-article-text *ngIf=\"showTransactionArticleText\"\n [header]=\"header\"\n [articleLineNr]=\"editTransactionLine.lineNr\"\n [articleRef]=\"editTransactionLine.articleNumber\"\n [transactionLine]=\"editTransactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleText($event)\"\n (cancelClick)=\"closeTransactionArticleText($event)\"\n ></co-transaction-article-text>\n ",
|
|
18536
|
+
template: "\n <co-dialog (closeClick)=\"closeClick.emit($event)\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <div class=\"article-text-content-wrapper\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"article-text-drag-drop-list\"\n [cdkDropListData]=\"collection\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"article-text-overview-article-text-wrapper\" *ngFor=\"let transLine of collection; let index = index\" cdkDrag (dblclick)=\"handleOpenArticleText(transLine)\">\n <div class=\"index\" [textContent]=\"index + 1\"></div>\n <div class=\"text\" [innerHTML]=\"transLine.text | safeHtml\"></div>\n </div>\n </div>\n </div>\n </co-dialog>\n <ng-template #headerTemplate><span class=\"co-transaction-dialog-header-title\" [textContent]=\"header\"></span></ng-template>\n <ng-template #footerTemplate>\n <div class=\"button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onOkClick($event)\"></co-button>\n <co-button [label]=\"'CANCEL' | localize \" (click)=\"onCancelClick($event)\"></co-button>\n </div>\n </ng-template>\n <co-transaction-article-text *ngIf=\"showTransactionArticleText\"\n [header]=\"header\"\n [articleLineNr]=\"editTransactionLine.lineNr\"\n [articleRef]=\"editTransactionLine.articleNumber\"\n [transactionLine]=\"editTransactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleText($event)\"\n (cancelClick)=\"closeTransactionArticleText($event)\"\n ></co-transaction-article-text>\n ",
|
|
18276
18537
|
encapsulation: i0.ViewEncapsulation.None
|
|
18277
18538
|
},] }
|
|
18278
18539
|
];
|
|
@@ -18545,7 +18806,7 @@
|
|
|
18545
18806
|
DialogTransactionLineDiscountComponent.decorators = [
|
|
18546
18807
|
{ type: i0.Component, args: [{
|
|
18547
18808
|
selector: "co-dialog-transaction-line-discount",
|
|
18548
|
-
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=\"two-column-grid\">\n <co-input-text [placeholder]=\"'SURCHARGE_AMOUNT' | localize\" [model]=\"transactionLine.surchargeAmount\" [readonly]=\"readonly\"></co-input-text>\n <co-input-text [placeholder]=\"'BUSINESS_RULE_DISCOUNT' | localize\" [model]=\"'NIET_GEIMPLEMENTEERD'\" [readonly]=\"readonly\"></co-input-text>\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\" [textContent]=\"'NIET_GEIMPLEMENTEERD'\"></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=\"dialog-header-title\" [textContent]=\"'DISCOUNT_PRICE_INFORMATION' | localize\"></div>\n <div class=\"transaction-line-button big\" (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 ",
|
|
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=\"two-column-grid\">\n <co-input-text [placeholder]=\"'SURCHARGE_AMOUNT' | localize\" [model]=\"transactionLine.surchargeAmount\" [readonly]=\"readonly\"></co-input-text>\n <co-input-text [placeholder]=\"'BUSINESS_RULE_DISCOUNT' | localize\" [model]=\"'NIET_GEIMPLEMENTEERD'\" [readonly]=\"readonly\"></co-input-text>\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\" [textContent]=\"'NIET_GEIMPLEMENTEERD'\"></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 big\" (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 ",
|
|
18549
18810
|
encapsulation: i0.ViewEncapsulation.None
|
|
18550
18811
|
},] }
|
|
18551
18812
|
];
|
|
@@ -18752,7 +19013,7 @@
|
|
|
18752
19013
|
DiscountComponent.decorators = [
|
|
18753
19014
|
{ type: i0.Component, args: [{
|
|
18754
19015
|
selector: "co-discount",
|
|
18755
|
-
template: "\n <co-sidebar #discountsSidebar isOpen=\"false\">\n <div fxLayout=\"column\" fxLayoutGap=\"10px\">\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.DiscountPercentage, 'TRANSACTION_DISCOUNT_PERC')\"></co-button>\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_DISCOUNT'| localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.DiscountAmount, 'TRANSACTION_DISCOUNT')\"></co-button>\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_TOTAL'| localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.OrderTotal, 'TRANSACTION_TOTAL')\"></co-button>\n\n </div>\n </co-sidebar>\n <co-dialog *ngIf=\"inputDiscounts\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <co-form>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.DiscountPercentage\"\n [type]=\"'number'\"\n [(model)]=\"transactionDiscountPercentage\"\n [placeholder]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"\n ></co-input-text>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.DiscountAmount\"\n [type]=\"'number'\"\n [(model)]=\"transactionDiscountAmount\"\n [placeholder]=\"'TRANSACTION_DISCOUNT' | localize\"\n ></co-input-text>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.OrderTotal\"\n [type]=\"'number'\"\n [(model)]=\"transactionTotal\"\n [placeholder]=\"'TRANSACTION_TOTAL' | localize\"\n ></co-input-text>\n </co-form>\n </co-dialog>\n <ng-template #headerTemplate>\n <div class=\"
|
|
19016
|
+
template: "\n <co-sidebar #discountsSidebar isOpen=\"false\">\n <div fxLayout=\"column\" fxLayoutGap=\"10px\">\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.DiscountPercentage, 'TRANSACTION_DISCOUNT_PERC')\"></co-button>\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_DISCOUNT'| localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.DiscountAmount, 'TRANSACTION_DISCOUNT')\"></co-button>\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_TOTAL'| localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.OrderTotal, 'TRANSACTION_TOTAL')\"></co-button>\n\n </div>\n </co-sidebar>\n <co-dialog *ngIf=\"inputDiscounts\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <co-form>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.DiscountPercentage\"\n [type]=\"'number'\"\n [(model)]=\"transactionDiscountPercentage\"\n [placeholder]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"\n ></co-input-text>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.DiscountAmount\"\n [type]=\"'number'\"\n [(model)]=\"transactionDiscountAmount\"\n [placeholder]=\"'TRANSACTION_DISCOUNT' | localize\"\n ></co-input-text>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.OrderTotal\"\n [type]=\"'number'\"\n [(model)]=\"transactionTotal\"\n [placeholder]=\"'TRANSACTION_TOTAL' | localize\"\n ></co-input-text>\n </co-form>\n </co-dialog>\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"discountHeader | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxLayoutAlign=\"end\">\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"inputDiscounts = false\"></co-button>\n <co-button [label]=\"'OK' | localize\" (click)=\"onInputDiscountsOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
18756
19017
|
encapsulation: i0.ViewEncapsulation.None
|
|
18757
19018
|
},] }
|
|
18758
19019
|
];
|
|
@@ -18898,11 +19159,12 @@
|
|
|
18898
19159
|
{ type: i0.NgModule, args: [{
|
|
18899
19160
|
imports: [
|
|
18900
19161
|
common.CommonModule,
|
|
19162
|
+
corecomponents_v12.IconModule,
|
|
18901
19163
|
corecomponents_v12.InputTextModule,
|
|
18902
19164
|
PipeModule,
|
|
18903
19165
|
corecomponents_v12.InputCheckboxModule,
|
|
18904
19166
|
corecomponents_v12.InputDatePickerModule,
|
|
18905
|
-
corecomponents_v12.
|
|
19167
|
+
corecomponents_v12.CheckmarkOverlayModule
|
|
18906
19168
|
],
|
|
18907
19169
|
declarations: [
|
|
18908
19170
|
TransactionQuickAccessReceivedGoodsComponent
|
|
@@ -19415,7 +19677,9 @@
|
|
|
19415
19677
|
return true;
|
|
19416
19678
|
};
|
|
19417
19679
|
TransactionLineWarehouseLocationButtonComponent.prototype.openWarehouseLocationDialog = function (line) {
|
|
19418
|
-
this.
|
|
19680
|
+
if (!this.readonly) {
|
|
19681
|
+
this._dialogService.showWarehouseLocation(line.warehouseNumber, true, true, true, line);
|
|
19682
|
+
}
|
|
19419
19683
|
};
|
|
19420
19684
|
return TransactionLineWarehouseLocationButtonComponent;
|
|
19421
19685
|
}());
|
|
@@ -19687,7 +19951,7 @@
|
|
|
19687
19951
|
TransactionBaseLineComponent.decorators = [
|
|
19688
19952
|
{ type: i0.Component, args: [{
|
|
19689
19953
|
selector: "co-transaction-base-line",
|
|
19690
|
-
template: "\n <div class=\"transaction-base-line-wrapper\">\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)=\"handleCheckboxValueChanged()\"\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 ",
|
|
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)=\"handleCheckboxValueChanged()\"\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 ",
|
|
19691
19955
|
encapsulation: i0.ViewEncapsulation.None
|
|
19692
19956
|
},] }
|
|
19693
19957
|
];
|
|
@@ -19795,6 +20059,7 @@
|
|
|
19795
20059
|
_this.iconCacheService = iconCacheService;
|
|
19796
20060
|
_this.service = service;
|
|
19797
20061
|
_this.icons = Icon;
|
|
20062
|
+
_this.readonly = false;
|
|
19798
20063
|
_this.showDialogWarehouse = false;
|
|
19799
20064
|
return _this;
|
|
19800
20065
|
}
|
|
@@ -19815,12 +20080,16 @@
|
|
|
19815
20080
|
});
|
|
19816
20081
|
});
|
|
19817
20082
|
};
|
|
20083
|
+
TransactionLineWarehouseButtonComponent.prototype.handleClick = function (event) {
|
|
20084
|
+
this.stopPropagation(event);
|
|
20085
|
+
this.showDialogWarehouse = true;
|
|
20086
|
+
};
|
|
19818
20087
|
return TransactionLineWarehouseButtonComponent;
|
|
19819
20088
|
}(TransactionLineBaseComponent));
|
|
19820
20089
|
TransactionLineWarehouseButtonComponent.decorators = [
|
|
19821
20090
|
{ type: i0.Component, args: [{
|
|
19822
20091
|
selector: "co-transaction-line-warehouse-button",
|
|
19823
|
-
template: "\n <div class=\"transaction-line-button\" [class.no-pointer]=\"readonly\" (click)=\"
|
|
20092
|
+
template: "\n <div class=\"transaction-line-button\" [class.no-pointer]=\"readonly\" (click)=\"handleClick($event)\">\n <co-icon class=\"header-warehouse-icon\" [iconData]=\"iconCacheService.getIcon(icons.Warehouse)\"></co-icon>\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"transactionLine.warehouseNumber\"></span>\n </div>\n <co-dialog-transaction-line-warehouse *ngIf=\"showDialogWarehouse && !readonly\"\n [autoClose]=\"true\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showDialogWarehouse = false\"\n ></co-dialog-transaction-line-warehouse>\n ",
|
|
19824
20093
|
encapsulation: i0.ViewEncapsulation.None
|
|
19825
20094
|
},] }
|
|
19826
20095
|
];
|
|
@@ -19829,6 +20098,7 @@
|
|
|
19829
20098
|
{ type: TransactionService }
|
|
19830
20099
|
]; };
|
|
19831
20100
|
TransactionLineWarehouseButtonComponent.propDecorators = {
|
|
20101
|
+
readonly: [{ type: i0.Input }],
|
|
19832
20102
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-warehouse-button",] }]
|
|
19833
20103
|
};
|
|
19834
20104
|
|
|
@@ -20046,7 +20316,8 @@
|
|
|
20046
20316
|
corecomponents_v12.InputNumberPickerModule,
|
|
20047
20317
|
corecomponents_v12.InputCheckboxModule,
|
|
20048
20318
|
corecomponents_v12.IconModule,
|
|
20049
|
-
TransactionLineWarehouseLocationButtonModule
|
|
20319
|
+
TransactionLineWarehouseLocationButtonModule,
|
|
20320
|
+
corecomponents_v12.ObserveVisibilityModule
|
|
20050
20321
|
],
|
|
20051
20322
|
declarations: [
|
|
20052
20323
|
TransactionReceiveGoodsLineComponent
|
|
@@ -22183,233 +22454,235 @@
|
|
|
22183
22454
|
exports["ɵdf"] = PaymentTileComponent;
|
|
22184
22455
|
exports["ɵdg"] = PaymentQrCodeModule;
|
|
22185
22456
|
exports["ɵdh"] = PaymentQrCodeComponent;
|
|
22186
|
-
exports["ɵdi"] =
|
|
22187
|
-
exports["ɵdj"] =
|
|
22188
|
-
exports["ɵdk"] =
|
|
22189
|
-
exports["ɵdl"] =
|
|
22190
|
-
exports["ɵdm"] =
|
|
22191
|
-
exports["ɵdn"] =
|
|
22192
|
-
exports["ɵdo"] =
|
|
22193
|
-
exports["ɵdp"] =
|
|
22194
|
-
exports["ɵdq"] =
|
|
22195
|
-
exports["ɵdr"] =
|
|
22196
|
-
exports["ɵds"] =
|
|
22197
|
-
exports["ɵdt"] =
|
|
22198
|
-
exports["ɵdu"] =
|
|
22199
|
-
exports["ɵdv"] =
|
|
22200
|
-
exports["ɵdw"] =
|
|
22201
|
-
exports["ɵdx"] =
|
|
22202
|
-
exports["ɵdy"] =
|
|
22203
|
-
exports["ɵdz"] =
|
|
22457
|
+
exports["ɵdi"] = DownPaymentModule;
|
|
22458
|
+
exports["ɵdj"] = DownPaymentComponent;
|
|
22459
|
+
exports["ɵdk"] = PaymentService;
|
|
22460
|
+
exports["ɵdl"] = PaymentComponent;
|
|
22461
|
+
exports["ɵdm"] = RelationTypeModule;
|
|
22462
|
+
exports["ɵdn"] = RelationTypeComponent;
|
|
22463
|
+
exports["ɵdo"] = RelationGeneralModule;
|
|
22464
|
+
exports["ɵdp"] = RelationSuggestionsListModule;
|
|
22465
|
+
exports["ɵdq"] = RelationSuggestionsListItemModule;
|
|
22466
|
+
exports["ɵdr"] = RelationSuggestionsListItemComponent;
|
|
22467
|
+
exports["ɵds"] = RelationSuggestionsListComponent;
|
|
22468
|
+
exports["ɵdt"] = RelationGeneralComponent;
|
|
22469
|
+
exports["ɵdu"] = RelationAddressesModule;
|
|
22470
|
+
exports["ɵdv"] = RelationAddressesComponent;
|
|
22471
|
+
exports["ɵdw"] = RelationContactDetailsModule;
|
|
22472
|
+
exports["ɵdx"] = RelationContactDetailsComponent;
|
|
22473
|
+
exports["ɵdy"] = RelationPreferencesModule;
|
|
22474
|
+
exports["ɵdz"] = RelationPreferencesComponent;
|
|
22204
22475
|
exports["ɵe"] = DictionaryService;
|
|
22205
|
-
exports["ɵea"] =
|
|
22206
|
-
exports["ɵeb"] =
|
|
22207
|
-
exports["ɵec"] =
|
|
22208
|
-
exports["ɵed"] =
|
|
22209
|
-
exports["ɵee"] =
|
|
22210
|
-
exports["ɵef"] =
|
|
22211
|
-
exports["ɵeg"] =
|
|
22212
|
-
exports["ɵeh"] =
|
|
22213
|
-
exports["ɵei"] =
|
|
22214
|
-
exports["ɵej"] =
|
|
22215
|
-
exports["ɵek"] =
|
|
22216
|
-
exports["ɵel"] =
|
|
22217
|
-
exports["ɵem"] =
|
|
22218
|
-
exports["ɵen"] =
|
|
22219
|
-
exports["ɵeo"] =
|
|
22220
|
-
exports["ɵep"] =
|
|
22221
|
-
exports["ɵeq"] =
|
|
22222
|
-
exports["ɵer"] =
|
|
22223
|
-
exports["ɵes"] =
|
|
22224
|
-
exports["ɵet"] =
|
|
22225
|
-
exports["ɵeu"] =
|
|
22226
|
-
exports["ɵev"] =
|
|
22227
|
-
exports["ɵew"] =
|
|
22228
|
-
exports["ɵex"] =
|
|
22229
|
-
exports["ɵey"] =
|
|
22230
|
-
exports["ɵez"] =
|
|
22476
|
+
exports["ɵea"] = TransactionHeaderBlockModule;
|
|
22477
|
+
exports["ɵeb"] = TransactionHeaderBlockComponent;
|
|
22478
|
+
exports["ɵec"] = TransactionHeaderDeliveryDateModule;
|
|
22479
|
+
exports["ɵed"] = TransactionHeaderDeliveryDateComponent;
|
|
22480
|
+
exports["ɵee"] = TransactionHeaderDeliveryOptionsModule;
|
|
22481
|
+
exports["ɵef"] = TransactionHeaderDeliveryOptionsComponent;
|
|
22482
|
+
exports["ɵeg"] = TransactionHeaderRemarksModule;
|
|
22483
|
+
exports["ɵeh"] = TransactionHeaderRemarksComponent;
|
|
22484
|
+
exports["ɵei"] = TransactionHeaderReferenceModule;
|
|
22485
|
+
exports["ɵej"] = TransactionHeaderReferenceComponent;
|
|
22486
|
+
exports["ɵek"] = TransactionHeaderRelationReferenceModule;
|
|
22487
|
+
exports["ɵel"] = TransactionHeaderRelationReferenceComponent;
|
|
22488
|
+
exports["ɵem"] = TransactionHeaderDeliveryMethodModule;
|
|
22489
|
+
exports["ɵen"] = TransactionLineCheckboxModule;
|
|
22490
|
+
exports["ɵeo"] = TransactionLineCheckboxListComponent;
|
|
22491
|
+
exports["ɵep"] = TransactionHeaderDeliveryMethodComponent;
|
|
22492
|
+
exports["ɵeq"] = TransactionHeaderPreferredDeliveryDateModule;
|
|
22493
|
+
exports["ɵer"] = TransactionHeaderPreferredDeliveryDateComponent;
|
|
22494
|
+
exports["ɵes"] = DialogTransactionHeaderDeliveryMethodModule;
|
|
22495
|
+
exports["ɵet"] = DialogHeaderSearchModule;
|
|
22496
|
+
exports["ɵeu"] = DialogHeaderSearchComponent;
|
|
22497
|
+
exports["ɵev"] = DialogTransactionHeaderDeliveryMethodComponent;
|
|
22498
|
+
exports["ɵew"] = TransactionHeaderPartialDeliveryModule;
|
|
22499
|
+
exports["ɵex"] = TransactionHeaderPartialDeliveryComponent;
|
|
22500
|
+
exports["ɵey"] = TransactionBaseComponent;
|
|
22501
|
+
exports["ɵez"] = TransactionHeaderDownpaymentPercentageModule;
|
|
22231
22502
|
exports["ɵf"] = TransactionConnectorService;
|
|
22232
|
-
exports["ɵfa"] =
|
|
22233
|
-
exports["ɵfb"] =
|
|
22234
|
-
exports["ɵfc"] =
|
|
22235
|
-
exports["ɵfd"] =
|
|
22236
|
-
exports["ɵfe"] =
|
|
22237
|
-
exports["ɵff"] =
|
|
22238
|
-
exports["ɵfg"] =
|
|
22239
|
-
exports["ɵfh"] =
|
|
22240
|
-
exports["ɵfi"] =
|
|
22241
|
-
exports["ɵfj"] =
|
|
22242
|
-
exports["ɵfk"] =
|
|
22243
|
-
exports["ɵfl"] =
|
|
22244
|
-
exports["ɵfm"] =
|
|
22245
|
-
exports["ɵfn"] =
|
|
22246
|
-
exports["ɵfo"] =
|
|
22247
|
-
exports["ɵfp"] =
|
|
22248
|
-
exports["ɵfq"] =
|
|
22249
|
-
exports["ɵfr"] =
|
|
22250
|
-
exports["ɵfs"] =
|
|
22251
|
-
exports["ɵft"] =
|
|
22252
|
-
exports["ɵfu"] =
|
|
22253
|
-
exports["ɵfv"] =
|
|
22254
|
-
exports["ɵfw"] =
|
|
22255
|
-
exports["ɵfx"] =
|
|
22256
|
-
exports["ɵfy"] =
|
|
22257
|
-
exports["ɵfz"] =
|
|
22503
|
+
exports["ɵfa"] = TransactionHeaderDownpaymentPercentageComponent;
|
|
22504
|
+
exports["ɵfb"] = TransactionHeaderDownpaymentAmountModule;
|
|
22505
|
+
exports["ɵfc"] = TransactionHeaderDownpaymentAmountComponent;
|
|
22506
|
+
exports["ɵfd"] = TransactionHeaderDefinitiveModule;
|
|
22507
|
+
exports["ɵfe"] = TransactionHeaderDefinitiveComponent;
|
|
22508
|
+
exports["ɵff"] = TransactionHeaderBranchModule;
|
|
22509
|
+
exports["ɵfg"] = TransactionHeaderBranchComponent;
|
|
22510
|
+
exports["ɵfh"] = TransactionHeaderAdministrativeRelationModule;
|
|
22511
|
+
exports["ɵfi"] = TransactionHeaderAdministrativeRelationComponent;
|
|
22512
|
+
exports["ɵfj"] = TransactionHeaderMarketingModule;
|
|
22513
|
+
exports["ɵfk"] = TransactionHeaderMarketingComponent;
|
|
22514
|
+
exports["ɵfl"] = CheckoutOverviewRelationEditComponent;
|
|
22515
|
+
exports["ɵfm"] = CheckoutOverviewDeliveryEditComponent;
|
|
22516
|
+
exports["ɵfn"] = CheckoutOverviewDeliveryAddressComponent;
|
|
22517
|
+
exports["ɵfo"] = CheckoutOverviewPaymentComponent;
|
|
22518
|
+
exports["ɵfp"] = CheckoutLoginComponent;
|
|
22519
|
+
exports["ɵfq"] = TransactionFilterCategoriesModule;
|
|
22520
|
+
exports["ɵfr"] = TransactionFilterCategoriesComponent;
|
|
22521
|
+
exports["ɵfs"] = TransactionHeaderPaymentModule;
|
|
22522
|
+
exports["ɵft"] = TransactionHeaderPaymentComponent;
|
|
22523
|
+
exports["ɵfu"] = TransactionLinesGridModule;
|
|
22524
|
+
exports["ɵfv"] = TransactionBaseGridModule;
|
|
22525
|
+
exports["ɵfw"] = TransactionLineSidePanelModule;
|
|
22526
|
+
exports["ɵfx"] = TransactionLineSidePanelDefaultModule;
|
|
22527
|
+
exports["ɵfy"] = TransactionLinePriceModule;
|
|
22528
|
+
exports["ɵfz"] = TransactionLinePriceComponent;
|
|
22258
22529
|
exports["ɵg"] = TransactionConnectorAdapterService;
|
|
22259
|
-
exports["ɵga"] =
|
|
22260
|
-
exports["ɵgb"] =
|
|
22261
|
-
exports["ɵgc"] =
|
|
22262
|
-
exports["ɵgd"] =
|
|
22263
|
-
exports["ɵge"] =
|
|
22264
|
-
exports["ɵgf"] =
|
|
22265
|
-
exports["ɵgg"] =
|
|
22266
|
-
exports["ɵgh"] =
|
|
22267
|
-
exports["ɵgi"] =
|
|
22268
|
-
exports["ɵgj"] =
|
|
22269
|
-
exports["ɵgk"] =
|
|
22270
|
-
exports["ɵgl"] =
|
|
22271
|
-
exports["ɵgm"] =
|
|
22272
|
-
exports["ɵgn"] =
|
|
22273
|
-
exports["ɵgo"] =
|
|
22274
|
-
exports["ɵgp"] =
|
|
22275
|
-
exports["ɵgq"] =
|
|
22276
|
-
exports["ɵgr"] =
|
|
22277
|
-
exports["ɵgs"] =
|
|
22278
|
-
exports["ɵgt"] =
|
|
22279
|
-
exports["ɵgu"] =
|
|
22280
|
-
exports["ɵgv"] =
|
|
22281
|
-
exports["ɵgw"] =
|
|
22282
|
-
exports["ɵgx"] =
|
|
22283
|
-
exports["ɵgy"] =
|
|
22284
|
-
exports["ɵgz"] =
|
|
22530
|
+
exports["ɵga"] = TransactionLinePriceListModule;
|
|
22531
|
+
exports["ɵgb"] = TransactionLinePriceListComponent;
|
|
22532
|
+
exports["ɵgc"] = TransactionLineVatModule;
|
|
22533
|
+
exports["ɵgd"] = TransactionLineVatComponent;
|
|
22534
|
+
exports["ɵge"] = TransactionLineQuantityModule;
|
|
22535
|
+
exports["ɵgf"] = TransactionLineQuantityComponent;
|
|
22536
|
+
exports["ɵgg"] = TransactionLineLineDiscountModule;
|
|
22537
|
+
exports["ɵgh"] = TransactionLineLineDiscountComponent;
|
|
22538
|
+
exports["ɵgi"] = TransactionLineDeliveryMethodModule;
|
|
22539
|
+
exports["ɵgj"] = TransactionLineDeliveryMethodComponent;
|
|
22540
|
+
exports["ɵgk"] = TransactionLineDeliveryDateModule;
|
|
22541
|
+
exports["ɵgl"] = TransactionLineDeliveryDateComponent;
|
|
22542
|
+
exports["ɵgm"] = TransactionLineReferenceModule;
|
|
22543
|
+
exports["ɵgn"] = TransactionLineReferenceComponent;
|
|
22544
|
+
exports["ɵgo"] = TransactionLineCommissionCodeModule;
|
|
22545
|
+
exports["ɵgp"] = TransactionLineCommissionCodeComponent;
|
|
22546
|
+
exports["ɵgq"] = TransactionLineWarehouseModule;
|
|
22547
|
+
exports["ɵgr"] = TransactionLineWarehouseComponent;
|
|
22548
|
+
exports["ɵgs"] = TransactionLineDiscountAmountModule;
|
|
22549
|
+
exports["ɵgt"] = TransactionLineDiscountAmountComponent;
|
|
22550
|
+
exports["ɵgu"] = TransactionLineQuantumDiscountModule;
|
|
22551
|
+
exports["ɵgv"] = TransactionLineQuantumDiscountComponent;
|
|
22552
|
+
exports["ɵgw"] = TransactionLineSpecialDiscountModule;
|
|
22553
|
+
exports["ɵgx"] = TransactionLineSpecialDiscountComponent;
|
|
22554
|
+
exports["ɵgy"] = TransactionLineSupplierModule;
|
|
22555
|
+
exports["ɵgz"] = TransactionLineSupplierComponent;
|
|
22285
22556
|
exports["ɵh"] = SelectMultipleCacheService;
|
|
22286
|
-
exports["ɵha"] =
|
|
22287
|
-
exports["ɵhb"] =
|
|
22288
|
-
exports["ɵhc"] =
|
|
22289
|
-
exports["ɵhd"] =
|
|
22290
|
-
exports["ɵhe"] =
|
|
22291
|
-
exports["ɵhf"] =
|
|
22292
|
-
exports["ɵhg"] =
|
|
22293
|
-
exports["ɵhh"] =
|
|
22294
|
-
exports["ɵhi"] =
|
|
22295
|
-
exports["ɵhj"] =
|
|
22296
|
-
exports["ɵhk"] =
|
|
22297
|
-
exports["ɵhl"] =
|
|
22298
|
-
exports["ɵhm"] =
|
|
22299
|
-
exports["ɵhn"] =
|
|
22300
|
-
exports["ɵho"] =
|
|
22301
|
-
exports["ɵhp"] =
|
|
22302
|
-
exports["ɵhq"] =
|
|
22303
|
-
exports["ɵhr"] =
|
|
22304
|
-
exports["ɵhs"] =
|
|
22305
|
-
exports["ɵht"] =
|
|
22306
|
-
exports["ɵhu"] =
|
|
22307
|
-
exports["ɵhv"] =
|
|
22308
|
-
exports["ɵhw"] =
|
|
22309
|
-
exports["ɵhx"] =
|
|
22310
|
-
exports["ɵhy"] =
|
|
22311
|
-
exports["ɵhz"] =
|
|
22557
|
+
exports["ɵha"] = TransactionLineSidePanelDefaultComponent;
|
|
22558
|
+
exports["ɵhb"] = TransactionReceivingGoodsHistoryModule;
|
|
22559
|
+
exports["ɵhc"] = TransactionHistoryGridModule;
|
|
22560
|
+
exports["ɵhd"] = TransactionHistoryGridStatusModule;
|
|
22561
|
+
exports["ɵhe"] = TransactionHistoryGridStatusComponent;
|
|
22562
|
+
exports["ɵhf"] = TransactionHistoryGridComponent;
|
|
22563
|
+
exports["ɵhg"] = TransactionReceivingGoodsHistoryComponent;
|
|
22564
|
+
exports["ɵhh"] = TransactionReceivingGoodsDetailsModule;
|
|
22565
|
+
exports["ɵhi"] = TransactionReceivingGoodsDetailsComponent;
|
|
22566
|
+
exports["ɵhj"] = ArticleService;
|
|
22567
|
+
exports["ɵhk"] = TransactionButtonBarModule;
|
|
22568
|
+
exports["ɵhl"] = TransactionButtonBarComponent;
|
|
22569
|
+
exports["ɵhm"] = TransactionButtonBarButtonComponent;
|
|
22570
|
+
exports["ɵhn"] = TransactionLineSidePanelPurchaseModule;
|
|
22571
|
+
exports["ɵho"] = DefaultOkCancelButtonsModule;
|
|
22572
|
+
exports["ɵhp"] = DefaultOkCancelButtonsComponent;
|
|
22573
|
+
exports["ɵhq"] = TransactionLineSidePanelPurchaseComponent;
|
|
22574
|
+
exports["ɵhr"] = TransactionLineSidePanelComponent;
|
|
22575
|
+
exports["ɵhs"] = DynamicBaseComponent;
|
|
22576
|
+
exports["ɵht"] = TransactionLineActionButtonsModule;
|
|
22577
|
+
exports["ɵhu"] = TransactionArticleTextOverviewModule;
|
|
22578
|
+
exports["ɵhv"] = TransactionArticleTextOverviewComponent;
|
|
22579
|
+
exports["ɵhw"] = TransactionLineActionButtonsComponent;
|
|
22580
|
+
exports["ɵhx"] = TransactionBaseGridComponent;
|
|
22581
|
+
exports["ɵhy"] = TransactionGridBaseComponent;
|
|
22582
|
+
exports["ɵhz"] = DialogTransactionLineCommissionCodeModule;
|
|
22312
22583
|
exports["ɵi"] = BusinessObjectCacheManagerService;
|
|
22313
|
-
exports["ɵia"] =
|
|
22314
|
-
exports["ɵib"] =
|
|
22315
|
-
exports["ɵic"] =
|
|
22316
|
-
exports["ɵid"] =
|
|
22317
|
-
exports["ɵie"] =
|
|
22318
|
-
exports["ɵif"] =
|
|
22319
|
-
exports["ɵig"] =
|
|
22320
|
-
exports["ɵih"] =
|
|
22321
|
-
exports["ɵii"] =
|
|
22322
|
-
exports["ɵij"] =
|
|
22323
|
-
exports["ɵik"] =
|
|
22324
|
-
exports["ɵil"] =
|
|
22325
|
-
exports["ɵim"] =
|
|
22326
|
-
exports["ɵin"] =
|
|
22327
|
-
exports["ɵio"] =
|
|
22328
|
-
exports["ɵip"] =
|
|
22329
|
-
exports["ɵiq"] =
|
|
22330
|
-
exports["ɵir"] =
|
|
22331
|
-
exports["ɵis"] =
|
|
22332
|
-
exports["ɵit"] =
|
|
22333
|
-
exports["ɵiu"] =
|
|
22334
|
-
exports["ɵiv"] =
|
|
22335
|
-
exports["ɵiw"] =
|
|
22336
|
-
exports["ɵix"] =
|
|
22337
|
-
exports["ɵiy"] =
|
|
22338
|
-
exports["ɵiz"] =
|
|
22584
|
+
exports["ɵia"] = DialogTransactionLineCommissionCodeComponent;
|
|
22585
|
+
exports["ɵib"] = DialogTransactionLineBaseComponent;
|
|
22586
|
+
exports["ɵic"] = DialogTransactionLineWarehouseModule;
|
|
22587
|
+
exports["ɵid"] = DialogTransactionLineWarehouseComponent;
|
|
22588
|
+
exports["ɵie"] = DialogTransactionLineWarehouseCcModule;
|
|
22589
|
+
exports["ɵif"] = DialogTransactionLineWarehouseCcComponent;
|
|
22590
|
+
exports["ɵig"] = DialogTransactionLineDeliveryMethodModule;
|
|
22591
|
+
exports["ɵih"] = DialogTransactionLineDeliveryMethodComponent;
|
|
22592
|
+
exports["ɵii"] = DialogTransactionLineVatModule;
|
|
22593
|
+
exports["ɵij"] = DialogTransactionLineVatComponent;
|
|
22594
|
+
exports["ɵik"] = DialogTransactionLineDiscountModule;
|
|
22595
|
+
exports["ɵil"] = DialogTransactionLinePriceListModule;
|
|
22596
|
+
exports["ɵim"] = DialogTransactionLinePriceListComponent;
|
|
22597
|
+
exports["ɵin"] = DialogTransactionLineDiscountComponent;
|
|
22598
|
+
exports["ɵio"] = TransactionLinesGridComponent;
|
|
22599
|
+
exports["ɵip"] = DiscountModule;
|
|
22600
|
+
exports["ɵiq"] = DiscountComponent;
|
|
22601
|
+
exports["ɵir"] = TransactionQuickAccessOverviewModule;
|
|
22602
|
+
exports["ɵis"] = TransactionQuickAccessOverviewComponent;
|
|
22603
|
+
exports["ɵit"] = TransactionQuickAccessOrderDeliveryModule;
|
|
22604
|
+
exports["ɵiu"] = TransactionQuickAccessOrderDeliveryComponent;
|
|
22605
|
+
exports["ɵiv"] = TransactionOrderConfirmationGridModule;
|
|
22606
|
+
exports["ɵiw"] = TransactionOrderConfirmationGridComponent;
|
|
22607
|
+
exports["ɵix"] = TransactionReceivedGoodsGridModule;
|
|
22608
|
+
exports["ɵiy"] = DialogTransactionLineWarehouseLocationModule;
|
|
22609
|
+
exports["ɵiz"] = TransactionLineWarehouseLocationModule;
|
|
22339
22610
|
exports["ɵj"] = CacheField;
|
|
22340
|
-
exports["ɵja"] =
|
|
22341
|
-
exports["ɵjb"] =
|
|
22342
|
-
exports["ɵjc"] =
|
|
22343
|
-
exports["ɵjd"] =
|
|
22344
|
-
exports["ɵje"] =
|
|
22345
|
-
exports["ɵjf"] =
|
|
22346
|
-
exports["ɵjg"] =
|
|
22347
|
-
exports["ɵjh"] =
|
|
22348
|
-
exports["ɵji"] =
|
|
22349
|
-
exports["ɵjj"] =
|
|
22350
|
-
exports["ɵjk"] =
|
|
22351
|
-
exports["ɵjl"] =
|
|
22352
|
-
exports["ɵjm"] =
|
|
22353
|
-
exports["ɵjn"] =
|
|
22354
|
-
exports["ɵjo"] =
|
|
22355
|
-
exports["ɵjp"] =
|
|
22356
|
-
exports["ɵjq"] =
|
|
22357
|
-
exports["ɵjr"] =
|
|
22358
|
-
exports["ɵjs"] =
|
|
22359
|
-
exports["ɵjt"] =
|
|
22360
|
-
exports["ɵju"] =
|
|
22361
|
-
exports["ɵjv"] =
|
|
22362
|
-
exports["ɵjw"] =
|
|
22363
|
-
exports["ɵjx"] =
|
|
22364
|
-
exports["ɵjy"] =
|
|
22365
|
-
exports["ɵjz"] =
|
|
22611
|
+
exports["ɵja"] = TransactionLineWarehouseLocationComponent;
|
|
22612
|
+
exports["ɵjb"] = DialogTransactionLineWarehouseLocationComponent;
|
|
22613
|
+
exports["ɵjc"] = TransactionLineWarehouseLocationButtonModule;
|
|
22614
|
+
exports["ɵjd"] = TransactionLineWarehouseLocationButtonComponent;
|
|
22615
|
+
exports["ɵje"] = TransactionReceivedGoodsGridComponent;
|
|
22616
|
+
exports["ɵjf"] = ViewModeButtonsModule;
|
|
22617
|
+
exports["ɵjg"] = ViewModeButtonsComponent;
|
|
22618
|
+
exports["ɵjh"] = TransactionGridModule;
|
|
22619
|
+
exports["ɵji"] = TransactionGridComponent;
|
|
22620
|
+
exports["ɵjj"] = TransactionTileModule;
|
|
22621
|
+
exports["ɵjk"] = TransactionTileComponent;
|
|
22622
|
+
exports["ɵjl"] = TransactionOverviewLineModule;
|
|
22623
|
+
exports["ɵjm"] = EditableLabelModule;
|
|
22624
|
+
exports["ɵjn"] = EditableLabelComponent;
|
|
22625
|
+
exports["ɵjo"] = TransactionBaseLineModule;
|
|
22626
|
+
exports["ɵjp"] = TransactionBaseLineComponent;
|
|
22627
|
+
exports["ɵjq"] = TransactionLinesLineBaseComponent;
|
|
22628
|
+
exports["ɵjr"] = TransactionLineCommissionButtonModule;
|
|
22629
|
+
exports["ɵjs"] = TransactionLineCommissionButtonComponent;
|
|
22630
|
+
exports["ɵjt"] = TransactionLineWarehouseButtonModule;
|
|
22631
|
+
exports["ɵju"] = TransactionLineWarehouseButtonComponent;
|
|
22632
|
+
exports["ɵjv"] = TransactionLineDeliveryButtonModule;
|
|
22633
|
+
exports["ɵjw"] = TransactionLineDeliveryButtonComponent;
|
|
22634
|
+
exports["ɵjx"] = TransactionLineDeliveryDateButtonModule;
|
|
22635
|
+
exports["ɵjy"] = TransactionLineDeliveryDateButtonComponent;
|
|
22636
|
+
exports["ɵjz"] = TransactionOverviewLineComponent;
|
|
22366
22637
|
exports["ɵk"] = SelectMultipleParameterizedCacheService;
|
|
22367
|
-
exports["ɵka"] =
|
|
22368
|
-
exports["ɵkb"] =
|
|
22369
|
-
exports["ɵkc"] =
|
|
22370
|
-
exports["ɵkd"] =
|
|
22371
|
-
exports["ɵke"] =
|
|
22372
|
-
exports["ɵkf"] =
|
|
22373
|
-
exports["ɵkg"] =
|
|
22374
|
-
exports["ɵkh"] =
|
|
22375
|
-
exports["ɵki"] =
|
|
22376
|
-
exports["ɵkj"] =
|
|
22377
|
-
exports["ɵkk"] =
|
|
22378
|
-
exports["ɵkl"] =
|
|
22379
|
-
exports["ɵkm"] =
|
|
22380
|
-
exports["ɵkn"] =
|
|
22381
|
-
exports["ɵko"] =
|
|
22382
|
-
exports["ɵkp"] =
|
|
22383
|
-
exports["ɵkq"] =
|
|
22384
|
-
exports["ɵkr"] =
|
|
22385
|
-
exports["ɵks"] =
|
|
22386
|
-
exports["ɵkt"] =
|
|
22387
|
-
exports["ɵku"] =
|
|
22388
|
-
exports["ɵkv"] =
|
|
22389
|
-
exports["ɵkw"] =
|
|
22390
|
-
exports["ɵkx"] =
|
|
22391
|
-
exports["ɵky"] =
|
|
22392
|
-
exports["ɵkz"] =
|
|
22638
|
+
exports["ɵka"] = TransactionOrderDeliveryLineModule;
|
|
22639
|
+
exports["ɵkb"] = TransactionOrderDeliveryLineComponent;
|
|
22640
|
+
exports["ɵkc"] = TransactionReceiveGoodsLineModule;
|
|
22641
|
+
exports["ɵkd"] = TransactionReceiveGoodsLineComponent;
|
|
22642
|
+
exports["ɵke"] = TransactionSearchResultModule;
|
|
22643
|
+
exports["ɵkf"] = TransactionSearchSalesOrderTileModule;
|
|
22644
|
+
exports["ɵkg"] = TransactionSearchSalesOrderTileComponent;
|
|
22645
|
+
exports["ɵkh"] = TransactionSearchTileBaseComponent;
|
|
22646
|
+
exports["ɵki"] = TransactionSearchPurchaseOrderTileModule;
|
|
22647
|
+
exports["ɵkj"] = TransactionSearchPurchaseOrderTileComponent;
|
|
22648
|
+
exports["ɵkk"] = TransactionSearchSalesOrderGridModule;
|
|
22649
|
+
exports["ɵkl"] = TransactionSearchSalesOrderGridComponent;
|
|
22650
|
+
exports["ɵkm"] = TransactionSearchGridBaseComponent;
|
|
22651
|
+
exports["ɵkn"] = TransactionSearchPurchaseOrderGridModule;
|
|
22652
|
+
exports["ɵko"] = TransactionSearchPurchaseOrderGridComponent;
|
|
22653
|
+
exports["ɵkp"] = TransactionSearchHeaderModule;
|
|
22654
|
+
exports["ɵkq"] = TransactionSearchHeaderComponent;
|
|
22655
|
+
exports["ɵkr"] = TransactionSearchGridModule;
|
|
22656
|
+
exports["ɵks"] = TransactionSearchGridComponent;
|
|
22657
|
+
exports["ɵkt"] = TransactionSearchTileModule;
|
|
22658
|
+
exports["ɵku"] = TransactionSearchTileComponent;
|
|
22659
|
+
exports["ɵkv"] = TransactionSearchResultComponent;
|
|
22660
|
+
exports["ɵkw"] = TransactionSalesOrderFilterModule;
|
|
22661
|
+
exports["ɵkx"] = TransactionSalesOrderFilterContentOrderModule;
|
|
22662
|
+
exports["ɵky"] = TransactionFilterItemModule;
|
|
22663
|
+
exports["ɵkz"] = TransactionFilterItemComponent;
|
|
22393
22664
|
exports["ɵl"] = ErrorService;
|
|
22394
|
-
exports["ɵla"] =
|
|
22395
|
-
exports["ɵlb"] =
|
|
22396
|
-
exports["ɵlc"] =
|
|
22397
|
-
exports["ɵld"] =
|
|
22398
|
-
exports["ɵle"] =
|
|
22399
|
-
exports["ɵlf"] =
|
|
22400
|
-
exports["ɵlg"] =
|
|
22401
|
-
exports["ɵlh"] =
|
|
22402
|
-
exports["ɵli"] =
|
|
22403
|
-
exports["ɵlj"] =
|
|
22404
|
-
exports["ɵlk"] =
|
|
22405
|
-
exports["ɵll"] =
|
|
22406
|
-
exports["ɵlm"] =
|
|
22407
|
-
exports["ɵln"] =
|
|
22408
|
-
exports["ɵlo"] =
|
|
22409
|
-
exports["ɵlp"] =
|
|
22410
|
-
exports["ɵlq"] =
|
|
22411
|
-
exports["ɵlr"] =
|
|
22412
|
-
exports["ɵls"] =
|
|
22665
|
+
exports["ɵla"] = TransactionSalesOrderFilterContentOrderComponent;
|
|
22666
|
+
exports["ɵlb"] = TransactionFilterContentBaseComponent;
|
|
22667
|
+
exports["ɵlc"] = FilterRequestService;
|
|
22668
|
+
exports["ɵld"] = TransactionSalesOrderFilterContentLogisticsModule;
|
|
22669
|
+
exports["ɵle"] = TransactionFilterHistoricStateModule;
|
|
22670
|
+
exports["ɵlf"] = TransactionFilterHistoricStateComponent;
|
|
22671
|
+
exports["ɵlg"] = TransactionSalesOrderFilterContentLogisticsComponent;
|
|
22672
|
+
exports["ɵlh"] = TransactionSalesOrderFilterContentArticleModule;
|
|
22673
|
+
exports["ɵli"] = TransactionSalesOrderFilterContentArticleComponent;
|
|
22674
|
+
exports["ɵlj"] = TransactionSalesOrderFilterComponent;
|
|
22675
|
+
exports["ɵlk"] = TransactionFilterBaseComponent;
|
|
22676
|
+
exports["ɵll"] = TransactionPurchaseOrderFilterModule;
|
|
22677
|
+
exports["ɵlm"] = TransactionPurchaseOrderFilterContentOrderModule;
|
|
22678
|
+
exports["ɵln"] = TransactionPurchaseOrderFilterContentOrderComponent;
|
|
22679
|
+
exports["ɵlo"] = TransactionPurchaseOrderFilterContentLogisticsModule;
|
|
22680
|
+
exports["ɵlp"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
|
|
22681
|
+
exports["ɵlq"] = TransactionPurchaseOrderFilterContentArticleModule;
|
|
22682
|
+
exports["ɵlr"] = TransactionPurchaseOrderFilterContentArticleComponent;
|
|
22683
|
+
exports["ɵls"] = TransactionPurchaseOrderFilterComponent;
|
|
22684
|
+
exports["ɵlt"] = TransactionFilterModule;
|
|
22685
|
+
exports["ɵlu"] = TransactionFilterComponent;
|
|
22413
22686
|
exports["ɵm"] = SelectSingleCacheService;
|
|
22414
22687
|
exports["ɵn"] = ArticleConnectorService;
|
|
22415
22688
|
exports["ɵo"] = CoreModule;
|