@colijnit/transaction 12.1.33 → 12.1.34
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 +1511 -1128
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +234 -223
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +235 -224
- package/esm2015/lib/assets/dictionary/text.properties.js +9 -3
- package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +13 -3
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +3 -3
- package/esm2015/lib/component/checkout/checkout.component.js +14 -8
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +14 -3
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.module.js +4 -3
- package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.js +2 -2
- package/esm2015/lib/component/core/base/components/warehouse/warehouse.component.js +2 -2
- package/esm2015/lib/component/core/base/dialog-transaction-header-base.component.js +25 -0
- package/esm2015/lib/component/core/base/dialog-transaction-line-base.component.js +1 -1
- package/esm2015/lib/component/core/base/transaction-line-base.component.js +43 -9
- package/esm2015/lib/component/core/core.module.js +9 -3
- package/esm2015/lib/component/core/directive/lazy-render-master.directive.js +43 -0
- package/esm2015/lib/component/core/directive/lazy-render.directive.js +30 -0
- package/esm2015/lib/component/core/relation/customer-groups.component.js +4 -2
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/dialog-transaction-header-delivery-method.component.js +35 -0
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/dialog-transaction-header-delivery-method.module.js +28 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.js +90 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.module.js +34 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/dialog-transaction-line-price-list.component.js +34 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/dialog-transaction-line-price-list.module.js +28 -0
- package/esm2015/lib/component/transaction/transaction.component.js +18 -1
- package/esm2015/lib/component/transaction/transaction.module.js +6 -3
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +34 -23
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.module.js +3 -2
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +23 -11
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.module.js +6 -2
- package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.component.js +10 -5
- package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +12 -11
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +5 -3
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +4 -4
- package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.component.js +6 -4
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +55 -15
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.module.js +4 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-amount.component.js +12 -12
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.component.js +11 -11
- package/esm2015/lib/component/transaction-header-fields/transaction-header-marketing.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-line.component.js +23 -25
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +42 -0
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.module.js +25 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +10 -35
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +10 -46
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +21 -14
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.module.js +4 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-discount-amount.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-line-discount.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +14 -13
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.module.js +6 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-quantity.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-quantum-discount.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-reference.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-special-discount.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.component.js +5 -6
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +9 -34
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.module.js +6 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +9 -34
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.module.js +4 -2
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +1 -34
- package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +3 -3
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +1 -10
- package/esm2015/lib/service/dialog.service.js +26 -11
- package/esm2015/lib/service/error.service.js +31 -12
- package/esm2015/lib/service/pending-reason.service.js +6 -2
- package/esm2015/lib/service/transaction-connector-adapter.service.js +106 -89
- package/esm2015/lib/service/transaction-connector.service.js +21 -1
- package/esm2015/lib/service/transaction-mapping.service.js +1 -1
- package/esm2015/lib/service/transaction.service.js +50 -191
- package/fesm2015/colijnit-transaction.js +1321 -1001
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.d.ts +5 -1
- package/lib/component/confirmation-dialog/confirmation-dialog.component.d.ts +6 -0
- package/lib/component/confirmation-dialog/style/_layout.scss +9 -0
- package/lib/component/core/base/components/characteristic-answer/style/_layout.scss +0 -4
- package/lib/component/core/base/components/characteristic-answer/style/_theme.scss +0 -3
- package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss +1 -1
- package/lib/component/core/base/components/warehouse/style/_layout.scss +0 -4
- package/lib/component/core/base/components/warehouse/style/_theme.scss +0 -3
- package/lib/component/core/base/dialog-transaction-header-base.component.d.ts +10 -0
- package/lib/component/core/base/dialog-transaction-line-base.component.d.ts +1 -1
- package/lib/component/core/base/transaction-line-base.component.d.ts +18 -7
- package/lib/component/core/directive/lazy-render-master.directive.d.ts +10 -0
- package/lib/component/core/directive/lazy-render.directive.d.ts +10 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/dialog-transaction-header-delivery-method.component.d.ts +4 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/dialog-transaction-header-delivery-method.module.d.ts +2 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/_layout.scss +14 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/_material-definition.scss +0 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/_theme.scss +4 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/material.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_layout.scss +0 -5
- package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_layout.scss +0 -5
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.d.ts +12 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.module.d.ts +2 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_layout.scss +43 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_material-definition.scss +9 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_theme.scss +14 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/material.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/dialog-transaction-line-price-list.component.d.ts +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/dialog-transaction-line-price-list.module.d.ts +2 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/_layout.scss +14 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/_material-definition.scss +0 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/_theme.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/material.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-vat/style/_layout.scss +0 -5
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_layout.scss +0 -5
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/style/_layout.scss +0 -5
- package/lib/component/transaction/style/_layout.scss +23 -0
- package/lib/component/transaction/style/_material-definition.scss +5 -0
- package/lib/component/transaction/style/material.scss +2 -0
- package/lib/component/transaction/transaction.component.d.ts +2 -0
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +4 -4
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +4 -1
- package/lib/component/transaction-header/transaction-header/style/_layout.scss +15 -7
- package/lib/component/transaction-header/transaction-header/style/_theme.scss +3 -0
- package/lib/component/transaction-header/transaction-header/style/material.scss +1 -0
- package/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.d.ts +4 -2
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-branch.component.d.ts +2 -1
- package/lib/component/transaction-header-fields/transaction-header-delivery-method.component.d.ts +7 -1
- package/lib/component/transaction-line/style/_layout.scss +3 -19
- package/lib/component/transaction-line/style/_material-definition.scss +3 -10
- package/lib/component/transaction-line/style/_theme.scss +5 -5
- package/lib/component/transaction-line/style/material.scss +2 -0
- package/lib/component/transaction-line/transaction-line.component.d.ts +1 -0
- package/lib/component/transaction-line-checkbox-list/style/_layout.scss +33 -0
- package/lib/component/transaction-line-checkbox-list/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line-checkbox-list/style/_theme.scss +4 -0
- package/lib/component/transaction-line-checkbox-list/style/material.scss +4 -0
- package/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.d.ts +14 -0
- package/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +5 -8
- package/lib/component/transaction-line-fields/transaction-line-delivery-date.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts +5 -8
- package/lib/component/transaction-line-fields/transaction-line-description.component.d.ts +7 -3
- package/lib/component/transaction-line-fields/transaction-line-discount-amount.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-line-discount.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-price-list.component.d.ts +6 -4
- package/lib/component/transaction-line-fields/transaction-line-price.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-quantity.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-quantum-discount.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-reference.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-special-discount.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-supplier.component.d.ts +2 -3
- package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +5 -8
- package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +5 -8
- package/lib/component/transaction-search/style/_layout.scss +4 -1
- package/lib/component/transaction-search/style/_material-definition.scss +11 -5
- package/lib/component/transaction-search/style/_theme.scss +1 -2
- package/lib/component/transaction-search/transaction-search-header/style/_layout.scss +24 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_layout.scss +1 -1
- package/lib/service/dialog.service.d.ts +4 -2
- package/lib/service/error.service.d.ts +8 -4
- package/lib/service/pending-reason.service.d.ts +4 -0
- package/lib/service/transaction-connector-adapter.service.d.ts +3 -2
- package/lib/service/transaction-connector.service.d.ts +3 -1
- package/lib/service/transaction.service.d.ts +3 -5
- package/lib/style/_variables.scss +20 -0
- package/lib/style/transaction-globals.scss +47 -1
- package/package.json +1 -1
|
@@ -51,6 +51,8 @@ import { GoodsReceiptStatusWithHistory } from '@colijnit/transactionapi/build/mo
|
|
|
51
51
|
import { PurchasePortalLine } from '@colijnit/transactionapi/build/model/purchase-portal-line.bo';
|
|
52
52
|
import { CreatePaymentLinkResult } from '@colijnit/transactionapi/build/model/create-payment-link-result.bo';
|
|
53
53
|
import { PaymentLinkStatus } from '@colijnit/transactionapi/build/model/payment-link-status.bo';
|
|
54
|
+
import * as i1 from '@angular/platform-browser';
|
|
55
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
54
56
|
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
|
|
55
57
|
import { RelationStatus } from '@colijnit/transactionapi/build/enum/relation-status.enum';
|
|
56
58
|
import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
|
|
@@ -60,12 +62,11 @@ import { ArticleLight } from '@colijnit/articleapi/build/model/article-light.bo'
|
|
|
60
62
|
import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
|
|
61
63
|
import { MainArticle } from '@colijnit/articleapi/build/model/main-article.bo';
|
|
62
64
|
import { ResolveHeaderPendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo';
|
|
63
|
-
import {
|
|
65
|
+
import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
|
|
66
|
+
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputListboxModule, DropDownModule, ClickoutsideModule, InputTextComponent, InputNumberPickerModule, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, InputSearchModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, CarouselModule, ColumnAlign, SimpleGridColumnDirective, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
64
67
|
import { FlexModule } from '@angular/flex-layout';
|
|
65
68
|
import { AddressType } from '@colijnit/transactionapi/build/enum/address-type.enum';
|
|
66
69
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
67
|
-
import * as i1 from '@angular/platform-browser';
|
|
68
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
69
70
|
import { CommonModule, DatePipe } from '@angular/common';
|
|
70
71
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
71
72
|
import { Address } from '@colijnit/transactionapi/build/model/address.bo';
|
|
@@ -75,15 +76,17 @@ import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-s
|
|
|
75
76
|
import { RelationRequest } from '@colijnit/transactionapi/build/model/relation-request';
|
|
76
77
|
import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
|
|
77
78
|
import { CoDocument } from '@colijnit/sharedapi/build/model/co-document.bo';
|
|
78
|
-
import { KeyPadModule } from '@colijnit/sharedcomponents';
|
|
79
|
+
import { KeyPadModule, SendMethodDialogModule } from '@colijnit/sharedcomponents';
|
|
79
80
|
import { RelationNameKind } from '@colijnit/transactionapi/build/enum/relation-name-kind.enum';
|
|
80
81
|
import { GenderType } from '@colijnit/transactionapi/build/enum/gender-type.enum';
|
|
81
82
|
import { FunctionUtils } from '@colijnit/transactionapi/build/utils/function-utils';
|
|
82
83
|
import { CommunicationType } from '@colijnit/transactionapi/build/enum/communication-type.enum';
|
|
83
84
|
import { ContactOption } from '@colijnit/transactionapi/build/model/contact-option.bo';
|
|
84
85
|
import { BusinessObjectUtils } from '@colijnit/transactionapi/build/utils/business-object-utils';
|
|
86
|
+
import { RelationSmallObject } from '@colijnit/transactionapi/build/model/relation-small-object.bo';
|
|
85
87
|
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
86
88
|
import { DiscountType } from '@colijnit/transactionapi/build/enum/discount-type.enum';
|
|
89
|
+
import { ScrollingModule } from '@angular/cdk/scrolling';
|
|
87
90
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo';
|
|
88
91
|
import { PurchaseOrderLineReceiptCorrectionDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo';
|
|
89
92
|
import { PurchaseOrderLineReceiptDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo';
|
|
@@ -93,7 +96,6 @@ import { PagingParameters } from '@colijnit/transactionapi/build/model/paging-pa
|
|
|
93
96
|
import { GoodsReceiptStatus } from '@colijnit/transactionapi/build/model/goods-receipt-status.bo';
|
|
94
97
|
import { GetPurchasePortalLine } from '@colijnit/transactionapi/build/model/get-purchase-portal-line';
|
|
95
98
|
import { PurchasePortalFilters } from '@colijnit/transactionapi/build/model/purchase-portal-filters.bo';
|
|
96
|
-
import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
|
|
97
99
|
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
98
100
|
import { QuantityInHistoricState } from '@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum';
|
|
99
101
|
|
|
@@ -275,6 +277,7 @@ class Dictionary {
|
|
|
275
277
|
"DISCOUNTS": "Kortingen",
|
|
276
278
|
"DISCOUNT_AMOUNT": "Kortingsbedrag",
|
|
277
279
|
"DISCOUNT_PERCENTAGE": "Kortings %",
|
|
280
|
+
"DISCOUNT_PRICE_INFORMATION": "Korting en prijsinformatie",
|
|
278
281
|
"DOWNPAYMENT": "Aanbetaling",
|
|
279
282
|
"DOWNPAYMENT_PERCENTAGE": "Aan te betalen %",
|
|
280
283
|
"DOWNPAYMENT_AMOUNT": "Aan te betalen bedrag",
|
|
@@ -439,12 +442,14 @@ class Dictionary {
|
|
|
439
442
|
"SEARCH_DELIVERY_METHOD": "Zoek levermethode",
|
|
440
443
|
"SEARCH_IN_COLLECTION": "Zoek binnen collectie...",
|
|
441
444
|
"SEARCH_NUMBER_CUSTOMER_OR_DATE": "Zoeken op nummer, klant of datum",
|
|
445
|
+
"SEARCH_PRICE_LIST": "Zoek prijslijst",
|
|
442
446
|
"SEARCH_VAT": "Zoek btw",
|
|
443
447
|
"SEARCH_WAREHOUSE": "Zoek magazijn",
|
|
444
448
|
"SELECT": "Selecteren",
|
|
445
449
|
"SELECT_A": "Selecteer een",
|
|
446
450
|
"SELECT_CASH_REGISTER": "Selecteer kassa",
|
|
447
451
|
"SELECT_DATE": "Selecteer een start- en einddatum",
|
|
452
|
+
"SEND": "Versturen",
|
|
448
453
|
"SERIAL_NUMBER": "Serienummer",
|
|
449
454
|
"SERVICE_NUMBER": "Servicenummer",
|
|
450
455
|
"SERVICE_REQUEST_DATE": "Datum aanvraag",
|
|
@@ -477,7 +482,7 @@ class Dictionary {
|
|
|
477
482
|
"TOTAL_GROSS": "Totaal bruto",
|
|
478
483
|
"TOTAL_LINE_DISCOUNT": "Totale regelkorting",
|
|
479
484
|
"TRANSACTION_DATE": "Orderdatum",
|
|
480
|
-
"TRANSACTION_DISCOUNT": "
|
|
485
|
+
"TRANSACTION_DISCOUNT": "Transactie korting",
|
|
481
486
|
"TRANSACTION_DISCOUNT_PERC": "% Trans. korting",
|
|
482
487
|
"TRANSACTION_PRICE_DECLARATION": "Order prijsverklaring",
|
|
483
488
|
"TRANSACTION_SUM_I": "Ordertotaal incl. BTW",
|
|
@@ -603,6 +608,7 @@ class Dictionary {
|
|
|
603
608
|
"DISCOUNTS": "Discounts",
|
|
604
609
|
"DISCOUNT_AMOUNT": "Discount amount",
|
|
605
610
|
"DISCOUNT_PERCENTAGE": "Discount %",
|
|
611
|
+
"DISCOUNT_PRICE_INFORMATION": "Discount and price information",
|
|
606
612
|
"DOWNPAYMENT": "Downpayment",
|
|
607
613
|
"DOWNPAYMENT_PERCENTAGE": "Percentage to be paid",
|
|
608
614
|
"DOWNPAYMENT_AMOUNT": "Amount to be paid",
|
|
@@ -757,12 +763,14 @@ class Dictionary {
|
|
|
757
763
|
"SEARCH_DELIVERY_METHOD": "Search deliverymethod",
|
|
758
764
|
"SEARCH_IN_COLLECTION": "Search in collection...",
|
|
759
765
|
"SEARCH_NUMBER_CUSTOMER_OR_DATE": "Search for number, customer or date",
|
|
766
|
+
"SEARCH_PRICE_LIST": "Search pricelist",
|
|
760
767
|
"SEARCH_VAT": "Search vat",
|
|
761
768
|
"SEARCH_WAREHOUSE": "Search warehouse",
|
|
762
769
|
"SELECT": "Select",
|
|
763
770
|
"SELECT_A": "Select a",
|
|
764
771
|
"SELECT_CASH_REGISTER": "Select cash register",
|
|
765
772
|
"SELECT_DATE_RANGE": "Select a date range",
|
|
773
|
+
"SEND": "Send",
|
|
766
774
|
"SERIAL_NUMBER": "Serial number",
|
|
767
775
|
"SERVICE_NUMBER": "Service number",
|
|
768
776
|
"SERVICE_REQUEST_DATE": "Service request data",
|
|
@@ -794,7 +802,7 @@ class Dictionary {
|
|
|
794
802
|
"TOTAL_GROSS": "Gross total",
|
|
795
803
|
"TOTAL_LINE_DISCOUNT": "Total linediscount",
|
|
796
804
|
"TRANSACTION_DATE": "Transaction date",
|
|
797
|
-
"TRANSACTION_DISCOUNT": "
|
|
805
|
+
"TRANSACTION_DISCOUNT": "Transaction discount",
|
|
798
806
|
"TRANSACTION_DISCOUNT_PERC": "% Trans. discount",
|
|
799
807
|
"TRANSACTION_PRICE_DECLARATION": "Transaction price declaration",
|
|
800
808
|
"TRANSACTION_SUM_I": "Ordertotal incl VAT",
|
|
@@ -1990,9 +1998,174 @@ var AppPopupType;
|
|
|
1990
1998
|
AppPopupType[AppPopupType["Confirmation"] = 3] = "Confirmation";
|
|
1991
1999
|
})(AppPopupType || (AppPopupType = {}));
|
|
1992
2000
|
|
|
2001
|
+
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
2002
|
+
var Icon;
|
|
2003
|
+
(function (Icon) {
|
|
2004
|
+
Icon["ArrowPointDown"] = "arrow_point_down";
|
|
2005
|
+
Icon["ArrowPointLeft"] = "arrow_point_left";
|
|
2006
|
+
Icon["ArrowPointRight"] = "arrow_point_right";
|
|
2007
|
+
Icon["Article"] = "article";
|
|
2008
|
+
Icon["Barcode"] = "barcode";
|
|
2009
|
+
Icon["BarcodeSolid"] = "barcode_solid";
|
|
2010
|
+
Icon["BarsFilter"] = "bars_filter";
|
|
2011
|
+
Icon["CalendarDay"] = "calendar_day";
|
|
2012
|
+
Icon["CalendarDayRegular"] = "calendar_day_regular";
|
|
2013
|
+
Icon["Cancel"] = "cancel";
|
|
2014
|
+
Icon["CartCheck"] = "cart_check";
|
|
2015
|
+
Icon["CartFlatbedBoxesSolid"] = "cart_flatbed_boxes_solid";
|
|
2016
|
+
Icon["CartShoppingSolid"] = "cart_shopping_solid";
|
|
2017
|
+
Icon["CashRegister"] = "cash_register";
|
|
2018
|
+
Icon["CreditCardSolid"] = "credit_card_solid";
|
|
2019
|
+
Icon["DeliveryTruck"] = "delivery_truck";
|
|
2020
|
+
Icon["EditPencil"] = "edit_pencil";
|
|
2021
|
+
Icon["GripDotsVerticalSolid"] = "grip_dots_vertical_solid";
|
|
2022
|
+
Icon["IdealLogo"] = "ideal_logo";
|
|
2023
|
+
Icon["ListRegular"] = "list_regular";
|
|
2024
|
+
Icon["ListView"] = "list_view";
|
|
2025
|
+
Icon["LocationDotSolid"] = "location_dot_solid";
|
|
2026
|
+
Icon["Lock"] = "lock";
|
|
2027
|
+
Icon["LockKeyholeOpenSolid"] = "lock_keyhole_open_solid";
|
|
2028
|
+
Icon["LockKeyholeSolid"] = "lock_keyhole_solid";
|
|
2029
|
+
Icon["MapMarker"] = "map_marker";
|
|
2030
|
+
Icon["MasterDetail"] = "master_detail";
|
|
2031
|
+
Icon["MemoCircleCheckSolid"] = "memo_circle_check_solid";
|
|
2032
|
+
Icon["Menu"] = "menu";
|
|
2033
|
+
Icon["PalletBoxesSolid"] = "pallet_boxes_solid";
|
|
2034
|
+
Icon["PlusRound"] = "plus_round";
|
|
2035
|
+
Icon["Purchase"] = "purchase";
|
|
2036
|
+
Icon["Resize"] = "resize";
|
|
2037
|
+
Icon["ShelvesSolid"] = "shelves_solid";
|
|
2038
|
+
Icon["SidePanel"] = "side_panel";
|
|
2039
|
+
Icon["SlideIn"] = "slide_in";
|
|
2040
|
+
Icon["SquareFull"] = "square_full";
|
|
2041
|
+
Icon["SquareFullSolid"] = "square_full_solid";
|
|
2042
|
+
Icon["SyncAlt"] = "sync_alt";
|
|
2043
|
+
Icon["Tag"] = "tag";
|
|
2044
|
+
Icon["ThickLines"] = "thick_lines";
|
|
2045
|
+
Icon["ThinLines"] = "thin_lines";
|
|
2046
|
+
Icon["TrashBin"] = "trash_bin";
|
|
2047
|
+
Icon["TrashCanLight"] = "trash_can_light";
|
|
2048
|
+
Icon["TriangleDown"] = "triangle_down";
|
|
2049
|
+
Icon["TriangleUp"] = "triangle_up";
|
|
2050
|
+
Icon["Truck"] = "truck";
|
|
2051
|
+
Icon["TruckArrowRightSolid"] = "truck_arrow_right_solid";
|
|
2052
|
+
Icon["TruckContainerSolid"] = "truck_container_solid";
|
|
2053
|
+
Icon["TruckFastSolid"] = "truck_fast_solid";
|
|
2054
|
+
Icon["TruckMovingSolid"] = "truck_moving_solid";
|
|
2055
|
+
Icon["Txt"] = "txt";
|
|
2056
|
+
Icon["Unlock"] = "unlock";
|
|
2057
|
+
Icon["Warehouse"] = "warehouse";
|
|
2058
|
+
})(Icon || (Icon = {}));
|
|
2059
|
+
|
|
2060
|
+
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
2061
|
+
const IconSvg = {
|
|
2062
|
+
"arrow_point_down": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-280 371 51 51\" enable-background=\"new -280 371 51 51\" ><path fill=\"#29363E\" d=\"M-248.3,392.2c0.3,0,0.6,0.1,0.8,0.3c0.5,0.5,0.5,1.2,0,1.6l-6.2,6.2c-0.2,0.2-0.5,0.3-0.8,0.3c-0.3,0-0.6-0.1-0.8-0.3l-6.2-6.2c-0.2-0.2-0.3-0.5-0.3-0.8c0-0.3,0.1-0.6,0.3-0.8c0.2-0.2,0.5-0.3,0.8-0.3c0.3,0,0.6,0.1,0.8,0.3l5.4,5.4l5.4-5.4C-248.9,392.4-248.6,392.2-248.3,392.2z\"/></svg>",
|
|
2063
|
+
"arrow_point_left": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M31.9,36.7l-14.7-9.6C17.1,27,17,26.9,17,26.7v-2.4c0-0.2,0.1-0.3,0.2-0.4l14.7-9.6c0.2-0.2,0.5-0.1,0.7,0.1l1.4,2.1c0.2,0.2,0.1,0.5-0.1,0.7l-12,7.8c-0.3,0.2-0.3,0.6,0,0.8l12,7.8c0.2,0.2,0.3,0.5,0.1,0.7l-1.4,2.1C32.4,36.8,32.1,36.8,31.9,36.7z\"/></svg>",
|
|
2064
|
+
"arrow_point_right": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1C18.6,14.2,18.9,14.2,19.1,14.3z\"/></svg>",
|
|
2065
|
+
"article": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M37.43,15.14H12.57A2.57,2.57,0,0,0,10,17.71V32.29a2.57,2.57,0,0,0,2.57,2.57H37.43A2.57,2.57,0,0,0,40,32.29V17.71A2.57,2.57,0,0,0,37.43,15.14ZM14.29,32.71H12.15V17.29h2.14Zm2,0H15V17.29h1.29Zm2.57,0H17.54V17.29h1.29Zm3.52,0H20.2V17.29h2.15Zm2,0H23.11V17.29H24.4Zm2.06,0H25.17V17.29h1.29Zm2.66,0H27.83V17.29h1.29Zm3.51,0H31.34V17.29h1.29Zm3.34,0H33.4V17.29H36Zm2.32,0H37V17.29h1.29Z\" fill=\"#484f60\"/></svg>",
|
|
2066
|
+
"barcode": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M2,6H4V18H2V6M5,6H6V18H5V6M7,6H10V18H7V6M11,6H12V18H11V6M14,6H16V18H14V6M17,6H20V18H17V6M21,6H22V18H21V6Z\" /></svg>",
|
|
2067
|
+
"barcode_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M40 32C53.25 32 64 42.75 64 56V456C64 469.3 53.25 480 40 480H24C10.75 480 0 469.3 0 456V56C0 42.75 10.75 32 24 32H40zM128 48V464C128 472.8 120.8 480 112 480C103.2 480 96 472.8 96 464V48C96 39.16 103.2 32 112 32C120.8 32 128 39.16 128 48zM200 32C213.3 32 224 42.75 224 56V456C224 469.3 213.3 480 200 480H184C170.7 480 160 469.3 160 456V56C160 42.75 170.7 32 184 32H200zM296 32C309.3 32 320 42.75 320 56V456C320 469.3 309.3 480 296 480H280C266.7 480 256 469.3 256 456V56C256 42.75 266.7 32 280 32H296zM448 56C448 42.75 458.7 32 472 32H488C501.3 32 512 42.75 512 56V456C512 469.3 501.3 480 488 480H472C458.7 480 448 469.3 448 456V56zM384 48C384 39.16 391.2 32 400 32C408.8 32 416 39.16 416 48V464C416 472.8 408.8 480 400 480C391.2 480 384 472.8 384 464V48z\"/></svg>",
|
|
2068
|
+
"bars_filter": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M264 392H183.1C170.8 392 160 402.8 160 415.1C160 429.2 170.8 440 183.1 440h80C277.2 440 288 429.2 288 416C288 402.8 277.2 392 264 392zM424 72H23.1C10.8 72 0 82.8 0 95.1S10.8 120 23.1 120H424c13.2 0 24-10.8 24-23.1S437.2 72 424 72zM360 232H87.1C74.8 232 64 242.8 64 255.1C64 269.2 74.8 280 87.1 280h272C373.2 280 384 269.2 384 256C384 242.8 373.2 232 360 232z\"/></svg>",
|
|
2069
|
+
"calendar_day": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path fill=\"#022D42\" d=\"M35.4,13.7H14.6c-0.6,0-1,0.5-1,1V20h22.9v-5.2C36.4,14.2,36,13.7,35.4,13.7z M19,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C20.8,18,20,18.8,19,18.8z M31,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8C32.7,18,32,18.8,31,18.8z\"/><path fill=\"#022D42\" d=\"M35.4,22.3v12.6L31.3,39H14.6c0,0,0,0,0,0V22.3H35.4 M36.4,21.3H13.6V39c0,0.6,0.5,1,1,1h17.2l4.7-4.7V21.3L36.4,21.3z\"/><rect x=\"18.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"30.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"18.6\" y=\"30.5\" fill=\"#022D42\" width=\"3.4\" height=\"3.4\"/><rect x=\"19.1\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/></g></svg>",
|
|
2070
|
+
"calendar_day_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M208 256C216.8 256 224 263.2 224 272V368C224 376.8 216.8 384 208 384H112C103.2 384 96 376.8 96 368V272C96 263.2 103.2 256 112 256H208zM128 0C141.3 0 152 10.75 152 24V64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0zM400 192H48V448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192z\"/></svg>",
|
|
2071
|
+
"cancel": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"36 35.16 30.45 35.16 14 14.84 19.55 14.84 36 35.16\" fill=\"#484f60\"/><polygon points=\"14 35.16 19.55 35.16 36 14.84 30.45 14.84 14 35.16\" fill=\"#484f60\"/></svg>",
|
|
2072
|
+
"cart_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><g ><g ><g><g opacity=\".75\"><path d=\"M16.58,29.12c-.99,0-1.8,.81-1.8,1.8s.81,1.8,1.8,1.8,1.8-.81,1.8-1.8-.81-1.8-1.8-1.8Z\" fill=\"#484f60\"/><path d=\"M16.51,24.98c-.67,0-1.38-.52-1.57-1.16l-2.31-5.61c-.19-.64,.19-1.22,.86-1.28l19.71-2.51c.67-.06,1.12,.42,1,1.08l-.89,3.99c.66,.15,1.3,.36,1.91,.63l1.38-6.84c.12-.66-.34-1.15-1-1.08l-24.68,2.93c-.67,.06-1.06,.64-.87,1.28l3.34,9.44c.19,.64,.89,1.17,1.56,1.17h5.92c.19-.71,.45-1.38,.77-2.02h-5.13Z\" fill=\"#484f60\"/><path d=\"M39.01,11.31c-.66,.14-1.27,.79-1.37,1.46l-.42,2.9c-.1,.66,.31,.98,.9,.7,.59-.28,1.19-1.04,1.33-1.7l.51-2.42c.14-.66-.28-1.08-.94-.94h-.02Z\" fill=\"#484f60\"/></g><g><path d=\"M31,21.72c4.41,0,8,3.59,8,8s-3.59,8-8,8-8-3.59-8-8,3.59-8,8-8m0-1c-4.97,0-9,4.03-9,9s4.03,9,9,9,9-4.03,9-9-4.03-9-9-9h0Z\" fill=\"#484f60\"/><polygon points=\"30.63 34.72 26.79 29.33 28.31 28.25 30.34 31.11 33.54 24.72 35.21 25.55 30.63 34.72\" fill=\"#484f60\"/></g></g></g></g><g /></svg>",
|
|
2073
|
+
"cart_flatbed_boxes_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M448 160h64c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32h-64c-17.6 0-32 14.4-32 32v64C416 145.6 430.4 160 448 160zM448 320h128c17.6 0 32-14.4 32-32V224c0-17.6-14.4-32-32-32h-128c-17.6 0-32 14.4-32 32v64C416 305.6 430.4 320 448 320zM224 320h128c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32H224C206.4 32 192 46.4 192 64v224C192 305.6 206.4 320 224 320zM640 415.1c0 17.6-14.4 32-32 31.1l-66.88-.0011c1.787 5.027 2.907 10.36 2.907 16c0 26.51-21.5 48-48.01 48c-26.51 0-47.99-21.49-47.99-48c0-5.641 1.141-10.97 2.928-16H253.1C254.9 453 256 458.4 256 464C256 490.5 234.5 512 208 512S160 490.5 160 464c0-5.641 1.13-10.97 2.917-16l-66.92 .0011C78.4 448 64 433.6 64 415.1V80C64 71.16 56.84 64 48 64H31.1C14.4 64 0 49.6 0 32S14.4 0 31.1 0H64c35.2 0 64 28.8 64 64v320h480C625.6 384 640 398.4 640 415.1z\"/></svg>",
|
|
2074
|
+
"cart_shopping_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M96 0C107.5 0 117.4 8.19 119.6 19.51L121.1 32H541.8C562.1 32 578.3 52.25 572.6 72.66L518.6 264.7C514.7 278.5 502.1 288 487.8 288H170.7L179.9 336H488C501.3 336 512 346.7 512 360C512 373.3 501.3 384 488 384H159.1C148.5 384 138.6 375.8 136.4 364.5L76.14 48H24C10.75 48 0 37.25 0 24C0 10.75 10.75 0 24 0H96zM128 464C128 437.5 149.5 416 176 416C202.5 416 224 437.5 224 464C224 490.5 202.5 512 176 512C149.5 512 128 490.5 128 464zM512 464C512 490.5 490.5 512 464 512C437.5 512 416 490.5 416 464C416 437.5 437.5 416 464 416C490.5 416 512 437.5 512 464z\"/></svg>",
|
|
2075
|
+
"cash_register": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M35.39,18.12H14.62L10,29.66H40ZM23,19.29H27l.1,1.6H22.87Zm-.13,2h4.32l.12,1.81H22.72Zm-.15,2.3h4.62l.14,2.08h-4.9ZM17.9,19.29H22l-.16,1.6H17.54Zm-.46,2h4.32l-.18,1.81H17Zm-.53,2.3h4.62l-.2,2.08h-4.9Zm-1.16,5.06.55-2.42H27.49l.16,2.42ZM28,19.29H32.1l.36,1.6H28.2Zm.2,2h4.32L33,23.12H28.42Zm.23,2.3h4.62l.48,2.08h-4.9Zm.5,5.06-.24-2.42h5l.55,2.42Z\" fill=\"#484f60\"/><path d=\"M10,29.66v9.23H40V29.66Zm27.69,6.92H12.31V32H37.69Z\" fill=\"#484f60\"/><path d=\"M15.63,11.11v7.58H34.37V11.11Zm17.31,6.15H17.06V12.54H32.94Z\" fill=\"#484f60\"/></svg>",
|
|
2076
|
+
"credit_card_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M512 32C547.3 32 576 60.65 576 96V128H0V96C0 60.65 28.65 32 64 32H512zM576 416C576 451.3 547.3 480 512 480H64C28.65 480 0 451.3 0 416V224H576V416zM112 352C103.2 352 96 359.2 96 368C96 376.8 103.2 384 112 384H176C184.8 384 192 376.8 192 368C192 359.2 184.8 352 176 352H112zM240 384H368C376.8 384 384 376.8 384 368C384 359.2 376.8 352 368 352H240C231.2 352 224 359.2 224 368C224 376.8 231.2 384 240 384z\"/></svg>",
|
|
2077
|
+
"delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
|
|
2078
|
+
"edit_pencil": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"12.54 38.16 12 37.62 14.85 29.64 20.52 35.31 12.54 38.16\" fill=\"#484f60\"/><rect x=\"16.33\" y=\"20.52\" width=\"17.99\" height=\"8.64\" transform=\"translate(-10.15 25.18) rotate(-45)\" fill=\"#484f60\"/><path d=\"M37.54,18.73,36,20.32l-6.11-6.1,1.59-1.59a1.55,1.55,0,0,1,2.2,0l3.91,3.9A1.55,1.55,0,0,1,37.54,18.73Z\" fill=\"#484f60\"/></svg>",
|
|
2079
|
+
"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>",
|
|
2080
|
+
"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>",
|
|
2081
|
+
"list_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M88 48C101.3 48 112 58.75 112 72V120C112 133.3 101.3 144 88 144H40C26.75 144 16 133.3 16 120V72C16 58.75 26.75 48 40 48H88zM488 72C501.3 72 512 82.75 512 96C512 109.3 501.3 120 488 120H184C170.7 120 160 109.3 160 96C160 82.75 170.7 72 184 72H488zM488 232C501.3 232 512 242.7 512 256C512 269.3 501.3 280 488 280H184C170.7 280 160 269.3 160 256C160 242.7 170.7 232 184 232H488zM488 392C501.3 392 512 402.7 512 416C512 429.3 501.3 440 488 440H184C170.7 440 160 429.3 160 416C160 402.7 170.7 392 184 392H488zM16 232C16 218.7 26.75 208 40 208H88C101.3 208 112 218.7 112 232V280C112 293.3 101.3 304 88 304H40C26.75 304 16 293.3 16 280V232zM88 368C101.3 368 112 378.7 112 392V440C112 453.3 101.3 464 88 464H40C26.75 464 16 453.3 16 440V392C16 378.7 26.75 368 40 368H88z\"/></svg>",
|
|
2082
|
+
"list_view": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><rect x=\"26.5\" y=\"13\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"10.5\" y=\"13\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"10.5\" y=\"22\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"26.5\" y=\"22\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"10.5\" y=\"31\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"26.5\" y=\"31\" width=\"14\" height=\"7\" fill=\"#4d5050\"/></svg>",
|
|
2083
|
+
"location_dot_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M168.3 499.2C116.1 435 0 279.4 0 192C0 85.96 85.96 0 192 0C298 0 384 85.96 384 192C384 279.4 267 435 215.7 499.2C203.4 514.5 180.6 514.5 168.3 499.2H168.3zM192 256C227.3 256 256 227.3 256 192C256 156.7 227.3 128 192 128C156.7 128 128 156.7 128 192C128 227.3 156.7 256 192 256z\"/></svg>",
|
|
2084
|
+
"lock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M32.65,21.67H17.35c-2.81,0-3.06,2.29-3.06,5.12v8.09c0,2.83.25,5.12,3.06,5.12h15.3c2.81,0,3.06-2.29,3.06-5.12V26.79C35.71,24,35.46,21.67,32.65,21.67ZM20.22,37.49l2.61-6.32a3.82,3.82,0,1,1,4.35,0l2.6,6.32Z\" fill=\"#484f60\"/><path d=\"M29.51,16.64c0-3.6-2-4.07-4.51-4.07h0c-2.49,0-4.51.47-4.51,4.07v3h-2.7v-3C17.79,11.62,21,10,25,10h0c4,0,7.21,1.62,7.21,6.64v3h-2.7Z\" fill=\"#484f60\"/></svg>",
|
|
2085
|
+
"lock_keyhole_open_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M432 64C387.8 64 352 99.82 352 144V192H384C419.3 192 448 220.7 448 256V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V256C0 220.7 28.65 192 64 192H288V144C288 64.47 352.5 0 432 0C511.5 0 576 64.47 576 144V192C576 209.7 561.7 224 544 224C526.3 224 512 209.7 512 192V144C512 99.82 476.2 64 432 64zM256 384C273.7 384 288 369.7 288 352C288 334.3 273.7 320 256 320H192C174.3 320 160 334.3 160 352C160 369.7 174.3 384 192 384H256z\"/></svg>",
|
|
2086
|
+
"lock_keyhole_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M224 0C303.5 0 368 64.47 368 144V192H384C419.3 192 448 220.7 448 256V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V256C0 220.7 28.65 192 64 192H80V144C80 64.47 144.5 0 224 0zM224 64C179.8 64 144 99.82 144 144V192H304V144C304 99.82 268.2 64 224 64zM256 320C256 302.3 241.7 288 224 288C206.3 288 192 302.3 192 320V384C192 401.7 206.3 416 224 416C241.7 416 256 401.7 256 384V320z\"/></svg>",
|
|
2087
|
+
"map_marker": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z\" /></svg>",
|
|
2088
|
+
"master_detail": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"22\" y=\"32.17\" width=\"18\" height=\"4\" transform=\"translate(62 68.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"26.17\" width=\"18\" height=\"4\" transform=\"translate(62 56.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"20.17\" width=\"18\" height=\"4\" transform=\"translate(62 44.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"14.17\" width=\"18\" height=\"4\" transform=\"translate(62 32.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"10\" y=\"14.17\" width=\"10\" height=\"22\" transform=\"translate(30 50.33) rotate(180)\" fill=\"#484f60\"/></svg>",
|
|
2089
|
+
"memo_circle_check_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M288 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 368zM499.3 347.3C505.6 341.1 505.6 330.9 499.3 324.7C493.1 318.4 482.9 318.4 476.7 324.7L416 385.4L387.3 356.7C381.1 350.4 370.9 350.4 364.7 356.7C358.4 362.9 358.4 373.1 364.7 379.3L404.7 419.3C410.9 425.6 421.1 425.6 427.3 419.3L499.3 347.3zM320 0C355.3 0 384 28.65 384 64V198.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 448V64C0 28.65 28.65 0 64 0H320zM80 128C71.16 128 64 135.2 64 144C64 152.8 71.16 160 80 160H304C312.8 160 320 152.8 320 144C320 135.2 312.8 128 304 128H80zM80 256H240C248.8 256 256 248.8 256 240C256 231.2 248.8 224 240 224H80C71.16 224 64 231.2 64 240C64 248.8 71.16 256 80 256zM80 352H176C184.8 352 192 344.8 192 336C192 327.2 184.8 320 176 320H80C71.16 320 64 327.2 64 336C64 344.8 71.16 352 80 352z\"/></svg>",
|
|
2090
|
+
"menu": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\" /></svg>",
|
|
2091
|
+
"pallet_boxes_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M96 255.1L288 256c17.6 0 32-14.4 32-32V31.1c0-17.6-14.4-31.1-32-31.1L96 0c-17.6 0-32 14.4-32 32V224C64 241.6 78.4 255.1 96 255.1zM416 255.1h128c17.6 0 32-14.4 32-31.1v-128c0-17.6-14.4-32-32-32h-128c-17.6 0-32 14.4-32 32v128C384 241.6 398.4 255.1 416 255.1zM624 384c8.75 0 16-7.25 16-16v-32c0-8.75-7.25-16-16-16h-608C7.25 320 0 327.3 0 336v32C0 376.8 7.25 384 16 384H64v64H16C7.25 448 0 455.3 0 464v32C0 504.8 7.25 512 16 512h608c8.75 0 16-7.25 16-16v-32c0-8.75-7.25-16-16-16H576v-64H624zM288 448H128v-64h160V448zM512 448h-160v-64h160V448z\"/></svg>",
|
|
2092
|
+
"plus_round": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-288 379 35 35\" enable-background=\"new -288 379 35 35\" ><path fill=\"#29363E\" d=\"M-270.5,381.5c-8.3,0-15,6.7-15,15c0,8.3,6.7,15,15,15s15-6.7,15-15C-255.5,388.2-262.2,381.5-270.5,381.5z M-261.1,397.3c0,0.9-0.7,1.6-1.6,1.6h-5.5v5.5c0,0.9-0.7,1.6-1.6,1.6h-1.6c-0.9,0-1.6-0.7-1.6-1.6v-5.5h-5.5c-0.9,0-1.6-0.7-1.6-1.6v-1.6c0-0.9,0.7-1.6,1.6-1.6h5.5v-5.5c0-0.9,0.7-1.6,1.6-1.6h1.6c0.9,0,1.6,0.7,1.6,1.6v5.5h5.5c0.9,0,1.6,0.7,1.6,1.6V397.3z\"/></svg>",
|
|
2093
|
+
"purchase": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><g opacity=\"0.75\"><polygon points=\"33.34 25.04 27.34 28.52 33.35 31.97 39.34 28.49 33.34 25.04\" fill=\"#484f60\"/><polygon points=\"33.99 33.08 39.99 29.6 40 36.53 34.01 40.01 33.99 33.08\" fill=\"#484f60\" opacity=\"0.5\"/><polygon points=\"26.72 36.55 26.71 29.63 32.71 33.08 32.72 40.01 26.72 36.55\" fill=\"#484f60\" opacity=\"0.25\"/><polygon points=\"12.78 28.54 18.79 32 24.78 28.52 18.77 25.07 12.78 28.54\" fill=\"#484f60\"/><polygon points=\"19.43 33.1 25.42 29.63 25.44 36.56 19.44 40.03 19.43 33.1\" fill=\"#484f60\" opacity=\"0.5\"/><polygon points=\"12.15 36.58 12.14 29.65 18.15 33.11 18.16 40.04 12.15 36.58\" fill=\"#484f60\" opacity=\"0.25\"/><polygon points=\"32.04 15.89 26.03 12.44 22.09 14.73 27.52 14.73 24.03 18.21 26.05 19.37 32.04 15.89\" fill=\"#484f60\"/><polygon points=\"32.68 17 26.69 20.48 26.7 27.41 32.7 23.93 32.68 17\" fill=\"#484f60\" opacity=\"0.5\"/><polygon points=\"23.1 19.15 19.41 22.83 19.41 23.95 25.42 27.41 25.41 20.48 23.1 19.15\" fill=\"#484f60\" opacity=\"0.25\"/></g><polygon points=\"19.03 16.34 19.03 10.3 14.61 10.3 14.61 16.34 14.61 16.34 10 16.34 16.82 23.16 23.64 16.34 19.03 16.34\" fill=\"#484f60\"/></svg>",
|
|
2094
|
+
"resize": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><polygon points=\"1.1 49.9 1.1 30.6 7.8 37.3 37.3 8 30.6 1.3 49.9 1.3 49.9 20.6 43.2 13.9 13.7 43.2 20.5 49.9 1.1 49.9\" fill=\"#4d5050\"/></svg>",
|
|
2095
|
+
"shelves_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M608 0c-17.6 0-32 14.4-32 31.1V160H64V31.1C64 14.4 49.6 0 32 0S0 14.4 0 31.1v480h64v-32h512v32h64v-480C640 14.4 625.6 0 608 0zM576 416H64V224h512V416zM368 128h96C472.8 128 480 120.8 480 112v-96C480 7.25 472.8 0 464 0h-96C359.2 0 352 7.25 352 16v96C352 120.8 359.2 128 368 128zM112 384h96C216.8 384 224 376.8 224 368v-96C224 263.2 216.8 256 208 256h-96C103.2 256 96 263.2 96 272v96C96 376.8 103.2 384 112 384zM272 384h96c8.75 0 16-7.25 16-16v-96C384 263.2 376.8 256 368 256h-96C263.2 256 256 263.2 256 272v96C256 376.8 263.2 384 272 384z\"/></svg>",
|
|
2096
|
+
"side_panel": "<svg width=\"47px\" height=\"43px\" viewBox=\"0 0 47 43\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><defs><image width=\"47\" height=\"43\" xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAArCAYAAADottG6AAAABHNCSVQICAgIfAhkiAAAAHtJREFUWIXt18EJwCAQAEENKSNv60gVgVQYSBWpw3f6OHvQx3Kw8xcX0QNrRERJaqMDVhhPMZ5iPMV4ivEU4ynGU/bZhb3/5Xm/pc3v6yytHdPrq58RiPEUHywl9bUxnuKDpaS+NsZTUsennjapT95RSTGeYjzFeErq+AEBrixGEVJ5mAAAAABJRU5ErkJggg==\" /></defs><use xlink:href=\"#img_1\" fill=\"#FFFFFF\" stroke=\"none\" /></svg>",
|
|
2097
|
+
"slide_in": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M12,12.17H38v26H12ZM36.76,13.4H13.24V36.93H36.76Z\" fill=\"#484f60\"/><polygon points=\"33.71 23.42 28.41 23.42 28.41 20.43 24.13 24.72 28.41 29.01 28.41 26.02 33.71 26.02 33.71 23.42\" fill=\"#484f60\"/><rect x=\"12\" y=\"12.17\" width=\"9\" height=\"26\" fill=\"#484f60\"/></svg>",
|
|
2098
|
+
"square_full": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M464 48v416h-416v-416H464zM512 0H0v512h512V0z\"/></svg>",
|
|
2099
|
+
"square_full_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M0 0h512v512H0V0z\"/></svg>",
|
|
2100
|
+
"sync_alt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z\"/></svg>",
|
|
2101
|
+
"tag": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M40,29.15v-.68a5.28,5.28,0,0,0-1.34-3.25L24.78,11.34A5.34,5.34,0,0,0,21.53,10H11.9A1.91,1.91,0,0,0,10,11.9v9.63a5.28,5.28,0,0,0,1.34,3.25L25.22,38.66A5.28,5.28,0,0,0,28.47,40h.68a5.28,5.28,0,0,0,3.24-1.34l6.27-6.27A5.28,5.28,0,0,0,40,29.15ZM13.13,16.72a2.54,2.54,0,1,1,3.59,0A2.55,2.55,0,0,1,13.13,16.72Zm15.9,19L17.84,24.55l1.34-1.34L30.37,34.4Zm2.69-2.69L20.52,21.87l1.35-1.35,11.19,11.2Zm2.68-2.69L23.21,19.18l1.34-1.34L35.75,29Z\" fill=\"#484f60\"/></svg>",
|
|
2102
|
+
"thick_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"12.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"21.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"30.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/></svg>",
|
|
2103
|
+
"thin_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"20.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"26.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"32.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/></svg>",
|
|
2104
|
+
"trash_bin": "<svg preserveAspectRatio=\"none\" version=\"1.1\" viewBox=\"0 0 50 50\" x=\"0px\" xmlns=\"http://www.w3.org/2000/svg\" y=\"0px\"><g transform=\" translate(14 10)\"><path d=\"M 0 0 L 0 18.215 C 0 19.99 1.439 21.429 3.215 21.429 L 15 21.429 C 16.775 21.429 18.215 19.99 18.215 18.215 L 18.215 0 L 0 0 Z M 4.287 19.286 L 2.143 19.286 L 2.143 2.143 L 4.287 2.143 L 4.287 19.286 Z M 10.18 19.286 L 8.037 19.286 L 8.037 2.143 L 10.18 2.143 L 10.18 19.286 Z M 16.072 19.286 L 13.93 19.286 L 13.93 2.143 L 16.072 2.143 L 16.072 19.286 Z\" fill=\"#1E2930\" transform=\" translate(1.891 8.571)\" /><path d=\"M 18.213 2.143 L 10.713 2.143 C 11.305 2.143 11.785 1.664 11.785 1.071 C 11.785 0.479 11.305 0 10.713 0 L 9.643 0 C 9.051 0 8.57 0.479 8.57 1.071 C 8.57 1.664 9.051 2.143 9.643 2.143 L 2.143 2.143 C 0.959 2.143 0 3.103 0 4.286 L 0 5.357 C 0 6.541 0.959 6.429 2.143 6.429 L 18.213 6.429 C 19.397 6.429 20.357 6.541 20.357 5.357 L 20.357 4.286 C 20.357 3.103 19.397 2.143 18.213 2.143 Z\" fill=\"#1E2930\" transform=\" translate(0.821 0)\" /></g></svg>",
|
|
2105
|
+
"trash_can_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M144 400C144 408.8 136.8 416 128 416C119.2 416 112 408.8 112 400V176C112 167.2 119.2 160 128 160C136.8 160 144 167.2 144 176V400zM240 400C240 408.8 232.8 416 224 416C215.2 416 208 408.8 208 400V176C208 167.2 215.2 160 224 160C232.8 160 240 167.2 240 176V400zM336 400C336 408.8 328.8 416 320 416C311.2 416 304 408.8 304 400V176C304 167.2 311.2 160 320 160C328.8 160 336 167.2 336 176V400zM310.1 22.56L336.9 64H432C440.8 64 448 71.16 448 80C448 88.84 440.8 96 432 96H416V432C416 476.2 380.2 512 336 512H112C67.82 512 32 476.2 32 432V96H16C7.164 96 0 88.84 0 80C0 71.16 7.164 64 16 64H111.1L137 22.56C145.8 8.526 161.2 0 177.7 0H270.3C286.8 0 302.2 8.526 310.1 22.56V22.56zM148.9 64H299.1L283.8 39.52C280.9 34.84 275.8 32 270.3 32H177.7C172.2 32 167.1 34.84 164.2 39.52L148.9 64zM64 432C64 458.5 85.49 480 112 480H336C362.5 480 384 458.5 384 432V96H64V432z\"/></svg>",
|
|
2106
|
+
"triangle_down": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"29.06 18.75 37.5 18.75 25 31.25 12.5 18.75 20.95 18.75 29.06 18.75\" fill=\"#484f60\"/></svg>",
|
|
2107
|
+
"triangle_up": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"20.94 31.25 12.5 31.25 25 18.75 37.5 31.25 29.05 31.25 20.94 31.25\" fill=\"#484f60\"/></svg>",
|
|
2108
|
+
"truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.75\" width=\"17.47\" height=\"12.62\" fill=\"#484f60\"/><path d=\"M37,18.11h-8V28.84H20.22a4.42,4.42,0,0,1,1.41,2.73H30a4.41,4.41,0,0,1,8.76,0H40V24.63Zm-.26,6.73H32.25a.57.57,0,0,1-.57-.57V20a.57.57,0,0,1,.57-.58h2.63a.58.58,0,0,1,.52.35L37.31,24A.58.58,0,0,1,36.78,24.84Z\" fill=\"#484f60\"/><path d=\"M14.28,28.84a4.39,4.39,0,0,0-1.42,2.73H12l-2-1.26V28.84Z\" fill=\"#484f60\"/><path d=\"M31.25,32.1a3.16,3.16,0,1,0,3.16-3.16A3.16,3.16,0,0,0,31.25,32.1Z\" fill=\"#484f60\"/><path d=\"M14.09,32.1a3.16,3.16,0,1,0,3.16-3.16A3.15,3.15,0,0,0,14.09,32.1Z\" fill=\"#484f60\"/></svg>",
|
|
2109
|
+
"truck_arrow_right_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 48C0 21.49 21.49 0 48 0H368C394.5 0 416 21.49 416 48V96H466.7C483.7 96 499.1 102.7 512 114.7L589.3 192C601.3 204 608 220.3 608 237.3V352C625.7 352 640 366.3 640 384C640 401.7 625.7 416 608 416H576C576 469 533 512 480 512C426.1 512 384 469 384 416H256C256 469 213 512 160 512C106.1 512 64 469 64 416H48C21.49 416 0 394.5 0 368V48zM544 256V237.3L466.7 160H416V256H544zM160 464C186.5 464 208 442.5 208 416C208 389.5 186.5 368 160 368C133.5 368 112 389.5 112 416C112 442.5 133.5 464 160 464zM480 368C453.5 368 432 389.5 432 416C432 442.5 453.5 464 480 464C506.5 464 528 442.5 528 416C528 389.5 506.5 368 480 368zM256.1 95.03C247.6 85.66 232.4 85.66 223 95.03C213.7 104.4 213.7 119.6 223 128.1L262.1 168H96C82.75 168 72 178.7 72 192C72 205.3 82.75 216 96 216H262.1L223 255C213.7 264.4 213.7 279.6 223 288.1C232.4 298.3 247.6 298.3 256.1 288.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175L256.1 95.03z\"/></svg>",
|
|
2110
|
+
"truck_container_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M352 32C378.5 32 400 53.49 400 80V240C400 266.5 378.5 288 352 288H48C21.49 288 0 266.5 0 240V80C0 53.49 21.49 32 48 32H352zM80 80C71.16 80 64 87.16 64 96V224C64 232.8 71.16 240 80 240C88.84 240 96 232.8 96 224V96C96 87.16 88.84 80 80 80zM224 224C224 232.8 231.2 240 240 240C248.8 240 256 232.8 256 224V96C256 87.16 248.8 80 240 80C231.2 80 224 87.16 224 96V224zM160 80C151.2 80 144 87.16 144 96V224C144 232.8 151.2 240 160 240C168.8 240 176 232.8 176 224V96C176 87.16 168.8 80 160 80zM304 224C304 232.8 311.2 240 320 240C328.8 240 336 232.8 336 224V96C336 87.16 328.8 80 320 80C311.2 80 304 87.16 304 96V224zM432 168C432 154.7 442.7 144 456 144H528.8C545.6 144 561.5 151.5 572.2 164.5L630.1 236.4C636.8 243.5 640 252.5 640 261.7V352C640 369.7 625.7 384 608 384H606.4C607.4 389.2 608 394.5 608 400C608 444.2 572.2 480 528 480C483.8 480 448 444.2 448 400C448 394.5 448.6 389.2 449.6 384H286.4C287.4 389.2 288 394.5 288 400C288 444.2 252.2 480 208 480C181.8 480 158.6 467.4 144 448C129.4 467.4 106.2 480 80 480C35.82 480 0 444.2 0 400V352C0 334.3 14.33 320 32 320H432V168zM480 256H584.1L535 194.9C533.5 193.1 531.2 192 528.8 192H480V256zM528 368C510.3 368 496 382.3 496 400C496 417.7 510.3 432 528 432C545.7 432 560 417.7 560 400C560 382.3 545.7 368 528 368zM208 432C225.7 432 240 417.7 240 400C240 382.3 225.7 368 208 368C190.3 368 176 382.3 176 400C176 417.7 190.3 432 208 432zM80 368C62.33 368 48 382.3 48 400C48 417.7 62.33 432 80 432C97.67 432 112 417.7 112 400C112 382.3 97.67 368 80 368z\"/></svg>",
|
|
2111
|
+
"truck_fast_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M416 0H64V96H0v32H64 288v32H64 32v32H64 256v32H64 0v32H64 224v32H64V416c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32 32V352H608V288 256 224 210.7l-9.4-9.4-96-96L493.3 96H480 416V0zM544 237.3V256H416V160h50.7L544 237.3zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zm368-48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48z\"/></svg>",
|
|
2112
|
+
"truck_moving_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M64 32C28.7 32 0 60.7 0 96V304v80 16c0 44.2 35.8 80 80 80c26.2 0 49.4-12.6 64-32c14.6 19.4 37.8 32 64 32c44.2 0 80-35.8 80-80c0-5.5-.6-10.8-1.6-16H416h33.6c-1 5.2-1.6 10.5-1.6 16c0 44.2 35.8 80 80 80s80-35.8 80-80c0-5.5-.6-10.8-1.6-16H608c17.7 0 32-14.3 32-32V288 272 261.7c0-9.2-3.2-18.2-9-25.3l-58.8-71.8c-10.6-13-26.5-20.5-43.3-20.5H480V96c0-35.3-28.7-64-64-64H64zM585 256H480V192h48.8c2.4 0 4.7 1.1 6.2 2.9L585 256zM528 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM240 400c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM80 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z\"/></svg>",
|
|
2113
|
+
"txt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.68,2.36h-1.9V32h-1.3V26.63h-1.9V25.54h5.1ZM30.4,32,29,29.74,27.55,32H26l2.19-3.34-2-3.07h1.52L29,27.6l1.26-2.06h1.5l-2,3.12L32,32Zm6.86-5.32h-1.9V32H34.07V26.63H32.16V25.54h5.1Z\" fill=\"#484f60\"/></svg>",
|
|
2114
|
+
"unlock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M32.65,21.67H17.35c-2.81,0-3.06,2.29-3.06,5.12v8.09c0,2.83.25,5.12,3.06,5.12h15.3c2.81,0,3.06-2.29,3.06-5.12V26.79C35.71,24,35.46,21.67,32.65,21.67ZM20.22,37.49l2.61-6.32a3.82,3.82,0,1,1,4.35,0l2.6,6.32Z\" fill=\"#484f60\"/><path d=\"M35.51,16.64c0-3.6-2-4.07-4.51-4.07h0c-2.49,0-4.51.47-4.51,4.07v3h-2.7v-3C23.79,11.62,27,10,31,10h0c4,0,7.21,1.62,7.21,6.64Z\" fill=\"#484f60\"/></svg>",
|
|
2115
|
+
"warehouse": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M6 19H8V21H6V19M12 3L2 8V21H4V13H20V21H22V8L12 3M8 11H4V9H8V11M14 11H10V9H14V11M20 11H16V9H20V11M6 15H8V17H6V15M10 15H12V17H10V15M10 19H12V21H10V19M14 19H16V21H14V19Z\" /></svg>"
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
class IconCacheService {
|
|
2119
|
+
constructor(_sanitizer) {
|
|
2120
|
+
this._sanitizer = _sanitizer;
|
|
2121
|
+
this._iconCache = {};
|
|
2122
|
+
this.setIconCache();
|
|
2123
|
+
}
|
|
2124
|
+
/**
|
|
2125
|
+
* All the icons as a large JSON object, from the all-icons.json file.
|
|
2126
|
+
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
2127
|
+
*/
|
|
2128
|
+
get iconCache() {
|
|
2129
|
+
return this._iconCache;
|
|
2130
|
+
}
|
|
2131
|
+
getIcon(iconName) {
|
|
2132
|
+
if (iconName) {
|
|
2133
|
+
return this._iconCache[iconName.toLowerCase()];
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
getIconAsBase64(iconName) {
|
|
2137
|
+
const icon = IconSvg[iconName];
|
|
2138
|
+
const base64Data = window.btoa(icon);
|
|
2139
|
+
return this._sanitizer.bypassSecurityTrustUrl(`data:image/svg+xml;base64,${base64Data}`);
|
|
2140
|
+
}
|
|
2141
|
+
getRawIcon(iconName) {
|
|
2142
|
+
if (iconName) {
|
|
2143
|
+
return IconSvg[iconName.toLowerCase()];
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
setIconCache() {
|
|
2147
|
+
for (const key in IconSvg) {
|
|
2148
|
+
if (IconSvg.hasOwnProperty(key) && typeof IconSvg[key] !== "function") {
|
|
2149
|
+
this._iconCache[key.toLowerCase()] = this._sanitizer.bypassSecurityTrustHtml(IconSvg[key]);
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
IconCacheService.ɵprov = i0.ɵɵdefineInjectable({ factory: function IconCacheService_Factory() { return new IconCacheService(i0.ɵɵinject(i1.DomSanitizer)); }, token: IconCacheService, providedIn: "root" });
|
|
2155
|
+
IconCacheService.decorators = [
|
|
2156
|
+
{ type: Injectable, args: [{
|
|
2157
|
+
providedIn: "root"
|
|
2158
|
+
},] }
|
|
2159
|
+
];
|
|
2160
|
+
IconCacheService.ctorParameters = () => [
|
|
2161
|
+
{ type: DomSanitizer }
|
|
2162
|
+
];
|
|
2163
|
+
|
|
1993
2164
|
class ConfirmationDialogComponent extends DialogBaseComponent {
|
|
1994
|
-
constructor() {
|
|
1995
|
-
super(
|
|
2165
|
+
constructor(iconCacheService) {
|
|
2166
|
+
super();
|
|
2167
|
+
this.iconCacheService = iconCacheService;
|
|
2168
|
+
this.icons = Icon;
|
|
1996
2169
|
this.ptype = AppPopupType;
|
|
1997
2170
|
}
|
|
1998
2171
|
showClass() {
|
|
@@ -2015,6 +2188,9 @@ ConfirmationDialogComponent.decorators = [
|
|
|
2015
2188
|
<co-dialog [showCloseIcon]="false" [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate">
|
|
2016
2189
|
<div class="confirmation-dialog-wrapper">
|
|
2017
2190
|
<div class="text" [innerHTML]="text"></div>
|
|
2191
|
+
<co-collapsible [headerTitle]="'DETAILS' | localize" [iconData]="iconCacheService.getIcon(icons.TriangleDown)" *ngIf="details">
|
|
2192
|
+
<div class="dialog-details" [innerHTML]="details"></div>
|
|
2193
|
+
</co-collapsible>
|
|
2018
2194
|
</div>
|
|
2019
2195
|
</co-dialog>
|
|
2020
2196
|
<ng-template #headerTemplate>
|
|
@@ -2035,9 +2211,13 @@ ConfirmationDialogComponent.decorators = [
|
|
|
2035
2211
|
encapsulation: ViewEncapsulation.None
|
|
2036
2212
|
},] }
|
|
2037
2213
|
];
|
|
2214
|
+
ConfirmationDialogComponent.ctorParameters = () => [
|
|
2215
|
+
{ type: IconCacheService }
|
|
2216
|
+
];
|
|
2038
2217
|
ConfirmationDialogComponent.propDecorators = {
|
|
2039
2218
|
title: [{ type: Input }],
|
|
2040
2219
|
text: [{ type: Input }],
|
|
2220
|
+
details: [{ type: Input }],
|
|
2041
2221
|
type: [{ type: Input }],
|
|
2042
2222
|
showClass: [{ type: HostBinding, args: ["class.co-confirmation-dialog",] }]
|
|
2043
2223
|
};
|
|
@@ -2088,7 +2268,7 @@ CharacteristicAnswerComponent.decorators = [
|
|
|
2088
2268
|
template: `
|
|
2089
2269
|
<co-dialog [showCloseIcon]="false" [modal]="true" [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate">
|
|
2090
2270
|
<ng-container *ngIf="choices && choices.length > 0">
|
|
2091
|
-
<div class="co-transaction-default-
|
|
2271
|
+
<div class="co-transaction-default-popup-row" *ngFor="let choice of viewModels">
|
|
2092
2272
|
<co-input-checkbox [model]="choice.checked" [label]="choice.value" (click)="handleChecked($event, choice.value)"></co-input-checkbox>
|
|
2093
2273
|
</div>
|
|
2094
2274
|
</ng-container>
|
|
@@ -2132,6 +2312,8 @@ class TransactionLineBaseComponent {
|
|
|
2132
2312
|
this.readonly = false;
|
|
2133
2313
|
this.viewModels = [];
|
|
2134
2314
|
this.viewModelsFiltered = [];
|
|
2315
|
+
this.propsForLabel = [];
|
|
2316
|
+
this._collection = [];
|
|
2135
2317
|
this._transactionLine = new TransactionLineInfo();
|
|
2136
2318
|
this._transactionInfo = new TransactionInfo();
|
|
2137
2319
|
}
|
|
@@ -2161,7 +2343,37 @@ class TransactionLineBaseComponent {
|
|
|
2161
2343
|
get transactionInfo() {
|
|
2162
2344
|
return this._transactionInfo;
|
|
2163
2345
|
}
|
|
2164
|
-
|
|
2346
|
+
set collection(value) {
|
|
2347
|
+
this._collection = value;
|
|
2348
|
+
this.prepareViewModels();
|
|
2349
|
+
}
|
|
2350
|
+
get collection() {
|
|
2351
|
+
return this._collection;
|
|
2352
|
+
}
|
|
2353
|
+
handleChecked(row) {
|
|
2354
|
+
row.checked = true;
|
|
2355
|
+
for (let i = 0; i < this.viewModels.length; i++) {
|
|
2356
|
+
if (this.viewModels[i].value !== row.value) {
|
|
2357
|
+
this.viewModels[i].checked = false;
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
if (this.useTransactionLine) {
|
|
2361
|
+
this.commit(this.viewModels.find(v => v.checked).value);
|
|
2362
|
+
}
|
|
2363
|
+
else {
|
|
2364
|
+
this.valueChange.emit(row.value);
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
commit(value) { }
|
|
2368
|
+
prepareViewModels() {
|
|
2369
|
+
this.collection.forEach((d, index) => {
|
|
2370
|
+
const labels = this.propsForLabel.map(p => d[p]);
|
|
2371
|
+
this.viewModels.push({
|
|
2372
|
+
value: d[this.codeField],
|
|
2373
|
+
propsForLabel: labels,
|
|
2374
|
+
checked: (this.useTransactionLine && this.checkField) ? this.transactionLine[this.checkField] === d[this.codeField] : index === 0
|
|
2375
|
+
});
|
|
2376
|
+
});
|
|
2165
2377
|
this.viewModelsFiltered = this.viewModels.slice();
|
|
2166
2378
|
}
|
|
2167
2379
|
// overridden by descendents
|
|
@@ -2175,13 +2387,15 @@ class TransactionLineBaseComponent {
|
|
|
2175
2387
|
this.viewModelsFiltered = this.viewModels.slice();
|
|
2176
2388
|
}
|
|
2177
2389
|
else {
|
|
2178
|
-
this.viewModelsFiltered = this.viewModels
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2390
|
+
this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
2391
|
+
for (let i = 0; i < this.viewModelsFiltered.length; i++) {
|
|
2392
|
+
const vmf = this.viewModelsFiltered[i];
|
|
2393
|
+
for (let j = 0; j < vmf.propsForLabel.length; j++) {
|
|
2394
|
+
if (vmf.propsForLabel[j]) {
|
|
2395
|
+
vmf.propsForLabel[j] = vmf.propsForLabel[j].replace(new RegExp(this.searchText, 'g'), `<span class="highlight">${this.searchText}</span>`);
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2185
2399
|
}
|
|
2186
2400
|
}
|
|
2187
2401
|
}
|
|
@@ -2287,6 +2501,8 @@ class DialogService {
|
|
|
2287
2501
|
this._compFactoryResolver = _compFactoryResolver;
|
|
2288
2502
|
this.appRef = appRef;
|
|
2289
2503
|
this.injector = injector;
|
|
2504
|
+
// private _componentRef: any;
|
|
2505
|
+
this._componentRefs = [];
|
|
2290
2506
|
}
|
|
2291
2507
|
showYesNo(title, text) {
|
|
2292
2508
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2299,12 +2515,15 @@ class DialogService {
|
|
|
2299
2515
|
return response === AppPopupButtonType.Yes;
|
|
2300
2516
|
});
|
|
2301
2517
|
}
|
|
2302
|
-
showError(message) {
|
|
2518
|
+
showError(message, details) {
|
|
2303
2519
|
const data = {
|
|
2304
2520
|
title: 'ERROR',
|
|
2305
2521
|
text: message,
|
|
2306
2522
|
type: AppPopupType.Error
|
|
2307
2523
|
};
|
|
2524
|
+
if (details) {
|
|
2525
|
+
data.details = details;
|
|
2526
|
+
}
|
|
2308
2527
|
return this._createComponent(ConfirmationDialogComponent, data);
|
|
2309
2528
|
}
|
|
2310
2529
|
showInformation(message) {
|
|
@@ -2321,6 +2540,12 @@ class DialogService {
|
|
|
2321
2540
|
};
|
|
2322
2541
|
return this._createComponent(comp, data);
|
|
2323
2542
|
}
|
|
2543
|
+
showTransactionHeaderComponent(comp, transactionInfo) {
|
|
2544
|
+
const data = {
|
|
2545
|
+
transactionInfo: transactionInfo
|
|
2546
|
+
};
|
|
2547
|
+
return this._createComponent(comp, data);
|
|
2548
|
+
}
|
|
2324
2549
|
showCharacteristics(title, choices, value) {
|
|
2325
2550
|
const data = {
|
|
2326
2551
|
title: title,
|
|
@@ -2343,24 +2568,28 @@ class DialogService {
|
|
|
2343
2568
|
}
|
|
2344
2569
|
_createComponent(componentClass, data) {
|
|
2345
2570
|
return new Promise((resolve) => {
|
|
2346
|
-
|
|
2571
|
+
const componentRef = this._compFactoryResolver
|
|
2347
2572
|
.resolveComponentFactory(componentClass)
|
|
2348
2573
|
.create(this.injector);
|
|
2574
|
+
this._componentRefs.push(componentRef);
|
|
2349
2575
|
for (let key in data) {
|
|
2350
2576
|
if (data.hasOwnProperty(key)) {
|
|
2351
|
-
|
|
2577
|
+
componentRef.instance[key] = data[key];
|
|
2352
2578
|
}
|
|
2353
2579
|
}
|
|
2354
|
-
this.appRef.attachView(
|
|
2355
|
-
const domElem =
|
|
2580
|
+
this.appRef.attachView(componentRef.hostView);
|
|
2581
|
+
const domElem = componentRef.hostView
|
|
2356
2582
|
.rootNodes[0];
|
|
2357
2583
|
document.body.appendChild(domElem);
|
|
2358
|
-
|
|
2359
|
-
this.appRef.detachView(
|
|
2584
|
+
componentRef.onDestroy(() => {
|
|
2585
|
+
this.appRef.detachView(componentRef.hostView);
|
|
2360
2586
|
});
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2587
|
+
// @ts-ignore
|
|
2588
|
+
componentRef.instance.onClose = (button, output) => {
|
|
2589
|
+
const idx = this._componentRefs.indexOf(componentRef);
|
|
2590
|
+
this.appRef.detachView(componentRef.hostView);
|
|
2591
|
+
this._componentRefs[idx] = undefined;
|
|
2592
|
+
this._componentRefs.splice(idx, 1);
|
|
2364
2593
|
resolve(output ? output : button);
|
|
2365
2594
|
};
|
|
2366
2595
|
});
|
|
@@ -2379,32 +2608,49 @@ DialogService.ctorParameters = () => [
|
|
|
2379
2608
|
];
|
|
2380
2609
|
|
|
2381
2610
|
class ErrorService {
|
|
2382
|
-
constructor(_dialogService) {
|
|
2611
|
+
constructor(_dialogService, _dictionaryService) {
|
|
2383
2612
|
this._dialogService = _dialogService;
|
|
2613
|
+
this._dictionaryService = _dictionaryService;
|
|
2384
2614
|
}
|
|
2385
|
-
showError(message) {
|
|
2386
|
-
this._dialogService.showError(message);
|
|
2615
|
+
showError(message, details) {
|
|
2616
|
+
return this._dialogService.showError(message, details);
|
|
2387
2617
|
}
|
|
2388
|
-
showValidationError(
|
|
2618
|
+
showValidationError(response) {
|
|
2389
2619
|
const messages = [];
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2620
|
+
const messagesDetails = [];
|
|
2621
|
+
messages.push('<div class="dialog-error-wrapper">');
|
|
2622
|
+
if (response.message) {
|
|
2623
|
+
messages.push(this._messageAsValidationError(response.message));
|
|
2624
|
+
}
|
|
2625
|
+
else if (response.validationResult && !response.validationResult.success) {
|
|
2626
|
+
if (response.validationResult.messages && response.validationResult.messages.length > 0) {
|
|
2627
|
+
response.validationResult.messages.forEach(m => {
|
|
2628
|
+
messages.push(this._messageAsValidationError(m.message));
|
|
2629
|
+
if (m.messageCode) {
|
|
2630
|
+
messagesDetails.push(this._messageDetails(m.messageCode));
|
|
2631
|
+
}
|
|
2394
2632
|
});
|
|
2395
2633
|
}
|
|
2396
|
-
this.showError(messages.join());
|
|
2397
2634
|
}
|
|
2635
|
+
messages.push('</div>');
|
|
2636
|
+
return this.showError(messages.join(''), messagesDetails.length > 0 ? messagesDetails.join('') : undefined);
|
|
2637
|
+
}
|
|
2638
|
+
_messageAsValidationError(message) {
|
|
2639
|
+
return `<div class="dialog-validation-error">${message}</div>`;
|
|
2640
|
+
}
|
|
2641
|
+
_messageDetails(messageCode) {
|
|
2642
|
+
return `<div class="dialog-error-code-string">${messageCode.value}: ${messageCode.defaultStr}</div>`;
|
|
2398
2643
|
}
|
|
2399
2644
|
}
|
|
2400
|
-
ErrorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ErrorService_Factory() { return new ErrorService(i0.ɵɵinject(DialogService)); }, token: ErrorService, providedIn: "root" });
|
|
2645
|
+
ErrorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ErrorService_Factory() { return new ErrorService(i0.ɵɵinject(DialogService), i0.ɵɵinject(DictionaryService)); }, token: ErrorService, providedIn: "root" });
|
|
2401
2646
|
ErrorService.decorators = [
|
|
2402
2647
|
{ type: Injectable, args: [{
|
|
2403
2648
|
providedIn: "root"
|
|
2404
2649
|
},] }
|
|
2405
2650
|
];
|
|
2406
2651
|
ErrorService.ctorParameters = () => [
|
|
2407
|
-
{ type: DialogService }
|
|
2652
|
+
{ type: DialogService },
|
|
2653
|
+
{ type: DictionaryService }
|
|
2408
2654
|
];
|
|
2409
2655
|
|
|
2410
2656
|
class TransactionConnectorAdapterService {
|
|
@@ -2428,7 +2674,7 @@ class TransactionConnectorAdapterService {
|
|
|
2428
2674
|
return this._boFactory.makeWithRawBackendData(ArticleFullObject, result.resultObject);
|
|
2429
2675
|
}
|
|
2430
2676
|
else {
|
|
2431
|
-
this.
|
|
2677
|
+
this._handleExceptionFromResponse(result);
|
|
2432
2678
|
return null;
|
|
2433
2679
|
}
|
|
2434
2680
|
});
|
|
@@ -2440,7 +2686,7 @@ class TransactionConnectorAdapterService {
|
|
|
2440
2686
|
return result.resultObject;
|
|
2441
2687
|
}
|
|
2442
2688
|
else {
|
|
2443
|
-
this.
|
|
2689
|
+
this._handleExceptionFromResponse(result);
|
|
2444
2690
|
return null;
|
|
2445
2691
|
}
|
|
2446
2692
|
});
|
|
@@ -2465,7 +2711,7 @@ class TransactionConnectorAdapterService {
|
|
|
2465
2711
|
}
|
|
2466
2712
|
}
|
|
2467
2713
|
else {
|
|
2468
|
-
this.
|
|
2714
|
+
this._handleExceptionFromResponse(result);
|
|
2469
2715
|
return null;
|
|
2470
2716
|
}
|
|
2471
2717
|
});
|
|
@@ -2477,7 +2723,7 @@ class TransactionConnectorAdapterService {
|
|
|
2477
2723
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(Country, result.resultObjects);
|
|
2478
2724
|
}
|
|
2479
2725
|
else {
|
|
2480
|
-
this.
|
|
2726
|
+
this._handleExceptionFromResponse(result);
|
|
2481
2727
|
return [];
|
|
2482
2728
|
}
|
|
2483
2729
|
});
|
|
@@ -2489,7 +2735,7 @@ class TransactionConnectorAdapterService {
|
|
|
2489
2735
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(CustomerGroup, result.resultObjects);
|
|
2490
2736
|
}
|
|
2491
2737
|
else {
|
|
2492
|
-
this.
|
|
2738
|
+
this._handleExceptionFromResponse(result);
|
|
2493
2739
|
return [];
|
|
2494
2740
|
}
|
|
2495
2741
|
});
|
|
@@ -2507,7 +2753,7 @@ class TransactionConnectorAdapterService {
|
|
|
2507
2753
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(PrivacySetting, result.resultObjects);
|
|
2508
2754
|
}
|
|
2509
2755
|
else {
|
|
2510
|
-
this.
|
|
2756
|
+
this._handleExceptionFromResponse(result);
|
|
2511
2757
|
return [];
|
|
2512
2758
|
}
|
|
2513
2759
|
});
|
|
@@ -2532,7 +2778,7 @@ class TransactionConnectorAdapterService {
|
|
|
2532
2778
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(Marketing, result.resultObjects);
|
|
2533
2779
|
}
|
|
2534
2780
|
else {
|
|
2535
|
-
this.
|
|
2781
|
+
this._handleExceptionFromResponse(result);
|
|
2536
2782
|
return [];
|
|
2537
2783
|
}
|
|
2538
2784
|
});
|
|
@@ -2544,7 +2790,7 @@ class TransactionConnectorAdapterService {
|
|
|
2544
2790
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(TransactionLineInfo, result.resultObject);
|
|
2545
2791
|
}
|
|
2546
2792
|
else {
|
|
2547
|
-
this.
|
|
2793
|
+
this._handleExceptionFromResponse(result);
|
|
2548
2794
|
return [];
|
|
2549
2795
|
}
|
|
2550
2796
|
});
|
|
@@ -2556,7 +2802,7 @@ class TransactionConnectorAdapterService {
|
|
|
2556
2802
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject);
|
|
2557
2803
|
}
|
|
2558
2804
|
else {
|
|
2559
|
-
this.
|
|
2805
|
+
this._handleExceptionFromResponse(result);
|
|
2560
2806
|
return null;
|
|
2561
2807
|
}
|
|
2562
2808
|
});
|
|
@@ -2568,7 +2814,7 @@ class TransactionConnectorAdapterService {
|
|
|
2568
2814
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject);
|
|
2569
2815
|
}
|
|
2570
2816
|
else {
|
|
2571
|
-
this.
|
|
2817
|
+
this._handleExceptionFromResponse(result);
|
|
2572
2818
|
return null;
|
|
2573
2819
|
}
|
|
2574
2820
|
});
|
|
@@ -2580,7 +2826,7 @@ class TransactionConnectorAdapterService {
|
|
|
2580
2826
|
return this._boFactory.makeWithRawBackendData(CustomerFullObject, result.resultObject);
|
|
2581
2827
|
}
|
|
2582
2828
|
else {
|
|
2583
|
-
this.
|
|
2829
|
+
this._handleExceptionFromResponse(result);
|
|
2584
2830
|
return null;
|
|
2585
2831
|
}
|
|
2586
2832
|
});
|
|
@@ -2592,7 +2838,7 @@ class TransactionConnectorAdapterService {
|
|
|
2592
2838
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(CashRegister, result.resultObjects);
|
|
2593
2839
|
}
|
|
2594
2840
|
else {
|
|
2595
|
-
this.
|
|
2841
|
+
this._handleExceptionFromResponse(result);
|
|
2596
2842
|
return [];
|
|
2597
2843
|
}
|
|
2598
2844
|
});
|
|
@@ -2604,7 +2850,7 @@ class TransactionConnectorAdapterService {
|
|
|
2604
2850
|
return result.resultObject;
|
|
2605
2851
|
}
|
|
2606
2852
|
else {
|
|
2607
|
-
this.
|
|
2853
|
+
this._handleExceptionFromResponse(result);
|
|
2608
2854
|
return "";
|
|
2609
2855
|
}
|
|
2610
2856
|
});
|
|
@@ -2616,7 +2862,7 @@ class TransactionConnectorAdapterService {
|
|
|
2616
2862
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(PriceList, result.resultObjects);
|
|
2617
2863
|
}
|
|
2618
2864
|
else {
|
|
2619
|
-
this.
|
|
2865
|
+
this._handleExceptionFromResponse(result);
|
|
2620
2866
|
return [];
|
|
2621
2867
|
}
|
|
2622
2868
|
});
|
|
@@ -2628,7 +2874,7 @@ class TransactionConnectorAdapterService {
|
|
|
2628
2874
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(Vat, result.resultObjects);
|
|
2629
2875
|
}
|
|
2630
2876
|
else {
|
|
2631
|
-
this.
|
|
2877
|
+
this._handleExceptionFromResponse(result);
|
|
2632
2878
|
return [];
|
|
2633
2879
|
}
|
|
2634
2880
|
});
|
|
@@ -2643,7 +2889,7 @@ class TransactionConnectorAdapterService {
|
|
|
2643
2889
|
return result;
|
|
2644
2890
|
}
|
|
2645
2891
|
else {
|
|
2646
|
-
this.
|
|
2892
|
+
this._handleExceptionFromResponse(response);
|
|
2647
2893
|
return null;
|
|
2648
2894
|
}
|
|
2649
2895
|
});
|
|
@@ -2656,7 +2902,7 @@ class TransactionConnectorAdapterService {
|
|
|
2656
2902
|
resolve(result.resultObject);
|
|
2657
2903
|
}
|
|
2658
2904
|
else {
|
|
2659
|
-
this.
|
|
2905
|
+
this._handleExceptionFromResponse(result);
|
|
2660
2906
|
reject(null);
|
|
2661
2907
|
}
|
|
2662
2908
|
});
|
|
@@ -2670,7 +2916,7 @@ class TransactionConnectorAdapterService {
|
|
|
2670
2916
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(DeliveryMethod, result.resultObjects);
|
|
2671
2917
|
}
|
|
2672
2918
|
else {
|
|
2673
|
-
this.
|
|
2919
|
+
this._handleExceptionFromResponse(result);
|
|
2674
2920
|
return [];
|
|
2675
2921
|
}
|
|
2676
2922
|
});
|
|
@@ -2682,7 +2928,7 @@ class TransactionConnectorAdapterService {
|
|
|
2682
2928
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(DeliveryOption, result.resultObjects);
|
|
2683
2929
|
}
|
|
2684
2930
|
else {
|
|
2685
|
-
this.
|
|
2931
|
+
this._handleExceptionFromResponse(result);
|
|
2686
2932
|
return [];
|
|
2687
2933
|
}
|
|
2688
2934
|
});
|
|
@@ -2700,7 +2946,7 @@ class TransactionConnectorAdapterService {
|
|
|
2700
2946
|
return outputParams;
|
|
2701
2947
|
}
|
|
2702
2948
|
else {
|
|
2703
|
-
this.
|
|
2949
|
+
this._handleExceptionFromResponse(result);
|
|
2704
2950
|
return null;
|
|
2705
2951
|
}
|
|
2706
2952
|
}
|
|
@@ -2713,7 +2959,7 @@ class TransactionConnectorAdapterService {
|
|
|
2713
2959
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(RelationListObject, result.resultObjects);
|
|
2714
2960
|
}
|
|
2715
2961
|
else {
|
|
2716
|
-
this.
|
|
2962
|
+
this._handleExceptionFromResponse(result);
|
|
2717
2963
|
return [];
|
|
2718
2964
|
}
|
|
2719
2965
|
});
|
|
@@ -2725,7 +2971,7 @@ class TransactionConnectorAdapterService {
|
|
|
2725
2971
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(CoDomainValue, result.resultObjects);
|
|
2726
2972
|
}
|
|
2727
2973
|
else {
|
|
2728
|
-
this.
|
|
2974
|
+
this._handleExceptionFromResponse(result);
|
|
2729
2975
|
return [];
|
|
2730
2976
|
}
|
|
2731
2977
|
});
|
|
@@ -2737,7 +2983,7 @@ class TransactionConnectorAdapterService {
|
|
|
2737
2983
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(CoDomainValue, result.resultObjects);
|
|
2738
2984
|
}
|
|
2739
2985
|
else {
|
|
2740
|
-
this.
|
|
2986
|
+
this._handleExceptionFromResponse(result);
|
|
2741
2987
|
return [];
|
|
2742
2988
|
}
|
|
2743
2989
|
});
|
|
@@ -2750,7 +2996,7 @@ class TransactionConnectorAdapterService {
|
|
|
2750
2996
|
resolve(result.resultObjects);
|
|
2751
2997
|
}
|
|
2752
2998
|
else {
|
|
2753
|
-
this.
|
|
2999
|
+
this._handleExceptionFromResponse(result);
|
|
2754
3000
|
reject([]);
|
|
2755
3001
|
}
|
|
2756
3002
|
});
|
|
@@ -2766,7 +3012,7 @@ class TransactionConnectorAdapterService {
|
|
|
2766
3012
|
return texts;
|
|
2767
3013
|
}
|
|
2768
3014
|
else {
|
|
2769
|
-
this.
|
|
3015
|
+
this._handleExceptionFromResponse(result);
|
|
2770
3016
|
return [];
|
|
2771
3017
|
}
|
|
2772
3018
|
});
|
|
@@ -2778,7 +3024,7 @@ class TransactionConnectorAdapterService {
|
|
|
2778
3024
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(StandardText, result.resultObjects);
|
|
2779
3025
|
}
|
|
2780
3026
|
else {
|
|
2781
|
-
this.
|
|
3027
|
+
this._handleExceptionFromResponse(result);
|
|
2782
3028
|
return [];
|
|
2783
3029
|
}
|
|
2784
3030
|
});
|
|
@@ -2790,7 +3036,7 @@ class TransactionConnectorAdapterService {
|
|
|
2790
3036
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(BranchLov, result.resultObjects);
|
|
2791
3037
|
}
|
|
2792
3038
|
else {
|
|
2793
|
-
this.
|
|
3039
|
+
this._handleExceptionFromResponse(result);
|
|
2794
3040
|
return [];
|
|
2795
3041
|
}
|
|
2796
3042
|
});
|
|
@@ -2802,7 +3048,7 @@ class TransactionConnectorAdapterService {
|
|
|
2802
3048
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(SalesPerson, result.resultObjects);
|
|
2803
3049
|
}
|
|
2804
3050
|
else {
|
|
2805
|
-
this.
|
|
3051
|
+
this._handleExceptionFromResponse(result);
|
|
2806
3052
|
return [];
|
|
2807
3053
|
}
|
|
2808
3054
|
});
|
|
@@ -2814,7 +3060,7 @@ class TransactionConnectorAdapterService {
|
|
|
2814
3060
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(Tag, result.resultObjects);
|
|
2815
3061
|
}
|
|
2816
3062
|
else {
|
|
2817
|
-
this.
|
|
3063
|
+
this._handleExceptionFromResponse(result);
|
|
2818
3064
|
return [];
|
|
2819
3065
|
}
|
|
2820
3066
|
});
|
|
@@ -2826,7 +3072,7 @@ class TransactionConnectorAdapterService {
|
|
|
2826
3072
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(OnHoldCode, result.resultObjects);
|
|
2827
3073
|
}
|
|
2828
3074
|
else {
|
|
2829
|
-
this.
|
|
3075
|
+
this._handleExceptionFromResponse(result);
|
|
2830
3076
|
return [];
|
|
2831
3077
|
}
|
|
2832
3078
|
});
|
|
@@ -2838,7 +3084,7 @@ class TransactionConnectorAdapterService {
|
|
|
2838
3084
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(Warehouse, result.resultObjects);
|
|
2839
3085
|
}
|
|
2840
3086
|
else {
|
|
2841
|
-
this.
|
|
3087
|
+
this._handleExceptionFromResponse(result);
|
|
2842
3088
|
return [];
|
|
2843
3089
|
}
|
|
2844
3090
|
});
|
|
@@ -2850,7 +3096,7 @@ class TransactionConnectorAdapterService {
|
|
|
2850
3096
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(CodeDescription, result.resultObjects);
|
|
2851
3097
|
}
|
|
2852
3098
|
else {
|
|
2853
|
-
this.
|
|
3099
|
+
this._handleExceptionFromResponse(result);
|
|
2854
3100
|
return [];
|
|
2855
3101
|
}
|
|
2856
3102
|
});
|
|
@@ -2862,7 +3108,7 @@ class TransactionConnectorAdapterService {
|
|
|
2862
3108
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(PaymentMethod, result.resultObject);
|
|
2863
3109
|
}
|
|
2864
3110
|
else {
|
|
2865
|
-
this.
|
|
3111
|
+
this._handleExceptionFromResponse(result);
|
|
2866
3112
|
return [];
|
|
2867
3113
|
}
|
|
2868
3114
|
});
|
|
@@ -2875,7 +3121,7 @@ class TransactionConnectorAdapterService {
|
|
|
2875
3121
|
resolve(this._boFactory.makeWithRawBackendData(CustomerFullObject, result.resultObject));
|
|
2876
3122
|
}
|
|
2877
3123
|
else {
|
|
2878
|
-
this.
|
|
3124
|
+
this._handleExceptionFromResponse(result);
|
|
2879
3125
|
reject(null);
|
|
2880
3126
|
}
|
|
2881
3127
|
});
|
|
@@ -2890,7 +3136,7 @@ class TransactionConnectorAdapterService {
|
|
|
2890
3136
|
resolve(this._boFactory.makeWithRawBackendData(CustomerFullObject, result.resultObject));
|
|
2891
3137
|
}
|
|
2892
3138
|
else {
|
|
2893
|
-
this.
|
|
3139
|
+
this._handleExceptionFromResponse(result);
|
|
2894
3140
|
reject(null);
|
|
2895
3141
|
}
|
|
2896
3142
|
});
|
|
@@ -2907,7 +3153,7 @@ class TransactionConnectorAdapterService {
|
|
|
2907
3153
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2908
3154
|
}
|
|
2909
3155
|
else {
|
|
2910
|
-
this.
|
|
3156
|
+
this._handleExceptionFromResponse(result);
|
|
2911
3157
|
reject(null);
|
|
2912
3158
|
}
|
|
2913
3159
|
});
|
|
@@ -2920,7 +3166,7 @@ class TransactionConnectorAdapterService {
|
|
|
2920
3166
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2921
3167
|
}
|
|
2922
3168
|
else {
|
|
2923
|
-
this.
|
|
3169
|
+
this._handleExceptionFromResponse(result);
|
|
2924
3170
|
reject(null);
|
|
2925
3171
|
}
|
|
2926
3172
|
});
|
|
@@ -2934,7 +3180,7 @@ class TransactionConnectorAdapterService {
|
|
|
2934
3180
|
resolve(result.validationResult.success);
|
|
2935
3181
|
}
|
|
2936
3182
|
else {
|
|
2937
|
-
this.
|
|
3183
|
+
this._handleExceptionFromResponse(result);
|
|
2938
3184
|
reject(false);
|
|
2939
3185
|
}
|
|
2940
3186
|
});
|
|
@@ -2949,7 +3195,7 @@ class TransactionConnectorAdapterService {
|
|
|
2949
3195
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2950
3196
|
}
|
|
2951
3197
|
else {
|
|
2952
|
-
this.
|
|
3198
|
+
this._handleExceptionFromResponse(result);
|
|
2953
3199
|
reject(null);
|
|
2954
3200
|
}
|
|
2955
3201
|
});
|
|
@@ -2964,7 +3210,7 @@ class TransactionConnectorAdapterService {
|
|
|
2964
3210
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2965
3211
|
}
|
|
2966
3212
|
else {
|
|
2967
|
-
this.
|
|
3213
|
+
this._handleExceptionFromResponse(result);
|
|
2968
3214
|
reject(null);
|
|
2969
3215
|
}
|
|
2970
3216
|
});
|
|
@@ -2979,7 +3225,7 @@ class TransactionConnectorAdapterService {
|
|
|
2979
3225
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2980
3226
|
}
|
|
2981
3227
|
else {
|
|
2982
|
-
this.
|
|
3228
|
+
this._handleExceptionFromResponse(result);
|
|
2983
3229
|
reject(null);
|
|
2984
3230
|
}
|
|
2985
3231
|
});
|
|
@@ -2994,7 +3240,7 @@ class TransactionConnectorAdapterService {
|
|
|
2994
3240
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2995
3241
|
}
|
|
2996
3242
|
else {
|
|
2997
|
-
this.
|
|
3243
|
+
this._handleExceptionFromResponse(result);
|
|
2998
3244
|
reject(null);
|
|
2999
3245
|
}
|
|
3000
3246
|
});
|
|
@@ -3009,7 +3255,7 @@ class TransactionConnectorAdapterService {
|
|
|
3009
3255
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
3010
3256
|
}
|
|
3011
3257
|
else {
|
|
3012
|
-
this.
|
|
3258
|
+
this._handleExceptionFromResponse(result);
|
|
3013
3259
|
reject(null);
|
|
3014
3260
|
}
|
|
3015
3261
|
});
|
|
@@ -3024,7 +3270,7 @@ class TransactionConnectorAdapterService {
|
|
|
3024
3270
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
3025
3271
|
}
|
|
3026
3272
|
else {
|
|
3027
|
-
this.
|
|
3273
|
+
this._handleExceptionFromResponse(result);
|
|
3028
3274
|
reject(null);
|
|
3029
3275
|
}
|
|
3030
3276
|
});
|
|
@@ -3045,7 +3291,7 @@ class TransactionConnectorAdapterService {
|
|
|
3045
3291
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
3046
3292
|
}
|
|
3047
3293
|
else {
|
|
3048
|
-
this.
|
|
3294
|
+
this._handleExceptionFromResponse(result);
|
|
3049
3295
|
reject(null);
|
|
3050
3296
|
}
|
|
3051
3297
|
});
|
|
@@ -3060,7 +3306,7 @@ class TransactionConnectorAdapterService {
|
|
|
3060
3306
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
3061
3307
|
}
|
|
3062
3308
|
else {
|
|
3063
|
-
this.
|
|
3309
|
+
this._handleExceptionFromResponse(result);
|
|
3064
3310
|
reject(null);
|
|
3065
3311
|
}
|
|
3066
3312
|
});
|
|
@@ -3075,7 +3321,7 @@ class TransactionConnectorAdapterService {
|
|
|
3075
3321
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
3076
3322
|
}
|
|
3077
3323
|
else {
|
|
3078
|
-
this.
|
|
3324
|
+
this._handleExceptionFromResponse(result);
|
|
3079
3325
|
reject(null);
|
|
3080
3326
|
}
|
|
3081
3327
|
});
|
|
@@ -3095,7 +3341,7 @@ class TransactionConnectorAdapterService {
|
|
|
3095
3341
|
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
3096
3342
|
}
|
|
3097
3343
|
else {
|
|
3098
|
-
this.
|
|
3344
|
+
this._handleExceptionFromResponse(result);
|
|
3099
3345
|
reject(null);
|
|
3100
3346
|
}
|
|
3101
3347
|
});
|
|
@@ -3114,7 +3360,7 @@ class TransactionConnectorAdapterService {
|
|
|
3114
3360
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3115
3361
|
}
|
|
3116
3362
|
else {
|
|
3117
|
-
this.
|
|
3363
|
+
this._handleExceptionFromResponse(response);
|
|
3118
3364
|
return null;
|
|
3119
3365
|
}
|
|
3120
3366
|
});
|
|
@@ -3131,7 +3377,7 @@ class TransactionConnectorAdapterService {
|
|
|
3131
3377
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3132
3378
|
}
|
|
3133
3379
|
else {
|
|
3134
|
-
this.
|
|
3380
|
+
this._handleExceptionFromResponse(response);
|
|
3135
3381
|
return null;
|
|
3136
3382
|
}
|
|
3137
3383
|
});
|
|
@@ -3148,7 +3394,7 @@ class TransactionConnectorAdapterService {
|
|
|
3148
3394
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3149
3395
|
}
|
|
3150
3396
|
else {
|
|
3151
|
-
this.
|
|
3397
|
+
this._handleExceptionFromResponse(response);
|
|
3152
3398
|
return null;
|
|
3153
3399
|
}
|
|
3154
3400
|
});
|
|
@@ -3165,7 +3411,7 @@ class TransactionConnectorAdapterService {
|
|
|
3165
3411
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3166
3412
|
}
|
|
3167
3413
|
else {
|
|
3168
|
-
this.
|
|
3414
|
+
this._handleExceptionFromResponse(response);
|
|
3169
3415
|
return null;
|
|
3170
3416
|
}
|
|
3171
3417
|
});
|
|
@@ -3182,7 +3428,7 @@ class TransactionConnectorAdapterService {
|
|
|
3182
3428
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3183
3429
|
}
|
|
3184
3430
|
else {
|
|
3185
|
-
this.
|
|
3431
|
+
this._handleExceptionFromResponse(response);
|
|
3186
3432
|
return null;
|
|
3187
3433
|
}
|
|
3188
3434
|
});
|
|
@@ -3202,7 +3448,7 @@ class TransactionConnectorAdapterService {
|
|
|
3202
3448
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3203
3449
|
}
|
|
3204
3450
|
else {
|
|
3205
|
-
this.
|
|
3451
|
+
this._handleExceptionFromResponse(response);
|
|
3206
3452
|
return null;
|
|
3207
3453
|
}
|
|
3208
3454
|
});
|
|
@@ -3219,7 +3465,7 @@ class TransactionConnectorAdapterService {
|
|
|
3219
3465
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3220
3466
|
}
|
|
3221
3467
|
else {
|
|
3222
|
-
this.
|
|
3468
|
+
this._handleExceptionFromResponse(response);
|
|
3223
3469
|
return null;
|
|
3224
3470
|
}
|
|
3225
3471
|
});
|
|
@@ -3236,7 +3482,7 @@ class TransactionConnectorAdapterService {
|
|
|
3236
3482
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3237
3483
|
}
|
|
3238
3484
|
else {
|
|
3239
|
-
this.
|
|
3485
|
+
this._handleExceptionFromResponse(response);
|
|
3240
3486
|
return null;
|
|
3241
3487
|
}
|
|
3242
3488
|
});
|
|
@@ -3253,7 +3499,7 @@ class TransactionConnectorAdapterService {
|
|
|
3253
3499
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3254
3500
|
}
|
|
3255
3501
|
else {
|
|
3256
|
-
this.
|
|
3502
|
+
this._handleExceptionFromResponse(response);
|
|
3257
3503
|
return null;
|
|
3258
3504
|
}
|
|
3259
3505
|
});
|
|
@@ -3270,7 +3516,7 @@ class TransactionConnectorAdapterService {
|
|
|
3270
3516
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3271
3517
|
}
|
|
3272
3518
|
else {
|
|
3273
|
-
this.
|
|
3519
|
+
this._handleExceptionFromResponse(response);
|
|
3274
3520
|
return null;
|
|
3275
3521
|
}
|
|
3276
3522
|
});
|
|
@@ -3287,7 +3533,7 @@ class TransactionConnectorAdapterService {
|
|
|
3287
3533
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3288
3534
|
}
|
|
3289
3535
|
else {
|
|
3290
|
-
this.
|
|
3536
|
+
this._handleExceptionFromResponse(response);
|
|
3291
3537
|
return null;
|
|
3292
3538
|
}
|
|
3293
3539
|
});
|
|
@@ -3304,7 +3550,24 @@ class TransactionConnectorAdapterService {
|
|
|
3304
3550
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3305
3551
|
}
|
|
3306
3552
|
else {
|
|
3307
|
-
this.
|
|
3553
|
+
this._handleExceptionFromResponse(response);
|
|
3554
|
+
return null;
|
|
3555
|
+
}
|
|
3556
|
+
});
|
|
3557
|
+
}
|
|
3558
|
+
changeTransactionLineGoodDescription(uuid, lineUuid, goodDescription) {
|
|
3559
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3560
|
+
const request = {
|
|
3561
|
+
transactionUuid: uuid,
|
|
3562
|
+
lineUuid: lineUuid,
|
|
3563
|
+
newGoodDescription: goodDescription
|
|
3564
|
+
};
|
|
3565
|
+
const response = yield this.connector.changeTransactionLineGoodDescription(request);
|
|
3566
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3567
|
+
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3568
|
+
}
|
|
3569
|
+
else {
|
|
3570
|
+
this._handleExceptionFromResponse(response);
|
|
3308
3571
|
return null;
|
|
3309
3572
|
}
|
|
3310
3573
|
});
|
|
@@ -3320,7 +3583,7 @@ class TransactionConnectorAdapterService {
|
|
|
3320
3583
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3321
3584
|
}
|
|
3322
3585
|
else {
|
|
3323
|
-
this.
|
|
3586
|
+
this._handleExceptionFromResponse(response);
|
|
3324
3587
|
return null;
|
|
3325
3588
|
}
|
|
3326
3589
|
});
|
|
@@ -3336,7 +3599,7 @@ class TransactionConnectorAdapterService {
|
|
|
3336
3599
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3337
3600
|
}
|
|
3338
3601
|
else {
|
|
3339
|
-
this.
|
|
3602
|
+
this._handleExceptionFromResponse(response);
|
|
3340
3603
|
return null;
|
|
3341
3604
|
}
|
|
3342
3605
|
});
|
|
@@ -3352,7 +3615,7 @@ class TransactionConnectorAdapterService {
|
|
|
3352
3615
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3353
3616
|
}
|
|
3354
3617
|
else {
|
|
3355
|
-
this.
|
|
3618
|
+
this._handleExceptionFromResponse(response);
|
|
3356
3619
|
return null;
|
|
3357
3620
|
}
|
|
3358
3621
|
});
|
|
@@ -3368,7 +3631,7 @@ class TransactionConnectorAdapterService {
|
|
|
3368
3631
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3369
3632
|
}
|
|
3370
3633
|
else {
|
|
3371
|
-
this.
|
|
3634
|
+
this._handleExceptionFromResponse(response);
|
|
3372
3635
|
return null;
|
|
3373
3636
|
}
|
|
3374
3637
|
});
|
|
@@ -3384,7 +3647,7 @@ class TransactionConnectorAdapterService {
|
|
|
3384
3647
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3385
3648
|
}
|
|
3386
3649
|
else {
|
|
3387
|
-
this.
|
|
3650
|
+
this._handleExceptionFromResponse(response);
|
|
3388
3651
|
return null;
|
|
3389
3652
|
}
|
|
3390
3653
|
});
|
|
@@ -3400,7 +3663,7 @@ class TransactionConnectorAdapterService {
|
|
|
3400
3663
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3401
3664
|
}
|
|
3402
3665
|
else {
|
|
3403
|
-
this.
|
|
3666
|
+
this._handleExceptionFromResponse(response);
|
|
3404
3667
|
return null;
|
|
3405
3668
|
}
|
|
3406
3669
|
});
|
|
@@ -3416,7 +3679,7 @@ class TransactionConnectorAdapterService {
|
|
|
3416
3679
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3417
3680
|
}
|
|
3418
3681
|
else {
|
|
3419
|
-
this.
|
|
3682
|
+
this._handleExceptionFromResponse(response);
|
|
3420
3683
|
return null;
|
|
3421
3684
|
}
|
|
3422
3685
|
});
|
|
@@ -3432,7 +3695,7 @@ class TransactionConnectorAdapterService {
|
|
|
3432
3695
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3433
3696
|
}
|
|
3434
3697
|
else {
|
|
3435
|
-
this.
|
|
3698
|
+
this._handleExceptionFromResponse(response);
|
|
3436
3699
|
return null;
|
|
3437
3700
|
}
|
|
3438
3701
|
});
|
|
@@ -3448,7 +3711,7 @@ class TransactionConnectorAdapterService {
|
|
|
3448
3711
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3449
3712
|
}
|
|
3450
3713
|
else {
|
|
3451
|
-
this.
|
|
3714
|
+
this._handleExceptionFromResponse(response);
|
|
3452
3715
|
return null;
|
|
3453
3716
|
}
|
|
3454
3717
|
});
|
|
@@ -3465,7 +3728,7 @@ class TransactionConnectorAdapterService {
|
|
|
3465
3728
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3466
3729
|
}
|
|
3467
3730
|
else {
|
|
3468
|
-
this.
|
|
3731
|
+
this._handleExceptionFromResponse(response);
|
|
3469
3732
|
return null;
|
|
3470
3733
|
}
|
|
3471
3734
|
});
|
|
@@ -3481,7 +3744,7 @@ class TransactionConnectorAdapterService {
|
|
|
3481
3744
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3482
3745
|
}
|
|
3483
3746
|
else {
|
|
3484
|
-
this.
|
|
3747
|
+
this._handleExceptionFromResponse(response);
|
|
3485
3748
|
return null;
|
|
3486
3749
|
}
|
|
3487
3750
|
});
|
|
@@ -3497,7 +3760,7 @@ class TransactionConnectorAdapterService {
|
|
|
3497
3760
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3498
3761
|
}
|
|
3499
3762
|
else {
|
|
3500
|
-
this.
|
|
3763
|
+
this._handleExceptionFromResponse(response);
|
|
3501
3764
|
return null;
|
|
3502
3765
|
}
|
|
3503
3766
|
});
|
|
@@ -3513,7 +3776,7 @@ class TransactionConnectorAdapterService {
|
|
|
3513
3776
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3514
3777
|
}
|
|
3515
3778
|
else {
|
|
3516
|
-
this.
|
|
3779
|
+
this._handleExceptionFromResponse(response);
|
|
3517
3780
|
return null;
|
|
3518
3781
|
}
|
|
3519
3782
|
});
|
|
@@ -3529,7 +3792,7 @@ class TransactionConnectorAdapterService {
|
|
|
3529
3792
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3530
3793
|
}
|
|
3531
3794
|
else {
|
|
3532
|
-
this.
|
|
3795
|
+
this._handleExceptionFromResponse(response);
|
|
3533
3796
|
return null;
|
|
3534
3797
|
}
|
|
3535
3798
|
});
|
|
@@ -3545,7 +3808,7 @@ class TransactionConnectorAdapterService {
|
|
|
3545
3808
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3546
3809
|
}
|
|
3547
3810
|
else {
|
|
3548
|
-
this.
|
|
3811
|
+
this._handleExceptionFromResponse(response);
|
|
3549
3812
|
return null;
|
|
3550
3813
|
}
|
|
3551
3814
|
});
|
|
@@ -3561,7 +3824,7 @@ class TransactionConnectorAdapterService {
|
|
|
3561
3824
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3562
3825
|
}
|
|
3563
3826
|
else {
|
|
3564
|
-
this.
|
|
3827
|
+
this._handleExceptionFromResponse(response);
|
|
3565
3828
|
return null;
|
|
3566
3829
|
}
|
|
3567
3830
|
});
|
|
@@ -3577,7 +3840,7 @@ class TransactionConnectorAdapterService {
|
|
|
3577
3840
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3578
3841
|
}
|
|
3579
3842
|
else {
|
|
3580
|
-
this.
|
|
3843
|
+
this._handleExceptionFromResponse(response);
|
|
3581
3844
|
return null;
|
|
3582
3845
|
}
|
|
3583
3846
|
});
|
|
@@ -3594,7 +3857,7 @@ class TransactionConnectorAdapterService {
|
|
|
3594
3857
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3595
3858
|
}
|
|
3596
3859
|
else {
|
|
3597
|
-
this.
|
|
3860
|
+
this._handleExceptionFromResponse(response);
|
|
3598
3861
|
return null;
|
|
3599
3862
|
}
|
|
3600
3863
|
});
|
|
@@ -3610,7 +3873,7 @@ class TransactionConnectorAdapterService {
|
|
|
3610
3873
|
console.log(response);
|
|
3611
3874
|
}
|
|
3612
3875
|
else {
|
|
3613
|
-
this.
|
|
3876
|
+
this._handleExceptionFromResponse(response);
|
|
3614
3877
|
return null;
|
|
3615
3878
|
}
|
|
3616
3879
|
});
|
|
@@ -3629,7 +3892,7 @@ class TransactionConnectorAdapterService {
|
|
|
3629
3892
|
console.log(response);
|
|
3630
3893
|
}
|
|
3631
3894
|
else {
|
|
3632
|
-
this.
|
|
3895
|
+
this._handleExceptionFromResponse(response);
|
|
3633
3896
|
return null;
|
|
3634
3897
|
}
|
|
3635
3898
|
});
|
|
@@ -3646,7 +3909,7 @@ class TransactionConnectorAdapterService {
|
|
|
3646
3909
|
return this._boFactory.makeWithRawBackendData(CreatePaymentLinkResult, response.resultObject);
|
|
3647
3910
|
}
|
|
3648
3911
|
else {
|
|
3649
|
-
this.
|
|
3912
|
+
this._handleExceptionFromResponse(response);
|
|
3650
3913
|
return null;
|
|
3651
3914
|
}
|
|
3652
3915
|
});
|
|
@@ -3658,7 +3921,7 @@ class TransactionConnectorAdapterService {
|
|
|
3658
3921
|
return this._boFactory.makeWithRawBackendData(PaymentLinkStatus, response.resultObject);
|
|
3659
3922
|
}
|
|
3660
3923
|
else {
|
|
3661
|
-
this.
|
|
3924
|
+
this._handleExceptionFromResponse(response);
|
|
3662
3925
|
return null;
|
|
3663
3926
|
}
|
|
3664
3927
|
});
|
|
@@ -3670,7 +3933,7 @@ class TransactionConnectorAdapterService {
|
|
|
3670
3933
|
return this._boFactory.makeWithRawBackendData(GoodsReceiptStatusWithHistory, response.resultObject);
|
|
3671
3934
|
}
|
|
3672
3935
|
else {
|
|
3673
|
-
this.
|
|
3936
|
+
this._handleExceptionFromResponse(response);
|
|
3674
3937
|
return null;
|
|
3675
3938
|
}
|
|
3676
3939
|
});
|
|
@@ -3682,7 +3945,7 @@ class TransactionConnectorAdapterService {
|
|
|
3682
3945
|
return this._boFactory.makeWithRawBackendData(GoodsReceiptStatusWithHistory, response.resultObject);
|
|
3683
3946
|
}
|
|
3684
3947
|
else {
|
|
3685
|
-
this.
|
|
3948
|
+
this._handleExceptionFromResponse(response);
|
|
3686
3949
|
return null;
|
|
3687
3950
|
}
|
|
3688
3951
|
});
|
|
@@ -3694,7 +3957,7 @@ class TransactionConnectorAdapterService {
|
|
|
3694
3957
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3695
3958
|
}
|
|
3696
3959
|
else {
|
|
3697
|
-
this.
|
|
3960
|
+
this._handleExceptionFromResponse(response);
|
|
3698
3961
|
return null;
|
|
3699
3962
|
}
|
|
3700
3963
|
});
|
|
@@ -3706,7 +3969,7 @@ class TransactionConnectorAdapterService {
|
|
|
3706
3969
|
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3707
3970
|
}
|
|
3708
3971
|
else {
|
|
3709
|
-
this.
|
|
3972
|
+
this._handleExceptionFromResponse(response);
|
|
3710
3973
|
return null;
|
|
3711
3974
|
}
|
|
3712
3975
|
});
|
|
@@ -3721,7 +3984,7 @@ class TransactionConnectorAdapterService {
|
|
|
3721
3984
|
}
|
|
3722
3985
|
}
|
|
3723
3986
|
else {
|
|
3724
|
-
this.
|
|
3987
|
+
this._handleExceptionFromResponse(result);
|
|
3725
3988
|
reject(null);
|
|
3726
3989
|
}
|
|
3727
3990
|
});
|
|
@@ -3733,7 +3996,7 @@ class TransactionConnectorAdapterService {
|
|
|
3733
3996
|
return this.connector.updatePurchasePortalLines(purchasePortalLine);
|
|
3734
3997
|
});
|
|
3735
3998
|
}
|
|
3736
|
-
|
|
3999
|
+
_handleExceptionFromResponse(result) {
|
|
3737
4000
|
this._errorService.showValidationError(result);
|
|
3738
4001
|
}
|
|
3739
4002
|
}
|
|
@@ -4125,6 +4388,11 @@ class TransactionConnectorService {
|
|
|
4125
4388
|
return this._adapterService.changeTransactionLineReference(uuid, lineUuid, reference);
|
|
4126
4389
|
});
|
|
4127
4390
|
}
|
|
4391
|
+
changeTransactionLineGoodDescription(uuid, lineUuid, goodDescription) {
|
|
4392
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4393
|
+
return this._adapterService.changeTransactionLineGoodDescription(uuid, lineUuid, goodDescription);
|
|
4394
|
+
});
|
|
4395
|
+
}
|
|
4128
4396
|
changeTransactionLineCollectionCode(uuid, lineUuid, code) {
|
|
4129
4397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4130
4398
|
return this._adapterService.changeTransactionLineCollectionCode(uuid, lineUuid, code);
|
|
@@ -4265,6 +4533,21 @@ class TransactionConnectorService {
|
|
|
4265
4533
|
return this._adapterService.updatePurchasePortalLines(purchasePortalLine);
|
|
4266
4534
|
});
|
|
4267
4535
|
}
|
|
4536
|
+
lockPurchasePortalLines(transIdPurchase, lineId) {
|
|
4537
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4538
|
+
return new Promise((resolve, reject) => {
|
|
4539
|
+
return this._adapterService.connector.lockPurchasePortalLines(transIdPurchase, lineId).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4540
|
+
if (result.validationResult && result.validationResult.success) {
|
|
4541
|
+
yield this.commit();
|
|
4542
|
+
resolve(true);
|
|
4543
|
+
}
|
|
4544
|
+
else {
|
|
4545
|
+
reject(result.validationMessagesAsString);
|
|
4546
|
+
}
|
|
4547
|
+
}));
|
|
4548
|
+
});
|
|
4549
|
+
});
|
|
4550
|
+
}
|
|
4268
4551
|
}
|
|
4269
4552
|
TransactionConnectorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionConnectorService_Factory() { return new TransactionConnectorService(i0.ɵɵinject(TransactionConnectorAdapterService), i0.ɵɵinject(SelectSingleCacheService), i0.ɵɵinject(SelectMultipleCacheService), i0.ɵɵinject(SelectMultipleParameterizedCacheService)); }, token: TransactionConnectorService, providedIn: "root" });
|
|
4270
4553
|
TransactionConnectorService.decorators = [
|
|
@@ -4388,6 +4671,8 @@ class PendingReasonService {
|
|
|
4388
4671
|
this.invoiceAddressSameAsDelivery = true;
|
|
4389
4672
|
this.currentTransaction = new TransactionInfoResponse();
|
|
4390
4673
|
this.relation = new CustomerFullObject();
|
|
4674
|
+
this.purchasePortalLine = new PurchasePortalLine();
|
|
4675
|
+
this.docDeliveryBatch = new DocDeliveryBatch();
|
|
4391
4676
|
this.articleAmount = 0;
|
|
4392
4677
|
}
|
|
4393
4678
|
init(options) {
|
|
@@ -4570,7 +4855,7 @@ class PendingReasonService {
|
|
|
4570
4855
|
}
|
|
4571
4856
|
_showReasonDialog(reason) {
|
|
4572
4857
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4573
|
-
this.dialogService.showInformation(reason);
|
|
4858
|
+
return this.dialogService.showInformation(reason);
|
|
4574
4859
|
});
|
|
4575
4860
|
}
|
|
4576
4861
|
_setAmount() {
|
|
@@ -4608,11 +4893,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4608
4893
|
}
|
|
4609
4894
|
updatePriceTransactionLine(uuid, lineUuid, price) {
|
|
4610
4895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4611
|
-
const response = yield this.connector.changeTransactionLinePrice(uuid, lineUuid, price)
|
|
4612
|
-
.catch((error) => {
|
|
4613
|
-
// todo: do something with the error
|
|
4614
|
-
return false;
|
|
4615
|
-
});
|
|
4896
|
+
const response = yield this.connector.changeTransactionLinePrice(uuid, lineUuid, price);
|
|
4616
4897
|
if (response) {
|
|
4617
4898
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4618
4899
|
this.rememberCurrentTransaction(response);
|
|
@@ -4623,11 +4904,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4623
4904
|
}
|
|
4624
4905
|
updateReferenceTransactionLine(uuid, lineUuid, reference) {
|
|
4625
4906
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4626
|
-
const response = yield this.connector.changeTransactionLineReference(uuid, lineUuid, reference)
|
|
4627
|
-
.catch((error) => {
|
|
4628
|
-
// todo: do something with the error
|
|
4629
|
-
return false;
|
|
4630
|
-
});
|
|
4907
|
+
const response = yield this.connector.changeTransactionLineReference(uuid, lineUuid, reference);
|
|
4631
4908
|
if (response) {
|
|
4632
4909
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4633
4910
|
this.rememberCurrentTransaction(response);
|
|
@@ -4636,13 +4913,20 @@ class TransactionService extends PendingReasonService {
|
|
|
4636
4913
|
return false;
|
|
4637
4914
|
});
|
|
4638
4915
|
}
|
|
4639
|
-
|
|
4916
|
+
updateGoodDescriptionTransactionLine(uuid, lineUuid, goodDescription) {
|
|
4640
4917
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4641
|
-
const response = yield this.connector.
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4918
|
+
const response = yield this.connector.changeTransactionLineGoodDescription(uuid, lineUuid, goodDescription);
|
|
4919
|
+
if (response) {
|
|
4920
|
+
const success = yield this.handleLineOperationStatuses(response);
|
|
4921
|
+
this.rememberCurrentTransaction(response);
|
|
4922
|
+
return success;
|
|
4923
|
+
}
|
|
4924
|
+
return false;
|
|
4925
|
+
});
|
|
4926
|
+
}
|
|
4927
|
+
updateHeaderTransactionDefinitive(uuid, definitive) {
|
|
4928
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4929
|
+
const response = yield this.connector.changeHeaderTransactionDefinitive(uuid, definitive);
|
|
4646
4930
|
if (response) {
|
|
4647
4931
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4648
4932
|
this.rememberCurrentTransaction(response);
|
|
@@ -4653,14 +4937,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4653
4937
|
}
|
|
4654
4938
|
updateHeaderDeliveryAddress(uuid, newNawNr) {
|
|
4655
4939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4656
|
-
|
|
4657
|
-
yield this.addRelationToTransaction(this.relation.relationId);
|
|
4658
|
-
}
|
|
4659
|
-
const response = yield this.connector.changeHeaderDeliveryAddress(uuid, newNawNr)
|
|
4660
|
-
.catch((error) => {
|
|
4661
|
-
// todo: do something with the error
|
|
4662
|
-
return false;
|
|
4663
|
-
});
|
|
4940
|
+
const response = yield this.connector.changeHeaderDeliveryAddress(uuid, newNawNr);
|
|
4664
4941
|
if (response) {
|
|
4665
4942
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4666
4943
|
this.rememberCurrentTransaction(response);
|
|
@@ -4671,14 +4948,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4671
4948
|
}
|
|
4672
4949
|
updateHeaderInvoiceAddress(uuid, newNawNr) {
|
|
4673
4950
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4674
|
-
|
|
4675
|
-
yield this.addRelationToTransaction(this.relation.relationId);
|
|
4676
|
-
}
|
|
4677
|
-
const response = yield this.connector.changeHeaderInvoiceAddress(uuid, newNawNr)
|
|
4678
|
-
.catch((error) => {
|
|
4679
|
-
// todo: do something with the error
|
|
4680
|
-
return false;
|
|
4681
|
-
});
|
|
4951
|
+
const response = yield this.connector.changeHeaderInvoiceAddress(uuid, newNawNr);
|
|
4682
4952
|
if (response) {
|
|
4683
4953
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4684
4954
|
this.rememberCurrentTransaction(response);
|
|
@@ -4689,11 +4959,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4689
4959
|
}
|
|
4690
4960
|
updateHeaderTransactionDeliveryDate(uuid, date) {
|
|
4691
4961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4692
|
-
const response = yield this.connector.changeHeaderTransactionDeliveryDate(uuid, date)
|
|
4693
|
-
.catch((error) => {
|
|
4694
|
-
// todo: do something with the error
|
|
4695
|
-
return false;
|
|
4696
|
-
});
|
|
4962
|
+
const response = yield this.connector.changeHeaderTransactionDeliveryDate(uuid, date);
|
|
4697
4963
|
if (response) {
|
|
4698
4964
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4699
4965
|
this.rememberCurrentTransaction(response);
|
|
@@ -4704,11 +4970,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4704
4970
|
}
|
|
4705
4971
|
updateHeaderTransactionRemark(uuid, remark) {
|
|
4706
4972
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4707
|
-
const response = yield this.connector.changeHeaderTransactionRemark(uuid, remark)
|
|
4708
|
-
.catch((error) => {
|
|
4709
|
-
// todo: do something with the error
|
|
4710
|
-
return false;
|
|
4711
|
-
});
|
|
4973
|
+
const response = yield this.connector.changeHeaderTransactionRemark(uuid, remark);
|
|
4712
4974
|
if (response) {
|
|
4713
4975
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4714
4976
|
this.rememberCurrentTransaction(response);
|
|
@@ -4719,11 +4981,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4719
4981
|
}
|
|
4720
4982
|
updateHeaderTransactionReference(uuid, reference) {
|
|
4721
4983
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4722
|
-
const response = yield this.connector.changeHeaderTransactionReference(uuid, reference)
|
|
4723
|
-
.catch((error) => {
|
|
4724
|
-
// todo: do something with the error
|
|
4725
|
-
return false;
|
|
4726
|
-
});
|
|
4984
|
+
const response = yield this.connector.changeHeaderTransactionReference(uuid, reference);
|
|
4727
4985
|
if (response) {
|
|
4728
4986
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4729
4987
|
this.rememberCurrentTransaction(response);
|
|
@@ -4734,11 +4992,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4734
4992
|
}
|
|
4735
4993
|
updateHeaderTransactionRelationReference(uuid, reference) {
|
|
4736
4994
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4737
|
-
const response = yield this.connector.changeHeaderTransactionRelationReference(uuid, reference)
|
|
4738
|
-
.catch((error) => {
|
|
4739
|
-
// todo: do something with the error
|
|
4740
|
-
return false;
|
|
4741
|
-
});
|
|
4995
|
+
const response = yield this.connector.changeHeaderTransactionRelationReference(uuid, reference);
|
|
4742
4996
|
if (response) {
|
|
4743
4997
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4744
4998
|
this.rememberCurrentTransaction(response);
|
|
@@ -4749,11 +5003,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4749
5003
|
}
|
|
4750
5004
|
updateHeaderTransactionDownpaymentAmount(uuid, amount) {
|
|
4751
5005
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4752
|
-
const response = yield this.connector.changeHeaderToDownPayAmount(uuid, amount)
|
|
4753
|
-
.catch((error) => {
|
|
4754
|
-
// todo: do something with the error
|
|
4755
|
-
return false;
|
|
4756
|
-
});
|
|
5006
|
+
const response = yield this.connector.changeHeaderToDownPayAmount(uuid, amount);
|
|
4757
5007
|
if (response) {
|
|
4758
5008
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4759
5009
|
this.rememberCurrentTransaction(response);
|
|
@@ -4764,11 +5014,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4764
5014
|
}
|
|
4765
5015
|
updateHeaderTransactionDownpaymentPercentage(uuid, amount) {
|
|
4766
5016
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4767
|
-
const response = yield this.connector.changeHeaderToDownPayPercentage(uuid, amount)
|
|
4768
|
-
.catch((error) => {
|
|
4769
|
-
// todo: do something with the error
|
|
4770
|
-
return false;
|
|
4771
|
-
});
|
|
5017
|
+
const response = yield this.connector.changeHeaderToDownPayPercentage(uuid, amount);
|
|
4772
5018
|
if (response) {
|
|
4773
5019
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4774
5020
|
this.rememberCurrentTransaction(response);
|
|
@@ -4779,11 +5025,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4779
5025
|
}
|
|
4780
5026
|
updateHeaderTransactionPreferredDeliveryDate(uuid, date) {
|
|
4781
5027
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4782
|
-
const response = yield this.connector.changeHeaderTransactionPreferredDeliveryDate(uuid, date)
|
|
4783
|
-
.catch((error) => {
|
|
4784
|
-
// todo: do something with the error
|
|
4785
|
-
return false;
|
|
4786
|
-
});
|
|
5028
|
+
const response = yield this.connector.changeHeaderTransactionPreferredDeliveryDate(uuid, date);
|
|
4787
5029
|
if (response) {
|
|
4788
5030
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4789
5031
|
this.rememberCurrentTransaction(response);
|
|
@@ -4794,11 +5036,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4794
5036
|
}
|
|
4795
5037
|
updateHeaderTransactionDeliveryMethod(uuid, method) {
|
|
4796
5038
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4797
|
-
const response = yield this.connector.changeHeaderTransactionDeliveryMethod(uuid, method)
|
|
4798
|
-
.catch((error) => {
|
|
4799
|
-
// todo: do something with the error
|
|
4800
|
-
return false;
|
|
4801
|
-
});
|
|
5039
|
+
const response = yield this.connector.changeHeaderTransactionDeliveryMethod(uuid, method);
|
|
4802
5040
|
if (response) {
|
|
4803
5041
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4804
5042
|
this.rememberCurrentTransaction(response);
|
|
@@ -4809,11 +5047,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4809
5047
|
}
|
|
4810
5048
|
updateHeaderTransactionDeliveryOptions(uuid, options) {
|
|
4811
5049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4812
|
-
const response = yield this.connector.changeHeaderTransactionDeliveryOptions(uuid, options)
|
|
4813
|
-
.catch((error) => {
|
|
4814
|
-
// todo: do something with the error
|
|
4815
|
-
return false;
|
|
4816
|
-
});
|
|
5050
|
+
const response = yield this.connector.changeHeaderTransactionDeliveryOptions(uuid, options);
|
|
4817
5051
|
if (response) {
|
|
4818
5052
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4819
5053
|
this.rememberCurrentTransaction(response);
|
|
@@ -4824,11 +5058,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4824
5058
|
}
|
|
4825
5059
|
updateHeaderTransactionPartialDelivery(uuid, allowPartial) {
|
|
4826
5060
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4827
|
-
const response = yield this.connector.changeHeaderTransactionPartialDelivery(uuid, allowPartial)
|
|
4828
|
-
.catch((error) => {
|
|
4829
|
-
// todo: do something with the error
|
|
4830
|
-
return false;
|
|
4831
|
-
});
|
|
5061
|
+
const response = yield this.connector.changeHeaderTransactionPartialDelivery(uuid, allowPartial);
|
|
4832
5062
|
if (response) {
|
|
4833
5063
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4834
5064
|
this.rememberCurrentTransaction(response);
|
|
@@ -4839,11 +5069,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4839
5069
|
}
|
|
4840
5070
|
updateHeaderTransactionBranch(uuid, branch) {
|
|
4841
5071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4842
|
-
const response = yield this.connector.changeHeaderTransactionBranch(uuid, branch)
|
|
4843
|
-
.catch((error) => {
|
|
4844
|
-
// todo: do something with the error
|
|
4845
|
-
return false;
|
|
4846
|
-
});
|
|
5072
|
+
const response = yield this.connector.changeHeaderTransactionBranch(uuid, branch);
|
|
4847
5073
|
if (response) {
|
|
4848
5074
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4849
5075
|
this.rememberCurrentTransaction(response);
|
|
@@ -4854,11 +5080,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4854
5080
|
}
|
|
4855
5081
|
updateHeaderTransactionAdmCoordinator(uuid, relation) {
|
|
4856
5082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4857
|
-
const response = yield this.connector.changeHeaderTransactionAdmCoordinator(uuid, relation)
|
|
4858
|
-
.catch((error) => {
|
|
4859
|
-
// todo: do something with the error
|
|
4860
|
-
return false;
|
|
4861
|
-
});
|
|
5083
|
+
const response = yield this.connector.changeHeaderTransactionAdmCoordinator(uuid, relation);
|
|
4862
5084
|
if (response) {
|
|
4863
5085
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4864
5086
|
this.rememberCurrentTransaction(response);
|
|
@@ -4869,11 +5091,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4869
5091
|
}
|
|
4870
5092
|
updateHeaderTransactionMarketing(uuid, code) {
|
|
4871
5093
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4872
|
-
const response = yield this.connector.changeHeaderTransactionMarketing(uuid, code)
|
|
4873
|
-
.catch((error) => {
|
|
4874
|
-
// todo: do something with the error
|
|
4875
|
-
return false;
|
|
4876
|
-
});
|
|
5094
|
+
const response = yield this.connector.changeHeaderTransactionMarketing(uuid, code);
|
|
4877
5095
|
if (response) {
|
|
4878
5096
|
const success = yield this.handleHeaderOperationStatuses(response);
|
|
4879
5097
|
this.rememberCurrentTransaction(response);
|
|
@@ -4884,11 +5102,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4884
5102
|
}
|
|
4885
5103
|
updateQuantityTransactionLine(uuid, lineUuid, quantity) {
|
|
4886
5104
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4887
|
-
const response = yield this.connector.changeTransactionLineQuantity(uuid, lineUuid, quantity)
|
|
4888
|
-
.catch((error) => {
|
|
4889
|
-
// todo: do something with the error
|
|
4890
|
-
return false;
|
|
4891
|
-
});
|
|
5105
|
+
const response = yield this.connector.changeTransactionLineQuantity(uuid, lineUuid, quantity);
|
|
4892
5106
|
if (response) {
|
|
4893
5107
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4894
5108
|
this.rememberCurrentTransaction(response);
|
|
@@ -4899,11 +5113,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4899
5113
|
}
|
|
4900
5114
|
updateDeliveryDateTransactionLine(uuid, lineUuid, date) {
|
|
4901
5115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4902
|
-
const response = yield this.connector.changeTransactionLineDeliveryDate(uuid, lineUuid, date)
|
|
4903
|
-
.catch((error) => {
|
|
4904
|
-
// todo: do something with the error
|
|
4905
|
-
return false;
|
|
4906
|
-
});
|
|
5116
|
+
const response = yield this.connector.changeTransactionLineDeliveryDate(uuid, lineUuid, date);
|
|
4907
5117
|
if (response) {
|
|
4908
5118
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4909
5119
|
this.rememberCurrentTransaction(response);
|
|
@@ -4914,11 +5124,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4914
5124
|
}
|
|
4915
5125
|
updatePriceListTransactionLine(uuid, lineUuid, priceList) {
|
|
4916
5126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4917
|
-
const response = yield this.connector.changeTransactionLinePriceList(uuid, lineUuid, priceList)
|
|
4918
|
-
.catch((error) => {
|
|
4919
|
-
// todo: do something with the error
|
|
4920
|
-
return false;
|
|
4921
|
-
});
|
|
5127
|
+
const response = yield this.connector.changeTransactionLinePriceList(uuid, lineUuid, priceList);
|
|
4922
5128
|
if (response) {
|
|
4923
5129
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4924
5130
|
this.rememberCurrentTransaction(response);
|
|
@@ -4929,11 +5135,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4929
5135
|
}
|
|
4930
5136
|
updateVatTransactionLine(uuid, lineUuid, id) {
|
|
4931
5137
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4932
|
-
const response = yield this.connector.changeTransactionLineVat(uuid, lineUuid, id)
|
|
4933
|
-
.catch((error) => {
|
|
4934
|
-
// todo: do something with the error
|
|
4935
|
-
return false;
|
|
4936
|
-
});
|
|
5138
|
+
const response = yield this.connector.changeTransactionLineVat(uuid, lineUuid, id);
|
|
4937
5139
|
if (response) {
|
|
4938
5140
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4939
5141
|
this.rememberCurrentTransaction(response);
|
|
@@ -4944,11 +5146,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4944
5146
|
}
|
|
4945
5147
|
updateCommissionCodeTransactionLine(uuid, lineUuid, code) {
|
|
4946
5148
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4947
|
-
const response = yield this.connector.changeTransactionLineCommissionCode(uuid, lineUuid, code)
|
|
4948
|
-
.catch((error) => {
|
|
4949
|
-
// todo: do something with the error
|
|
4950
|
-
return false;
|
|
4951
|
-
});
|
|
5149
|
+
const response = yield this.connector.changeTransactionLineCommissionCode(uuid, lineUuid, code);
|
|
4952
5150
|
if (response) {
|
|
4953
5151
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4954
5152
|
this.rememberCurrentTransaction(response);
|
|
@@ -4959,11 +5157,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4959
5157
|
}
|
|
4960
5158
|
updateWarehouseTransactionLine(uuid, lineUuid, warehouseNumber) {
|
|
4961
5159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4962
|
-
const response = yield this.connector.changeTransactionLineWarehouse(uuid, lineUuid, warehouseNumber)
|
|
4963
|
-
.catch((error) => {
|
|
4964
|
-
// todo: do something with the error
|
|
4965
|
-
return false;
|
|
4966
|
-
});
|
|
5160
|
+
const response = yield this.connector.changeTransactionLineWarehouse(uuid, lineUuid, warehouseNumber);
|
|
4967
5161
|
if (response) {
|
|
4968
5162
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4969
5163
|
this.rememberCurrentTransaction(response);
|
|
@@ -4974,11 +5168,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4974
5168
|
}
|
|
4975
5169
|
updateDeliveryMethodTransactionLine(uuid, lineUuid, method) {
|
|
4976
5170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4977
|
-
const response = yield this.connector.changeTransactionLineDeliveryMethod(uuid, lineUuid, method)
|
|
4978
|
-
.catch((error) => {
|
|
4979
|
-
// todo: do something with the error
|
|
4980
|
-
return false;
|
|
4981
|
-
});
|
|
5171
|
+
const response = yield this.connector.changeTransactionLineDeliveryMethod(uuid, lineUuid, method);
|
|
4982
5172
|
if (response) {
|
|
4983
5173
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4984
5174
|
this.rememberCurrentTransaction(response);
|
|
@@ -4989,11 +5179,7 @@ class TransactionService extends PendingReasonService {
|
|
|
4989
5179
|
}
|
|
4990
5180
|
updateDiscountTransactionLine(uuid, lineUuid, type, discount, reason = "", code = "") {
|
|
4991
5181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4992
|
-
const response = yield this.connector.changeTransactionLineLineDiscount(uuid, lineUuid, type, discount, reason, code)
|
|
4993
|
-
.catch((error) => {
|
|
4994
|
-
// todo: do something with the error
|
|
4995
|
-
return false;
|
|
4996
|
-
});
|
|
5182
|
+
const response = yield this.connector.changeTransactionLineLineDiscount(uuid, lineUuid, type, discount, reason, code);
|
|
4997
5183
|
if (response) {
|
|
4998
5184
|
const success = yield this.handleLineOperationStatuses(response);
|
|
4999
5185
|
this.rememberCurrentTransaction(response);
|
|
@@ -5041,26 +5227,6 @@ class TransactionService extends PendingReasonService {
|
|
|
5041
5227
|
});
|
|
5042
5228
|
});
|
|
5043
5229
|
}
|
|
5044
|
-
getTransaction(transactionNo) {
|
|
5045
|
-
return this.openExistingTransaction(TransactionKind.SalesOrder, transactionNo);
|
|
5046
|
-
}
|
|
5047
|
-
openExistingTransaction(kind, transactionNr) {
|
|
5048
|
-
return new Promise((resolve, reject) => {
|
|
5049
|
-
this.connector.getTransactionByNrAndKind(kind, transactionNr)
|
|
5050
|
-
.then((response) => __awaiter(this, void 0, void 0, function* () {
|
|
5051
|
-
if (response.isSuccess) {
|
|
5052
|
-
this.transactionUpdated.next(response);
|
|
5053
|
-
resolve(true);
|
|
5054
|
-
}
|
|
5055
|
-
else {
|
|
5056
|
-
reject(false);
|
|
5057
|
-
}
|
|
5058
|
-
}))
|
|
5059
|
-
.catch((reason) => {
|
|
5060
|
-
reject(false);
|
|
5061
|
-
});
|
|
5062
|
-
});
|
|
5063
|
-
}
|
|
5064
5230
|
getTransactionById(transactionId) {
|
|
5065
5231
|
return new Promise((resolve, reject) => {
|
|
5066
5232
|
this.connector.getTransactionById(transactionId)
|
|
@@ -5084,50 +5250,23 @@ class TransactionService extends PendingReasonService {
|
|
|
5084
5250
|
}
|
|
5085
5251
|
saveTransaction(close = false) {
|
|
5086
5252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5087
|
-
const response = yield this.connector.saveTransaction(this.currentTransaction.transactionInfo.uuid)
|
|
5088
|
-
.catch((error) => {
|
|
5089
|
-
this.dialogService.showError(error);
|
|
5090
|
-
return null;
|
|
5091
|
-
});
|
|
5253
|
+
const response = yield this.connector.saveTransaction(this.currentTransaction.transactionInfo.uuid);
|
|
5092
5254
|
if (response && response.isSuccess) {
|
|
5093
5255
|
this.rememberCurrentTransaction(response);
|
|
5094
5256
|
}
|
|
5095
5257
|
return response;
|
|
5096
5258
|
});
|
|
5097
5259
|
}
|
|
5098
|
-
saveTransactionByUuid(transactionUuid) {
|
|
5099
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5100
|
-
return new Promise((resolve, reject) => {
|
|
5101
|
-
this.connector.saveTransaction(transactionUuid)
|
|
5102
|
-
.then((response) => __awaiter(this, void 0, void 0, function* () {
|
|
5103
|
-
if (response.isSuccess) {
|
|
5104
|
-
this.transactionUpdated.next(response);
|
|
5105
|
-
resolve(true);
|
|
5106
|
-
}
|
|
5107
|
-
else {
|
|
5108
|
-
reject(false);
|
|
5109
|
-
}
|
|
5110
|
-
}))
|
|
5111
|
-
.catch((error) => {
|
|
5112
|
-
if (error) {
|
|
5113
|
-
this.dialogService.showError(error);
|
|
5114
|
-
}
|
|
5115
|
-
reject(false);
|
|
5116
|
-
});
|
|
5117
|
-
});
|
|
5118
|
-
});
|
|
5119
|
-
}
|
|
5120
5260
|
addRelationToTransaction(relationId) {
|
|
5121
5261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5122
5262
|
yield this._checkAndCreateTransaction();
|
|
5123
|
-
const
|
|
5124
|
-
if (
|
|
5125
|
-
this.
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
else {
|
|
5129
|
-
return false;
|
|
5263
|
+
const response = yield this.connector.addRelationToTransaction(this.currentTransaction.transactionInfo.uuid, relationId);
|
|
5264
|
+
if (response) {
|
|
5265
|
+
const success = yield this.handleHeaderOperationStatuses(response);
|
|
5266
|
+
this.rememberCurrentTransaction(response);
|
|
5267
|
+
return success;
|
|
5130
5268
|
}
|
|
5269
|
+
return false;
|
|
5131
5270
|
});
|
|
5132
5271
|
}
|
|
5133
5272
|
getCommissionCodes(languageCode) {
|
|
@@ -5410,6 +5549,11 @@ class TransactionService extends PendingReasonService {
|
|
|
5410
5549
|
return result.validationResult.success;
|
|
5411
5550
|
});
|
|
5412
5551
|
}
|
|
5552
|
+
lockPurchasePortalLines(transIdPurchase, lineId) {
|
|
5553
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5554
|
+
return yield this.connector.lockPurchasePortalLines(transIdPurchase, lineId);
|
|
5555
|
+
});
|
|
5556
|
+
}
|
|
5413
5557
|
// private _cleanRelationBeforeSave(): void {
|
|
5414
5558
|
// ArrayUtils.RemoveElementsByFilter(this.currentTransaction.transactionInfo.relation.contactOptions, ((item: ContactOption) => {
|
|
5415
5559
|
// return isNill(item.value);
|
|
@@ -5482,7 +5626,19 @@ class CheckoutComponent {
|
|
|
5482
5626
|
});
|
|
5483
5627
|
}
|
|
5484
5628
|
saveRelation() {
|
|
5485
|
-
return this
|
|
5629
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5630
|
+
const success = yield this.service.saveRelation();
|
|
5631
|
+
if (success) {
|
|
5632
|
+
if (this.service.currentTransaction.transactionInfo.transactionAddress !== this.deliveryAddressNawNr) {
|
|
5633
|
+
yield this.service.updateHeaderDeliveryAddress(this.service.currentTransaction.transactionInfo.uuid, this.deliveryAddressNawNr);
|
|
5634
|
+
}
|
|
5635
|
+
const invoiceAddressNawNr = this.invoiceAddressNawNr ? this.invoiceAddressNawNr : this.deliveryAddressNawNr;
|
|
5636
|
+
if (this.service.currentTransaction.transactionInfo.invoiceAddress !== invoiceAddressNawNr) {
|
|
5637
|
+
yield this.service.updateHeaderInvoiceAddress(this.service.currentTransaction.transactionInfo.uuid, invoiceAddressNawNr);
|
|
5638
|
+
}
|
|
5639
|
+
}
|
|
5640
|
+
return success;
|
|
5641
|
+
});
|
|
5486
5642
|
}
|
|
5487
5643
|
handleSaveDelivery() {
|
|
5488
5644
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5491,15 +5647,9 @@ class CheckoutComponent {
|
|
|
5491
5647
|
}
|
|
5492
5648
|
handleDeliveryAddressChange(nawNr) {
|
|
5493
5649
|
this.deliveryAddressNawNr = nawNr;
|
|
5494
|
-
if (this.service.currentTransaction.transactionInfo.transactionAddress !== this.deliveryAddressNawNr) {
|
|
5495
|
-
this.service.updateHeaderDeliveryAddress(this.service.currentTransaction.transactionInfo.uuid, this.deliveryAddressNawNr);
|
|
5496
|
-
}
|
|
5497
5650
|
}
|
|
5498
5651
|
handleInvoiceAddressChange(nawNr) {
|
|
5499
5652
|
this.invoiceAddressNawNr = nawNr;
|
|
5500
|
-
if (this.service.currentTransaction.transactionInfo.invoiceAddress !== this.invoiceAddressNawNr) {
|
|
5501
|
-
this.service.updateHeaderInvoiceAddress(this.service.currentTransaction.transactionInfo.uuid, this.invoiceAddressNawNr);
|
|
5502
|
-
}
|
|
5503
5653
|
}
|
|
5504
5654
|
}
|
|
5505
5655
|
CheckoutComponent.decorators = [
|
|
@@ -5560,65 +5710,6 @@ CheckoutComponent.propDecorators = {
|
|
|
5560
5710
|
showClass: [{ type: HostBinding, args: ["class.co-checkout",] }]
|
|
5561
5711
|
};
|
|
5562
5712
|
|
|
5563
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
5564
|
-
var Icon;
|
|
5565
|
-
(function (Icon) {
|
|
5566
|
-
Icon["ArrowPointDown"] = "arrow_point_down";
|
|
5567
|
-
Icon["ArrowPointLeft"] = "arrow_point_left";
|
|
5568
|
-
Icon["ArrowPointRight"] = "arrow_point_right";
|
|
5569
|
-
Icon["Article"] = "article";
|
|
5570
|
-
Icon["Barcode"] = "barcode";
|
|
5571
|
-
Icon["BarcodeSolid"] = "barcode_solid";
|
|
5572
|
-
Icon["BarsFilter"] = "bars_filter";
|
|
5573
|
-
Icon["CalendarDay"] = "calendar_day";
|
|
5574
|
-
Icon["CalendarDayRegular"] = "calendar_day_regular";
|
|
5575
|
-
Icon["Cancel"] = "cancel";
|
|
5576
|
-
Icon["CartCheck"] = "cart_check";
|
|
5577
|
-
Icon["CartFlatbedBoxesSolid"] = "cart_flatbed_boxes_solid";
|
|
5578
|
-
Icon["CartShoppingSolid"] = "cart_shopping_solid";
|
|
5579
|
-
Icon["CashRegister"] = "cash_register";
|
|
5580
|
-
Icon["CreditCardSolid"] = "credit_card_solid";
|
|
5581
|
-
Icon["DeliveryTruck"] = "delivery_truck";
|
|
5582
|
-
Icon["EditPencil"] = "edit_pencil";
|
|
5583
|
-
Icon["GripDotsVerticalSolid"] = "grip_dots_vertical_solid";
|
|
5584
|
-
Icon["IdealLogo"] = "ideal_logo";
|
|
5585
|
-
Icon["ListRegular"] = "list_regular";
|
|
5586
|
-
Icon["ListView"] = "list_view";
|
|
5587
|
-
Icon["LocationDotSolid"] = "location_dot_solid";
|
|
5588
|
-
Icon["Lock"] = "lock";
|
|
5589
|
-
Icon["LockKeyholeOpenSolid"] = "lock_keyhole_open_solid";
|
|
5590
|
-
Icon["LockKeyholeSolid"] = "lock_keyhole_solid";
|
|
5591
|
-
Icon["MapMarker"] = "map_marker";
|
|
5592
|
-
Icon["MasterDetail"] = "master_detail";
|
|
5593
|
-
Icon["MemoCircleCheckSolid"] = "memo_circle_check_solid";
|
|
5594
|
-
Icon["Menu"] = "menu";
|
|
5595
|
-
Icon["PalletBoxesSolid"] = "pallet_boxes_solid";
|
|
5596
|
-
Icon["PlusRound"] = "plus_round";
|
|
5597
|
-
Icon["Purchase"] = "purchase";
|
|
5598
|
-
Icon["Resize"] = "resize";
|
|
5599
|
-
Icon["ShelvesSolid"] = "shelves_solid";
|
|
5600
|
-
Icon["SidePanel"] = "side_panel";
|
|
5601
|
-
Icon["SlideIn"] = "slide_in";
|
|
5602
|
-
Icon["SquareFull"] = "square_full";
|
|
5603
|
-
Icon["SquareFullSolid"] = "square_full_solid";
|
|
5604
|
-
Icon["SyncAlt"] = "sync_alt";
|
|
5605
|
-
Icon["Tag"] = "tag";
|
|
5606
|
-
Icon["ThickLines"] = "thick_lines";
|
|
5607
|
-
Icon["ThinLines"] = "thin_lines";
|
|
5608
|
-
Icon["TrashBin"] = "trash_bin";
|
|
5609
|
-
Icon["TrashCanLight"] = "trash_can_light";
|
|
5610
|
-
Icon["TriangleDown"] = "triangle_down";
|
|
5611
|
-
Icon["TriangleUp"] = "triangle_up";
|
|
5612
|
-
Icon["Truck"] = "truck";
|
|
5613
|
-
Icon["TruckArrowRightSolid"] = "truck_arrow_right_solid";
|
|
5614
|
-
Icon["TruckContainerSolid"] = "truck_container_solid";
|
|
5615
|
-
Icon["TruckFastSolid"] = "truck_fast_solid";
|
|
5616
|
-
Icon["TruckMovingSolid"] = "truck_moving_solid";
|
|
5617
|
-
Icon["Txt"] = "txt";
|
|
5618
|
-
Icon["Unlock"] = "unlock";
|
|
5619
|
-
Icon["Warehouse"] = "warehouse";
|
|
5620
|
-
})(Icon || (Icon = {}));
|
|
5621
|
-
|
|
5622
5713
|
class CheckoutOverviewRelationEditComponent {
|
|
5623
5714
|
constructor(_formMaster, _boFactory, service) {
|
|
5624
5715
|
this._formMaster = _formMaster;
|
|
@@ -5830,7 +5921,7 @@ CheckoutOverviewRelationEditComponent.decorators = [
|
|
|
5830
5921
|
</div>
|
|
5831
5922
|
<div class="checkout-data-column">
|
|
5832
5923
|
<co-relation-addresses
|
|
5833
|
-
[addresses]="relation.
|
|
5924
|
+
[addresses]="relation.activeAddresses"
|
|
5834
5925
|
[type]="addressType.DeliveryAddress"
|
|
5835
5926
|
[selectedAddressIdx]="deliveryAddressIdx"
|
|
5836
5927
|
(selectedAddressChange)="setIndexDeliveryAddress($event)"
|
|
@@ -5847,7 +5938,7 @@ CheckoutOverviewRelationEditComponent.decorators = [
|
|
|
5847
5938
|
</div>
|
|
5848
5939
|
<div class="overview-delivery-invoice-address" *ngIf="!service.invoiceAddressSameAsDelivery" @showHideInvoiceAddress>
|
|
5849
5940
|
<co-relation-addresses
|
|
5850
|
-
[addresses]="relation.
|
|
5941
|
+
[addresses]="relation.activeAddresses"
|
|
5851
5942
|
[type]="addressType.BillingAddress"
|
|
5852
5943
|
[selectedAddressIdx]="invoiceAddressIdx"
|
|
5853
5944
|
(selectedAddressChange)="setIndexInvoiceAddress($event)"
|
|
@@ -5886,144 +5977,40 @@ CheckoutOverviewRelationEditComponent.decorators = [
|
|
|
5886
5977
|
trigger("showHideCompanyRelationFields", [
|
|
5887
5978
|
state("void", style({ height: 0 })),
|
|
5888
5979
|
state("*", style({ height: "*" })),
|
|
5889
|
-
transition("void => *", animate("200ms ease-in-out")),
|
|
5890
|
-
transition("* => void", animate("200ms ease-out"))
|
|
5891
|
-
]),
|
|
5892
|
-
trigger("showHideSidebar", [
|
|
5893
|
-
state("void", style({ transform: "translateX(100%)" })),
|
|
5894
|
-
state("*", style({ transform: "translateX(0)" })),
|
|
5895
|
-
transition("void <=> *", animate("200ms ease-in-out"))
|
|
5896
|
-
]),
|
|
5897
|
-
trigger("showHideInvoiceAddress", [
|
|
5898
|
-
state("void", style({ height: 0, opacity: 0 })),
|
|
5899
|
-
state("*", style({ height: "*", opacity: 1 })),
|
|
5900
|
-
transition("void => *", animate("200ms ease-in-out")),
|
|
5901
|
-
transition("* => void", animate("200ms ease-out"))
|
|
5902
|
-
])
|
|
5903
|
-
],
|
|
5904
|
-
encapsulation: ViewEncapsulation.None
|
|
5905
|
-
},] }
|
|
5906
|
-
];
|
|
5907
|
-
CheckoutOverviewRelationEditComponent.ctorParameters = () => [
|
|
5908
|
-
{ type: FormMasterService },
|
|
5909
|
-
{ type: BusinessObjectFactory },
|
|
5910
|
-
{ type: TransactionService }
|
|
5911
|
-
];
|
|
5912
|
-
CheckoutOverviewRelationEditComponent.propDecorators = {
|
|
5913
|
-
relation: [{ type: Input }],
|
|
5914
|
-
deliveryAddressNawNr: [{ type: Input }],
|
|
5915
|
-
invoiceAddressNawNr: [{ type: Input }],
|
|
5916
|
-
validSubmit: [{ type: Output }],
|
|
5917
|
-
invalidSubmit: [{ type: Output }],
|
|
5918
|
-
deliveryAddressChange: [{ type: Output }],
|
|
5919
|
-
invoiceAddressChange: [{ type: Output }],
|
|
5920
|
-
relationChange: [{ type: Output }],
|
|
5921
|
-
showClass: [{ type: HostBinding, args: ["class.co-checkout-overview-relation-edit",] }]
|
|
5922
|
-
};
|
|
5923
|
-
|
|
5924
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
5925
|
-
const IconSvg = {
|
|
5926
|
-
"arrow_point_down": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-280 371 51 51\" enable-background=\"new -280 371 51 51\" ><path fill=\"#29363E\" d=\"M-248.3,392.2c0.3,0,0.6,0.1,0.8,0.3c0.5,0.5,0.5,1.2,0,1.6l-6.2,6.2c-0.2,0.2-0.5,0.3-0.8,0.3c-0.3,0-0.6-0.1-0.8-0.3l-6.2-6.2c-0.2-0.2-0.3-0.5-0.3-0.8c0-0.3,0.1-0.6,0.3-0.8c0.2-0.2,0.5-0.3,0.8-0.3c0.3,0,0.6,0.1,0.8,0.3l5.4,5.4l5.4-5.4C-248.9,392.4-248.6,392.2-248.3,392.2z\"/></svg>",
|
|
5927
|
-
"arrow_point_left": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M31.9,36.7l-14.7-9.6C17.1,27,17,26.9,17,26.7v-2.4c0-0.2,0.1-0.3,0.2-0.4l14.7-9.6c0.2-0.2,0.5-0.1,0.7,0.1l1.4,2.1c0.2,0.2,0.1,0.5-0.1,0.7l-12,7.8c-0.3,0.2-0.3,0.6,0,0.8l12,7.8c0.2,0.2,0.3,0.5,0.1,0.7l-1.4,2.1C32.4,36.8,32.1,36.8,31.9,36.7z\"/></svg>",
|
|
5928
|
-
"arrow_point_right": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1C18.6,14.2,18.9,14.2,19.1,14.3z\"/></svg>",
|
|
5929
|
-
"article": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M37.43,15.14H12.57A2.57,2.57,0,0,0,10,17.71V32.29a2.57,2.57,0,0,0,2.57,2.57H37.43A2.57,2.57,0,0,0,40,32.29V17.71A2.57,2.57,0,0,0,37.43,15.14ZM14.29,32.71H12.15V17.29h2.14Zm2,0H15V17.29h1.29Zm2.57,0H17.54V17.29h1.29Zm3.52,0H20.2V17.29h2.15Zm2,0H23.11V17.29H24.4Zm2.06,0H25.17V17.29h1.29Zm2.66,0H27.83V17.29h1.29Zm3.51,0H31.34V17.29h1.29Zm3.34,0H33.4V17.29H36Zm2.32,0H37V17.29h1.29Z\" fill=\"#484f60\"/></svg>",
|
|
5930
|
-
"barcode": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M2,6H4V18H2V6M5,6H6V18H5V6M7,6H10V18H7V6M11,6H12V18H11V6M14,6H16V18H14V6M17,6H20V18H17V6M21,6H22V18H21V6Z\" /></svg>",
|
|
5931
|
-
"barcode_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M40 32C53.25 32 64 42.75 64 56V456C64 469.3 53.25 480 40 480H24C10.75 480 0 469.3 0 456V56C0 42.75 10.75 32 24 32H40zM128 48V464C128 472.8 120.8 480 112 480C103.2 480 96 472.8 96 464V48C96 39.16 103.2 32 112 32C120.8 32 128 39.16 128 48zM200 32C213.3 32 224 42.75 224 56V456C224 469.3 213.3 480 200 480H184C170.7 480 160 469.3 160 456V56C160 42.75 170.7 32 184 32H200zM296 32C309.3 32 320 42.75 320 56V456C320 469.3 309.3 480 296 480H280C266.7 480 256 469.3 256 456V56C256 42.75 266.7 32 280 32H296zM448 56C448 42.75 458.7 32 472 32H488C501.3 32 512 42.75 512 56V456C512 469.3 501.3 480 488 480H472C458.7 480 448 469.3 448 456V56zM384 48C384 39.16 391.2 32 400 32C408.8 32 416 39.16 416 48V464C416 472.8 408.8 480 400 480C391.2 480 384 472.8 384 464V48z\"/></svg>",
|
|
5932
|
-
"bars_filter": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M264 392H183.1C170.8 392 160 402.8 160 415.1C160 429.2 170.8 440 183.1 440h80C277.2 440 288 429.2 288 416C288 402.8 277.2 392 264 392zM424 72H23.1C10.8 72 0 82.8 0 95.1S10.8 120 23.1 120H424c13.2 0 24-10.8 24-23.1S437.2 72 424 72zM360 232H87.1C74.8 232 64 242.8 64 255.1C64 269.2 74.8 280 87.1 280h272C373.2 280 384 269.2 384 256C384 242.8 373.2 232 360 232z\"/></svg>",
|
|
5933
|
-
"calendar_day": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path fill=\"#022D42\" d=\"M35.4,13.7H14.6c-0.6,0-1,0.5-1,1V20h22.9v-5.2C36.4,14.2,36,13.7,35.4,13.7z M19,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C20.8,18,20,18.8,19,18.8z M31,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8C32.7,18,32,18.8,31,18.8z\"/><path fill=\"#022D42\" d=\"M35.4,22.3v12.6L31.3,39H14.6c0,0,0,0,0,0V22.3H35.4 M36.4,21.3H13.6V39c0,0.6,0.5,1,1,1h17.2l4.7-4.7V21.3L36.4,21.3z\"/><rect x=\"18.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"30.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"18.6\" y=\"30.5\" fill=\"#022D42\" width=\"3.4\" height=\"3.4\"/><rect x=\"19.1\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/></g></svg>",
|
|
5934
|
-
"calendar_day_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M208 256C216.8 256 224 263.2 224 272V368C224 376.8 216.8 384 208 384H112C103.2 384 96 376.8 96 368V272C96 263.2 103.2 256 112 256H208zM128 0C141.3 0 152 10.75 152 24V64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0zM400 192H48V448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192z\"/></svg>",
|
|
5935
|
-
"cancel": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"36 35.16 30.45 35.16 14 14.84 19.55 14.84 36 35.16\" fill=\"#484f60\"/><polygon points=\"14 35.16 19.55 35.16 36 14.84 30.45 14.84 14 35.16\" fill=\"#484f60\"/></svg>",
|
|
5936
|
-
"cart_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><g ><g ><g><g opacity=\".75\"><path d=\"M16.58,29.12c-.99,0-1.8,.81-1.8,1.8s.81,1.8,1.8,1.8,1.8-.81,1.8-1.8-.81-1.8-1.8-1.8Z\" fill=\"#484f60\"/><path d=\"M16.51,24.98c-.67,0-1.38-.52-1.57-1.16l-2.31-5.61c-.19-.64,.19-1.22,.86-1.28l19.71-2.51c.67-.06,1.12,.42,1,1.08l-.89,3.99c.66,.15,1.3,.36,1.91,.63l1.38-6.84c.12-.66-.34-1.15-1-1.08l-24.68,2.93c-.67,.06-1.06,.64-.87,1.28l3.34,9.44c.19,.64,.89,1.17,1.56,1.17h5.92c.19-.71,.45-1.38,.77-2.02h-5.13Z\" fill=\"#484f60\"/><path d=\"M39.01,11.31c-.66,.14-1.27,.79-1.37,1.46l-.42,2.9c-.1,.66,.31,.98,.9,.7,.59-.28,1.19-1.04,1.33-1.7l.51-2.42c.14-.66-.28-1.08-.94-.94h-.02Z\" fill=\"#484f60\"/></g><g><path d=\"M31,21.72c4.41,0,8,3.59,8,8s-3.59,8-8,8-8-3.59-8-8,3.59-8,8-8m0-1c-4.97,0-9,4.03-9,9s4.03,9,9,9,9-4.03,9-9-4.03-9-9-9h0Z\" fill=\"#484f60\"/><polygon points=\"30.63 34.72 26.79 29.33 28.31 28.25 30.34 31.11 33.54 24.72 35.21 25.55 30.63 34.72\" fill=\"#484f60\"/></g></g></g></g><g /></svg>",
|
|
5937
|
-
"cart_flatbed_boxes_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M448 160h64c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32h-64c-17.6 0-32 14.4-32 32v64C416 145.6 430.4 160 448 160zM448 320h128c17.6 0 32-14.4 32-32V224c0-17.6-14.4-32-32-32h-128c-17.6 0-32 14.4-32 32v64C416 305.6 430.4 320 448 320zM224 320h128c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32H224C206.4 32 192 46.4 192 64v224C192 305.6 206.4 320 224 320zM640 415.1c0 17.6-14.4 32-32 31.1l-66.88-.0011c1.787 5.027 2.907 10.36 2.907 16c0 26.51-21.5 48-48.01 48c-26.51 0-47.99-21.49-47.99-48c0-5.641 1.141-10.97 2.928-16H253.1C254.9 453 256 458.4 256 464C256 490.5 234.5 512 208 512S160 490.5 160 464c0-5.641 1.13-10.97 2.917-16l-66.92 .0011C78.4 448 64 433.6 64 415.1V80C64 71.16 56.84 64 48 64H31.1C14.4 64 0 49.6 0 32S14.4 0 31.1 0H64c35.2 0 64 28.8 64 64v320h480C625.6 384 640 398.4 640 415.1z\"/></svg>",
|
|
5938
|
-
"cart_shopping_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M96 0C107.5 0 117.4 8.19 119.6 19.51L121.1 32H541.8C562.1 32 578.3 52.25 572.6 72.66L518.6 264.7C514.7 278.5 502.1 288 487.8 288H170.7L179.9 336H488C501.3 336 512 346.7 512 360C512 373.3 501.3 384 488 384H159.1C148.5 384 138.6 375.8 136.4 364.5L76.14 48H24C10.75 48 0 37.25 0 24C0 10.75 10.75 0 24 0H96zM128 464C128 437.5 149.5 416 176 416C202.5 416 224 437.5 224 464C224 490.5 202.5 512 176 512C149.5 512 128 490.5 128 464zM512 464C512 490.5 490.5 512 464 512C437.5 512 416 490.5 416 464C416 437.5 437.5 416 464 416C490.5 416 512 437.5 512 464z\"/></svg>",
|
|
5939
|
-
"cash_register": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M35.39,18.12H14.62L10,29.66H40ZM23,19.29H27l.1,1.6H22.87Zm-.13,2h4.32l.12,1.81H22.72Zm-.15,2.3h4.62l.14,2.08h-4.9ZM17.9,19.29H22l-.16,1.6H17.54Zm-.46,2h4.32l-.18,1.81H17Zm-.53,2.3h4.62l-.2,2.08h-4.9Zm-1.16,5.06.55-2.42H27.49l.16,2.42ZM28,19.29H32.1l.36,1.6H28.2Zm.2,2h4.32L33,23.12H28.42Zm.23,2.3h4.62l.48,2.08h-4.9Zm.5,5.06-.24-2.42h5l.55,2.42Z\" fill=\"#484f60\"/><path d=\"M10,29.66v9.23H40V29.66Zm27.69,6.92H12.31V32H37.69Z\" fill=\"#484f60\"/><path d=\"M15.63,11.11v7.58H34.37V11.11Zm17.31,6.15H17.06V12.54H32.94Z\" fill=\"#484f60\"/></svg>",
|
|
5940
|
-
"credit_card_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M512 32C547.3 32 576 60.65 576 96V128H0V96C0 60.65 28.65 32 64 32H512zM576 416C576 451.3 547.3 480 512 480H64C28.65 480 0 451.3 0 416V224H576V416zM112 352C103.2 352 96 359.2 96 368C96 376.8 103.2 384 112 384H176C184.8 384 192 376.8 192 368C192 359.2 184.8 352 176 352H112zM240 384H368C376.8 384 384 376.8 384 368C384 359.2 376.8 352 368 352H240C231.2 352 224 359.2 224 368C224 376.8 231.2 384 240 384z\"/></svg>",
|
|
5941
|
-
"delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
|
|
5942
|
-
"edit_pencil": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"12.54 38.16 12 37.62 14.85 29.64 20.52 35.31 12.54 38.16\" fill=\"#484f60\"/><rect x=\"16.33\" y=\"20.52\" width=\"17.99\" height=\"8.64\" transform=\"translate(-10.15 25.18) rotate(-45)\" fill=\"#484f60\"/><path d=\"M37.54,18.73,36,20.32l-6.11-6.1,1.59-1.59a1.55,1.55,0,0,1,2.2,0l3.91,3.9A1.55,1.55,0,0,1,37.54,18.73Z\" fill=\"#484f60\"/></svg>",
|
|
5943
|
-
"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>",
|
|
5944
|
-
"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>",
|
|
5945
|
-
"list_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M88 48C101.3 48 112 58.75 112 72V120C112 133.3 101.3 144 88 144H40C26.75 144 16 133.3 16 120V72C16 58.75 26.75 48 40 48H88zM488 72C501.3 72 512 82.75 512 96C512 109.3 501.3 120 488 120H184C170.7 120 160 109.3 160 96C160 82.75 170.7 72 184 72H488zM488 232C501.3 232 512 242.7 512 256C512 269.3 501.3 280 488 280H184C170.7 280 160 269.3 160 256C160 242.7 170.7 232 184 232H488zM488 392C501.3 392 512 402.7 512 416C512 429.3 501.3 440 488 440H184C170.7 440 160 429.3 160 416C160 402.7 170.7 392 184 392H488zM16 232C16 218.7 26.75 208 40 208H88C101.3 208 112 218.7 112 232V280C112 293.3 101.3 304 88 304H40C26.75 304 16 293.3 16 280V232zM88 368C101.3 368 112 378.7 112 392V440C112 453.3 101.3 464 88 464H40C26.75 464 16 453.3 16 440V392C16 378.7 26.75 368 40 368H88z\"/></svg>",
|
|
5946
|
-
"list_view": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><rect x=\"26.5\" y=\"13\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"10.5\" y=\"13\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"10.5\" y=\"22\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"26.5\" y=\"22\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"10.5\" y=\"31\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"26.5\" y=\"31\" width=\"14\" height=\"7\" fill=\"#4d5050\"/></svg>",
|
|
5947
|
-
"location_dot_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M168.3 499.2C116.1 435 0 279.4 0 192C0 85.96 85.96 0 192 0C298 0 384 85.96 384 192C384 279.4 267 435 215.7 499.2C203.4 514.5 180.6 514.5 168.3 499.2H168.3zM192 256C227.3 256 256 227.3 256 192C256 156.7 227.3 128 192 128C156.7 128 128 156.7 128 192C128 227.3 156.7 256 192 256z\"/></svg>",
|
|
5948
|
-
"lock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M32.65,21.67H17.35c-2.81,0-3.06,2.29-3.06,5.12v8.09c0,2.83.25,5.12,3.06,5.12h15.3c2.81,0,3.06-2.29,3.06-5.12V26.79C35.71,24,35.46,21.67,32.65,21.67ZM20.22,37.49l2.61-6.32a3.82,3.82,0,1,1,4.35,0l2.6,6.32Z\" fill=\"#484f60\"/><path d=\"M29.51,16.64c0-3.6-2-4.07-4.51-4.07h0c-2.49,0-4.51.47-4.51,4.07v3h-2.7v-3C17.79,11.62,21,10,25,10h0c4,0,7.21,1.62,7.21,6.64v3h-2.7Z\" fill=\"#484f60\"/></svg>",
|
|
5949
|
-
"lock_keyhole_open_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M432 64C387.8 64 352 99.82 352 144V192H384C419.3 192 448 220.7 448 256V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V256C0 220.7 28.65 192 64 192H288V144C288 64.47 352.5 0 432 0C511.5 0 576 64.47 576 144V192C576 209.7 561.7 224 544 224C526.3 224 512 209.7 512 192V144C512 99.82 476.2 64 432 64zM256 384C273.7 384 288 369.7 288 352C288 334.3 273.7 320 256 320H192C174.3 320 160 334.3 160 352C160 369.7 174.3 384 192 384H256z\"/></svg>",
|
|
5950
|
-
"lock_keyhole_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M224 0C303.5 0 368 64.47 368 144V192H384C419.3 192 448 220.7 448 256V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V256C0 220.7 28.65 192 64 192H80V144C80 64.47 144.5 0 224 0zM224 64C179.8 64 144 99.82 144 144V192H304V144C304 99.82 268.2 64 224 64zM256 320C256 302.3 241.7 288 224 288C206.3 288 192 302.3 192 320V384C192 401.7 206.3 416 224 416C241.7 416 256 401.7 256 384V320z\"/></svg>",
|
|
5951
|
-
"map_marker": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z\" /></svg>",
|
|
5952
|
-
"master_detail": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"22\" y=\"32.17\" width=\"18\" height=\"4\" transform=\"translate(62 68.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"26.17\" width=\"18\" height=\"4\" transform=\"translate(62 56.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"20.17\" width=\"18\" height=\"4\" transform=\"translate(62 44.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"14.17\" width=\"18\" height=\"4\" transform=\"translate(62 32.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"10\" y=\"14.17\" width=\"10\" height=\"22\" transform=\"translate(30 50.33) rotate(180)\" fill=\"#484f60\"/></svg>",
|
|
5953
|
-
"memo_circle_check_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M288 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 368zM499.3 347.3C505.6 341.1 505.6 330.9 499.3 324.7C493.1 318.4 482.9 318.4 476.7 324.7L416 385.4L387.3 356.7C381.1 350.4 370.9 350.4 364.7 356.7C358.4 362.9 358.4 373.1 364.7 379.3L404.7 419.3C410.9 425.6 421.1 425.6 427.3 419.3L499.3 347.3zM320 0C355.3 0 384 28.65 384 64V198.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 448V64C0 28.65 28.65 0 64 0H320zM80 128C71.16 128 64 135.2 64 144C64 152.8 71.16 160 80 160H304C312.8 160 320 152.8 320 144C320 135.2 312.8 128 304 128H80zM80 256H240C248.8 256 256 248.8 256 240C256 231.2 248.8 224 240 224H80C71.16 224 64 231.2 64 240C64 248.8 71.16 256 80 256zM80 352H176C184.8 352 192 344.8 192 336C192 327.2 184.8 320 176 320H80C71.16 320 64 327.2 64 336C64 344.8 71.16 352 80 352z\"/></svg>",
|
|
5954
|
-
"menu": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\" /></svg>",
|
|
5955
|
-
"pallet_boxes_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M96 255.1L288 256c17.6 0 32-14.4 32-32V31.1c0-17.6-14.4-31.1-32-31.1L96 0c-17.6 0-32 14.4-32 32V224C64 241.6 78.4 255.1 96 255.1zM416 255.1h128c17.6 0 32-14.4 32-31.1v-128c0-17.6-14.4-32-32-32h-128c-17.6 0-32 14.4-32 32v128C384 241.6 398.4 255.1 416 255.1zM624 384c8.75 0 16-7.25 16-16v-32c0-8.75-7.25-16-16-16h-608C7.25 320 0 327.3 0 336v32C0 376.8 7.25 384 16 384H64v64H16C7.25 448 0 455.3 0 464v32C0 504.8 7.25 512 16 512h608c8.75 0 16-7.25 16-16v-32c0-8.75-7.25-16-16-16H576v-64H624zM288 448H128v-64h160V448zM512 448h-160v-64h160V448z\"/></svg>",
|
|
5956
|
-
"plus_round": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-288 379 35 35\" enable-background=\"new -288 379 35 35\" ><path fill=\"#29363E\" d=\"M-270.5,381.5c-8.3,0-15,6.7-15,15c0,8.3,6.7,15,15,15s15-6.7,15-15C-255.5,388.2-262.2,381.5-270.5,381.5z M-261.1,397.3c0,0.9-0.7,1.6-1.6,1.6h-5.5v5.5c0,0.9-0.7,1.6-1.6,1.6h-1.6c-0.9,0-1.6-0.7-1.6-1.6v-5.5h-5.5c-0.9,0-1.6-0.7-1.6-1.6v-1.6c0-0.9,0.7-1.6,1.6-1.6h5.5v-5.5c0-0.9,0.7-1.6,1.6-1.6h1.6c0.9,0,1.6,0.7,1.6,1.6v5.5h5.5c0.9,0,1.6,0.7,1.6,1.6V397.3z\"/></svg>",
|
|
5957
|
-
"purchase": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><g opacity=\"0.75\"><polygon points=\"33.34 25.04 27.34 28.52 33.35 31.97 39.34 28.49 33.34 25.04\" fill=\"#484f60\"/><polygon points=\"33.99 33.08 39.99 29.6 40 36.53 34.01 40.01 33.99 33.08\" fill=\"#484f60\" opacity=\"0.5\"/><polygon points=\"26.72 36.55 26.71 29.63 32.71 33.08 32.72 40.01 26.72 36.55\" fill=\"#484f60\" opacity=\"0.25\"/><polygon points=\"12.78 28.54 18.79 32 24.78 28.52 18.77 25.07 12.78 28.54\" fill=\"#484f60\"/><polygon points=\"19.43 33.1 25.42 29.63 25.44 36.56 19.44 40.03 19.43 33.1\" fill=\"#484f60\" opacity=\"0.5\"/><polygon points=\"12.15 36.58 12.14 29.65 18.15 33.11 18.16 40.04 12.15 36.58\" fill=\"#484f60\" opacity=\"0.25\"/><polygon points=\"32.04 15.89 26.03 12.44 22.09 14.73 27.52 14.73 24.03 18.21 26.05 19.37 32.04 15.89\" fill=\"#484f60\"/><polygon points=\"32.68 17 26.69 20.48 26.7 27.41 32.7 23.93 32.68 17\" fill=\"#484f60\" opacity=\"0.5\"/><polygon points=\"23.1 19.15 19.41 22.83 19.41 23.95 25.42 27.41 25.41 20.48 23.1 19.15\" fill=\"#484f60\" opacity=\"0.25\"/></g><polygon points=\"19.03 16.34 19.03 10.3 14.61 10.3 14.61 16.34 14.61 16.34 10 16.34 16.82 23.16 23.64 16.34 19.03 16.34\" fill=\"#484f60\"/></svg>",
|
|
5958
|
-
"resize": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><polygon points=\"1.1 49.9 1.1 30.6 7.8 37.3 37.3 8 30.6 1.3 49.9 1.3 49.9 20.6 43.2 13.9 13.7 43.2 20.5 49.9 1.1 49.9\" fill=\"#4d5050\"/></svg>",
|
|
5959
|
-
"shelves_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M608 0c-17.6 0-32 14.4-32 31.1V160H64V31.1C64 14.4 49.6 0 32 0S0 14.4 0 31.1v480h64v-32h512v32h64v-480C640 14.4 625.6 0 608 0zM576 416H64V224h512V416zM368 128h96C472.8 128 480 120.8 480 112v-96C480 7.25 472.8 0 464 0h-96C359.2 0 352 7.25 352 16v96C352 120.8 359.2 128 368 128zM112 384h96C216.8 384 224 376.8 224 368v-96C224 263.2 216.8 256 208 256h-96C103.2 256 96 263.2 96 272v96C96 376.8 103.2 384 112 384zM272 384h96c8.75 0 16-7.25 16-16v-96C384 263.2 376.8 256 368 256h-96C263.2 256 256 263.2 256 272v96C256 376.8 263.2 384 272 384z\"/></svg>",
|
|
5960
|
-
"side_panel": "<svg width=\"47px\" height=\"43px\" viewBox=\"0 0 47 43\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><defs><image width=\"47\" height=\"43\" xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAArCAYAAADottG6AAAABHNCSVQICAgIfAhkiAAAAHtJREFUWIXt18EJwCAQAEENKSNv60gVgVQYSBWpw3f6OHvQx3Kw8xcX0QNrRERJaqMDVhhPMZ5iPMV4ivEU4ynGU/bZhb3/5Xm/pc3v6yytHdPrq58RiPEUHywl9bUxnuKDpaS+NsZTUsennjapT95RSTGeYjzFeErq+AEBrixGEVJ5mAAAAABJRU5ErkJggg==\" /></defs><use xlink:href=\"#img_1\" fill=\"#FFFFFF\" stroke=\"none\" /></svg>",
|
|
5961
|
-
"slide_in": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M12,12.17H38v26H12ZM36.76,13.4H13.24V36.93H36.76Z\" fill=\"#484f60\"/><polygon points=\"33.71 23.42 28.41 23.42 28.41 20.43 24.13 24.72 28.41 29.01 28.41 26.02 33.71 26.02 33.71 23.42\" fill=\"#484f60\"/><rect x=\"12\" y=\"12.17\" width=\"9\" height=\"26\" fill=\"#484f60\"/></svg>",
|
|
5962
|
-
"square_full": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M464 48v416h-416v-416H464zM512 0H0v512h512V0z\"/></svg>",
|
|
5963
|
-
"square_full_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M0 0h512v512H0V0z\"/></svg>",
|
|
5964
|
-
"sync_alt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z\"/></svg>",
|
|
5965
|
-
"tag": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M40,29.15v-.68a5.28,5.28,0,0,0-1.34-3.25L24.78,11.34A5.34,5.34,0,0,0,21.53,10H11.9A1.91,1.91,0,0,0,10,11.9v9.63a5.28,5.28,0,0,0,1.34,3.25L25.22,38.66A5.28,5.28,0,0,0,28.47,40h.68a5.28,5.28,0,0,0,3.24-1.34l6.27-6.27A5.28,5.28,0,0,0,40,29.15ZM13.13,16.72a2.54,2.54,0,1,1,3.59,0A2.55,2.55,0,0,1,13.13,16.72Zm15.9,19L17.84,24.55l1.34-1.34L30.37,34.4Zm2.69-2.69L20.52,21.87l1.35-1.35,11.19,11.2Zm2.68-2.69L23.21,19.18l1.34-1.34L35.75,29Z\" fill=\"#484f60\"/></svg>",
|
|
5966
|
-
"thick_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"12.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"21.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"30.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/></svg>",
|
|
5967
|
-
"thin_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"20.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"26.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"32.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/></svg>",
|
|
5968
|
-
"trash_bin": "<svg preserveAspectRatio=\"none\" version=\"1.1\" viewBox=\"0 0 50 50\" x=\"0px\" xmlns=\"http://www.w3.org/2000/svg\" y=\"0px\"><g transform=\" translate(14 10)\"><path d=\"M 0 0 L 0 18.215 C 0 19.99 1.439 21.429 3.215 21.429 L 15 21.429 C 16.775 21.429 18.215 19.99 18.215 18.215 L 18.215 0 L 0 0 Z M 4.287 19.286 L 2.143 19.286 L 2.143 2.143 L 4.287 2.143 L 4.287 19.286 Z M 10.18 19.286 L 8.037 19.286 L 8.037 2.143 L 10.18 2.143 L 10.18 19.286 Z M 16.072 19.286 L 13.93 19.286 L 13.93 2.143 L 16.072 2.143 L 16.072 19.286 Z\" fill=\"#1E2930\" transform=\" translate(1.891 8.571)\" /><path d=\"M 18.213 2.143 L 10.713 2.143 C 11.305 2.143 11.785 1.664 11.785 1.071 C 11.785 0.479 11.305 0 10.713 0 L 9.643 0 C 9.051 0 8.57 0.479 8.57 1.071 C 8.57 1.664 9.051 2.143 9.643 2.143 L 2.143 2.143 C 0.959 2.143 0 3.103 0 4.286 L 0 5.357 C 0 6.541 0.959 6.429 2.143 6.429 L 18.213 6.429 C 19.397 6.429 20.357 6.541 20.357 5.357 L 20.357 4.286 C 20.357 3.103 19.397 2.143 18.213 2.143 Z\" fill=\"#1E2930\" transform=\" translate(0.821 0)\" /></g></svg>",
|
|
5969
|
-
"trash_can_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M144 400C144 408.8 136.8 416 128 416C119.2 416 112 408.8 112 400V176C112 167.2 119.2 160 128 160C136.8 160 144 167.2 144 176V400zM240 400C240 408.8 232.8 416 224 416C215.2 416 208 408.8 208 400V176C208 167.2 215.2 160 224 160C232.8 160 240 167.2 240 176V400zM336 400C336 408.8 328.8 416 320 416C311.2 416 304 408.8 304 400V176C304 167.2 311.2 160 320 160C328.8 160 336 167.2 336 176V400zM310.1 22.56L336.9 64H432C440.8 64 448 71.16 448 80C448 88.84 440.8 96 432 96H416V432C416 476.2 380.2 512 336 512H112C67.82 512 32 476.2 32 432V96H16C7.164 96 0 88.84 0 80C0 71.16 7.164 64 16 64H111.1L137 22.56C145.8 8.526 161.2 0 177.7 0H270.3C286.8 0 302.2 8.526 310.1 22.56V22.56zM148.9 64H299.1L283.8 39.52C280.9 34.84 275.8 32 270.3 32H177.7C172.2 32 167.1 34.84 164.2 39.52L148.9 64zM64 432C64 458.5 85.49 480 112 480H336C362.5 480 384 458.5 384 432V96H64V432z\"/></svg>",
|
|
5970
|
-
"triangle_down": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"29.06 18.75 37.5 18.75 25 31.25 12.5 18.75 20.95 18.75 29.06 18.75\" fill=\"#484f60\"/></svg>",
|
|
5971
|
-
"triangle_up": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"20.94 31.25 12.5 31.25 25 18.75 37.5 31.25 29.05 31.25 20.94 31.25\" fill=\"#484f60\"/></svg>",
|
|
5972
|
-
"truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.75\" width=\"17.47\" height=\"12.62\" fill=\"#484f60\"/><path d=\"M37,18.11h-8V28.84H20.22a4.42,4.42,0,0,1,1.41,2.73H30a4.41,4.41,0,0,1,8.76,0H40V24.63Zm-.26,6.73H32.25a.57.57,0,0,1-.57-.57V20a.57.57,0,0,1,.57-.58h2.63a.58.58,0,0,1,.52.35L37.31,24A.58.58,0,0,1,36.78,24.84Z\" fill=\"#484f60\"/><path d=\"M14.28,28.84a4.39,4.39,0,0,0-1.42,2.73H12l-2-1.26V28.84Z\" fill=\"#484f60\"/><path d=\"M31.25,32.1a3.16,3.16,0,1,0,3.16-3.16A3.16,3.16,0,0,0,31.25,32.1Z\" fill=\"#484f60\"/><path d=\"M14.09,32.1a3.16,3.16,0,1,0,3.16-3.16A3.15,3.15,0,0,0,14.09,32.1Z\" fill=\"#484f60\"/></svg>",
|
|
5973
|
-
"truck_arrow_right_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 48C0 21.49 21.49 0 48 0H368C394.5 0 416 21.49 416 48V96H466.7C483.7 96 499.1 102.7 512 114.7L589.3 192C601.3 204 608 220.3 608 237.3V352C625.7 352 640 366.3 640 384C640 401.7 625.7 416 608 416H576C576 469 533 512 480 512C426.1 512 384 469 384 416H256C256 469 213 512 160 512C106.1 512 64 469 64 416H48C21.49 416 0 394.5 0 368V48zM544 256V237.3L466.7 160H416V256H544zM160 464C186.5 464 208 442.5 208 416C208 389.5 186.5 368 160 368C133.5 368 112 389.5 112 416C112 442.5 133.5 464 160 464zM480 368C453.5 368 432 389.5 432 416C432 442.5 453.5 464 480 464C506.5 464 528 442.5 528 416C528 389.5 506.5 368 480 368zM256.1 95.03C247.6 85.66 232.4 85.66 223 95.03C213.7 104.4 213.7 119.6 223 128.1L262.1 168H96C82.75 168 72 178.7 72 192C72 205.3 82.75 216 96 216H262.1L223 255C213.7 264.4 213.7 279.6 223 288.1C232.4 298.3 247.6 298.3 256.1 288.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175L256.1 95.03z\"/></svg>",
|
|
5974
|
-
"truck_container_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M352 32C378.5 32 400 53.49 400 80V240C400 266.5 378.5 288 352 288H48C21.49 288 0 266.5 0 240V80C0 53.49 21.49 32 48 32H352zM80 80C71.16 80 64 87.16 64 96V224C64 232.8 71.16 240 80 240C88.84 240 96 232.8 96 224V96C96 87.16 88.84 80 80 80zM224 224C224 232.8 231.2 240 240 240C248.8 240 256 232.8 256 224V96C256 87.16 248.8 80 240 80C231.2 80 224 87.16 224 96V224zM160 80C151.2 80 144 87.16 144 96V224C144 232.8 151.2 240 160 240C168.8 240 176 232.8 176 224V96C176 87.16 168.8 80 160 80zM304 224C304 232.8 311.2 240 320 240C328.8 240 336 232.8 336 224V96C336 87.16 328.8 80 320 80C311.2 80 304 87.16 304 96V224zM432 168C432 154.7 442.7 144 456 144H528.8C545.6 144 561.5 151.5 572.2 164.5L630.1 236.4C636.8 243.5 640 252.5 640 261.7V352C640 369.7 625.7 384 608 384H606.4C607.4 389.2 608 394.5 608 400C608 444.2 572.2 480 528 480C483.8 480 448 444.2 448 400C448 394.5 448.6 389.2 449.6 384H286.4C287.4 389.2 288 394.5 288 400C288 444.2 252.2 480 208 480C181.8 480 158.6 467.4 144 448C129.4 467.4 106.2 480 80 480C35.82 480 0 444.2 0 400V352C0 334.3 14.33 320 32 320H432V168zM480 256H584.1L535 194.9C533.5 193.1 531.2 192 528.8 192H480V256zM528 368C510.3 368 496 382.3 496 400C496 417.7 510.3 432 528 432C545.7 432 560 417.7 560 400C560 382.3 545.7 368 528 368zM208 432C225.7 432 240 417.7 240 400C240 382.3 225.7 368 208 368C190.3 368 176 382.3 176 400C176 417.7 190.3 432 208 432zM80 368C62.33 368 48 382.3 48 400C48 417.7 62.33 432 80 432C97.67 432 112 417.7 112 400C112 382.3 97.67 368 80 368z\"/></svg>",
|
|
5975
|
-
"truck_fast_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M416 0H64V96H0v32H64 288v32H64 32v32H64 256v32H64 0v32H64 224v32H64V416c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32 32V352H608V288 256 224 210.7l-9.4-9.4-96-96L493.3 96H480 416V0zM544 237.3V256H416V160h50.7L544 237.3zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zm368-48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48z\"/></svg>",
|
|
5976
|
-
"truck_moving_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M64 32C28.7 32 0 60.7 0 96V304v80 16c0 44.2 35.8 80 80 80c26.2 0 49.4-12.6 64-32c14.6 19.4 37.8 32 64 32c44.2 0 80-35.8 80-80c0-5.5-.6-10.8-1.6-16H416h33.6c-1 5.2-1.6 10.5-1.6 16c0 44.2 35.8 80 80 80s80-35.8 80-80c0-5.5-.6-10.8-1.6-16H608c17.7 0 32-14.3 32-32V288 272 261.7c0-9.2-3.2-18.2-9-25.3l-58.8-71.8c-10.6-13-26.5-20.5-43.3-20.5H480V96c0-35.3-28.7-64-64-64H64zM585 256H480V192h48.8c2.4 0 4.7 1.1 6.2 2.9L585 256zM528 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM240 400c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM80 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z\"/></svg>",
|
|
5977
|
-
"txt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.68,2.36h-1.9V32h-1.3V26.63h-1.9V25.54h5.1ZM30.4,32,29,29.74,27.55,32H26l2.19-3.34-2-3.07h1.52L29,27.6l1.26-2.06h1.5l-2,3.12L32,32Zm6.86-5.32h-1.9V32H34.07V26.63H32.16V25.54h5.1Z\" fill=\"#484f60\"/></svg>",
|
|
5978
|
-
"unlock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M32.65,21.67H17.35c-2.81,0-3.06,2.29-3.06,5.12v8.09c0,2.83.25,5.12,3.06,5.12h15.3c2.81,0,3.06-2.29,3.06-5.12V26.79C35.71,24,35.46,21.67,32.65,21.67ZM20.22,37.49l2.61-6.32a3.82,3.82,0,1,1,4.35,0l2.6,6.32Z\" fill=\"#484f60\"/><path d=\"M35.51,16.64c0-3.6-2-4.07-4.51-4.07h0c-2.49,0-4.51.47-4.51,4.07v3h-2.7v-3C23.79,11.62,27,10,31,10h0c4,0,7.21,1.62,7.21,6.64Z\" fill=\"#484f60\"/></svg>",
|
|
5979
|
-
"warehouse": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M6 19H8V21H6V19M12 3L2 8V21H4V13H20V21H22V8L12 3M8 11H4V9H8V11M14 11H10V9H14V11M20 11H16V9H20V11M6 15H8V17H6V15M10 15H12V17H10V15M10 19H12V21H10V19M14 19H16V21H14V19Z\" /></svg>"
|
|
5980
|
-
};
|
|
5981
|
-
|
|
5982
|
-
class IconCacheService {
|
|
5983
|
-
constructor(_sanitizer) {
|
|
5984
|
-
this._sanitizer = _sanitizer;
|
|
5985
|
-
this._iconCache = {};
|
|
5986
|
-
this.setIconCache();
|
|
5987
|
-
}
|
|
5988
|
-
/**
|
|
5989
|
-
* All the icons as a large JSON object, from the all-icons.json file.
|
|
5990
|
-
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
5991
|
-
*/
|
|
5992
|
-
get iconCache() {
|
|
5993
|
-
return this._iconCache;
|
|
5994
|
-
}
|
|
5995
|
-
getIcon(iconName) {
|
|
5996
|
-
if (iconName) {
|
|
5997
|
-
return this._iconCache[iconName.toLowerCase()];
|
|
5998
|
-
}
|
|
5999
|
-
}
|
|
6000
|
-
getIconAsBase64(iconName) {
|
|
6001
|
-
const icon = IconSvg[iconName];
|
|
6002
|
-
const base64Data = window.btoa(icon);
|
|
6003
|
-
return this._sanitizer.bypassSecurityTrustUrl(`data:image/svg+xml;base64,${base64Data}`);
|
|
6004
|
-
}
|
|
6005
|
-
getRawIcon(iconName) {
|
|
6006
|
-
if (iconName) {
|
|
6007
|
-
return IconSvg[iconName.toLowerCase()];
|
|
6008
|
-
}
|
|
6009
|
-
}
|
|
6010
|
-
setIconCache() {
|
|
6011
|
-
for (const key in IconSvg) {
|
|
6012
|
-
if (IconSvg.hasOwnProperty(key) && typeof IconSvg[key] !== "function") {
|
|
6013
|
-
this._iconCache[key.toLowerCase()] = this._sanitizer.bypassSecurityTrustHtml(IconSvg[key]);
|
|
6014
|
-
}
|
|
6015
|
-
}
|
|
6016
|
-
}
|
|
6017
|
-
}
|
|
6018
|
-
IconCacheService.ɵprov = i0.ɵɵdefineInjectable({ factory: function IconCacheService_Factory() { return new IconCacheService(i0.ɵɵinject(i1.DomSanitizer)); }, token: IconCacheService, providedIn: "root" });
|
|
6019
|
-
IconCacheService.decorators = [
|
|
6020
|
-
{ type: Injectable, args: [{
|
|
6021
|
-
providedIn: "root"
|
|
5980
|
+
transition("void => *", animate("200ms ease-in-out")),
|
|
5981
|
+
transition("* => void", animate("200ms ease-out"))
|
|
5982
|
+
]),
|
|
5983
|
+
trigger("showHideSidebar", [
|
|
5984
|
+
state("void", style({ transform: "translateX(100%)" })),
|
|
5985
|
+
state("*", style({ transform: "translateX(0)" })),
|
|
5986
|
+
transition("void <=> *", animate("200ms ease-in-out"))
|
|
5987
|
+
]),
|
|
5988
|
+
trigger("showHideInvoiceAddress", [
|
|
5989
|
+
state("void", style({ height: 0, opacity: 0 })),
|
|
5990
|
+
state("*", style({ height: "*", opacity: 1 })),
|
|
5991
|
+
transition("void => *", animate("200ms ease-in-out")),
|
|
5992
|
+
transition("* => void", animate("200ms ease-out"))
|
|
5993
|
+
])
|
|
5994
|
+
],
|
|
5995
|
+
encapsulation: ViewEncapsulation.None
|
|
6022
5996
|
},] }
|
|
6023
5997
|
];
|
|
6024
|
-
|
|
6025
|
-
{ type:
|
|
6026
|
-
|
|
5998
|
+
CheckoutOverviewRelationEditComponent.ctorParameters = () => [
|
|
5999
|
+
{ type: FormMasterService },
|
|
6000
|
+
{ type: BusinessObjectFactory },
|
|
6001
|
+
{ type: TransactionService }
|
|
6002
|
+
];
|
|
6003
|
+
CheckoutOverviewRelationEditComponent.propDecorators = {
|
|
6004
|
+
relation: [{ type: Input }],
|
|
6005
|
+
deliveryAddressNawNr: [{ type: Input }],
|
|
6006
|
+
invoiceAddressNawNr: [{ type: Input }],
|
|
6007
|
+
validSubmit: [{ type: Output }],
|
|
6008
|
+
invalidSubmit: [{ type: Output }],
|
|
6009
|
+
deliveryAddressChange: [{ type: Output }],
|
|
6010
|
+
invoiceAddressChange: [{ type: Output }],
|
|
6011
|
+
relationChange: [{ type: Output }],
|
|
6012
|
+
showClass: [{ type: HostBinding, args: ["class.co-checkout-overview-relation-edit",] }]
|
|
6013
|
+
};
|
|
6027
6014
|
|
|
6028
6015
|
class CheckoutOverviewDeliveryEditComponent {
|
|
6029
6016
|
constructor(_dictionaryService, _formMasterService, _boFactory, service, iconService) {
|
|
@@ -6504,7 +6491,9 @@ class CustomerGroupsComponent {
|
|
|
6504
6491
|
}
|
|
6505
6492
|
ngOnInit() {
|
|
6506
6493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6507
|
-
this.
|
|
6494
|
+
this._connector.getCustomerGroups().then((groups) => {
|
|
6495
|
+
this.customerGroups = groups;
|
|
6496
|
+
});
|
|
6508
6497
|
});
|
|
6509
6498
|
}
|
|
6510
6499
|
}
|
|
@@ -6806,7 +6795,8 @@ ConfirmationDialogModule.decorators = [
|
|
|
6806
6795
|
CommonModule,
|
|
6807
6796
|
CoDialogModule,
|
|
6808
6797
|
ButtonModule,
|
|
6809
|
-
PipeModule
|
|
6798
|
+
PipeModule,
|
|
6799
|
+
CollapsibleModule
|
|
6810
6800
|
],
|
|
6811
6801
|
declarations: [
|
|
6812
6802
|
ConfirmationDialogComponent
|
|
@@ -6917,7 +6907,7 @@ WarehouseComponent.decorators = [
|
|
|
6917
6907
|
selector: "co-warehouse",
|
|
6918
6908
|
template: `
|
|
6919
6909
|
<co-dialog [showCloseIcon]="false" [modal]="true" [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate">
|
|
6920
|
-
<div class="co-transaction-default-
|
|
6910
|
+
<div class="co-transaction-default-popup-row" *ngFor="let model of viewModels">
|
|
6921
6911
|
<co-input-checkbox [model]="model.checked" [label]="model.text" (click)="handleChecked($event, model.value)"></co-input-checkbox>
|
|
6922
6912
|
</div>
|
|
6923
6913
|
</co-dialog>
|
|
@@ -6962,6 +6952,76 @@ WarehouseModule.decorators = [
|
|
|
6962
6952
|
},] }
|
|
6963
6953
|
];
|
|
6964
6954
|
|
|
6955
|
+
// Import the core angular services.
|
|
6956
|
+
class LazyRenderMasterDirective {
|
|
6957
|
+
constructor(_element) {
|
|
6958
|
+
this._element = _element;
|
|
6959
|
+
this._mapping = new Map();
|
|
6960
|
+
this._observer = new IntersectionObserver((entries) => {
|
|
6961
|
+
for (const entry of entries) {
|
|
6962
|
+
const callback = this._mapping.get(entry.target);
|
|
6963
|
+
if (callback) {
|
|
6964
|
+
callback(entry.isIntersecting);
|
|
6965
|
+
}
|
|
6966
|
+
}
|
|
6967
|
+
}, {
|
|
6968
|
+
// This classifies the "intersection" as being a bit outside the
|
|
6969
|
+
// viewport. The intent here is give the elements a little time to react
|
|
6970
|
+
// to the change before the element is actually visible to the user.
|
|
6971
|
+
// root: this._element.nativeElement,
|
|
6972
|
+
rootMargin: '700px 0px 700px 0px'
|
|
6973
|
+
});
|
|
6974
|
+
}
|
|
6975
|
+
ngOnDestroy() {
|
|
6976
|
+
this._mapping.clear();
|
|
6977
|
+
this._observer.disconnect();
|
|
6978
|
+
}
|
|
6979
|
+
add(element, callback) {
|
|
6980
|
+
this._mapping.set(element, callback);
|
|
6981
|
+
this._observer.observe(element);
|
|
6982
|
+
}
|
|
6983
|
+
remove(element) {
|
|
6984
|
+
this._mapping.delete(element);
|
|
6985
|
+
this._observer.unobserve(element);
|
|
6986
|
+
}
|
|
6987
|
+
}
|
|
6988
|
+
LazyRenderMasterDirective.decorators = [
|
|
6989
|
+
{ type: Directive, args: [{
|
|
6990
|
+
selector: '[lazyRenderMaster]'
|
|
6991
|
+
},] }
|
|
6992
|
+
];
|
|
6993
|
+
LazyRenderMasterDirective.ctorParameters = () => [
|
|
6994
|
+
{ type: ElementRef }
|
|
6995
|
+
];
|
|
6996
|
+
|
|
6997
|
+
class LazyRenderDirective {
|
|
6998
|
+
constructor(parent, elementRef) {
|
|
6999
|
+
this._parent = parent;
|
|
7000
|
+
this._elementRef = elementRef;
|
|
7001
|
+
this.isShowing = false;
|
|
7002
|
+
}
|
|
7003
|
+
ngOnDestroy() {
|
|
7004
|
+
this._parent.remove(this._elementRef.nativeElement);
|
|
7005
|
+
this._elementRef = undefined;
|
|
7006
|
+
}
|
|
7007
|
+
ngOnInit() {
|
|
7008
|
+
this._parent.add(this._elementRef.nativeElement, (isIntersecting) => {
|
|
7009
|
+
this.isShowing = isIntersecting;
|
|
7010
|
+
console.log(this.isShowing);
|
|
7011
|
+
});
|
|
7012
|
+
}
|
|
7013
|
+
}
|
|
7014
|
+
LazyRenderDirective.decorators = [
|
|
7015
|
+
{ type: Directive, args: [{
|
|
7016
|
+
selector: '[lazyRender]',
|
|
7017
|
+
exportAs: 'lazyRender'
|
|
7018
|
+
},] }
|
|
7019
|
+
];
|
|
7020
|
+
LazyRenderDirective.ctorParameters = () => [
|
|
7021
|
+
{ type: LazyRenderMasterDirective },
|
|
7022
|
+
{ type: ElementRef }
|
|
7023
|
+
];
|
|
7024
|
+
|
|
6965
7025
|
class CoreModule {
|
|
6966
7026
|
}
|
|
6967
7027
|
CoreModule.decorators = [
|
|
@@ -6983,14 +7043,18 @@ CoreModule.decorators = [
|
|
|
6983
7043
|
IconComponent,
|
|
6984
7044
|
CustomerGroupsComponent,
|
|
6985
7045
|
StockStatusIndicatorComponent,
|
|
6986
|
-
LoaderComponent
|
|
7046
|
+
LoaderComponent,
|
|
7047
|
+
LazyRenderMasterDirective,
|
|
7048
|
+
LazyRenderDirective
|
|
6987
7049
|
],
|
|
6988
7050
|
exports: [
|
|
6989
7051
|
ImageDisplayComponent,
|
|
6990
7052
|
IconComponent,
|
|
6991
7053
|
CustomerGroupsComponent,
|
|
6992
7054
|
StockStatusIndicatorComponent,
|
|
6993
|
-
LoaderComponent
|
|
7055
|
+
LoaderComponent,
|
|
7056
|
+
LazyRenderMasterDirective,
|
|
7057
|
+
LazyRenderDirective
|
|
6994
7058
|
]
|
|
6995
7059
|
},] }
|
|
6996
7060
|
];
|
|
@@ -8126,6 +8190,122 @@ DialogTransactionLineVatComponent.propDecorators = {
|
|
|
8126
8190
|
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-vat",] }]
|
|
8127
8191
|
};
|
|
8128
8192
|
|
|
8193
|
+
class DialogTransactionLinePriceListComponent extends DialogTransactionLineBaseComponent {
|
|
8194
|
+
showClass() {
|
|
8195
|
+
return true;
|
|
8196
|
+
}
|
|
8197
|
+
}
|
|
8198
|
+
DialogTransactionLinePriceListComponent.decorators = [
|
|
8199
|
+
{ type: Component, args: [{
|
|
8200
|
+
selector: "co-dialog-transaction-line-price-list",
|
|
8201
|
+
template: `
|
|
8202
|
+
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useTransactionLine" (closeClick)="onClose(buttonType.Ok)">
|
|
8203
|
+
<co-transaction-line-price-list
|
|
8204
|
+
[useTransactionLine]="useTransactionLine"
|
|
8205
|
+
[transactionLine]="transactionLine"
|
|
8206
|
+
[searchText]="searchText"
|
|
8207
|
+
(valueChange)="handleValueChange($event)"></co-transaction-line-price-list>
|
|
8208
|
+
</co-dialog>
|
|
8209
|
+
<ng-template #dialogHeader>
|
|
8210
|
+
<co-dialog-header-search [title]="'PRICE_LIST'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
8211
|
+
</ng-template>
|
|
8212
|
+
<ng-template #footerTemplate>
|
|
8213
|
+
<div class="dialog-footer-button-wrapper" *ngIf="!useTransactionLine">
|
|
8214
|
+
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
8215
|
+
</div>
|
|
8216
|
+
</ng-template>
|
|
8217
|
+
`,
|
|
8218
|
+
encapsulation: ViewEncapsulation.None
|
|
8219
|
+
},] }
|
|
8220
|
+
];
|
|
8221
|
+
DialogTransactionLinePriceListComponent.propDecorators = {
|
|
8222
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-price-list",] }]
|
|
8223
|
+
};
|
|
8224
|
+
|
|
8225
|
+
class DialogTransactionLineDiscountComponent extends DialogTransactionLineBaseComponent {
|
|
8226
|
+
constructor(_dialogService, _service) {
|
|
8227
|
+
super();
|
|
8228
|
+
this._dialogService = _dialogService;
|
|
8229
|
+
this._service = _service;
|
|
8230
|
+
}
|
|
8231
|
+
showClass() {
|
|
8232
|
+
return true;
|
|
8233
|
+
}
|
|
8234
|
+
openPriceListDialog() {
|
|
8235
|
+
this._dialogService.showTransactionLineComponent(DialogTransactionLinePriceListComponent, this.transactionLine);
|
|
8236
|
+
}
|
|
8237
|
+
transactionLineSet() {
|
|
8238
|
+
this._loadLinePricelist();
|
|
8239
|
+
}
|
|
8240
|
+
_loadLinePricelist() {
|
|
8241
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8242
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
8243
|
+
this._service.getPriceLists().then((lists) => {
|
|
8244
|
+
const priceList = lists.find(l => l.code === this.transactionLine.priceListCode);
|
|
8245
|
+
this.transactionLine.priceListDescription = priceList ? priceList.description : "";
|
|
8246
|
+
});
|
|
8247
|
+
}
|
|
8248
|
+
});
|
|
8249
|
+
}
|
|
8250
|
+
}
|
|
8251
|
+
DialogTransactionLineDiscountComponent.decorators = [
|
|
8252
|
+
{ type: Component, args: [{
|
|
8253
|
+
selector: "co-dialog-transaction-line-discount",
|
|
8254
|
+
template: `
|
|
8255
|
+
<co-dialog [headerTemplate]="dialogHeader" (closeClick)="onClose(buttonType.Ok)">
|
|
8256
|
+
<div class="two-column-grid">
|
|
8257
|
+
<co-transaction-line-line-discount [transactionLine]="transactionLine"></co-transaction-line-line-discount>
|
|
8258
|
+
<co-transaction-line-discount-amount [transactionLine]="transactionLine"></co-transaction-line-discount-amount>
|
|
8259
|
+
</div>
|
|
8260
|
+
<div class="two-column-grid">
|
|
8261
|
+
<co-transaction-line-special-discount [transactionLine]="transactionLine"></co-transaction-line-special-discount>
|
|
8262
|
+
<co-transaction-line-quantum-discount [transactionLine]="transactionLine"></co-transaction-line-quantum-discount>
|
|
8263
|
+
</div>
|
|
8264
|
+
<div class="two-column-grid">
|
|
8265
|
+
<co-input-text [placeholder]="'SURCHARGE_AMOUNT' | localize" [model]="transactionLine.surchargeAmount" [readonly]="readonly"></co-input-text>
|
|
8266
|
+
<co-input-text [placeholder]="'BUSINESS_RULE_DISCOUNT' | localize" [model]="'NIET_GEIMPLEMENTEERD'" [readonly]="readonly"></co-input-text>
|
|
8267
|
+
</div>
|
|
8268
|
+
<div class="transaction-line-discount-overview">
|
|
8269
|
+
<div class="transaction-line-discount-overview-item">
|
|
8270
|
+
<div class="title" [textContent]="'TRANSACTION_DISCOUNT' | localize"></div>
|
|
8271
|
+
<div class="value" [class.negative]="transactionLine.discountAmount < 0" [textContent]="transactionLine.discountAmount | coCurrency"></div>
|
|
8272
|
+
</div>
|
|
8273
|
+
<div class="transaction-line-discount-overview-item">
|
|
8274
|
+
<div class="title" [textContent]="'BUSINESS_RULE_DISCOUNT' | localize"></div>
|
|
8275
|
+
<div class="value" [textContent]="'NIET_GEIMPLEMENTEERD'"></div>
|
|
8276
|
+
</div>
|
|
8277
|
+
<div class="transaction-line-discount-overview-item">
|
|
8278
|
+
<div class="title" [textContent]="'QUANTUM_DISCOUNT' | localize"></div>
|
|
8279
|
+
<div class="value" [class.negative]="transactionLine.quantumDiscount < 0" [textContent]="transactionLine.quantumDiscount | coCurrency"></div>
|
|
8280
|
+
</div>
|
|
8281
|
+
<div class="transaction-line-discount-overview-item">
|
|
8282
|
+
<div class="title" [textContent]="'SURCHARGE_AMOUNT' | localize"></div>
|
|
8283
|
+
<div class="value" [class.negative]="transactionLine.surchargeAmount < 0" [textContent]="transactionLine.surchargeAmount | coCurrency"></div>
|
|
8284
|
+
</div>
|
|
8285
|
+
<div class="transaction-line-discount-overview-item total">
|
|
8286
|
+
<div class="title" [textContent]="'TOTAL_LINE_DISCOUNT' | localize"></div>
|
|
8287
|
+
<div class="value" [class.negative]="transactionLine.lineTotalDiscountAmount < 0" [textContent]="transactionLine.lineTotalDiscountAmount | coCurrency"></div>
|
|
8288
|
+
</div>
|
|
8289
|
+
</div>
|
|
8290
|
+
</co-dialog>
|
|
8291
|
+
<ng-template #dialogHeader>
|
|
8292
|
+
<div class="dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
8293
|
+
<div class="transaction-line-button big" (click)="openPriceListDialog()">
|
|
8294
|
+
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.priceListDescription"></span>
|
|
8295
|
+
</div>
|
|
8296
|
+
</ng-template>
|
|
8297
|
+
`,
|
|
8298
|
+
encapsulation: ViewEncapsulation.None
|
|
8299
|
+
},] }
|
|
8300
|
+
];
|
|
8301
|
+
DialogTransactionLineDiscountComponent.ctorParameters = () => [
|
|
8302
|
+
{ type: DialogService },
|
|
8303
|
+
{ type: TransactionService }
|
|
8304
|
+
];
|
|
8305
|
+
DialogTransactionLineDiscountComponent.propDecorators = {
|
|
8306
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-discount",] }]
|
|
8307
|
+
};
|
|
8308
|
+
|
|
8129
8309
|
class TransactionLineComponent {
|
|
8130
8310
|
constructor(service, iconCacheService, _dialogService, _dictionaryService, _imageService) {
|
|
8131
8311
|
this.service = service;
|
|
@@ -8177,12 +8357,13 @@ class TransactionLineComponent {
|
|
|
8177
8357
|
}
|
|
8178
8358
|
deleteTransactionLineClick() {
|
|
8179
8359
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8180
|
-
const deleteLine =
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
}
|
|
8360
|
+
// const deleteLine: boolean = await this._dialogService.showYesNo(
|
|
8361
|
+
// this._dictionaryService.get("DELETE"), this._dictionaryService.get("DELETE_TRANSACTION_LINE_QUESTION"));
|
|
8362
|
+
// if (deleteLine) {
|
|
8363
|
+
this.service.deleteTransactionLine(this.service.currentTransaction.transactionInfo.uuid, this.line.uuid).then((value) => {
|
|
8364
|
+
// this._handleLine(value);
|
|
8365
|
+
});
|
|
8366
|
+
// }
|
|
8186
8367
|
});
|
|
8187
8368
|
}
|
|
8188
8369
|
handleOpenArticleText(text) {
|
|
@@ -8205,6 +8386,9 @@ class TransactionLineComponent {
|
|
|
8205
8386
|
openVatDialog() {
|
|
8206
8387
|
this._dialogService.showTransactionLineComponent(DialogTransactionLineVatComponent, this.line);
|
|
8207
8388
|
}
|
|
8389
|
+
openDiscountDialog() {
|
|
8390
|
+
this._dialogService.showTransactionLineComponent(DialogTransactionLineDiscountComponent, this.line);
|
|
8391
|
+
}
|
|
8208
8392
|
_loadLineImage() {
|
|
8209
8393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8210
8394
|
if (this.line && this.line.isArticle) {
|
|
@@ -8291,24 +8475,24 @@ TransactionLineComponent.decorators = [
|
|
|
8291
8475
|
</div>
|
|
8292
8476
|
</div>
|
|
8293
8477
|
<div *ngIf=!preview class="transaction-line-extended-wrapper">
|
|
8294
|
-
<div class="transaction-line-
|
|
8478
|
+
<div class="transaction-line-button" (click)="openCommissionCodeDialog()">
|
|
8295
8479
|
<span class="co-transaction-overflow-ellipsis" [textContent]="line.commissionCode | append:' | ' | append:line.commissionDescription"></span>
|
|
8296
8480
|
</div>
|
|
8297
|
-
<div class="transaction-line-
|
|
8481
|
+
<div class="transaction-line-button" (click)="openWarehouseDialog()">
|
|
8298
8482
|
<co-icon class="header-warehouse-icon" [iconData]="iconCacheService.getIcon(icons.Warehouse)"></co-icon>
|
|
8299
8483
|
<span class="co-transaction-overflow-ellipsis" [textContent]="line.warehouseNumber"></span>
|
|
8300
8484
|
</div>
|
|
8301
|
-
<div class="transaction-line-
|
|
8485
|
+
<div class="transaction-line-button big" (click)="openDeliveryMethodDialog()">
|
|
8302
8486
|
<co-icon class="header-delivery-truck-icon" [iconData]="iconCacheService.getIcon(icons.TruckFastSolid)"></co-icon>
|
|
8303
8487
|
<span class="co-transaction-overflow-ellipsis" [textContent]="line.deliveryMethodDescription"></span>
|
|
8304
8488
|
</div>
|
|
8305
|
-
<div class="transaction-line-
|
|
8489
|
+
<div class="transaction-line-button custom-width no-border two-column">
|
|
8306
8490
|
<span [textContent]="'DELIVERY_DATE' | localize | append:':'" class="small-font"></span>
|
|
8307
|
-
<span [textContent]="line.deliveryDate | date:'dd MMM YYYY'"></span>
|
|
8491
|
+
<span class="co-transaction-overflow-ellipsis" [textContent]="line.deliveryDate | date:'dd MMM YYYY'"></span>
|
|
8308
8492
|
<co-icon class="header-delivery-date-icon" [iconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"></co-icon>
|
|
8309
8493
|
</div>
|
|
8310
8494
|
</div>
|
|
8311
|
-
<div class="transaction-line-
|
|
8495
|
+
<div *ngIf="!preview" class="transaction-line-button" (click)="openVatDialog()">
|
|
8312
8496
|
<span class="co-transaction-overflow-ellipsis" [textContent]="line.vatDescription"></span>
|
|
8313
8497
|
</div>
|
|
8314
8498
|
<div class="transaction-line-totals">
|
|
@@ -8317,12 +8501,10 @@ TransactionLineComponent.decorators = [
|
|
|
8317
8501
|
[showLabel]="false"
|
|
8318
8502
|
[defaultEditMode]="false"
|
|
8319
8503
|
></co-transaction-line-price>
|
|
8320
|
-
<
|
|
8321
|
-
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
[commit]="true"
|
|
8325
|
-
></co-editable-label>
|
|
8504
|
+
<div class="transaction-line-button custom-width" (click)="openDiscountDialog()">
|
|
8505
|
+
<span class="co-transaction-overflow-ellipsis transaction-line-discount" [class.negative]="line.lineTotalDiscountAmount < 0"
|
|
8506
|
+
[textContent]="(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)"></span>
|
|
8507
|
+
</div>
|
|
8326
8508
|
<div *ngIf=!preview class="transaction-line-totals-amount">
|
|
8327
8509
|
<co-input-number-picker class="amount-number-picker"
|
|
8328
8510
|
[(model)]="localAmount" [min]="0"
|
|
@@ -8348,12 +8530,7 @@ TransactionLineComponent.decorators = [
|
|
|
8348
8530
|
<ng-container *ngIf="line.isText">
|
|
8349
8531
|
<div [textContent]="line.text"></div>
|
|
8350
8532
|
<div class="transaction-line-delete" *ngIf="!preview">
|
|
8351
|
-
<
|
|
8352
|
-
<icon class="delete-icon" [icon]="icons.Cancel"></icon>
|
|
8353
|
-
<div class="delete-link"
|
|
8354
|
-
[textContent]="'DELETE_TRANSACTION_LINE' | localize:false">
|
|
8355
|
-
</div>
|
|
8356
|
-
</div>
|
|
8533
|
+
<co-icon class="delete-icon" [iconData]="iconCacheService.getIcon(icons.TrashCanLight)" (click)="deleteTransactionLineClick()"></co-icon>
|
|
8357
8534
|
</div>
|
|
8358
8535
|
</ng-container>
|
|
8359
8536
|
</div>
|
|
@@ -8637,7 +8814,7 @@ class TransactionLinePriceComponent extends TransactionLineBaseComponent {
|
|
|
8637
8814
|
set child(content) {
|
|
8638
8815
|
if (content) {
|
|
8639
8816
|
this.input = content;
|
|
8640
|
-
this.input.commit = (price) => this.
|
|
8817
|
+
this.input.commit = (price) => this.commit(price);
|
|
8641
8818
|
if (this._editMode) {
|
|
8642
8819
|
this.input.requestFocus();
|
|
8643
8820
|
}
|
|
@@ -8657,7 +8834,7 @@ class TransactionLinePriceComponent extends TransactionLineBaseComponent {
|
|
|
8657
8834
|
this.editMode = true;
|
|
8658
8835
|
}
|
|
8659
8836
|
}
|
|
8660
|
-
|
|
8837
|
+
commit(price) {
|
|
8661
8838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8662
8839
|
if (this.transactionLine.price !== price) {
|
|
8663
8840
|
const oldPrice = this.transactionLine.price;
|
|
@@ -8721,9 +8898,11 @@ TransactionLinePriceModule.decorators = [
|
|
|
8721
8898
|
];
|
|
8722
8899
|
|
|
8723
8900
|
class TransactionLineDescriptionComponent extends TransactionLineBaseComponent {
|
|
8724
|
-
constructor(_transactionService) {
|
|
8901
|
+
constructor(iconCacheService, _transactionService) {
|
|
8725
8902
|
super();
|
|
8903
|
+
this.iconCacheService = iconCacheService;
|
|
8726
8904
|
this._transactionService = _transactionService;
|
|
8905
|
+
this.icons = Icon;
|
|
8727
8906
|
this.showLabel = true;
|
|
8728
8907
|
this.defaultEditMode = true;
|
|
8729
8908
|
this._editMode = false;
|
|
@@ -8731,7 +8910,7 @@ class TransactionLineDescriptionComponent extends TransactionLineBaseComponent {
|
|
|
8731
8910
|
set child(content) {
|
|
8732
8911
|
if (content) {
|
|
8733
8912
|
this.input = content;
|
|
8734
|
-
this.input.commit = (description) => this.
|
|
8913
|
+
this.input.commit = (description) => this.commit(description);
|
|
8735
8914
|
if (this._editMode) {
|
|
8736
8915
|
this.input.requestFocus();
|
|
8737
8916
|
}
|
|
@@ -8751,17 +8930,16 @@ class TransactionLineDescriptionComponent extends TransactionLineBaseComponent {
|
|
|
8751
8930
|
this.editMode = true;
|
|
8752
8931
|
}
|
|
8753
8932
|
}
|
|
8754
|
-
|
|
8933
|
+
commit(description) {
|
|
8755
8934
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
// }
|
|
8935
|
+
if (this.transactionLine.goodDescription !== description) {
|
|
8936
|
+
const oldDescription = this.transactionLine.goodDescription;
|
|
8937
|
+
const success = yield this._transactionService.updateGoodDescriptionTransactionLine(this._transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, description);
|
|
8938
|
+
if (!success) {
|
|
8939
|
+
this.input.model = oldDescription;
|
|
8940
|
+
}
|
|
8941
|
+
return success;
|
|
8942
|
+
}
|
|
8765
8943
|
return true;
|
|
8766
8944
|
});
|
|
8767
8945
|
}
|
|
@@ -8773,7 +8951,10 @@ TransactionLineDescriptionComponent.decorators = [
|
|
|
8773
8951
|
{ type: Component, args: [{
|
|
8774
8952
|
selector: "co-transaction-line-description",
|
|
8775
8953
|
template: `
|
|
8776
|
-
<
|
|
8954
|
+
<div class="co-transaction-default-flex-row" *ngIf="(!editMode || readonly) && !defaultEditMode">
|
|
8955
|
+
<div class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.goodDescription"></div>
|
|
8956
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.EditPencil)" *ngIf="!readonly && !editMode" (click)="editMode = true"></co-icon>
|
|
8957
|
+
</div>
|
|
8777
8958
|
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
8778
8959
|
[placeholder]="showLabel ? ('GOOD_DESCRIPTION' | localize) : ''"
|
|
8779
8960
|
[showSaveCancel]="!readonly"
|
|
@@ -8786,6 +8967,7 @@ TransactionLineDescriptionComponent.decorators = [
|
|
|
8786
8967
|
},] }
|
|
8787
8968
|
];
|
|
8788
8969
|
TransactionLineDescriptionComponent.ctorParameters = () => [
|
|
8970
|
+
{ type: IconCacheService },
|
|
8789
8971
|
{ type: TransactionService }
|
|
8790
8972
|
];
|
|
8791
8973
|
TransactionLineDescriptionComponent.propDecorators = {
|
|
@@ -8803,7 +8985,8 @@ TransactionLineDescriptionModule.decorators = [
|
|
|
8803
8985
|
imports: [
|
|
8804
8986
|
CommonModule,
|
|
8805
8987
|
InputTextModule,
|
|
8806
|
-
PipeModule
|
|
8988
|
+
PipeModule,
|
|
8989
|
+
IconModule
|
|
8807
8990
|
],
|
|
8808
8991
|
declarations: [
|
|
8809
8992
|
TransactionLineDescriptionComponent
|
|
@@ -10343,7 +10526,8 @@ RelationPreferencesModule.decorators = [
|
|
|
10343
10526
|
];
|
|
10344
10527
|
|
|
10345
10528
|
class CheckoutOverviewPaymentComponent {
|
|
10346
|
-
constructor() {
|
|
10529
|
+
constructor(_transactionService) {
|
|
10530
|
+
this._transactionService = _transactionService;
|
|
10347
10531
|
this.icons = Icon;
|
|
10348
10532
|
this.changeYourDataClick = new EventEmitter();
|
|
10349
10533
|
this.changeDeliveryClick = new EventEmitter();
|
|
@@ -10366,6 +10550,11 @@ class CheckoutOverviewPaymentComponent {
|
|
|
10366
10550
|
}
|
|
10367
10551
|
}
|
|
10368
10552
|
}
|
|
10553
|
+
handlePayed() {
|
|
10554
|
+
const id = this._transactionService.currentTransaction.transactionInfo.id;
|
|
10555
|
+
this._transactionService.currentTransaction = undefined;
|
|
10556
|
+
this.payed.emit(id);
|
|
10557
|
+
}
|
|
10369
10558
|
}
|
|
10370
10559
|
CheckoutOverviewPaymentComponent.decorators = [
|
|
10371
10560
|
{ type: Component, args: [{
|
|
@@ -10416,12 +10605,15 @@ CheckoutOverviewPaymentComponent.decorators = [
|
|
|
10416
10605
|
[transactionUuid]="transaction.transactionInfo.uuid"
|
|
10417
10606
|
[amount]="transaction.transactionTotal.netAmount"
|
|
10418
10607
|
[currencyId]="transaction.transactionInfo.currencyId"
|
|
10419
|
-
(payed)="
|
|
10608
|
+
(payed)="handlePayed()"
|
|
10420
10609
|
></co-payment>
|
|
10421
10610
|
`,
|
|
10422
10611
|
encapsulation: ViewEncapsulation.None
|
|
10423
10612
|
},] }
|
|
10424
10613
|
];
|
|
10614
|
+
CheckoutOverviewPaymentComponent.ctorParameters = () => [
|
|
10615
|
+
{ type: TransactionService }
|
|
10616
|
+
];
|
|
10425
10617
|
CheckoutOverviewPaymentComponent.propDecorators = {
|
|
10426
10618
|
transaction: [{ type: Input }],
|
|
10427
10619
|
relation: [{ type: Input }],
|
|
@@ -10508,20 +10700,134 @@ TransactionBaseComponent.propDecorators = {
|
|
|
10508
10700
|
expanded: [{ type: Input }]
|
|
10509
10701
|
};
|
|
10510
10702
|
|
|
10703
|
+
class TransactionHeaderBaseComponent {
|
|
10704
|
+
constructor() {
|
|
10705
|
+
this.useTransaction = true;
|
|
10706
|
+
this.valueChange = new EventEmitter();
|
|
10707
|
+
this.readonly = false;
|
|
10708
|
+
this.viewModels = [];
|
|
10709
|
+
this.viewModelsFiltered = [];
|
|
10710
|
+
this._transactionInfo = new TransactionInfo();
|
|
10711
|
+
}
|
|
10712
|
+
set searchText(value) {
|
|
10713
|
+
this._searchText = value;
|
|
10714
|
+
this._doSearch();
|
|
10715
|
+
}
|
|
10716
|
+
get searchText() {
|
|
10717
|
+
return this._searchText;
|
|
10718
|
+
}
|
|
10719
|
+
set transactionInfo(value) {
|
|
10720
|
+
if (value) {
|
|
10721
|
+
this._transactionInfo = value;
|
|
10722
|
+
this.transactionInfoSet();
|
|
10723
|
+
}
|
|
10724
|
+
}
|
|
10725
|
+
get transactionInfo() {
|
|
10726
|
+
return this._transactionInfo;
|
|
10727
|
+
}
|
|
10728
|
+
ngOnInit() {
|
|
10729
|
+
this.viewModelsFiltered = this.viewModels.slice();
|
|
10730
|
+
}
|
|
10731
|
+
// overridden by descendents
|
|
10732
|
+
transactionInfoSet() {
|
|
10733
|
+
}
|
|
10734
|
+
_doSearch() {
|
|
10735
|
+
if (!this.searchText) {
|
|
10736
|
+
this.viewModelsFiltered = this.viewModels.slice();
|
|
10737
|
+
}
|
|
10738
|
+
else {
|
|
10739
|
+
this.viewModelsFiltered = this.viewModels.filter(v => {
|
|
10740
|
+
const textFound = v.text ? v.text.indexOf(this.searchText) > -1 : false;
|
|
10741
|
+
// const codeFound: boolean = (v.value && typeof v.value === 'string') ? v.value.indexOf(this.searchText) > -1 :
|
|
10742
|
+
// (typeof v.value === 'number' ? v.value + "".indexOf(this.searchText) > -1 : false);
|
|
10743
|
+
const codeFound = (v.value && typeof v.value === 'string') ? v.value.indexOf(this.searchText) > -1 : false;
|
|
10744
|
+
return codeFound || textFound;
|
|
10745
|
+
});
|
|
10746
|
+
}
|
|
10747
|
+
}
|
|
10748
|
+
}
|
|
10749
|
+
TransactionHeaderBaseComponent.decorators = [
|
|
10750
|
+
{ type: Directive }
|
|
10751
|
+
];
|
|
10752
|
+
TransactionHeaderBaseComponent.propDecorators = {
|
|
10753
|
+
useTransaction: [{ type: Input }],
|
|
10754
|
+
searchText: [{ type: Input }],
|
|
10755
|
+
transactionInfo: [{ type: Input }],
|
|
10756
|
+
valueChange: [{ type: Output }]
|
|
10757
|
+
};
|
|
10758
|
+
|
|
10759
|
+
class DialogTransactionHeaderBaseComponent extends TransactionHeaderBaseComponent {
|
|
10760
|
+
constructor() {
|
|
10761
|
+
super(...arguments);
|
|
10762
|
+
this.buttonType = AppPopupButtonType;
|
|
10763
|
+
}
|
|
10764
|
+
onClose(eventType, output) {
|
|
10765
|
+
return;
|
|
10766
|
+
}
|
|
10767
|
+
handleValueChange(value) {
|
|
10768
|
+
this.value = value;
|
|
10769
|
+
}
|
|
10770
|
+
handleOkClick() {
|
|
10771
|
+
this.onClose(AppPopupButtonType.Ok, this.value);
|
|
10772
|
+
}
|
|
10773
|
+
handleSearch(text) {
|
|
10774
|
+
this.searchText = text;
|
|
10775
|
+
}
|
|
10776
|
+
}
|
|
10777
|
+
DialogTransactionHeaderBaseComponent.decorators = [
|
|
10778
|
+
{ type: Directive }
|
|
10779
|
+
];
|
|
10780
|
+
|
|
10781
|
+
class DialogTransactionHeaderDeliveryMethodComponent extends DialogTransactionHeaderBaseComponent {
|
|
10782
|
+
showClass() {
|
|
10783
|
+
return true;
|
|
10784
|
+
}
|
|
10785
|
+
}
|
|
10786
|
+
DialogTransactionHeaderDeliveryMethodComponent.decorators = [
|
|
10787
|
+
{ type: Component, args: [{
|
|
10788
|
+
selector: "co-dialog-transaction-header-delivery-method",
|
|
10789
|
+
template: `
|
|
10790
|
+
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useTransaction" (closeClick)="onClose(buttonType.Ok)">
|
|
10791
|
+
<co-transaction-header-delivery-method
|
|
10792
|
+
[showAsCarousel]="false"
|
|
10793
|
+
[useTransaction]="useTransaction"
|
|
10794
|
+
[transactionInfo]="transactionInfo"
|
|
10795
|
+
[searchText]="searchText"
|
|
10796
|
+
(valueChange)="handleValueChange($event)"></co-transaction-header-delivery-method>
|
|
10797
|
+
</co-dialog>
|
|
10798
|
+
<ng-template #dialogHeader>
|
|
10799
|
+
<co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
10800
|
+
</ng-template>
|
|
10801
|
+
<ng-template #footerTemplate>
|
|
10802
|
+
<div class="dialog-footer-button-wrapper" *ngIf="!useTransaction">
|
|
10803
|
+
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
10804
|
+
</div>
|
|
10805
|
+
</ng-template>
|
|
10806
|
+
`,
|
|
10807
|
+
encapsulation: ViewEncapsulation.None
|
|
10808
|
+
},] }
|
|
10809
|
+
];
|
|
10810
|
+
DialogTransactionHeaderDeliveryMethodComponent.propDecorators = {
|
|
10811
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-header-delivery-method",] }]
|
|
10812
|
+
};
|
|
10813
|
+
|
|
10511
10814
|
class TransactionHeaderDeliveryComponent extends TransactionBaseComponent {
|
|
10512
|
-
constructor(iconService, service) {
|
|
10815
|
+
constructor(iconService, service, _dialogService) {
|
|
10513
10816
|
super(service);
|
|
10514
10817
|
this.iconService = iconService;
|
|
10515
10818
|
this.service = service;
|
|
10819
|
+
this._dialogService = _dialogService;
|
|
10516
10820
|
this.icons = Icon;
|
|
10517
10821
|
this.deliveryMethod = new DeliveryMethod();
|
|
10518
10822
|
this.deliveryMethods = [];
|
|
10519
10823
|
this.showDialog = false;
|
|
10520
|
-
this.showDeliveryMethodDialog = false;
|
|
10521
10824
|
}
|
|
10522
10825
|
showClass() {
|
|
10523
10826
|
return true;
|
|
10524
10827
|
}
|
|
10828
|
+
showDeliveryMethodDialog() {
|
|
10829
|
+
this._dialogService.showTransactionHeaderComponent(DialogTransactionHeaderDeliveryMethodComponent, this.transactionInfo);
|
|
10830
|
+
}
|
|
10525
10831
|
transactionSet() {
|
|
10526
10832
|
this.service.getDeliveryMethods().then((methods) => {
|
|
10527
10833
|
this.deliveryMethods = methods;
|
|
@@ -10546,7 +10852,7 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
10546
10852
|
>
|
|
10547
10853
|
</co-transaction-header-block>
|
|
10548
10854
|
<ng-template #headerBlock>
|
|
10549
|
-
<div class="header-delivery-method" (click)="showDeliveryMethodDialog
|
|
10855
|
+
<div class="header-delivery-method" (click)="showDeliveryMethodDialog()">
|
|
10550
10856
|
<co-icon class="header-delivery-truck-icon" [iconData]="iconService.getIcon(icons.TruckFastSolid)"></co-icon>
|
|
10551
10857
|
<span [textContent]="deliveryMethod?.description"></span>
|
|
10552
10858
|
</div>
|
|
@@ -10581,7 +10887,7 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
10581
10887
|
</ng-template>
|
|
10582
10888
|
<co-dialog *ngIf="showDialog" [headerTemplate]="headerTemplate" (closeClick)="showDialog = false">
|
|
10583
10889
|
<ng-template #headerTemplate>
|
|
10584
|
-
<div class="header-title" [textContent]="'DELIVERY_INFORMATION' | localize"></div>
|
|
10890
|
+
<div class="co-transaction-dialog-header-title" [textContent]="'DELIVERY_INFORMATION' | localize"></div>
|
|
10585
10891
|
<co-transaction-header-block
|
|
10586
10892
|
[headerBlockTemplate]="headerBlock"
|
|
10587
10893
|
[firstBlockTemplate]="firstBlock"
|
|
@@ -10598,18 +10904,14 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
10598
10904
|
<co-transaction-header-reference [transactionInfo]="transactionInfo"></co-transaction-header-reference>
|
|
10599
10905
|
<co-transaction-header-relation-reference [transactionInfo]="transactionInfo"></co-transaction-header-relation-reference>
|
|
10600
10906
|
</co-dialog>
|
|
10601
|
-
<co-dialog *ngIf="showDeliveryMethodDialog" (closeClick)="showDeliveryMethodDialog = false">
|
|
10602
|
-
<co-transaction-header-delivery-method
|
|
10603
|
-
[transactionInfo]="transactionInfo"
|
|
10604
|
-
></co-transaction-header-delivery-method>
|
|
10605
|
-
</co-dialog>
|
|
10606
10907
|
`,
|
|
10607
10908
|
encapsulation: ViewEncapsulation.None
|
|
10608
10909
|
},] }
|
|
10609
10910
|
];
|
|
10610
10911
|
TransactionHeaderDeliveryComponent.ctorParameters = () => [
|
|
10611
10912
|
{ type: IconCacheService },
|
|
10612
|
-
{ type: TransactionService }
|
|
10913
|
+
{ type: TransactionService },
|
|
10914
|
+
{ type: DialogService }
|
|
10613
10915
|
];
|
|
10614
10916
|
TransactionHeaderDeliveryComponent.propDecorators = {
|
|
10615
10917
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-delivery",] }]
|
|
@@ -10677,62 +10979,6 @@ TransactionHeaderBlockModule.decorators = [
|
|
|
10677
10979
|
},] }
|
|
10678
10980
|
];
|
|
10679
10981
|
|
|
10680
|
-
class TransactionHeaderBaseComponent {
|
|
10681
|
-
constructor() {
|
|
10682
|
-
this.useTransaction = true;
|
|
10683
|
-
this.valueChange = new EventEmitter();
|
|
10684
|
-
this.readonly = false;
|
|
10685
|
-
this.viewModels = [];
|
|
10686
|
-
this.viewModelsFiltered = [];
|
|
10687
|
-
this._transactionInfo = new TransactionInfo();
|
|
10688
|
-
}
|
|
10689
|
-
set searchText(value) {
|
|
10690
|
-
this._searchText = value;
|
|
10691
|
-
this._doSearch();
|
|
10692
|
-
}
|
|
10693
|
-
get searchText() {
|
|
10694
|
-
return this._searchText;
|
|
10695
|
-
}
|
|
10696
|
-
set transactionInfo(value) {
|
|
10697
|
-
if (value) {
|
|
10698
|
-
this._transactionInfo = value;
|
|
10699
|
-
this.transactionInfoSet();
|
|
10700
|
-
}
|
|
10701
|
-
}
|
|
10702
|
-
get transactionInfo() {
|
|
10703
|
-
return this._transactionInfo;
|
|
10704
|
-
}
|
|
10705
|
-
ngOnInit() {
|
|
10706
|
-
this.viewModelsFiltered = this.viewModels.slice();
|
|
10707
|
-
}
|
|
10708
|
-
// overridden by descendents
|
|
10709
|
-
transactionInfoSet() {
|
|
10710
|
-
}
|
|
10711
|
-
_doSearch() {
|
|
10712
|
-
if (!this.searchText) {
|
|
10713
|
-
this.viewModelsFiltered = this.viewModels.slice();
|
|
10714
|
-
}
|
|
10715
|
-
else {
|
|
10716
|
-
this.viewModelsFiltered = this.viewModels.filter(v => {
|
|
10717
|
-
const textFound = v.text ? v.text.indexOf(this.searchText) > -1 : false;
|
|
10718
|
-
// const codeFound: boolean = (v.value && typeof v.value === 'string') ? v.value.indexOf(this.searchText) > -1 :
|
|
10719
|
-
// (typeof v.value === 'number' ? v.value + "".indexOf(this.searchText) > -1 : false);
|
|
10720
|
-
const codeFound = (v.value && typeof v.value === 'string') ? v.value.indexOf(this.searchText) > -1 : false;
|
|
10721
|
-
return codeFound || textFound;
|
|
10722
|
-
});
|
|
10723
|
-
}
|
|
10724
|
-
}
|
|
10725
|
-
}
|
|
10726
|
-
TransactionHeaderBaseComponent.decorators = [
|
|
10727
|
-
{ type: Directive }
|
|
10728
|
-
];
|
|
10729
|
-
TransactionHeaderBaseComponent.propDecorators = {
|
|
10730
|
-
useTransaction: [{ type: Input }],
|
|
10731
|
-
searchText: [{ type: Input }],
|
|
10732
|
-
transactionInfo: [{ type: Input }],
|
|
10733
|
-
valueChange: [{ type: Output }]
|
|
10734
|
-
};
|
|
10735
|
-
|
|
10736
10982
|
class TransactionHeaderDeliveryDateComponent extends TransactionHeaderBaseComponent {
|
|
10737
10983
|
constructor(_transactionService) {
|
|
10738
10984
|
super();
|
|
@@ -11192,16 +11438,27 @@ class TransactionHeaderDeliveryMethodComponent extends TransactionHeaderBaseComp
|
|
|
11192
11438
|
constructor(_transactionService) {
|
|
11193
11439
|
super();
|
|
11194
11440
|
this._transactionService = _transactionService;
|
|
11441
|
+
this.showAsCarousel = true;
|
|
11195
11442
|
this.deliveryMethodChange = new EventEmitter();
|
|
11196
|
-
this.
|
|
11443
|
+
this.collection = [];
|
|
11197
11444
|
this.selectedIdx = 0;
|
|
11198
11445
|
}
|
|
11199
11446
|
ngOnInit() {
|
|
11447
|
+
this.viewModels.length = 0;
|
|
11200
11448
|
this._transactionService.getDeliveryMethods().then((methods) => {
|
|
11201
|
-
this.
|
|
11449
|
+
this.collection = methods.filter(m => m.webshop);
|
|
11202
11450
|
if (this.transactionInfo.deliveryMethod) {
|
|
11203
|
-
this.selectedIdx = this.
|
|
11451
|
+
this.selectedIdx = this.collection.findIndex(d => d.code === this.transactionInfo.deliveryMethod);
|
|
11204
11452
|
}
|
|
11453
|
+
this.collection.forEach((c, index) => {
|
|
11454
|
+
this.viewModels.push({
|
|
11455
|
+
value: c.code,
|
|
11456
|
+
text: c.description,
|
|
11457
|
+
label: ((c.code !== null && c.code !== undefined) ? c.code + ' ' : '') + ((c.description !== null && c.description !== undefined) ? c.description : ''),
|
|
11458
|
+
checked: this.useTransaction ? this.transactionInfo.deliveryMethod === c.code : index === 0
|
|
11459
|
+
});
|
|
11460
|
+
});
|
|
11461
|
+
super.ngOnInit();
|
|
11205
11462
|
});
|
|
11206
11463
|
}
|
|
11207
11464
|
commitDeliveryMethod(method) {
|
|
@@ -11213,9 +11470,25 @@ class TransactionHeaderDeliveryMethodComponent extends TransactionHeaderBaseComp
|
|
|
11213
11470
|
return true;
|
|
11214
11471
|
});
|
|
11215
11472
|
}
|
|
11473
|
+
handleChecked(event, row) {
|
|
11474
|
+
event.preventDefault();
|
|
11475
|
+
event.stopPropagation();
|
|
11476
|
+
row.checked = true;
|
|
11477
|
+
for (let i = 0; i < this.viewModels.length; i++) {
|
|
11478
|
+
if (this.viewModels[i].value !== row.value) {
|
|
11479
|
+
this.viewModels[i].checked = false;
|
|
11480
|
+
}
|
|
11481
|
+
}
|
|
11482
|
+
if (this.useTransaction) {
|
|
11483
|
+
this.commitDeliveryMethod(this.viewModels.find(v => v.checked).value);
|
|
11484
|
+
}
|
|
11485
|
+
else {
|
|
11486
|
+
this.valueChange.emit(row.value);
|
|
11487
|
+
}
|
|
11488
|
+
}
|
|
11216
11489
|
setIndexDeliveryType(idx) {
|
|
11217
11490
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11218
|
-
const method = this.
|
|
11491
|
+
const method = this.collection[idx];
|
|
11219
11492
|
if (method) {
|
|
11220
11493
|
const success = yield this.commitDeliveryMethod(method.code);
|
|
11221
11494
|
if (success) {
|
|
@@ -11233,15 +11506,27 @@ TransactionHeaderDeliveryMethodComponent.decorators = [
|
|
|
11233
11506
|
{ type: Component, args: [{
|
|
11234
11507
|
selector: "co-transaction-header-delivery-method",
|
|
11235
11508
|
template: `
|
|
11236
|
-
<
|
|
11237
|
-
|
|
11238
|
-
|
|
11239
|
-
|
|
11240
|
-
|
|
11241
|
-
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
|
|
11509
|
+
<ng-container *ngIf="!showAsCarousel">
|
|
11510
|
+
<co-carousel-3d [tileWidth]="200"
|
|
11511
|
+
[tileHeight]="100"
|
|
11512
|
+
[selectedIndex]="selectedIdx"
|
|
11513
|
+
(indexSelected)="setIndexDeliveryType($event)">
|
|
11514
|
+
<co-delivery-type-tile #carouselItem *ngFor="let method of collection; let index = index"
|
|
11515
|
+
[method]="method"
|
|
11516
|
+
[selected]="selectedIdx === index"
|
|
11517
|
+
></co-delivery-type-tile>
|
|
11518
|
+
</co-carousel-3d>
|
|
11519
|
+
</ng-container>
|
|
11520
|
+
<ng-container *ngIf="!showAsCarousel">
|
|
11521
|
+
<div class="co-transaction-default-popup-row" *ngFor="let row of viewModelsFiltered">
|
|
11522
|
+
<co-input-checkbox
|
|
11523
|
+
[readonly]="readonly"
|
|
11524
|
+
[model]="row.checked"
|
|
11525
|
+
[label]="row.label"
|
|
11526
|
+
(click)="handleChecked($event, row)"
|
|
11527
|
+
></co-input-checkbox>
|
|
11528
|
+
</div>
|
|
11529
|
+
</ng-container>
|
|
11245
11530
|
`,
|
|
11246
11531
|
encapsulation: ViewEncapsulation.None
|
|
11247
11532
|
},] }
|
|
@@ -11250,6 +11535,7 @@ TransactionHeaderDeliveryMethodComponent.ctorParameters = () => [
|
|
|
11250
11535
|
{ type: TransactionService }
|
|
11251
11536
|
];
|
|
11252
11537
|
TransactionHeaderDeliveryMethodComponent.propDecorators = {
|
|
11538
|
+
showAsCarousel: [{ type: Input }],
|
|
11253
11539
|
deliveryMethodChange: [{ type: Output }]
|
|
11254
11540
|
};
|
|
11255
11541
|
|
|
@@ -11261,7 +11547,8 @@ TransactionHeaderDeliveryMethodModule.decorators = [
|
|
|
11261
11547
|
CommonModule,
|
|
11262
11548
|
PipeModule,
|
|
11263
11549
|
Carousel3dModule,
|
|
11264
|
-
DeliveryTypeTileModule
|
|
11550
|
+
DeliveryTypeTileModule,
|
|
11551
|
+
InputCheckboxModule
|
|
11265
11552
|
],
|
|
11266
11553
|
declarations: [
|
|
11267
11554
|
TransactionHeaderDeliveryMethodComponent
|
|
@@ -11365,6 +11652,81 @@ TransactionHeaderPreferredDeliveryDateModule.decorators = [
|
|
|
11365
11652
|
},] }
|
|
11366
11653
|
];
|
|
11367
11654
|
|
|
11655
|
+
class DialogHeaderSearchComponent {
|
|
11656
|
+
constructor() {
|
|
11657
|
+
this.search = new EventEmitter();
|
|
11658
|
+
}
|
|
11659
|
+
set title(value) {
|
|
11660
|
+
this._title = value;
|
|
11661
|
+
this.searchPlaceholder = `SEARCH_${this._title}`;
|
|
11662
|
+
}
|
|
11663
|
+
get title() {
|
|
11664
|
+
return this._title;
|
|
11665
|
+
}
|
|
11666
|
+
showClass() {
|
|
11667
|
+
return true;
|
|
11668
|
+
}
|
|
11669
|
+
handleSearch(text) {
|
|
11670
|
+
this.search.emit(text);
|
|
11671
|
+
}
|
|
11672
|
+
}
|
|
11673
|
+
DialogHeaderSearchComponent.decorators = [
|
|
11674
|
+
{ type: Component, args: [{
|
|
11675
|
+
selector: "co-dialog-header-search",
|
|
11676
|
+
template: `
|
|
11677
|
+
<div class="dialog-header-search-wrapper">
|
|
11678
|
+
<div class="dialog-header-search-title" [textContent]="title | localize"></div>
|
|
11679
|
+
<co-input-search [placeholder]="searchPlaceholder | localize" [noIcon]="true" (modelChange)="handleSearch($event)"></co-input-search>
|
|
11680
|
+
</div>
|
|
11681
|
+
`,
|
|
11682
|
+
encapsulation: ViewEncapsulation.None
|
|
11683
|
+
},] }
|
|
11684
|
+
];
|
|
11685
|
+
DialogHeaderSearchComponent.propDecorators = {
|
|
11686
|
+
title: [{ type: Input }],
|
|
11687
|
+
search: [{ type: Output }],
|
|
11688
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-header-search",] }]
|
|
11689
|
+
};
|
|
11690
|
+
|
|
11691
|
+
class DialogHeaderSearchModule {
|
|
11692
|
+
}
|
|
11693
|
+
DialogHeaderSearchModule.decorators = [
|
|
11694
|
+
{ type: NgModule, args: [{
|
|
11695
|
+
imports: [
|
|
11696
|
+
CommonModule,
|
|
11697
|
+
PipeModule,
|
|
11698
|
+
InputSearchModule
|
|
11699
|
+
],
|
|
11700
|
+
declarations: [
|
|
11701
|
+
DialogHeaderSearchComponent
|
|
11702
|
+
],
|
|
11703
|
+
exports: [
|
|
11704
|
+
DialogHeaderSearchComponent
|
|
11705
|
+
]
|
|
11706
|
+
},] }
|
|
11707
|
+
];
|
|
11708
|
+
|
|
11709
|
+
class DialogTransactionHeaderDeliveryMethodModule {
|
|
11710
|
+
}
|
|
11711
|
+
DialogTransactionHeaderDeliveryMethodModule.decorators = [
|
|
11712
|
+
{ type: NgModule, args: [{
|
|
11713
|
+
imports: [
|
|
11714
|
+
CommonModule,
|
|
11715
|
+
CoDialogModule,
|
|
11716
|
+
TransactionHeaderDeliveryMethodModule,
|
|
11717
|
+
DialogHeaderSearchModule,
|
|
11718
|
+
ButtonModule,
|
|
11719
|
+
PipeModule
|
|
11720
|
+
],
|
|
11721
|
+
declarations: [
|
|
11722
|
+
DialogTransactionHeaderDeliveryMethodComponent
|
|
11723
|
+
],
|
|
11724
|
+
exports: [
|
|
11725
|
+
DialogTransactionHeaderDeliveryMethodComponent
|
|
11726
|
+
]
|
|
11727
|
+
},] }
|
|
11728
|
+
];
|
|
11729
|
+
|
|
11368
11730
|
class TransactionHeaderDeliveryModule {
|
|
11369
11731
|
}
|
|
11370
11732
|
TransactionHeaderDeliveryModule.decorators = [
|
|
@@ -11384,7 +11746,8 @@ TransactionHeaderDeliveryModule.decorators = [
|
|
|
11384
11746
|
TransactionHeaderReferenceModule,
|
|
11385
11747
|
TransactionHeaderRelationReferenceModule,
|
|
11386
11748
|
TransactionHeaderDeliveryMethodModule,
|
|
11387
|
-
TransactionHeaderPreferredDeliveryDateModule
|
|
11749
|
+
TransactionHeaderPreferredDeliveryDateModule,
|
|
11750
|
+
DialogTransactionHeaderDeliveryMethodModule
|
|
11388
11751
|
],
|
|
11389
11752
|
declarations: [
|
|
11390
11753
|
TransactionHeaderDeliveryComponent
|
|
@@ -11486,14 +11849,14 @@ class TransactionHeaderDownpaymentPercentageComponent extends TransactionHeaderB
|
|
|
11486
11849
|
}
|
|
11487
11850
|
commitDownpaymentPercentage(amount) {
|
|
11488
11851
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11489
|
-
|
|
11490
|
-
|
|
11491
|
-
|
|
11492
|
-
|
|
11493
|
-
|
|
11494
|
-
|
|
11495
|
-
|
|
11496
|
-
|
|
11852
|
+
if (this.transactionInfo.paymentInfo && this.transactionInfo.paymentInfo.toDownPayPercentage !== amount) {
|
|
11853
|
+
const oldDownPayPercentage = this.transactionInfo.paymentInfo.toDownPayPercentage;
|
|
11854
|
+
const success = yield this._transactionService.updateHeaderTransactionDownpaymentPercentage(this.transactionInfo.uuid, amount);
|
|
11855
|
+
if (!success) {
|
|
11856
|
+
this.input.model = amount;
|
|
11857
|
+
}
|
|
11858
|
+
return success;
|
|
11859
|
+
}
|
|
11497
11860
|
return true;
|
|
11498
11861
|
});
|
|
11499
11862
|
}
|
|
@@ -11505,13 +11868,13 @@ TransactionHeaderDownpaymentPercentageComponent.decorators = [
|
|
|
11505
11868
|
{ type: Component, args: [{
|
|
11506
11869
|
selector: "co-transaction-header-downpayment-percentage",
|
|
11507
11870
|
template: `
|
|
11508
|
-
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="'
|
|
11871
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionInfo.paymentInfo?.toDownPayPercentage | append: '%'"></span>
|
|
11509
11872
|
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
11510
11873
|
[type]="'number'"
|
|
11511
11874
|
[placeholder]="showLabel ? ('DOWNPAYMENT_PERCENTAGE' | localize) : ''"
|
|
11512
11875
|
[showSaveCancel]="!readonly"
|
|
11513
11876
|
[readonly]="readonly"
|
|
11514
|
-
[model]="
|
|
11877
|
+
[model]="transactionInfo.paymentInfo?.toDownPayPercentage"
|
|
11515
11878
|
(blur)="editMode = false"
|
|
11516
11879
|
></co-input-text>
|
|
11517
11880
|
`,
|
|
@@ -11580,14 +11943,14 @@ class TransactionHeaderDownpaymentAmountComponent extends TransactionHeaderBaseC
|
|
|
11580
11943
|
}
|
|
11581
11944
|
commitDownpaymentAmount(amount) {
|
|
11582
11945
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11583
|
-
|
|
11584
|
-
|
|
11585
|
-
|
|
11586
|
-
|
|
11587
|
-
|
|
11588
|
-
|
|
11589
|
-
|
|
11590
|
-
|
|
11946
|
+
if (this.transactionInfo.paymentInfo && this.transactionInfo.paymentInfo.toDownPayAmount !== amount) {
|
|
11947
|
+
const oldDownPayPercentage = this.transactionInfo.paymentInfo.toDownPayAmount;
|
|
11948
|
+
const success = yield this._transactionService.updateHeaderTransactionDownpaymentAmount(this.transactionInfo.uuid, amount);
|
|
11949
|
+
if (!success) {
|
|
11950
|
+
this.input.model = amount;
|
|
11951
|
+
}
|
|
11952
|
+
return success;
|
|
11953
|
+
}
|
|
11591
11954
|
return true;
|
|
11592
11955
|
});
|
|
11593
11956
|
}
|
|
@@ -11599,13 +11962,13 @@ TransactionHeaderDownpaymentAmountComponent.decorators = [
|
|
|
11599
11962
|
{ type: Component, args: [{
|
|
11600
11963
|
selector: "co-transaction-header-downpayment-amount",
|
|
11601
11964
|
template: `
|
|
11602
|
-
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="
|
|
11965
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionInfo.paymentInfo?.toDownPayAmount"></span>
|
|
11603
11966
|
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
11604
11967
|
[type]="'number'"
|
|
11605
|
-
[placeholder]="showLabel ? ('
|
|
11968
|
+
[placeholder]="showLabel ? ('DOWNPAYMENT' | localize) : ''"
|
|
11606
11969
|
[showSaveCancel]="!readonly"
|
|
11607
11970
|
[readonly]="readonly"
|
|
11608
|
-
[model]="
|
|
11971
|
+
[model]="transactionInfo.paymentInfo?.toDownPayAmount"
|
|
11609
11972
|
(blur)="editMode = false"
|
|
11610
11973
|
></co-input-text>
|
|
11611
11974
|
`,
|
|
@@ -11727,9 +12090,10 @@ class TransactionHeaderBranchComponent extends TransactionHeaderBaseComponent {
|
|
|
11727
12090
|
if (branch === undefined || branch === null) {
|
|
11728
12091
|
return;
|
|
11729
12092
|
}
|
|
11730
|
-
|
|
12093
|
+
const branchId = branch instanceof RelationSmallObject ? branch.relationId : branch;
|
|
12094
|
+
if (!this.transactionInfo.branch || this.transactionInfo.branch.relationId !== branchId) {
|
|
11731
12095
|
const oldBranch = this.transactionInfo.branch ? this.transactionInfo.branch.relationId : 0;
|
|
11732
|
-
const success = yield this._transactionService.updateHeaderTransactionBranch(this.transactionInfo.uuid,
|
|
12096
|
+
const success = yield this._transactionService.updateHeaderTransactionBranch(this.transactionInfo.uuid, branchId);
|
|
11733
12097
|
if (!success) {
|
|
11734
12098
|
// if (this.transactionInfo.branch) {
|
|
11735
12099
|
// this.transactionInfo.branch = branch;
|
|
@@ -11777,7 +12141,7 @@ TransactionHeaderBranchComponent.decorators = [
|
|
|
11777
12141
|
</co-drop-down-list>
|
|
11778
12142
|
</ng-container>
|
|
11779
12143
|
<ng-container *ngIf="!simple">
|
|
11780
|
-
<div class="co-transaction-default-
|
|
12144
|
+
<div class="co-transaction-default-popup-row" *ngFor="let row of viewModelsFiltered">
|
|
11781
12145
|
<co-input-checkbox
|
|
11782
12146
|
[model]="row.checked"
|
|
11783
12147
|
[label]="row.label"
|
|
@@ -11945,7 +12309,7 @@ TransactionHeaderMarketingComponent.decorators = [
|
|
|
11945
12309
|
{ type: Component, args: [{
|
|
11946
12310
|
selector: "co-transaction-header-marketing",
|
|
11947
12311
|
template: `
|
|
11948
|
-
<div class="co-transaction-default-
|
|
12312
|
+
<div class="co-transaction-default-popup-row" *ngFor="let row of viewModelsFiltered">
|
|
11949
12313
|
<co-input-checkbox
|
|
11950
12314
|
[model]="row.checked"
|
|
11951
12315
|
[label]="row.label"
|
|
@@ -12141,6 +12505,7 @@ class TransactionComponent {
|
|
|
12141
12505
|
this.activeViewMode = ContentViewMode.List;
|
|
12142
12506
|
this.showDiscountsSidebar = false;
|
|
12143
12507
|
this.showSidePanel = false;
|
|
12508
|
+
this.isSendIconClicked = false;
|
|
12144
12509
|
this._subs = [];
|
|
12145
12510
|
this._transaction = new TransactionInfoResponse();
|
|
12146
12511
|
this._subs.push(this._service.transactionUpdated.subscribe((transaction) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12196,6 +12561,9 @@ class TransactionComponent {
|
|
|
12196
12561
|
handleCloseSidePanel(event) {
|
|
12197
12562
|
this.showSidePanel = false;
|
|
12198
12563
|
}
|
|
12564
|
+
sendIconClicked() {
|
|
12565
|
+
this.isSendIconClicked = true;
|
|
12566
|
+
}
|
|
12199
12567
|
}
|
|
12200
12568
|
TransactionComponent.decorators = [
|
|
12201
12569
|
{ type: Component, args: [{
|
|
@@ -12209,6 +12577,16 @@ TransactionComponent.decorators = [
|
|
|
12209
12577
|
[activeCategory]="activeCategory"
|
|
12210
12578
|
></co-transaction-quick-access>
|
|
12211
12579
|
|
|
12580
|
+
<!-- <div class="icon-wrapper" (click)="sendIconClicked()">-->
|
|
12581
|
+
<!-- <co-icon [iconData]="iconCacheService.getIcon(icons.ShareSolid)"></co-icon>-->
|
|
12582
|
+
<!-- <co-icon [iconData]="iconCacheService.getIcon(icons.AtSolid)" class="icon-method"></co-icon>-->
|
|
12583
|
+
<!-- <span class="icon-text" [textContent]="'SEND' | localize"></span>-->
|
|
12584
|
+
<!-- </div>-->
|
|
12585
|
+
|
|
12586
|
+
<ione-send-method-dialog *ngIf="isSendIconClicked">
|
|
12587
|
+
|
|
12588
|
+
</ione-send-method-dialog>
|
|
12589
|
+
|
|
12212
12590
|
<co-transaction-button-bar *ngIf="showButtonBar" class="transaction-lines-header-item"
|
|
12213
12591
|
[transactionType]="transaction.transactionInfo.transactionKind"
|
|
12214
12592
|
[selectedCategory]="activeCategory"
|
|
@@ -12262,6 +12640,9 @@ TransactionComponent.decorators = [
|
|
|
12262
12640
|
(cancelClick)="handleCloseSidePanel($event)"
|
|
12263
12641
|
></co-transaction-line-side-panel>
|
|
12264
12642
|
`,
|
|
12643
|
+
providers: [
|
|
12644
|
+
TransactionService
|
|
12645
|
+
],
|
|
12265
12646
|
animations: [
|
|
12266
12647
|
trigger("showHideSidePanel", [
|
|
12267
12648
|
state("void", style({ transform: 'translateX(100%)' })),
|
|
@@ -12308,10 +12689,15 @@ TransactionHeaderComponent.decorators = [
|
|
|
12308
12689
|
selector: "co-transaction-header",
|
|
12309
12690
|
template: `
|
|
12310
12691
|
<div class="transaction-header-wrapper">
|
|
12311
|
-
<co-
|
|
12312
|
-
|
|
12313
|
-
|
|
12314
|
-
|
|
12692
|
+
<co-carousel>
|
|
12693
|
+
<co-transaction-header-relation #carouselItem [customerId]="relationId"></co-transaction-header-relation>
|
|
12694
|
+
<div class="transaction-header-divider"> </div>
|
|
12695
|
+
<co-transaction-header-order #carouselItem [transaction]="transaction"></co-transaction-header-order>
|
|
12696
|
+
<div class="transaction-header-divider"> </div>
|
|
12697
|
+
<co-transaction-header-payment #carouselItem [transaction]="transaction"></co-transaction-header-payment>
|
|
12698
|
+
<div class="transaction-header-divider"> </div>
|
|
12699
|
+
<co-transaction-header-delivery #carouselItem [transaction]="transaction"></co-transaction-header-delivery>
|
|
12700
|
+
</co-carousel>
|
|
12315
12701
|
</div>
|
|
12316
12702
|
`,
|
|
12317
12703
|
encapsulation: ViewEncapsulation.None
|
|
@@ -12390,7 +12776,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
12390
12776
|
</ng-template>
|
|
12391
12777
|
<co-dialog *ngIf="showDialog" [headerTemplate]="dialogHeader" (closeClick)="showDialog = false">
|
|
12392
12778
|
<ng-template #dialogHeader>
|
|
12393
|
-
<div class="header-title" [textContent]="'CLIENT_INFORMATION' | localize"></div>
|
|
12779
|
+
<div class="co-transaction-dialog-header-title" [textContent]="'CLIENT_INFORMATION' | localize"></div>
|
|
12394
12780
|
<co-transaction-header-block
|
|
12395
12781
|
[headerBlockTemplate]="headerBlock"
|
|
12396
12782
|
[firstBlockTemplate]="firstBlock"
|
|
@@ -12411,7 +12797,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
12411
12797
|
<div class="section">
|
|
12412
12798
|
<div class="label" [textContent]="'ADDRESSES' | localize"></div>
|
|
12413
12799
|
<co-relation-addresses
|
|
12414
|
-
[addresses]="customer.
|
|
12800
|
+
[addresses]="customer.activeAddresses"
|
|
12415
12801
|
[type]="addressType.DeliveryAddress"
|
|
12416
12802
|
[selectedAddressIdx]="deliveryAddressIdx"
|
|
12417
12803
|
(selectedAddressChange)="setIndexDeliveryAddress($event)"
|
|
@@ -12420,7 +12806,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
12420
12806
|
<co-input-checkbox [(model)]="invoiceAddressSameAsDeliveryAddress" (modelChange)="checkSameAddress($event)" [label]="'SAME_AS_DELIVERY' | localize"></co-input-checkbox>
|
|
12421
12807
|
<div class="overview-delivery-invoice-address" *ngIf="!invoiceAddressSameAsDeliveryAddress" @showHideInvoiceAddress>
|
|
12422
12808
|
<co-relation-addresses
|
|
12423
|
-
[addresses]="customer.
|
|
12809
|
+
[addresses]="customer.activeAddresses"
|
|
12424
12810
|
[type]="addressType.BillingAddress"
|
|
12425
12811
|
[selectedAddressIdx]="invoiceAddressIdx"
|
|
12426
12812
|
(selectedAddressChange)="setIndexInvoiceAddress($event)"
|
|
@@ -12611,6 +12997,7 @@ class TransactionHeaderPaymentComponent extends TransactionBaseComponent {
|
|
|
12611
12997
|
this.iconService = iconService;
|
|
12612
12998
|
this.service = service;
|
|
12613
12999
|
this.icons = Icon;
|
|
13000
|
+
this.transactionKind = TransactionKind;
|
|
12614
13001
|
this.showDialog = false;
|
|
12615
13002
|
this.showPaymentDialog = false;
|
|
12616
13003
|
}
|
|
@@ -12635,7 +13022,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
12635
13022
|
</co-transaction-header-block>
|
|
12636
13023
|
<ng-template #headerBlock>
|
|
12637
13024
|
<div class="header-block-label" [textContent]="'BALANCE' | localize"></div>
|
|
12638
|
-
<div class="header-block-balance" (click)="openPayment()">
|
|
13025
|
+
<div class="header-block-balance" *ngIf="transactionInfo.transactionKind !== transactionKind.PurchaseOrder" (click)="openPayment()">
|
|
12639
13026
|
<co-icon class="payment-icon" [iconData]="iconService.getIcon(icons.CreditCardSolid)"></co-icon>
|
|
12640
13027
|
<span class="payment-paid" [textContent]="200 | priceDisplay"></span>
|
|
12641
13028
|
<span class="payment-divider" [textContent]="'/'"></span>
|
|
@@ -12660,7 +13047,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
12660
13047
|
</ng-template>
|
|
12661
13048
|
<co-dialog class="dialog" [headerTemplate]="headerTemplate" *ngIf="showDialog" (closeClick)="showDialog = false">
|
|
12662
13049
|
<ng-template #headerTemplate>
|
|
12663
|
-
<div class="header-title" [textContent]="'PAYMENT_INFORMATION' | localize"></div>
|
|
13050
|
+
<div class="co-transaction-dialog-header-title" [textContent]="'PAYMENT_INFORMATION' | localize"></div>
|
|
12664
13051
|
<co-transaction-header-block
|
|
12665
13052
|
[headerBlockTemplate]="headerBlock"
|
|
12666
13053
|
[firstBlockTemplate]="firstBlock"
|
|
@@ -12731,7 +13118,8 @@ TransactionHeaderModule.decorators = [
|
|
|
12731
13118
|
TransactionHeaderRelationModule,
|
|
12732
13119
|
TransactionHeaderDeliveryModule,
|
|
12733
13120
|
TransactionHeaderOrderModule,
|
|
12734
|
-
TransactionHeaderPaymentModule
|
|
13121
|
+
TransactionHeaderPaymentModule,
|
|
13122
|
+
CarouselModule
|
|
12735
13123
|
],
|
|
12736
13124
|
declarations: [
|
|
12737
13125
|
TransactionHeaderComponent
|
|
@@ -13105,31 +13493,6 @@ TransactionLineSidePanelDefaultComponent.decorators = [
|
|
|
13105
13493
|
<co-transaction-line-quantity class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-quantity>
|
|
13106
13494
|
<co-transaction-line-price class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-price>
|
|
13107
13495
|
</div>
|
|
13108
|
-
<div class="side-panel-input-row">
|
|
13109
|
-
<co-transaction-line-vat class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-vat>
|
|
13110
|
-
<co-transaction-line-price-list class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-price-list>
|
|
13111
|
-
</div>
|
|
13112
|
-
</div>
|
|
13113
|
-
</co-collapsible>
|
|
13114
|
-
<co-collapsible
|
|
13115
|
-
[iconData]="iconService.getIcon(icons.TriangleUp)"
|
|
13116
|
-
[headerTitle]="'DISCOUNTS' | localize"
|
|
13117
|
-
[expandButtonLast]="true"
|
|
13118
|
-
[expanded]="true"
|
|
13119
|
-
>
|
|
13120
|
-
<div class="collapsible-content-wrapper">
|
|
13121
|
-
<div class="side-panel-input-row">
|
|
13122
|
-
<co-transaction-line-line-discount class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-line-discount>
|
|
13123
|
-
<co-transaction-line-discount-amount class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-discount-amount>
|
|
13124
|
-
</div>
|
|
13125
|
-
<div class="side-panel-input-row">
|
|
13126
|
-
<co-transaction-line-quantum-discount class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-quantum-discount>
|
|
13127
|
-
<co-transaction-line-special-discount class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-special-discount>
|
|
13128
|
-
</div>
|
|
13129
|
-
<div class="side-panel-input-row">
|
|
13130
|
-
<co-input-text class="side-panel-input" [placeholder]="'SURCHARGE_AMOUNT' | localize" [model]="transactionLine.surchargeAmount" [readonly]="readonly"></co-input-text>
|
|
13131
|
-
<co-input-text class="side-panel-input" [placeholder]="'BUSINESS_RULE_DISCOUNT' | localize" [model]="'NIET_GEIMPLEMENTEERD'" [readonly]="readonly"></co-input-text>
|
|
13132
|
-
</div>
|
|
13133
13496
|
</div>
|
|
13134
13497
|
</co-collapsible>
|
|
13135
13498
|
<co-collapsible
|
|
@@ -13139,14 +13502,6 @@ TransactionLineSidePanelDefaultComponent.decorators = [
|
|
|
13139
13502
|
[expanded]="true"
|
|
13140
13503
|
>
|
|
13141
13504
|
<div class="collapsible-content-wrapper">
|
|
13142
|
-
<div class="side-panel-input-row">
|
|
13143
|
-
<co-transaction-line-commission-code class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-commission-code>
|
|
13144
|
-
<co-transaction-line-warehouse class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-warehouse>
|
|
13145
|
-
</div>
|
|
13146
|
-
<div class="side-panel-input-row">
|
|
13147
|
-
<co-transaction-line-delivery-method class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-delivery-method>
|
|
13148
|
-
<co-transaction-line-delivery-date class="side-panel-input" [transactionLine]="transactionLine" [transactionInfo]="transactionInfo"></co-transaction-line-delivery-date>
|
|
13149
|
-
</div>
|
|
13150
13505
|
<div class="side-panel-input-row">
|
|
13151
13506
|
<co-input-text class="side-panel-input" [placeholder]="'ASSEMBLY_TIME' | localize" [readonly]="readonly"></co-input-text>
|
|
13152
13507
|
<co-input-text class="side-panel-input" [placeholder]="'ASSEMBLY_COSTS' | localize" [type]="'number'" [model]="transactionLine.assemblyCost" [readonly]="readonly"></co-input-text>
|
|
@@ -13212,7 +13567,7 @@ class TransactionLineQuantityComponent extends TransactionLineBaseComponent {
|
|
|
13212
13567
|
super();
|
|
13213
13568
|
this._transactionService = _transactionService;
|
|
13214
13569
|
}
|
|
13215
|
-
|
|
13570
|
+
commit(quantity) {
|
|
13216
13571
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13217
13572
|
if (this.transactionLine.amount !== quantity) {
|
|
13218
13573
|
const oldAmount = this.transactionLine.amount;
|
|
@@ -13265,10 +13620,10 @@ class TransactionLineLineDiscountComponent extends TransactionLineBaseComponent
|
|
|
13265
13620
|
set child(content) {
|
|
13266
13621
|
if (content) {
|
|
13267
13622
|
this.input = content;
|
|
13268
|
-
this.input.commit = (discount) => this.
|
|
13623
|
+
this.input.commit = (discount) => this.commit(discount);
|
|
13269
13624
|
}
|
|
13270
13625
|
}
|
|
13271
|
-
|
|
13626
|
+
commit(discount) {
|
|
13272
13627
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13273
13628
|
if (this.transactionLine.lineDiscount !== discount) {
|
|
13274
13629
|
const oldDiscount = this.transactionLine.lineDiscount;
|
|
@@ -13326,24 +13681,17 @@ class TransactionLineVatComponent extends TransactionLineBaseComponent {
|
|
|
13326
13681
|
constructor(_transactionService) {
|
|
13327
13682
|
super();
|
|
13328
13683
|
this._transactionService = _transactionService;
|
|
13329
|
-
this.
|
|
13684
|
+
this.codeField = 'vatId';
|
|
13685
|
+
this.checkField = 'vatId';
|
|
13686
|
+
this.propsForLabel = ['vatCode', 'description'];
|
|
13330
13687
|
}
|
|
13331
13688
|
ngOnInit() {
|
|
13332
13689
|
this.viewModels.length = 0;
|
|
13333
13690
|
this._transactionService.getVatLists().then((vatList) => {
|
|
13334
13691
|
this.collection = vatList.slice();
|
|
13335
|
-
this.collection.forEach((d, index) => {
|
|
13336
|
-
this.viewModels.push({
|
|
13337
|
-
value: d.vatId,
|
|
13338
|
-
text: d.description,
|
|
13339
|
-
label: ((d.vatId !== null && d.vatId !== undefined) ? d.vatId + ' ' : '') + ((d.description !== null && d.description !== undefined) ? d.description : ''),
|
|
13340
|
-
checked: this.useTransactionLine ? this.transactionLine.vatId === d.vatId : index === 0
|
|
13341
|
-
});
|
|
13342
|
-
});
|
|
13343
|
-
super.ngOnInit();
|
|
13344
13692
|
});
|
|
13345
13693
|
}
|
|
13346
|
-
|
|
13694
|
+
commit(id) {
|
|
13347
13695
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13348
13696
|
if (this.transactionLine.vatId !== id) {
|
|
13349
13697
|
const oldId = this.transactionLine.vatId;
|
|
@@ -13356,39 +13704,81 @@ class TransactionLineVatComponent extends TransactionLineBaseComponent {
|
|
|
13356
13704
|
return true;
|
|
13357
13705
|
});
|
|
13358
13706
|
}
|
|
13359
|
-
|
|
13360
|
-
|
|
13361
|
-
|
|
13362
|
-
|
|
13363
|
-
|
|
13364
|
-
|
|
13365
|
-
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
|
|
13370
|
-
|
|
13371
|
-
|
|
13372
|
-
|
|
13373
|
-
|
|
13707
|
+
}
|
|
13708
|
+
TransactionLineVatComponent.decorators = [
|
|
13709
|
+
{ type: Component, args: [{
|
|
13710
|
+
selector: "co-transaction-line-vat",
|
|
13711
|
+
template: `
|
|
13712
|
+
<co-transaction-line-checkbox-list
|
|
13713
|
+
[collection]="viewModelsFiltered"
|
|
13714
|
+
(checked)="handleChecked($event)"
|
|
13715
|
+
></co-transaction-line-checkbox-list>
|
|
13716
|
+
`,
|
|
13717
|
+
encapsulation: ViewEncapsulation.None
|
|
13718
|
+
},] }
|
|
13719
|
+
];
|
|
13720
|
+
TransactionLineVatComponent.ctorParameters = () => [
|
|
13721
|
+
{ type: TransactionService }
|
|
13722
|
+
];
|
|
13723
|
+
|
|
13724
|
+
class TransactionLineCheckboxListComponent {
|
|
13725
|
+
constructor() {
|
|
13726
|
+
this.collection = [];
|
|
13727
|
+
this.checked = new EventEmitter();
|
|
13728
|
+
this.showClass = true;
|
|
13729
|
+
}
|
|
13730
|
+
handleChecked(event, row) {
|
|
13731
|
+
event.preventDefault();
|
|
13732
|
+
event.stopPropagation();
|
|
13733
|
+
this.checked.emit(row);
|
|
13734
|
+
}
|
|
13735
|
+
_initObserver() {
|
|
13736
|
+
}
|
|
13737
|
+
_handleVisibility() {
|
|
13374
13738
|
}
|
|
13375
13739
|
}
|
|
13376
|
-
|
|
13740
|
+
TransactionLineCheckboxListComponent.decorators = [
|
|
13377
13741
|
{ type: Component, args: [{
|
|
13378
|
-
selector: "co-transaction-line-
|
|
13742
|
+
selector: "co-transaction-line-checkbox-list",
|
|
13379
13743
|
template: `
|
|
13380
|
-
<
|
|
13381
|
-
<
|
|
13382
|
-
|
|
13383
|
-
|
|
13384
|
-
|
|
13385
|
-
|
|
13744
|
+
<table lazyRenderMaster>
|
|
13745
|
+
<tr *ngFor="let row of collection" lazyRender #lazyRender="lazyRender">
|
|
13746
|
+
<td>
|
|
13747
|
+
<co-input-checkbox *ngIf="lazyRender.isShowing"
|
|
13748
|
+
[model]="row.checked"
|
|
13749
|
+
(click)="handleChecked($event, row)"
|
|
13750
|
+
></co-input-checkbox>
|
|
13751
|
+
</td>
|
|
13752
|
+
<td *ngFor="let label of row.propsForLabel" [innerHTML]="label"></td>
|
|
13753
|
+
</tr>
|
|
13754
|
+
</table>
|
|
13386
13755
|
`,
|
|
13387
13756
|
encapsulation: ViewEncapsulation.None
|
|
13388
13757
|
},] }
|
|
13389
13758
|
];
|
|
13390
|
-
|
|
13391
|
-
{ type:
|
|
13759
|
+
TransactionLineCheckboxListComponent.propDecorators = {
|
|
13760
|
+
collection: [{ type: Input }],
|
|
13761
|
+
checked: [{ type: Output }],
|
|
13762
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-checkbox-list",] }]
|
|
13763
|
+
};
|
|
13764
|
+
|
|
13765
|
+
class TransactionLineCheckboxModule {
|
|
13766
|
+
}
|
|
13767
|
+
TransactionLineCheckboxModule.decorators = [
|
|
13768
|
+
{ type: NgModule, args: [{
|
|
13769
|
+
imports: [
|
|
13770
|
+
CommonModule,
|
|
13771
|
+
InputCheckboxModule,
|
|
13772
|
+
ScrollingModule,
|
|
13773
|
+
CoreModule
|
|
13774
|
+
],
|
|
13775
|
+
declarations: [
|
|
13776
|
+
TransactionLineCheckboxListComponent
|
|
13777
|
+
],
|
|
13778
|
+
exports: [
|
|
13779
|
+
TransactionLineCheckboxListComponent
|
|
13780
|
+
]
|
|
13781
|
+
},] }
|
|
13392
13782
|
];
|
|
13393
13783
|
|
|
13394
13784
|
class TransactionLineVatModule {
|
|
@@ -13399,7 +13789,9 @@ TransactionLineVatModule.decorators = [
|
|
|
13399
13789
|
CommonModule,
|
|
13400
13790
|
PipeModule,
|
|
13401
13791
|
InputComboBoxModule,
|
|
13402
|
-
InputCheckboxModule
|
|
13792
|
+
InputCheckboxModule,
|
|
13793
|
+
ScrollingModule,
|
|
13794
|
+
TransactionLineCheckboxModule
|
|
13403
13795
|
],
|
|
13404
13796
|
declarations: [
|
|
13405
13797
|
TransactionLineVatComponent
|
|
@@ -13414,15 +13806,17 @@ class TransactionLinePriceListComponent extends TransactionLineBaseComponent {
|
|
|
13414
13806
|
constructor(_transactionService) {
|
|
13415
13807
|
super();
|
|
13416
13808
|
this._transactionService = _transactionService;
|
|
13417
|
-
this.
|
|
13418
|
-
this.
|
|
13809
|
+
this.codeField = 'code';
|
|
13810
|
+
this.checkField = 'priceListCode';
|
|
13811
|
+
this.propsForLabel = ['code', 'description'];
|
|
13419
13812
|
}
|
|
13420
13813
|
ngOnInit() {
|
|
13814
|
+
this.viewModels.length = 0;
|
|
13421
13815
|
this._transactionService.getPriceLists().then((list) => {
|
|
13422
|
-
this.
|
|
13816
|
+
this.collection = list.slice();
|
|
13423
13817
|
});
|
|
13424
13818
|
}
|
|
13425
|
-
|
|
13819
|
+
commit(priceList) {
|
|
13426
13820
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13427
13821
|
if (this.transactionLine.priceListCode !== priceList) {
|
|
13428
13822
|
const oldPriceList = this.transactionLine.priceListCode;
|
|
@@ -13435,19 +13829,18 @@ class TransactionLinePriceListComponent extends TransactionLineBaseComponent {
|
|
|
13435
13829
|
return true;
|
|
13436
13830
|
});
|
|
13437
13831
|
}
|
|
13832
|
+
transactionLineSet() {
|
|
13833
|
+
this.readonly = this.readonly || !this.transactionInfo.transactionDefinitive;
|
|
13834
|
+
}
|
|
13438
13835
|
}
|
|
13439
13836
|
TransactionLinePriceListComponent.decorators = [
|
|
13440
13837
|
{ type: Component, args: [{
|
|
13441
13838
|
selector: "co-transaction-line-price-list",
|
|
13442
13839
|
template: `
|
|
13443
|
-
<co-
|
|
13444
|
-
[collection]="
|
|
13445
|
-
|
|
13446
|
-
|
|
13447
|
-
[readonly]="readonly"
|
|
13448
|
-
[model]="transactionLine.priceListCode"
|
|
13449
|
-
(modelChange)="commitPriceList($event)"
|
|
13450
|
-
></co-input-combo-box>
|
|
13840
|
+
<co-transaction-line-checkbox-list
|
|
13841
|
+
[collection]="viewModelsFiltered"
|
|
13842
|
+
(checked)="handleChecked($event)"
|
|
13843
|
+
></co-transaction-line-checkbox-list>
|
|
13451
13844
|
`,
|
|
13452
13845
|
encapsulation: ViewEncapsulation.None
|
|
13453
13846
|
},] }
|
|
@@ -13463,7 +13856,9 @@ TransactionLinePriceListModule.decorators = [
|
|
|
13463
13856
|
imports: [
|
|
13464
13857
|
CommonModule,
|
|
13465
13858
|
PipeModule,
|
|
13466
|
-
InputComboBoxModule
|
|
13859
|
+
InputComboBoxModule,
|
|
13860
|
+
InputCheckboxModule,
|
|
13861
|
+
TransactionLineCheckboxModule
|
|
13467
13862
|
],
|
|
13468
13863
|
declarations: [
|
|
13469
13864
|
TransactionLinePriceListComponent
|
|
@@ -13478,24 +13873,17 @@ class TransactionLineDeliveryMethodComponent extends TransactionLineBaseComponen
|
|
|
13478
13873
|
constructor(_transactionService) {
|
|
13479
13874
|
super();
|
|
13480
13875
|
this._transactionService = _transactionService;
|
|
13481
|
-
this.
|
|
13876
|
+
this.codeField = 'code';
|
|
13877
|
+
this.checkField = 'deliveryMethodCode';
|
|
13878
|
+
this.propsForLabel = ['code', 'description'];
|
|
13482
13879
|
}
|
|
13483
13880
|
ngOnInit() {
|
|
13484
13881
|
this.viewModels.length = 0;
|
|
13485
13882
|
this._transactionService.getDeliveryMethods().then((methods) => {
|
|
13486
|
-
this.
|
|
13487
|
-
this.data.forEach((d, index) => {
|
|
13488
|
-
this.viewModels.push({
|
|
13489
|
-
value: d.code,
|
|
13490
|
-
text: d.description,
|
|
13491
|
-
label: ((d.code !== null && d.code !== undefined) ? d.code + ' ' : '') + ((d.description !== null && d.description !== undefined) ? d.description : ''),
|
|
13492
|
-
checked: this.useTransactionLine ? this.transactionLine.deliveryMethodCode === d.code : index === 0
|
|
13493
|
-
});
|
|
13494
|
-
});
|
|
13495
|
-
super.ngOnInit();
|
|
13883
|
+
this.collection = methods.slice();
|
|
13496
13884
|
});
|
|
13497
13885
|
}
|
|
13498
|
-
|
|
13886
|
+
commit(method) {
|
|
13499
13887
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13500
13888
|
if (this.transactionLine.deliveryMethodCode !== method) {
|
|
13501
13889
|
const oldMethod = this.transactionLine.deliveryMethodCode;
|
|
@@ -13508,22 +13896,6 @@ class TransactionLineDeliveryMethodComponent extends TransactionLineBaseComponen
|
|
|
13508
13896
|
return true;
|
|
13509
13897
|
});
|
|
13510
13898
|
}
|
|
13511
|
-
handleChecked(event, row) {
|
|
13512
|
-
event.preventDefault();
|
|
13513
|
-
event.stopPropagation();
|
|
13514
|
-
row.checked = true;
|
|
13515
|
-
for (let i = 0; i < this.viewModels.length; i++) {
|
|
13516
|
-
if (this.viewModels[i].value !== row.value) {
|
|
13517
|
-
this.viewModels[i].checked = false;
|
|
13518
|
-
}
|
|
13519
|
-
}
|
|
13520
|
-
if (this.useTransactionLine) {
|
|
13521
|
-
this.commitDeliveryMethod(this.viewModels.find(v => v.checked).value);
|
|
13522
|
-
}
|
|
13523
|
-
else {
|
|
13524
|
-
this.valueChange.emit(row.value);
|
|
13525
|
-
}
|
|
13526
|
-
}
|
|
13527
13899
|
transactionLineSet() {
|
|
13528
13900
|
this.readonly = this.readonly || !this.transactionInfo.transactionDefinitive;
|
|
13529
13901
|
}
|
|
@@ -13532,23 +13904,10 @@ TransactionLineDeliveryMethodComponent.decorators = [
|
|
|
13532
13904
|
{ type: Component, args: [{
|
|
13533
13905
|
selector: "co-transaction-line-delivery-method",
|
|
13534
13906
|
template: `
|
|
13535
|
-
<
|
|
13536
|
-
|
|
13537
|
-
|
|
13538
|
-
|
|
13539
|
-
(click)="handleChecked($event, row)"
|
|
13540
|
-
></co-input-checkbox>
|
|
13541
|
-
</div>
|
|
13542
|
-
<!--
|
|
13543
|
-
|
|
13544
|
-
<co-input-combo-box
|
|
13545
|
-
[collection]="data"
|
|
13546
|
-
[placeholder]="'DELIVERY_METHOD' | localize"
|
|
13547
|
-
[fields]="fields"
|
|
13548
|
-
[readonly]="readonly"
|
|
13549
|
-
(modelChange)="commitDeliveryMethod($event)"
|
|
13550
|
-
></co-input-combo-box>
|
|
13551
|
-
-->
|
|
13907
|
+
<co-transaction-line-checkbox-list
|
|
13908
|
+
[collection]="viewModelsFiltered"
|
|
13909
|
+
(checked)="handleChecked($event)"
|
|
13910
|
+
></co-transaction-line-checkbox-list>
|
|
13552
13911
|
`,
|
|
13553
13912
|
encapsulation: ViewEncapsulation.None
|
|
13554
13913
|
},] }
|
|
@@ -13565,7 +13924,8 @@ TransactionLineDeliveryMethodModule.decorators = [
|
|
|
13565
13924
|
CommonModule,
|
|
13566
13925
|
PipeModule,
|
|
13567
13926
|
InputComboBoxModule,
|
|
13568
|
-
InputCheckboxModule
|
|
13927
|
+
InputCheckboxModule,
|
|
13928
|
+
TransactionLineCheckboxModule
|
|
13569
13929
|
],
|
|
13570
13930
|
declarations: [
|
|
13571
13931
|
TransactionLineDeliveryMethodComponent
|
|
@@ -13581,7 +13941,7 @@ class TransactionLineDeliveryDateComponent extends TransactionLineBaseComponent
|
|
|
13581
13941
|
super();
|
|
13582
13942
|
this._transactionService = _transactionService;
|
|
13583
13943
|
}
|
|
13584
|
-
|
|
13944
|
+
commit(date) {
|
|
13585
13945
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13586
13946
|
if (this.transactionLine.deliveryDate !== date) {
|
|
13587
13947
|
const oldDate = this.transactionLine.deliveryDate;
|
|
@@ -13606,7 +13966,7 @@ TransactionLineDeliveryDateComponent.decorators = [
|
|
|
13606
13966
|
[placeholder]="'DELIVERY_DATE' | localize"
|
|
13607
13967
|
[model]="transactionLine.deliveryDate"
|
|
13608
13968
|
[readonly]="readonly"
|
|
13609
|
-
(modelChange)="
|
|
13969
|
+
(modelChange)="commit($event)"
|
|
13610
13970
|
></co-input-date>
|
|
13611
13971
|
`,
|
|
13612
13972
|
encapsulation: ViewEncapsulation.None
|
|
@@ -13642,10 +14002,10 @@ class TransactionLineReferenceComponent extends TransactionLineBaseComponent {
|
|
|
13642
14002
|
set child(content) {
|
|
13643
14003
|
if (content) {
|
|
13644
14004
|
this.input = content;
|
|
13645
|
-
this.input.commit = (reference) => this.
|
|
14005
|
+
this.input.commit = (reference) => this.commit(reference);
|
|
13646
14006
|
}
|
|
13647
14007
|
}
|
|
13648
|
-
|
|
14008
|
+
commit(reference) {
|
|
13649
14009
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13650
14010
|
if (this.transactionLine.reference !== reference) {
|
|
13651
14011
|
const oldRef = this.transactionLine.reference;
|
|
@@ -13702,23 +14062,17 @@ class TransactionLineCommissionCodeComponent extends TransactionLineBaseComponen
|
|
|
13702
14062
|
constructor(_transactionService) {
|
|
13703
14063
|
super();
|
|
13704
14064
|
this._transactionService = _transactionService;
|
|
13705
|
-
this.
|
|
14065
|
+
this.codeField = 'code';
|
|
14066
|
+
this.checkField = 'commissionCode';
|
|
14067
|
+
this.propsForLabel = ['code', 'description'];
|
|
13706
14068
|
}
|
|
13707
14069
|
ngOnInit() {
|
|
13708
14070
|
this.viewModels.length = 0;
|
|
13709
14071
|
this._transactionService.getCommissionCodes("NL").then((codes) => {
|
|
13710
|
-
this.
|
|
13711
|
-
this.data.forEach((d, index) => {
|
|
13712
|
-
this.viewModels.push({
|
|
13713
|
-
value: d.code,
|
|
13714
|
-
text: d.description,
|
|
13715
|
-
label: ((d.code !== null && d.code !== undefined) ? d.code + ' ' : '') + ((d.description !== null && d.description !== undefined) ? d.description : ''),
|
|
13716
|
-
checked: this.useTransactionLine ? this.transactionLine.commissionCode === d.code : index === 0
|
|
13717
|
-
});
|
|
13718
|
-
});
|
|
14072
|
+
this.collection = codes.slice();
|
|
13719
14073
|
});
|
|
13720
14074
|
}
|
|
13721
|
-
|
|
14075
|
+
commit(code) {
|
|
13722
14076
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13723
14077
|
if (this.transactionLine.commissionCode !== code) {
|
|
13724
14078
|
const oldCode = this.transactionLine.commissionCode;
|
|
@@ -13731,22 +14085,6 @@ class TransactionLineCommissionCodeComponent extends TransactionLineBaseComponen
|
|
|
13731
14085
|
return true;
|
|
13732
14086
|
});
|
|
13733
14087
|
}
|
|
13734
|
-
handleChecked(event, row) {
|
|
13735
|
-
event.preventDefault();
|
|
13736
|
-
event.stopPropagation();
|
|
13737
|
-
row.checked = true;
|
|
13738
|
-
for (let i = 0; i < this.viewModels.length; i++) {
|
|
13739
|
-
if (this.viewModels[i].value !== row.value) {
|
|
13740
|
-
this.viewModels[i].checked = false;
|
|
13741
|
-
}
|
|
13742
|
-
}
|
|
13743
|
-
if (this.useTransactionLine) {
|
|
13744
|
-
this.commitCommissionCode(this.viewModels.find(v => v.checked).value);
|
|
13745
|
-
}
|
|
13746
|
-
else {
|
|
13747
|
-
this.valueChange.emit(row.value);
|
|
13748
|
-
}
|
|
13749
|
-
}
|
|
13750
14088
|
transactionLineSet() {
|
|
13751
14089
|
this.readonly = this.readonly || !this.transactionLine.articleFreeCommissionCode;
|
|
13752
14090
|
}
|
|
@@ -13755,13 +14093,10 @@ TransactionLineCommissionCodeComponent.decorators = [
|
|
|
13755
14093
|
{ type: Component, args: [{
|
|
13756
14094
|
selector: "co-transaction-line-commission-code",
|
|
13757
14095
|
template: `
|
|
13758
|
-
<
|
|
13759
|
-
|
|
13760
|
-
|
|
13761
|
-
|
|
13762
|
-
(click)="handleChecked($event, row)"
|
|
13763
|
-
></co-input-checkbox>
|
|
13764
|
-
</div>
|
|
14096
|
+
<co-transaction-line-checkbox-list
|
|
14097
|
+
[collection]="viewModels"
|
|
14098
|
+
(checked)="handleChecked($event)"
|
|
14099
|
+
></co-transaction-line-checkbox-list>
|
|
13765
14100
|
`,
|
|
13766
14101
|
encapsulation: ViewEncapsulation.None
|
|
13767
14102
|
},] }
|
|
@@ -13778,7 +14113,8 @@ TransactionLineCommissionCodeModule.decorators = [
|
|
|
13778
14113
|
CommonModule,
|
|
13779
14114
|
PipeModule,
|
|
13780
14115
|
InputComboBoxModule,
|
|
13781
|
-
InputCheckboxModule
|
|
14116
|
+
InputCheckboxModule,
|
|
14117
|
+
TransactionLineCheckboxModule
|
|
13782
14118
|
],
|
|
13783
14119
|
declarations: [
|
|
13784
14120
|
TransactionLineCommissionCodeComponent
|
|
@@ -13793,24 +14129,17 @@ class TransactionLineWarehouseComponent extends TransactionLineBaseComponent {
|
|
|
13793
14129
|
constructor(_transactionService) {
|
|
13794
14130
|
super();
|
|
13795
14131
|
this._transactionService = _transactionService;
|
|
13796
|
-
this.
|
|
14132
|
+
this.codeField = 'warehouseNo';
|
|
14133
|
+
this.checkField = 'warehouseNumber';
|
|
14134
|
+
this.propsForLabel = ['warehouseNo', 'description'];
|
|
13797
14135
|
}
|
|
13798
14136
|
ngOnInit() {
|
|
13799
14137
|
this.viewModels.length = 0;
|
|
13800
14138
|
this._transactionService.getWarehouses(this.branch).then((warehouses) => {
|
|
13801
14139
|
this.collection = warehouses.slice();
|
|
13802
|
-
this.collection.forEach((d, index) => {
|
|
13803
|
-
this.viewModels.push({
|
|
13804
|
-
value: d.warehouseNo,
|
|
13805
|
-
text: d.description,
|
|
13806
|
-
label: ((d.warehouseNo !== null && d.warehouseNo !== undefined) ? d.warehouseNo + ' ' : '') + ((d.description !== null && d.description !== undefined) ? d.description : ''),
|
|
13807
|
-
checked: this.useTransactionLine ? this.transactionLine.warehouseNumber === d.warehouseNo : index === 0
|
|
13808
|
-
});
|
|
13809
|
-
});
|
|
13810
|
-
super.ngOnInit();
|
|
13811
14140
|
});
|
|
13812
14141
|
}
|
|
13813
|
-
|
|
14142
|
+
commit(warehouse) {
|
|
13814
14143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13815
14144
|
if (this.transactionLine.warehouseNumber !== warehouse) {
|
|
13816
14145
|
const oldWarehouse = this.transactionLine.warehouseNumber;
|
|
@@ -13823,33 +14152,15 @@ class TransactionLineWarehouseComponent extends TransactionLineBaseComponent {
|
|
|
13823
14152
|
return true;
|
|
13824
14153
|
});
|
|
13825
14154
|
}
|
|
13826
|
-
handleChecked(event, row) {
|
|
13827
|
-
event.preventDefault();
|
|
13828
|
-
event.stopPropagation();
|
|
13829
|
-
row.checked = true;
|
|
13830
|
-
for (let i = 0; i < this.viewModels.length; i++) {
|
|
13831
|
-
if (this.viewModels[i].value !== row.value) {
|
|
13832
|
-
this.viewModels[i].checked = false;
|
|
13833
|
-
}
|
|
13834
|
-
}
|
|
13835
|
-
if (this.useTransactionLine) {
|
|
13836
|
-
this.commitWarehouse(this.viewModels.find(v => v.checked).value);
|
|
13837
|
-
}
|
|
13838
|
-
else {
|
|
13839
|
-
this.valueChange.emit(row.value);
|
|
13840
|
-
}
|
|
13841
|
-
}
|
|
13842
14155
|
}
|
|
13843
14156
|
TransactionLineWarehouseComponent.decorators = [
|
|
13844
14157
|
{ type: Component, args: [{
|
|
13845
14158
|
selector: "co-transaction-line-warehouse",
|
|
13846
14159
|
template: `
|
|
13847
|
-
<
|
|
13848
|
-
|
|
13849
|
-
|
|
13850
|
-
|
|
13851
|
-
(click)="handleChecked($event, row)"></co-input-checkbox>
|
|
13852
|
-
</div>
|
|
14160
|
+
<co-transaction-line-checkbox-list
|
|
14161
|
+
[collection]="viewModelsFiltered"
|
|
14162
|
+
(checked)="handleChecked($event)"
|
|
14163
|
+
></co-transaction-line-checkbox-list>
|
|
13853
14164
|
`,
|
|
13854
14165
|
encapsulation: ViewEncapsulation.None
|
|
13855
14166
|
},] }
|
|
@@ -13870,7 +14181,8 @@ TransactionLineWarehouseModule.decorators = [
|
|
|
13870
14181
|
InputTextModule,
|
|
13871
14182
|
PipeModule,
|
|
13872
14183
|
InputComboBoxModule,
|
|
13873
|
-
InputCheckboxModule
|
|
14184
|
+
InputCheckboxModule,
|
|
14185
|
+
TransactionLineCheckboxModule
|
|
13874
14186
|
],
|
|
13875
14187
|
declarations: [
|
|
13876
14188
|
TransactionLineWarehouseComponent
|
|
@@ -13889,10 +14201,10 @@ class TransactionLineDiscountAmountComponent extends TransactionLineBaseComponen
|
|
|
13889
14201
|
set child(content) {
|
|
13890
14202
|
if (content) {
|
|
13891
14203
|
this.input = content;
|
|
13892
|
-
this.input.commit = (discount) => this.
|
|
14204
|
+
this.input.commit = (discount) => this.commit(discount);
|
|
13893
14205
|
}
|
|
13894
14206
|
}
|
|
13895
|
-
|
|
14207
|
+
commit(discount) {
|
|
13896
14208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13897
14209
|
if (this.transactionLine.discountAmount !== discount) {
|
|
13898
14210
|
const oldDiscount = this.transactionLine.discountAmount;
|
|
@@ -13954,10 +14266,10 @@ class TransactionLineQuantumDiscountComponent extends TransactionLineBaseCompone
|
|
|
13954
14266
|
set child(content) {
|
|
13955
14267
|
if (content) {
|
|
13956
14268
|
this.input = content;
|
|
13957
|
-
this.input.commit = (discount) => this.
|
|
14269
|
+
this.input.commit = (discount) => this.commit(discount);
|
|
13958
14270
|
}
|
|
13959
14271
|
}
|
|
13960
|
-
|
|
14272
|
+
commit(discount) {
|
|
13961
14273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13962
14274
|
if (this.transactionLine.quantumDiscount !== discount) {
|
|
13963
14275
|
const oldDiscount = this.transactionLine.quantumDiscount;
|
|
@@ -14019,10 +14331,10 @@ class TransactionLineSpecialDiscountComponent extends TransactionLineBaseCompone
|
|
|
14019
14331
|
set child(content) {
|
|
14020
14332
|
if (content) {
|
|
14021
14333
|
this.input = content;
|
|
14022
|
-
this.input.commit = (discount) => this.
|
|
14334
|
+
this.input.commit = (discount) => this.commit(discount);
|
|
14023
14335
|
}
|
|
14024
14336
|
}
|
|
14025
|
-
|
|
14337
|
+
commit(discount) {
|
|
14026
14338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14027
14339
|
if (this.transactionLine.specialDiscount !== discount) {
|
|
14028
14340
|
const oldDiscount = this.transactionLine.specialDiscount;
|
|
@@ -14080,17 +14392,16 @@ class TransactionLineSupplierComponent extends TransactionLineBaseComponent {
|
|
|
14080
14392
|
constructor(_transactionService) {
|
|
14081
14393
|
super();
|
|
14082
14394
|
this._transactionService = _transactionService;
|
|
14083
|
-
this.data = [];
|
|
14084
14395
|
this.fields = { text: "displayName", value: "relationId" };
|
|
14085
14396
|
}
|
|
14086
14397
|
ngOnInit() {
|
|
14087
14398
|
const request = new RelationRequest();
|
|
14088
14399
|
request.relationType = RelationKind.Supplier;
|
|
14089
14400
|
this._transactionService.getRelationListObjects(request).then((relationListObjects) => {
|
|
14090
|
-
this.
|
|
14401
|
+
this.collection = relationListObjects;
|
|
14091
14402
|
});
|
|
14092
14403
|
}
|
|
14093
|
-
|
|
14404
|
+
commit(code) {
|
|
14094
14405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14095
14406
|
// if (this.transactionLine.supplier !== code) {
|
|
14096
14407
|
// const oldCode = this.transactionLine.supplier;
|
|
@@ -14112,12 +14423,12 @@ TransactionLineSupplierComponent.decorators = [
|
|
|
14112
14423
|
selector: "co-transaction-line-supplier",
|
|
14113
14424
|
template: `
|
|
14114
14425
|
<co-input-combo-box
|
|
14115
|
-
[collection]="
|
|
14426
|
+
[collection]="collection"
|
|
14116
14427
|
[placeholder]="'SUPPLIER' | localize"
|
|
14117
14428
|
[fields]="fields"
|
|
14118
14429
|
[readonly]="readonly"
|
|
14119
14430
|
[model]="tempSupplier"
|
|
14120
|
-
(modelChange)="
|
|
14431
|
+
(modelChange)="commit($event)"
|
|
14121
14432
|
></co-input-combo-box>
|
|
14122
14433
|
`,
|
|
14123
14434
|
encapsulation: ViewEncapsulation.None
|
|
@@ -15808,16 +16119,28 @@ class TransactionConfirmationHistoryComponent {
|
|
|
15808
16119
|
}
|
|
15809
16120
|
ngOnInit() {
|
|
15810
16121
|
this.getPurchasePortalLines();
|
|
16122
|
+
this.lockPurchasePortalLine();
|
|
15811
16123
|
}
|
|
15812
16124
|
getPurchasePortalLines() {
|
|
15813
16125
|
this.purchasePortalFilter.purchaseOrderNo = this.transactionInfoNr.toString();
|
|
15814
16126
|
this.getPurchasePortalLine.transIdPurchase = this.transactionId;
|
|
15815
16127
|
this.getPurchasePortalLine.filterObject = this.purchasePortalFilter;
|
|
15816
16128
|
this.transactionService.getPurchasePortalLines(this.getPurchasePortalLine).then((result) => {
|
|
15817
|
-
result.deliveryDate = this._datePipe.transform(result.deliveryDate);
|
|
15818
|
-
result.deliveryDateConfirmed = this._datePipe.transform(result.deliveryDateConfirmed);
|
|
15819
|
-
result.transactionDate = this._datePipe.transform(result.transactionDate);
|
|
15820
16129
|
this.purchasePortalLines = result;
|
|
16130
|
+
this.docBatch = this.purchasePortalLines.find(obj => parseInt(obj.lineId) === this.transactionLines.lineNr);
|
|
16131
|
+
this.transactionService.purchasePortalLine = this.docBatch;
|
|
16132
|
+
});
|
|
16133
|
+
}
|
|
16134
|
+
lockPurchasePortalLine() {
|
|
16135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16136
|
+
yield this.transactionService.lockPurchasePortalLines(this.transactionId, this.transactionLines.lineNr);
|
|
16137
|
+
});
|
|
16138
|
+
}
|
|
16139
|
+
deleteDocBatch(event) {
|
|
16140
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16141
|
+
event.deleteLine = "T";
|
|
16142
|
+
this.transactionService.purchasePortalLine.docKind = "IB";
|
|
16143
|
+
yield this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine);
|
|
15821
16144
|
});
|
|
15822
16145
|
}
|
|
15823
16146
|
}
|
|
@@ -15826,13 +16149,12 @@ TransactionConfirmationHistoryComponent.decorators = [
|
|
|
15826
16149
|
selector: "co-transaction-confirmation-history",
|
|
15827
16150
|
template: `
|
|
15828
16151
|
<div class="history-grid-wrapper">
|
|
15829
|
-
<co-simple-grid [data]="
|
|
15830
|
-
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize" [field]="'
|
|
15831
|
-
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'
|
|
15832
|
-
<co-simple-grid-column [headerText]="'PRICE' | localize" [field]="'
|
|
15833
|
-
<co-simple-grid-column [headerText]="'
|
|
15834
|
-
<co-simple-grid-column [headerText]="'
|
|
15835
|
-
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
16152
|
+
<co-simple-grid *ngIf="docBatch" [data]="docBatch.docBatchArray" [showToolbar]="true" [rowsPerPage]="20" [showDelete]="true" (deleteRow)="deleteDocBatch($event)">
|
|
16153
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize" [field]="'docDate'"></co-simple-grid-column>
|
|
16154
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'docAmount'"></co-simple-grid-column>
|
|
16155
|
+
<co-simple-grid-column [headerText]="'PRICE' | localize" [field]="'confirmedPrice'"></co-simple-grid-column>
|
|
16156
|
+
<co-simple-grid-column [headerText]="'DATE' | localize" [field]="'docDateOrg'"></co-simple-grid-column>
|
|
16157
|
+
<co-simple-grid-column [headerText]="'REFERENCE' | localize" [field]="'deliveryBatch'"></co-simple-grid-column>
|
|
15836
16158
|
</co-simple-grid>
|
|
15837
16159
|
</div>
|
|
15838
16160
|
`,
|
|
@@ -15877,13 +16199,13 @@ TransactionConfirmationHistoryModule.decorators = [
|
|
|
15877
16199
|
];
|
|
15878
16200
|
|
|
15879
16201
|
class TransactionConfirmationDetailsComponent {
|
|
15880
|
-
constructor(iconCacheService, transactionService) {
|
|
16202
|
+
constructor(iconCacheService, transactionService, _datePipe) {
|
|
15881
16203
|
this.iconCacheService = iconCacheService;
|
|
15882
16204
|
this.transactionService = transactionService;
|
|
16205
|
+
this._datePipe = _datePipe;
|
|
15883
16206
|
this.icons = Icon;
|
|
15884
16207
|
this.showAddOrder = false;
|
|
15885
|
-
this.
|
|
15886
|
-
this.docBatchArray = new DocDeliveryBatch();
|
|
16208
|
+
this.newDocBatchArray = this.transactionService.docDeliveryBatch;
|
|
15887
16209
|
}
|
|
15888
16210
|
showClass() {
|
|
15889
16211
|
return true;
|
|
@@ -15892,10 +16214,18 @@ class TransactionConfirmationDetailsComponent {
|
|
|
15892
16214
|
this.showAddOrder = !this.showAddOrder;
|
|
15893
16215
|
}
|
|
15894
16216
|
handleOkClick() {
|
|
15895
|
-
|
|
15896
|
-
|
|
15897
|
-
|
|
15898
|
-
|
|
16217
|
+
if (this.newDocBatchArray.docAmount && this.newDocBatchArray.confirmedPrice) {
|
|
16218
|
+
this.newDocBatchArray.docAmountOrg = 0;
|
|
16219
|
+
this.newDocBatchArray.docDateOrg = new Date();
|
|
16220
|
+
this.newDocBatchArray.deleteLine = "F";
|
|
16221
|
+
this.transactionService.purchasePortalLine.docBatchArray.push(this.newDocBatchArray);
|
|
16222
|
+
this.transactionService.purchasePortalLine.docKind = "IB";
|
|
16223
|
+
this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine);
|
|
16224
|
+
this.newDocBatchArray = new DocDeliveryBatch();
|
|
16225
|
+
}
|
|
16226
|
+
else {
|
|
16227
|
+
return;
|
|
16228
|
+
}
|
|
15899
16229
|
}
|
|
15900
16230
|
}
|
|
15901
16231
|
TransactionConfirmationDetailsComponent.decorators = [
|
|
@@ -15906,7 +16236,8 @@ TransactionConfirmationDetailsComponent.decorators = [
|
|
|
15906
16236
|
<co-form>
|
|
15907
16237
|
<div class="details-header">
|
|
15908
16238
|
<span class="header-left-text" [textContent]="'ORDER_CONFIRMATIONS' | localize"></span>
|
|
15909
|
-
<co-icon class="header-left-text" [iconData]="iconCacheService.getIcon(icons.PlusRound)"
|
|
16239
|
+
<co-icon class="header-left-text" [iconData]="iconCacheService.getIcon(icons.PlusRound)"
|
|
16240
|
+
(click)="addButtonClicked()"></co-icon>
|
|
15910
16241
|
<div class="details-header-right">
|
|
15911
16242
|
<span class="header-right-text" [textContent]="'REQUESTED_DELIVERY' | localize"></span>
|
|
15912
16243
|
<span class="header-right-text-colon" [textContent]="': '"></span>
|
|
@@ -15915,18 +16246,20 @@ TransactionConfirmationDetailsComponent.decorators = [
|
|
|
15915
16246
|
</div>
|
|
15916
16247
|
<div *ngIf="showAddOrder" class="columns-wrapper">
|
|
15917
16248
|
<div class="details-column">
|
|
15918
|
-
<co-input-text
|
|
15919
|
-
|
|
15920
|
-
|
|
16249
|
+
<co-input-text class="details-input"
|
|
16250
|
+
[(model)]="newDocBatchArray.docAmount"
|
|
16251
|
+
[placeholder]="'AMOUNT' | localize"
|
|
16252
|
+
required
|
|
16253
|
+
>
|
|
15921
16254
|
</co-input-text>
|
|
15922
|
-
|
|
15923
16255
|
<co-input-date class="details-input"
|
|
15924
|
-
[(model)]="
|
|
16256
|
+
[(model)]="newDocBatchArray.docDate"
|
|
16257
|
+
>
|
|
15925
16258
|
</co-input-date>
|
|
15926
|
-
|
|
15927
|
-
|
|
15928
|
-
|
|
15929
|
-
|
|
16259
|
+
<co-input-text class="details-input"
|
|
16260
|
+
[(model)]="newDocBatchArray.confirmedPrice"
|
|
16261
|
+
[placeholder]="'CONFIRMED_PRICE' | localize"
|
|
16262
|
+
>
|
|
15930
16263
|
</co-input-text>
|
|
15931
16264
|
</div>
|
|
15932
16265
|
|
|
@@ -15936,13 +16269,12 @@ TransactionConfirmationDetailsComponent.decorators = [
|
|
|
15936
16269
|
|
|
15937
16270
|
<div class="details-column">
|
|
15938
16271
|
<co-input-text class="details-input"
|
|
15939
|
-
[(model)]="
|
|
15940
|
-
disabled
|
|
16272
|
+
[(model)]="newDocBatchArray.reference"
|
|
15941
16273
|
[placeholder]="'REFERENCE' | localize">
|
|
15942
16274
|
</co-input-text>
|
|
15943
16275
|
|
|
15944
16276
|
<co-input-text class="details-input"
|
|
15945
|
-
[(model)]="
|
|
16277
|
+
[(model)]="newDocBatchArray.deliveryBatch"
|
|
15946
16278
|
[placeholder]="'DELIVERY_BATCH' | localize">
|
|
15947
16279
|
</co-input-text>
|
|
15948
16280
|
</div>
|
|
@@ -15959,7 +16291,8 @@ TransactionConfirmationDetailsComponent.decorators = [
|
|
|
15959
16291
|
];
|
|
15960
16292
|
TransactionConfirmationDetailsComponent.ctorParameters = () => [
|
|
15961
16293
|
{ type: IconCacheService },
|
|
15962
|
-
{ type: TransactionService }
|
|
16294
|
+
{ type: TransactionService },
|
|
16295
|
+
{ type: DatePipe }
|
|
15963
16296
|
];
|
|
15964
16297
|
TransactionConfirmationDetailsComponent.propDecorators = {
|
|
15965
16298
|
transactionLines: [{ type: Input }],
|
|
@@ -16038,6 +16371,7 @@ TransactionConfirmationDetailsModule.decorators = [
|
|
|
16038
16371
|
FormModule,
|
|
16039
16372
|
DefaultOkCancelButtonsModule,
|
|
16040
16373
|
InputDatePickerModule,
|
|
16374
|
+
InputNumberPickerModule,
|
|
16041
16375
|
],
|
|
16042
16376
|
declarations: [
|
|
16043
16377
|
TransactionConfirmationDetailsComponent,
|
|
@@ -16209,60 +16543,6 @@ TransactionBaseGridModule.decorators = [
|
|
|
16209
16543
|
},] }
|
|
16210
16544
|
];
|
|
16211
16545
|
|
|
16212
|
-
class DialogHeaderSearchComponent {
|
|
16213
|
-
constructor() {
|
|
16214
|
-
this.search = new EventEmitter();
|
|
16215
|
-
}
|
|
16216
|
-
set title(value) {
|
|
16217
|
-
this._title = value;
|
|
16218
|
-
this.searchPlaceholder = `SEARCH_${this._title}`;
|
|
16219
|
-
}
|
|
16220
|
-
get title() {
|
|
16221
|
-
return this._title;
|
|
16222
|
-
}
|
|
16223
|
-
showClass() {
|
|
16224
|
-
return true;
|
|
16225
|
-
}
|
|
16226
|
-
handleSearch(text) {
|
|
16227
|
-
this.search.emit(text);
|
|
16228
|
-
}
|
|
16229
|
-
}
|
|
16230
|
-
DialogHeaderSearchComponent.decorators = [
|
|
16231
|
-
{ type: Component, args: [{
|
|
16232
|
-
selector: "co-dialog-header-search",
|
|
16233
|
-
template: `
|
|
16234
|
-
<div class="dialog-header-search-wrapper">
|
|
16235
|
-
<div class="dialog-header-search-title" [textContent]="title | localize"></div>
|
|
16236
|
-
<co-input-search [placeholder]="searchPlaceholder | localize" [noIcon]="true" (modelChange)="handleSearch($event)"></co-input-search>
|
|
16237
|
-
</div>
|
|
16238
|
-
`,
|
|
16239
|
-
encapsulation: ViewEncapsulation.None
|
|
16240
|
-
},] }
|
|
16241
|
-
];
|
|
16242
|
-
DialogHeaderSearchComponent.propDecorators = {
|
|
16243
|
-
title: [{ type: Input }],
|
|
16244
|
-
search: [{ type: Output }],
|
|
16245
|
-
showClass: [{ type: HostBinding, args: ["class.co-dialog-header-search",] }]
|
|
16246
|
-
};
|
|
16247
|
-
|
|
16248
|
-
class DialogHeaderSearchModule {
|
|
16249
|
-
}
|
|
16250
|
-
DialogHeaderSearchModule.decorators = [
|
|
16251
|
-
{ type: NgModule, args: [{
|
|
16252
|
-
imports: [
|
|
16253
|
-
CommonModule,
|
|
16254
|
-
PipeModule,
|
|
16255
|
-
InputSearchModule
|
|
16256
|
-
],
|
|
16257
|
-
declarations: [
|
|
16258
|
-
DialogHeaderSearchComponent
|
|
16259
|
-
],
|
|
16260
|
-
exports: [
|
|
16261
|
-
DialogHeaderSearchComponent
|
|
16262
|
-
]
|
|
16263
|
-
},] }
|
|
16264
|
-
];
|
|
16265
|
-
|
|
16266
16546
|
class DialogTransactionLineCommissionCodeModule {
|
|
16267
16547
|
}
|
|
16268
16548
|
DialogTransactionLineCommissionCodeModule.decorators = [
|
|
@@ -16347,6 +16627,51 @@ DialogTransactionLineVatModule.decorators = [
|
|
|
16347
16627
|
},] }
|
|
16348
16628
|
];
|
|
16349
16629
|
|
|
16630
|
+
class DialogTransactionLineDiscountModule {
|
|
16631
|
+
}
|
|
16632
|
+
DialogTransactionLineDiscountModule.decorators = [
|
|
16633
|
+
{ type: NgModule, args: [{
|
|
16634
|
+
imports: [
|
|
16635
|
+
CommonModule,
|
|
16636
|
+
CoDialogModule,
|
|
16637
|
+
TransactionLinePriceListModule,
|
|
16638
|
+
PipeModule,
|
|
16639
|
+
TransactionLineLineDiscountModule,
|
|
16640
|
+
TransactionLineDiscountAmountModule,
|
|
16641
|
+
TransactionLineQuantumDiscountModule,
|
|
16642
|
+
TransactionLineSpecialDiscountModule,
|
|
16643
|
+
InputTextModule
|
|
16644
|
+
],
|
|
16645
|
+
declarations: [
|
|
16646
|
+
DialogTransactionLineDiscountComponent
|
|
16647
|
+
],
|
|
16648
|
+
exports: [
|
|
16649
|
+
DialogTransactionLineDiscountComponent
|
|
16650
|
+
]
|
|
16651
|
+
},] }
|
|
16652
|
+
];
|
|
16653
|
+
|
|
16654
|
+
class DialogTransactionLinePriceListModule {
|
|
16655
|
+
}
|
|
16656
|
+
DialogTransactionLinePriceListModule.decorators = [
|
|
16657
|
+
{ type: NgModule, args: [{
|
|
16658
|
+
imports: [
|
|
16659
|
+
CommonModule,
|
|
16660
|
+
CoDialogModule,
|
|
16661
|
+
TransactionLinePriceListModule,
|
|
16662
|
+
PipeModule,
|
|
16663
|
+
ButtonModule,
|
|
16664
|
+
DialogHeaderSearchModule
|
|
16665
|
+
],
|
|
16666
|
+
declarations: [
|
|
16667
|
+
DialogTransactionLinePriceListComponent
|
|
16668
|
+
],
|
|
16669
|
+
exports: [
|
|
16670
|
+
DialogTransactionLinePriceListComponent
|
|
16671
|
+
]
|
|
16672
|
+
},] }
|
|
16673
|
+
];
|
|
16674
|
+
|
|
16350
16675
|
class TransactionLinesGridModule {
|
|
16351
16676
|
}
|
|
16352
16677
|
TransactionLinesGridModule.decorators = [
|
|
@@ -16363,7 +16688,9 @@ TransactionLinesGridModule.decorators = [
|
|
|
16363
16688
|
DialogTransactionLineCommissionCodeModule,
|
|
16364
16689
|
DialogTransactionLineWarehouseModule,
|
|
16365
16690
|
DialogTransactionLineDeliveryMethodModule,
|
|
16366
|
-
DialogTransactionLineVatModule
|
|
16691
|
+
DialogTransactionLineVatModule,
|
|
16692
|
+
DialogTransactionLineDiscountModule,
|
|
16693
|
+
DialogTransactionLinePriceListModule
|
|
16367
16694
|
],
|
|
16368
16695
|
declarations: [
|
|
16369
16696
|
TransactionLinesGridComponent
|
|
@@ -17054,7 +17381,9 @@ TransactionModule.decorators = [
|
|
|
17054
17381
|
TransactionReceivedGoodsGridModule,
|
|
17055
17382
|
ViewModeButtonsModule,
|
|
17056
17383
|
TransactionGridModule,
|
|
17057
|
-
TransactionTileModule
|
|
17384
|
+
TransactionTileModule,
|
|
17385
|
+
IconModule,
|
|
17386
|
+
SendMethodDialogModule
|
|
17058
17387
|
],
|
|
17059
17388
|
declarations: [
|
|
17060
17389
|
TransactionComponent
|
|
@@ -17209,15 +17538,6 @@ TransactionSearchComponent.decorators = [
|
|
|
17209
17538
|
<div class="transaction-search-content-wrapper" [ngClass]="calculateClasses()">
|
|
17210
17539
|
<ng-content></ng-content>
|
|
17211
17540
|
</div>
|
|
17212
|
-
|
|
17213
|
-
<co-icon-collapse-handle
|
|
17214
|
-
class="for-sidebar"
|
|
17215
|
-
[ngClass]="calculateClasses()"
|
|
17216
|
-
[orientation]="orientations.Vertical"
|
|
17217
|
-
[arrowDirection]="directionRight"
|
|
17218
|
-
[twoArrows]="true"
|
|
17219
|
-
(click)="onSideCollapseHandleClick()">
|
|
17220
|
-
</co-icon-collapse-handle>
|
|
17221
17541
|
`,
|
|
17222
17542
|
animations: [
|
|
17223
17543
|
trigger("showHideFilterSidebar", [
|
|
@@ -18420,7 +18740,7 @@ TransactionSearchHeaderComponent.decorators = [
|
|
|
18420
18740
|
class="toggle-sidebar-button circle transparent"
|
|
18421
18741
|
(click)="onResizeClick()"></co-button>
|
|
18422
18742
|
</div>
|
|
18423
|
-
<div class="close-search-button-wrapper button-wrapper" *ngIf="!fullscreen">
|
|
18743
|
+
<div class="close-search-button-wrapper button-wrapper" *ngIf="!fullscreen" [ngClass]="fullscreen ? 'fullscreen' : 'sidebar'" >
|
|
18424
18744
|
<co-button [iconData]="iconCancel"
|
|
18425
18745
|
class="toggle-sidebar-button circle small transparent"
|
|
18426
18746
|
(click)="onCloseClick()">
|
|
@@ -18440,7 +18760,7 @@ TransactionSearchHeaderComponent.decorators = [
|
|
|
18440
18760
|
</div>
|
|
18441
18761
|
<div>
|
|
18442
18762
|
<co-button class="transaction-search-filter-button"
|
|
18443
|
-
|
|
18763
|
+
|
|
18444
18764
|
[iconData]="iconCacheService.getIcon(icon.BarsFilter)"
|
|
18445
18765
|
(click)="filterButtonClick.emit()">
|
|
18446
18766
|
</co-button>
|
|
@@ -19679,5 +19999,5 @@ TransactionLineGridModule.decorators = [
|
|
|
19679
19999
|
* Generated bundle index. Do not edit.
|
|
19680
20000
|
*/
|
|
19681
20001
|
|
|
19682
|
-
export { CheckoutComponent, CheckoutModule, SearchBarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, CharacteristicAnswerComponent as ɵba, WarehouseModule as ɵbb, WarehouseComponent as ɵbc, ImageDisplayComponent as ɵbd, IconComponent as ɵbe, IconCacheService as ɵbf, CustomerGroupsComponent as ɵbg, StockStatusIndicatorComponent as ɵbh, LoaderComponent as ɵbi, RelationAddressModule as ɵbj, RelationAddressComponent as ɵbk, RelationBaseComponent as ɵbl, RelationAddressSelectModule as ɵbm, RelationAddressTileModule as ɵbn, TileModule as ɵbo, TileComponent as ɵbp, RelationAddressTileComponent as ɵbq, RelationAddressSelectComponent as ɵbr, BusinessObjectFactory as ɵbs, StepperModule as ɵbt, StepperComponent as ɵbu, StepperStepComponent as ɵbv, TransactionArticleTextModule as ɵbw, TransactionArticleTextComponent as ɵbx, TransactionArticleTextOverviewModule as ɵby, TransactionArticleTextOverviewComponent as ɵbz, OptionsService as ɵc, TransactionLineActionButtonsModule as ɵca, TransactionLineActionButtonsComponent as ɵcb, EditableLabelModule as ɵcc, EditableLabelComponent as ɵcd, TransactionLinePriceModule as ɵce, TransactionLinePriceComponent as ɵcf, TransactionLineBaseComponent as ɵcg, TransactionLineDescriptionModule as ɵch, TransactionLineDescriptionComponent as ɵci, TransactionImageService as ɵcj, AvatarModule as ɵck, AvatarComponent as ɵcl, SharedService as ɵcm, SharedConnectorService as ɵcn, DeliveryTypeTileModule as ɵco, DeliveryTypeTileComponent as ɵcp, PaymentModule as ɵcq, PaymentTileModule as ɵcr, PaymentTileComponent as ɵcs, PaymentQrCodeModule as ɵct, PaymentQrCodeComponent as ɵcu, PaymentComponent as ɵcv, PaymentService as ɵcw, RelationTypeModule as ɵcx, RelationTypeComponent as ɵcy, RelationGeneralModule as ɵcz, DictionaryService as ɵd, RelationSuggestionsListModule as ɵda, RelationSuggestionsListItemModule as ɵdb, RelationSuggestionsListItemComponent as ɵdc, RelationSuggestionsListComponent as ɵdd, RelationGeneralComponent as ɵde, RelationAddressesModule as ɵdf, RelationAddressesComponent as ɵdg, RelationContactDetailsModule as ɵdh, RelationContactDetailsComponent as ɵdi, RelationPreferencesModule as ɵdj, RelationPreferencesComponent as ɵdk, TransactionHeaderBlockModule as ɵdl, TransactionHeaderBlockComponent as ɵdm, TransactionHeaderDeliveryDateModule as ɵdn, TransactionHeaderDeliveryDateComponent as ɵdo, TransactionHeaderBaseComponent as ɵdp, TransactionHeaderDeliveryOptionsModule as ɵdq, TransactionHeaderDeliveryOptionsComponent as ɵdr, TransactionHeaderRemarksModule as ɵds, TransactionHeaderRemarksComponent as ɵdt, TransactionHeaderReferenceModule as ɵdu, TransactionHeaderReferenceComponent as ɵdv, TransactionHeaderRelationReferenceModule as ɵdw, TransactionHeaderRelationReferenceComponent as ɵdx, TransactionHeaderDeliveryMethodModule as ɵdy, TransactionHeaderDeliveryMethodComponent as ɵdz, TransactionConnectorService as ɵe, TransactionHeaderPreferredDeliveryDateModule as ɵea, TransactionHeaderPreferredDeliveryDateComponent as ɵeb, TransactionBaseComponent as ɵec, TransactionHeaderPartialDeliveryModule as ɵed, TransactionHeaderPartialDeliveryComponent as ɵee, TransactionHeaderDownpaymentPercentageModule as ɵef, TransactionHeaderDownpaymentPercentageComponent as ɵeg, TransactionHeaderDownpaymentAmountModule as ɵeh, TransactionHeaderDownpaymentAmountComponent as ɵei, TransactionHeaderDefinitiveModule as ɵej, TransactionHeaderDefinitiveComponent as ɵek, TransactionHeaderBranchModule as ɵel, TransactionHeaderBranchComponent as ɵem, TransactionHeaderAdministrativeRelationModule as ɵen, TransactionHeaderAdministrativeRelationComponent as ɵeo, TransactionHeaderMarketingModule as ɵep, TransactionHeaderMarketingComponent as ɵeq, CheckoutOverviewRelationEditComponent as ɵer, CheckoutOverviewDeliveryEditComponent as ɵes, CheckoutOverviewDeliveryAddressComponent as ɵet, CheckoutOverviewPaymentComponent as ɵeu, CheckoutLoginComponent as ɵev, TransactionFilterCategoriesModule as ɵew, TransactionFilterCategoriesComponent as ɵex, TransactionHeaderPaymentModule as ɵey, TransactionHeaderPaymentComponent as ɵez, TransactionConnectorAdapterService as ɵf, TransactionLinesGridModule as ɵfa, TransactionBaseGridModule as ɵfb, TransactionLineSidePanelModule as ɵfc, TransactionLineSidePanelDefaultModule as ɵfd, TransactionLinePriceListModule as ɵfe, TransactionLinePriceListComponent as ɵff, TransactionLineVatModule as ɵfg, TransactionLineVatComponent as ɵfh, TransactionLineQuantityModule as ɵfi, TransactionLineQuantityComponent as ɵfj, TransactionLineLineDiscountModule as ɵfk, TransactionLineLineDiscountComponent as ɵfl, TransactionLineDeliveryMethodModule as ɵfm, TransactionLineDeliveryMethodComponent as ɵfn, TransactionLineDeliveryDateModule as ɵfo, TransactionLineDeliveryDateComponent as ɵfp, TransactionLineReferenceModule as ɵfq, TransactionLineReferenceComponent as ɵfr, TransactionLineCommissionCodeModule as ɵfs, TransactionLineCommissionCodeComponent as ɵft, TransactionLineWarehouseModule as ɵfu, TransactionLineWarehouseComponent as ɵfv, TransactionLineDiscountAmountModule as ɵfw, TransactionLineDiscountAmountComponent as ɵfx, TransactionLineQuantumDiscountModule as ɵfy, TransactionLineQuantumDiscountComponent as ɵfz, SelectMultipleCacheService as ɵg, TransactionLineSpecialDiscountModule as ɵga, TransactionLineSpecialDiscountComponent as ɵgb, TransactionLineSupplierModule as ɵgc, TransactionLineSupplierComponent as ɵgd, TransactionLineSidePanelDefaultComponent as ɵge, TransactionReceivingGoodsHistoryModule as ɵgf, TransactionHistoryGridModule as ɵgg, TransactionHistoryGridStatusModule as ɵgh, TransactionHistoryGridStatusComponent as ɵgi, TransactionHistoryGridComponent as ɵgj, TransactionReceivingGoodsHistoryComponent as ɵgk, TransactionReceivingGoodsDetailsModule as ɵgl, TransactionReceivingGoodsDetailsComponent as ɵgm, ArticleService as ɵgn, TransactionButtonBarModule as ɵgo, TransactionButtonBarComponent as ɵgp, TransactionMappingService as ɵgq, TransactionButtonBarButtonComponent as ɵgr, TransactionLineSidePanelPurchaseModule as ɵgs, DefaultOkCancelButtonsModule as ɵgt, DefaultOkCancelButtonsComponent as ɵgu, TransactionLineSidePanelPurchaseComponent as ɵgv, TransactionEventService as ɵgw, TransactionLineSidePanelComponent as ɵgx, TransactionBaseGridComponent as ɵgy, TransactionGridBaseComponent as ɵgz, BusinessObjectCacheManagerService as ɵh, DialogTransactionLineCommissionCodeModule as ɵha, DialogHeaderSearchModule as ɵhb, DialogHeaderSearchComponent as ɵhc, DialogTransactionLineCommissionCodeComponent as ɵhd, DialogTransactionLineBaseComponent as ɵhe, DialogTransactionLineWarehouseModule as ɵhf, DialogTransactionLineWarehouseComponent as ɵhg, DialogTransactionLineDeliveryMethodModule as ɵhh, DialogTransactionLineDeliveryMethodComponent as ɵhi, DialogTransactionLineVatModule as ɵhj, DialogTransactionLineVatComponent as ɵhk, TransactionLinesGridComponent as ɵhl, DiscountModule as ɵhm, DiscountComponent as ɵhn, TransactionQuickAccessOverviewModule as ɵho, TransactionQuickAccessOverviewComponent as ɵhp, TransactionOrderConfirmationGridModule as ɵhq, TransactionOrderConfirmationGridComponent as ɵhr, TransactionReceivedGoodsGridModule as ɵhs, TransactionReceivedGoodsGridComponent as ɵht, ViewModeButtonsModule as ɵhu, ViewModeButtonsComponent as ɵhv, TransactionGridModule as ɵhw, TransactionGridComponent as ɵhx, TransactionTileModule as ɵhy, TransactionTileComponent as ɵhz, CacheField as ɵi, TransactionSearchResultModule as ɵia, TransactionSearchSalesOrderTileModule as ɵib, StatusBarModule as ɵic, StatusBarComponent as ɵid, TransactionSearchSalesOrderTileComponent as ɵie, TransactionSearchTileBaseComponent as ɵif, TransactionSearchPurchaseOrderTileModule as ɵig, TransactionSearchPurchaseOrderTileComponent as ɵih, TransactionSearchSalesOrderGridModule as ɵii, TransactionSearchSalesOrderGridComponent as ɵij, TransactionSearchGridBaseComponent as ɵik, TransactionSearchPurchaseOrderGridModule as ɵil, TransactionSearchPurchaseOrderGridComponent as ɵim, TransactionSearchHeaderModule as ɵin, TransactionSearchHeaderComponent as ɵio, TransactionSearchGridModule as ɵip, TransactionSearchGridComponent as ɵiq, TransactionSearchTileModule as ɵir, TransactionSearchTileComponent as ɵis, TransactionSearchResultComponent as ɵit, TransactionSalesOrderFilterModule as ɵiu, TransactionSalesOrderFilterContentOrderModule as ɵiv, TransactionSalesOrderFilterContentOrderComponent as ɵiw, TransactionFilterContentBaseComponent as ɵix, FilterRequestService as ɵiy, TransactionSalesOrderFilterContentLogisticsModule as ɵiz, SelectMultipleParameterizedCacheService as ɵj, TransactionFilterHistoricStateModule as ɵja, TransactionFilterHistoricStateComponent as ɵjb, TransactionSalesOrderFilterContentLogisticsComponent as ɵjc, TransactionSalesOrderFilterContentArticleModule as ɵjd, TransactionSalesOrderFilterContentArticleComponent as ɵje, TransactionSalesOrderFilterComponent as ɵjf, TransactionFilterBaseComponent as ɵjg, TransactionPurchaseOrderFilterModule as ɵjh, TransactionPurchaseOrderFilterContentOrderModule as ɵji, TransactionPurchaseOrderFilterContentOrderComponent as ɵjj, TransactionPurchaseOrderFilterContentLogisticsModule as ɵjk, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵjl, TransactionPurchaseOrderFilterContentArticleModule as ɵjm, TransactionPurchaseOrderFilterContentArticleComponent as ɵjn, TransactionPurchaseOrderFilterComponent as ɵjo, TransactionFilterModule as ɵjp, TransactionFilterComponent as ɵjq, ErrorService as ɵk, SelectSingleCacheService as ɵl, ArticleConnectorService as ɵm, CoreModule as ɵn, ConfirmationDialogModule as ɵo, PipeModule as ɵp, AppendPipe as ɵq, DeliveryTimePipe as ɵr, DateDurationPipe as ɵs, LocalizePipe as ɵt, CoCurrencyPipe as ɵu, SafeStylePipe as ɵv, SafeHtmlPipe as ɵw, ConfirmationDialogComponent as ɵx, DialogBaseComponent as ɵy, CharacteristicAnswerModule as ɵz };
|
|
20002
|
+
export { CheckoutComponent, CheckoutModule, SearchBarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, CharacteristicAnswerModule as ɵba, CharacteristicAnswerComponent as ɵbb, WarehouseModule as ɵbc, WarehouseComponent as ɵbd, ImageDisplayComponent as ɵbe, IconComponent as ɵbf, CustomerGroupsComponent as ɵbg, StockStatusIndicatorComponent as ɵbh, LoaderComponent as ɵbi, LazyRenderMasterDirective as ɵbj, LazyRenderDirective as ɵbk, RelationAddressModule as ɵbl, RelationAddressComponent as ɵbm, RelationBaseComponent as ɵbn, RelationAddressSelectModule as ɵbo, RelationAddressTileModule as ɵbp, TileModule as ɵbq, TileComponent as ɵbr, RelationAddressTileComponent as ɵbs, RelationAddressSelectComponent as ɵbt, BusinessObjectFactory as ɵbu, StepperModule as ɵbv, StepperComponent as ɵbw, StepperStepComponent as ɵbx, TransactionArticleTextModule as ɵby, TransactionArticleTextComponent as ɵbz, OptionsService as ɵc, TransactionArticleTextOverviewModule as ɵca, TransactionArticleTextOverviewComponent as ɵcb, TransactionLineActionButtonsModule as ɵcc, TransactionLineActionButtonsComponent as ɵcd, EditableLabelModule as ɵce, EditableLabelComponent as ɵcf, TransactionLinePriceModule as ɵcg, TransactionLinePriceComponent as ɵch, TransactionLineBaseComponent as ɵci, TransactionLineDescriptionModule as ɵcj, TransactionLineDescriptionComponent as ɵck, TransactionImageService as ɵcl, AvatarModule as ɵcm, AvatarComponent as ɵcn, SharedService as ɵco, SharedConnectorService as ɵcp, DeliveryTypeTileModule as ɵcq, DeliveryTypeTileComponent as ɵcr, PaymentModule as ɵcs, PaymentTileModule as ɵct, PaymentTileComponent as ɵcu, PaymentQrCodeModule as ɵcv, PaymentQrCodeComponent as ɵcw, PaymentComponent as ɵcx, PaymentService as ɵcy, RelationTypeModule as ɵcz, DictionaryService as ɵd, RelationTypeComponent as ɵda, RelationGeneralModule as ɵdb, RelationSuggestionsListModule as ɵdc, RelationSuggestionsListItemModule as ɵdd, RelationSuggestionsListItemComponent as ɵde, RelationSuggestionsListComponent as ɵdf, RelationGeneralComponent as ɵdg, RelationAddressesModule as ɵdh, RelationAddressesComponent as ɵdi, RelationContactDetailsModule as ɵdj, RelationContactDetailsComponent as ɵdk, RelationPreferencesModule as ɵdl, RelationPreferencesComponent as ɵdm, TransactionHeaderBlockModule as ɵdn, TransactionHeaderBlockComponent as ɵdo, TransactionHeaderDeliveryDateModule as ɵdp, TransactionHeaderDeliveryDateComponent as ɵdq, TransactionHeaderBaseComponent as ɵdr, TransactionHeaderDeliveryOptionsModule as ɵds, TransactionHeaderDeliveryOptionsComponent as ɵdt, TransactionHeaderRemarksModule as ɵdu, TransactionHeaderRemarksComponent as ɵdv, TransactionHeaderReferenceModule as ɵdw, TransactionHeaderReferenceComponent as ɵdx, TransactionHeaderRelationReferenceModule as ɵdy, TransactionHeaderRelationReferenceComponent as ɵdz, TransactionConnectorService as ɵe, TransactionHeaderDeliveryMethodModule as ɵea, TransactionHeaderDeliveryMethodComponent as ɵeb, TransactionHeaderPreferredDeliveryDateModule as ɵec, TransactionHeaderPreferredDeliveryDateComponent as ɵed, DialogTransactionHeaderDeliveryMethodModule as ɵee, DialogHeaderSearchModule as ɵef, DialogHeaderSearchComponent as ɵeg, DialogTransactionHeaderDeliveryMethodComponent as ɵeh, DialogTransactionHeaderBaseComponent as ɵei, TransactionBaseComponent as ɵej, TransactionHeaderPartialDeliveryModule as ɵek, TransactionHeaderPartialDeliveryComponent as ɵel, TransactionHeaderDownpaymentPercentageModule as ɵem, TransactionHeaderDownpaymentPercentageComponent as ɵen, TransactionHeaderDownpaymentAmountModule as ɵeo, TransactionHeaderDownpaymentAmountComponent as ɵep, TransactionHeaderDefinitiveModule as ɵeq, TransactionHeaderDefinitiveComponent as ɵer, TransactionHeaderBranchModule as ɵes, TransactionHeaderBranchComponent as ɵet, TransactionHeaderAdministrativeRelationModule as ɵeu, TransactionHeaderAdministrativeRelationComponent as ɵev, TransactionHeaderMarketingModule as ɵew, TransactionHeaderMarketingComponent as ɵex, CheckoutOverviewRelationEditComponent as ɵey, CheckoutOverviewDeliveryEditComponent as ɵez, TransactionConnectorAdapterService as ɵf, CheckoutOverviewDeliveryAddressComponent as ɵfa, CheckoutOverviewPaymentComponent as ɵfb, CheckoutLoginComponent as ɵfc, TransactionFilterCategoriesModule as ɵfd, TransactionFilterCategoriesComponent as ɵfe, TransactionHeaderPaymentModule as ɵff, TransactionHeaderPaymentComponent as ɵfg, TransactionLinesGridModule as ɵfh, TransactionBaseGridModule as ɵfi, TransactionLineSidePanelModule as ɵfj, TransactionLineSidePanelDefaultModule as ɵfk, TransactionLinePriceListModule as ɵfl, TransactionLineCheckboxModule as ɵfm, TransactionLineCheckboxListComponent as ɵfn, TransactionLinePriceListComponent as ɵfo, TransactionLineVatModule as ɵfp, TransactionLineVatComponent as ɵfq, TransactionLineQuantityModule as ɵfr, TransactionLineQuantityComponent as ɵfs, TransactionLineLineDiscountModule as ɵft, TransactionLineLineDiscountComponent as ɵfu, TransactionLineDeliveryMethodModule as ɵfv, TransactionLineDeliveryMethodComponent as ɵfw, TransactionLineDeliveryDateModule as ɵfx, TransactionLineDeliveryDateComponent as ɵfy, TransactionLineReferenceModule as ɵfz, SelectMultipleCacheService as ɵg, TransactionLineReferenceComponent as ɵga, TransactionLineCommissionCodeModule as ɵgb, TransactionLineCommissionCodeComponent as ɵgc, TransactionLineWarehouseModule as ɵgd, TransactionLineWarehouseComponent as ɵge, TransactionLineDiscountAmountModule as ɵgf, TransactionLineDiscountAmountComponent as ɵgg, TransactionLineQuantumDiscountModule as ɵgh, TransactionLineQuantumDiscountComponent as ɵgi, TransactionLineSpecialDiscountModule as ɵgj, TransactionLineSpecialDiscountComponent as ɵgk, TransactionLineSupplierModule as ɵgl, TransactionLineSupplierComponent as ɵgm, TransactionLineSidePanelDefaultComponent as ɵgn, TransactionReceivingGoodsHistoryModule as ɵgo, TransactionHistoryGridModule as ɵgp, TransactionHistoryGridStatusModule as ɵgq, TransactionHistoryGridStatusComponent as ɵgr, TransactionHistoryGridComponent as ɵgs, TransactionReceivingGoodsHistoryComponent as ɵgt, TransactionReceivingGoodsDetailsModule as ɵgu, TransactionReceivingGoodsDetailsComponent as ɵgv, ArticleService as ɵgw, TransactionButtonBarModule as ɵgx, TransactionButtonBarComponent as ɵgy, TransactionMappingService as ɵgz, BusinessObjectCacheManagerService as ɵh, TransactionButtonBarButtonComponent as ɵha, TransactionLineSidePanelPurchaseModule as ɵhb, DefaultOkCancelButtonsModule as ɵhc, DefaultOkCancelButtonsComponent as ɵhd, TransactionLineSidePanelPurchaseComponent as ɵhe, TransactionEventService as ɵhf, TransactionLineSidePanelComponent as ɵhg, TransactionBaseGridComponent as ɵhh, TransactionGridBaseComponent as ɵhi, DialogTransactionLineCommissionCodeModule as ɵhj, DialogTransactionLineCommissionCodeComponent as ɵhk, DialogTransactionLineBaseComponent as ɵhl, DialogTransactionLineWarehouseModule as ɵhm, DialogTransactionLineWarehouseComponent as ɵhn, DialogTransactionLineDeliveryMethodModule as ɵho, DialogTransactionLineDeliveryMethodComponent as ɵhp, DialogTransactionLineVatModule as ɵhq, DialogTransactionLineVatComponent as ɵhr, DialogTransactionLineDiscountModule as ɵhs, DialogTransactionLineDiscountComponent as ɵht, DialogTransactionLinePriceListModule as ɵhu, DialogTransactionLinePriceListComponent as ɵhv, TransactionLinesGridComponent as ɵhw, DiscountModule as ɵhx, DiscountComponent as ɵhy, TransactionQuickAccessOverviewModule as ɵhz, CacheField as ɵi, TransactionQuickAccessOverviewComponent as ɵia, TransactionOrderConfirmationGridModule as ɵib, TransactionOrderConfirmationGridComponent as ɵic, TransactionReceivedGoodsGridModule as ɵid, TransactionReceivedGoodsGridComponent as ɵie, ViewModeButtonsModule as ɵif, ViewModeButtonsComponent as ɵig, TransactionGridModule as ɵih, TransactionGridComponent as ɵii, TransactionTileModule as ɵij, TransactionTileComponent as ɵik, TransactionSearchResultModule as ɵil, TransactionSearchSalesOrderTileModule as ɵim, StatusBarModule as ɵin, StatusBarComponent as ɵio, TransactionSearchSalesOrderTileComponent as ɵip, TransactionSearchTileBaseComponent as ɵiq, TransactionSearchPurchaseOrderTileModule as ɵir, TransactionSearchPurchaseOrderTileComponent as ɵis, TransactionSearchSalesOrderGridModule as ɵit, TransactionSearchSalesOrderGridComponent as ɵiu, TransactionSearchGridBaseComponent as ɵiv, TransactionSearchPurchaseOrderGridModule as ɵiw, TransactionSearchPurchaseOrderGridComponent as ɵix, TransactionSearchHeaderModule as ɵiy, TransactionSearchHeaderComponent as ɵiz, SelectMultipleParameterizedCacheService as ɵj, TransactionSearchGridModule as ɵja, TransactionSearchGridComponent as ɵjb, TransactionSearchTileModule as ɵjc, TransactionSearchTileComponent as ɵjd, TransactionSearchResultComponent as ɵje, TransactionSalesOrderFilterModule as ɵjf, TransactionSalesOrderFilterContentOrderModule as ɵjg, TransactionSalesOrderFilterContentOrderComponent as ɵjh, TransactionFilterContentBaseComponent as ɵji, FilterRequestService as ɵjj, TransactionSalesOrderFilterContentLogisticsModule as ɵjk, TransactionFilterHistoricStateModule as ɵjl, TransactionFilterHistoricStateComponent as ɵjm, TransactionSalesOrderFilterContentLogisticsComponent as ɵjn, TransactionSalesOrderFilterContentArticleModule as ɵjo, TransactionSalesOrderFilterContentArticleComponent as ɵjp, TransactionSalesOrderFilterComponent as ɵjq, TransactionFilterBaseComponent as ɵjr, TransactionPurchaseOrderFilterModule as ɵjs, TransactionPurchaseOrderFilterContentOrderModule as ɵjt, TransactionPurchaseOrderFilterContentOrderComponent as ɵju, TransactionPurchaseOrderFilterContentLogisticsModule as ɵjv, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵjw, TransactionPurchaseOrderFilterContentArticleModule as ɵjx, TransactionPurchaseOrderFilterContentArticleComponent as ɵjy, TransactionPurchaseOrderFilterComponent as ɵjz, ErrorService as ɵk, TransactionFilterModule as ɵka, TransactionFilterComponent as ɵkb, SelectSingleCacheService as ɵl, ArticleConnectorService as ɵm, CoreModule as ɵn, ConfirmationDialogModule as ɵo, PipeModule as ɵp, AppendPipe as ɵq, DeliveryTimePipe as ɵr, DateDurationPipe as ɵs, LocalizePipe as ɵt, CoCurrencyPipe as ɵu, SafeStylePipe as ɵv, SafeHtmlPipe as ɵw, ConfirmationDialogComponent as ɵx, DialogBaseComponent as ɵy, IconCacheService as ɵz };
|
|
19683
20003
|
//# sourceMappingURL=colijnit-transaction.js.map
|