@colijnit/transaction 12.1.47 → 12.1.48
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 +935 -559
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +248 -243
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +249 -244
- package/esm2015/lib/assets/dictionary/text.properties.js +6 -1
- package/esm2015/lib/component/core/base/transaction-lines-line-base.component.js +3 -3
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +7 -2
- package/esm2015/lib/component/transaction/transaction.component.js +10 -7
- package/esm2015/lib/component/transaction/transaction.module.js +4 -2
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +2 -2
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.module.js +2 -2
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +3 -15
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +9 -6
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +7 -5
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +3 -3
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.js +62 -0
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +110 -0
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.module.js +33 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +7 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.js +40 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.module.js +21 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +2 -2
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +3 -2
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +6 -6
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.module.js +23 -0
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +47 -22
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +23 -13
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +4 -3
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +15 -12
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.module.js +3 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.module.js +5 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.module.js +5 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.js +79 -0
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.module.js +23 -0
- package/esm2015/lib/component/transaction-search/transaction-search.module.js +4 -2
- package/esm2015/lib/enum/icon.enum.js +8 -2
- package/esm2015/lib/model/icon-svg.js +8 -2
- package/esm2015/lib/model/receive-good-view-model.js +4 -0
- package/esm2015/lib/service/dialog.service.js +6 -3
- package/esm2015/lib/service/transaction-event.service.js +2 -2
- package/esm2015/lib/service/transaction-mapping.service.js +3 -3
- package/esm2015/public_api.js +5 -3
- package/fesm2015/colijnit-transaction.js +718 -326
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/transaction-lines-line-base.component.d.ts +2 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.d.ts +1 -0
- package/lib/component/transaction/transaction.component.d.ts +4 -2
- package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.d.ts +0 -2
- package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +12 -1
- package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +5 -2
- package/lib/component/transaction-line/transaction-line/transaction-line.component.d.ts +4 -2
- package/lib/component/transaction-line/transaction-order-delivery-line/style/_layout.scss +0 -12
- package/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.d.ts +1 -1
- package/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.d.ts +15 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/style/_layout.scss +37 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.d.ts +27 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.d.ts +14 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts +1 -1
- package/lib/component/transaction-line-statusbar/{transaction-line-checkbox-list.module.d.ts → transaction-line-statusbar.module.d.ts} +0 -0
- package/lib/component/transaction-lines/style/material.scss +1 -0
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +10 -4
- package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/style/_layout.scss +2 -2
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +59 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +9 -7
- package/lib/component/transaction-receiving-goods-details/style/_layout.scss +44 -3
- package/lib/component/transaction-receiving-goods-details/style/_material-definition.scss +1 -1
- package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +6 -2
- package/lib/component/transaction-search/style/material.scss +1 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_layout.scss +6 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/style/_layout.scss +10 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.d.ts +22 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +7 -1
- package/lib/model/receive-good-view-model.d.ts +8 -0
- package/lib/service/dialog.service.d.ts +1 -1
- package/lib/service/transaction-event.service.d.ts +1 -2
- package/package.json +1 -1
- package/public_api.d.ts +4 -2
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-checkbox-list.module.js +0 -23
|
@@ -65,7 +65,7 @@ import { ResolveHeaderPendingReasonRequest } from '@colijnit/transactionapi/buil
|
|
|
65
65
|
import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
|
|
66
66
|
import { NULL_CUSTOMER_FULL_OBJECT, NULL_RELATION_OBJECT } from '@colijnit/transactionapi/build/model/nul-relation-object';
|
|
67
67
|
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
68
|
-
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputListboxModule, DropDownModule, CoOrientation, CoDirection, ColumnAlign, SimpleGridColumnDirective, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, InputTextComponent, InputSearchModule, InputNumberPickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, CarouselModule, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, ClickoutsideModule, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
68
|
+
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputListboxModule, DropDownModule, CoOrientation, CoDirection, ColumnAlign, SimpleGridColumnDirective, ObserveVisibilityModule, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, InputTextComponent, InputSearchModule, InputNumberPickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, CarouselModule, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, ClickoutsideModule, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
69
69
|
import { FlexModule } from '@angular/flex-layout';
|
|
70
70
|
import { AddressType } from '@colijnit/transactionapi/build/enum/address-type.enum';
|
|
71
71
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
@@ -77,10 +77,9 @@ import { TransactionAddTextLineRequest } from '@colijnit/transactionapi/build/mo
|
|
|
77
77
|
import { TransactionSearchViewRequest } from '@colijnit/transactionapi/build/model/transaction-search-view-request';
|
|
78
78
|
import { PagingParameters } from '@colijnit/transactionapi/build/model/paging-parameters';
|
|
79
79
|
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
80
|
-
import {
|
|
80
|
+
import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-status.enum';
|
|
81
81
|
import { ReceiveGoodsForPurchaseOrderRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo';
|
|
82
82
|
import { PurchaseOrderLineReceiptDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo';
|
|
83
|
-
import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-status.enum';
|
|
84
83
|
import { RelationRequest } from '@colijnit/transactionapi/build/model/relation-request';
|
|
85
84
|
import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
|
|
86
85
|
import { CoDocument } from '@colijnit/sharedapi/build/model/co-document.bo';
|
|
@@ -98,6 +97,7 @@ import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transac
|
|
|
98
97
|
import { PurchaseOrderLineReceiptCorrectionDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo';
|
|
99
98
|
import { GetPurchasePortalLine } from '@colijnit/transactionapi/build/model/get-purchase-portal-line';
|
|
100
99
|
import { PurchasePortalFilters } from '@colijnit/transactionapi/build/model/purchase-portal-filters.bo';
|
|
100
|
+
import { GoodsReceiptStatus } from '@colijnit/transactionapi/build/model/goods-receipt-status.bo';
|
|
101
101
|
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
102
102
|
import { QuantityInHistoricState } from '@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum';
|
|
103
103
|
|
|
@@ -312,6 +312,7 @@ class Dictionary {
|
|
|
312
312
|
"HOUSE_NO": "Huisnummer",
|
|
313
313
|
"HOUSE_NO_ADDITION": "Huisnummer toevoeging",
|
|
314
314
|
"IN": "In",
|
|
315
|
+
"INSIDE": "Binnen",
|
|
315
316
|
"INACTIVE_TRANSACTIONS": "Inactieve transacties",
|
|
316
317
|
"INCLUDING_RETURNS": "Inclusief retouren",
|
|
317
318
|
"IN_SEARCHORDERS": "In verkooporders",
|
|
@@ -324,6 +325,7 @@ class Dictionary {
|
|
|
324
325
|
"INVOICE_ADDRESS_ADD": "Factuuradres toevoegen",
|
|
325
326
|
"INVOICE_ADDRESS_CHANGE": "Factuuradres wijzigen",
|
|
326
327
|
"INVOICE_CHECK": "Factuurcontrole",
|
|
328
|
+
"ITEM_ACCEPTED": "Binnengemeld",
|
|
327
329
|
"LAST_EDITED_DATE": "Datum laatste wijziging",
|
|
328
330
|
"LAST_EDITED_USER": "Gebruiker laatste wijziging",
|
|
329
331
|
"LAST_NAME": "Achternaam",
|
|
@@ -363,6 +365,7 @@ class Dictionary {
|
|
|
363
365
|
"NUMBER": "Aantal",
|
|
364
366
|
"ON_DATE": "Op datum",
|
|
365
367
|
"ON_HOLD": "Gepauzeerd",
|
|
368
|
+
"OPEN": "Open",
|
|
366
369
|
"OPEN_SHOPPING_CART": "Open winkelwagen",
|
|
367
370
|
"ORDER_CONFIRMATIONS": "Bevestigingen",
|
|
368
371
|
"ORDER_DATE": "Orderdatum",
|
|
@@ -433,6 +436,7 @@ class Dictionary {
|
|
|
433
436
|
"QUANTITY_CANNOT_BE_MORE_THAN_RECEIVED": "Het aantal moet gelijk zijn aan het aantal ontvangen",
|
|
434
437
|
"QUANTUM_DISCOUNT": "Kwantumkorting",
|
|
435
438
|
"RECEIPT_DETAILS": "Ontvangst details",
|
|
439
|
+
"RECEIVE": "Ontvangen",
|
|
436
440
|
"RECEIVED": "Ontvangst",
|
|
437
441
|
"RECEIVED_DELIVERED": "Binnengemeld / geleverd",
|
|
438
442
|
"RECEIVED_DATE": "Ontvangst datum",
|
|
@@ -664,6 +668,7 @@ class Dictionary {
|
|
|
664
668
|
"INVOICE_ADDRESS_ADD": "Add invoice address",
|
|
665
669
|
"INVOICE_ADDRESS_CHANGE": "Change invoice address",
|
|
666
670
|
"INVOICE_CHECK": "Invoice check",
|
|
671
|
+
"ITEM_ACCEPTED": "Item accepted",
|
|
667
672
|
"LAST_EDITED_DATE": "Date last mutation",
|
|
668
673
|
"LAST_EDITED_USER": "User last mutation",
|
|
669
674
|
"LAST_NAME": "Last name",
|
|
@@ -2026,7 +2031,7 @@ var Icon;
|
|
|
2026
2031
|
Icon["ArrowPointLeft"] = "arrow_point_left";
|
|
2027
2032
|
Icon["ArrowPointRight"] = "arrow_point_right";
|
|
2028
2033
|
Icon["Article"] = "article";
|
|
2029
|
-
Icon["
|
|
2034
|
+
Icon["AtSolid"] = "at_solid";
|
|
2030
2035
|
Icon["BarcodeSolid"] = "barcode_solid";
|
|
2031
2036
|
Icon["BarsFilter"] = "bars_filter";
|
|
2032
2037
|
Icon["CalendarDay"] = "calendar_day";
|
|
@@ -2039,8 +2044,11 @@ var Icon;
|
|
|
2039
2044
|
Icon["CreditCardSolid"] = "credit_card_solid";
|
|
2040
2045
|
Icon["DeliveryTruck"] = "delivery_truck";
|
|
2041
2046
|
Icon["EditPencil"] = "edit_pencil";
|
|
2047
|
+
Icon["FileCircleInfoSolid"] = "file_circle_info_solid";
|
|
2048
|
+
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
2042
2049
|
Icon["GripDotsVerticalSolid"] = "grip_dots_vertical_solid";
|
|
2043
2050
|
Icon["IdealLogo"] = "ideal_logo";
|
|
2051
|
+
Icon["InboxInSolid"] = "inbox_in_solid";
|
|
2044
2052
|
Icon["ListRegular"] = "list_regular";
|
|
2045
2053
|
Icon["ListView"] = "list_view";
|
|
2046
2054
|
Icon["LocationDotSolid"] = "location_dot_solid";
|
|
@@ -2053,8 +2061,11 @@ var Icon;
|
|
|
2053
2061
|
Icon["Menu"] = "menu";
|
|
2054
2062
|
Icon["PalletBoxesSolid"] = "pallet_boxes_solid";
|
|
2055
2063
|
Icon["PlusRound"] = "plus_round";
|
|
2064
|
+
Icon["PrintSolid"] = "print_solid";
|
|
2056
2065
|
Icon["Purchase"] = "purchase";
|
|
2057
2066
|
Icon["Resize"] = "resize";
|
|
2067
|
+
Icon["ShareSolid"] = "share_solid";
|
|
2068
|
+
Icon["ShelvesLight"] = "shelves_light";
|
|
2058
2069
|
Icon["ShelvesSolid"] = "shelves_solid";
|
|
2059
2070
|
Icon["SidePanel"] = "side_panel";
|
|
2060
2071
|
Icon["SlideIn"] = "slide_in";
|
|
@@ -2084,7 +2095,7 @@ const IconSvg = {
|
|
|
2084
2095
|
"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>",
|
|
2085
2096
|
"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>",
|
|
2086
2097
|
"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>",
|
|
2087
|
-
"
|
|
2098
|
+
"at_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M207.8 20.73c-93.45 18.32-168.7 93.66-187 187.1c-27.64 140.9 68.65 266.2 199.1 285.1c19.01 2.888 36.17-12.26 36.17-31.49l.0001-.6631c0-15.74-11.44-28.88-26.84-31.24c-84.35-12.98-149.2-86.13-149.2-174.2c0-102.9 88.61-185.5 193.4-175.4c91.54 8.869 158.6 91.25 158.6 183.2l0 16.16c0 22.09-17.94 40.05-40 40.05s-40.01-17.96-40.01-40.05v-120.1c0-8.847-7.161-16.02-16.01-16.02l-31.98 .0036c-7.299 0-13.2 4.992-15.12 11.68c-24.85-12.15-54.24-16.38-86.06-5.106c-38.75 13.73-68.12 48.91-73.72 89.64c-9.483 69.01 43.81 128 110.9 128c26.44 0 50.43-9.544 69.59-24.88c24 31.3 65.23 48.69 109.4 37.49C465.2 369.3 496 324.1 495.1 277.2V256.3C495.1 107.1 361.2-9.332 207.8 20.73zM239.1 304.3c-26.47 0-48-21.56-48-48.05s21.53-48.05 48-48.05s48 21.56 48 48.05S266.5 304.3 239.1 304.3z\"/></svg>",
|
|
2088
2099
|
"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>",
|
|
2089
2100
|
"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>",
|
|
2090
2101
|
"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>",
|
|
@@ -2097,8 +2108,11 @@ const IconSvg = {
|
|
|
2097
2108
|
"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>",
|
|
2098
2109
|
"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>",
|
|
2099
2110
|
"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>",
|
|
2111
|
+
"file_circle_info_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M0 64C0 28.65 28.65 0 64 0H224V128C224 145.7 238.3 160 256 160H384V198.6C310.1 219.5 256 287.4 256 368C256 427.1 285.1 479.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM256 128V0L384 128H256zM288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM432 320C445.3 320 456 309.3 456 296C456 282.7 445.3 272 432 272C418.7 272 408 282.7 408 296C408 309.3 418.7 320 432 320zM416 384L416 432C407.2 432 400 439.2 400 448C400 456.8 407.2 464 416 464H448C456.8 464 464 456.8 464 448C464 439.2 456.8 432 448 432V368C448 359.2 440.8 352 432 352H416C407.2 352 400 359.2 400 368C400 376.8 407.2 384 416 384z\"/></svg>",
|
|
2112
|
+
"file_pdf_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M88 304H80V256H88C101.3 256 112 266.7 112 280C112 293.3 101.3 304 88 304zM192 256H200C208.8 256 216 263.2 216 272V336C216 344.8 208.8 352 200 352H192V256zM224 0V128C224 145.7 238.3 160 256 160H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H224zM64 224C55.16 224 48 231.2 48 240V368C48 376.8 55.16 384 64 384C72.84 384 80 376.8 80 368V336H88C118.9 336 144 310.9 144 280C144 249.1 118.9 224 88 224H64zM160 368C160 376.8 167.2 384 176 384H200C226.5 384 248 362.5 248 336V272C248 245.5 226.5 224 200 224H176C167.2 224 160 231.2 160 240V368zM288 224C279.2 224 272 231.2 272 240V368C272 376.8 279.2 384 288 384C296.8 384 304 376.8 304 368V320H336C344.8 320 352 312.8 352 304C352 295.2 344.8 288 336 288H304V256H336C344.8 256 352 248.8 352 240C352 231.2 344.8 224 336 224H288zM256 0L384 128H256V0z\"/></svg>",
|
|
2100
2113
|
"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>",
|
|
2101
2114
|
"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>",
|
|
2115
|
+
"inbox_in_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M288 32V210.7l41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7V32c0-17.7 14.3-32 32-32s32 14.3 32 32zM48 320h76.2c12.1 0 23.2 6.8 28.6 17.7l14.3 28.6c5.4 10.8 16.5 17.7 28.6 17.7H316.2c12.1 0 23.2-6.8 28.6-17.7l14.3-28.6c5.4-10.8 16.5-17.7 28.6-17.7H464c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48z\"/></svg>",
|
|
2102
2116
|
"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>",
|
|
2103
2117
|
"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>",
|
|
2104
2118
|
"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>",
|
|
@@ -2111,8 +2125,11 @@ const IconSvg = {
|
|
|
2111
2125
|
"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>",
|
|
2112
2126
|
"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>",
|
|
2113
2127
|
"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>",
|
|
2128
|
+
"print_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M448 192H64C28.65 192 0 220.7 0 256v96c0 17.67 14.33 32 32 32h32v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h32c17.67 0 32-14.33 32-32V256C512 220.7 483.3 192 448 192zM384 448H128v-96h256V448zM432 296c-13.25 0-24-10.75-24-24c0-13.27 10.75-24 24-24s24 10.73 24 24C456 285.3 445.3 296 432 296zM128 64h229.5L384 90.51V160h64V77.25c0-8.484-3.375-16.62-9.375-22.62l-45.25-45.25C387.4 3.375 379.2 0 370.8 0H96C78.34 0 64 14.33 64 32v128h64V64z\"/></svg>",
|
|
2114
2129
|
"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>",
|
|
2115
2130
|
"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>",
|
|
2131
|
+
"share_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M503.7 226.2l-176 151.1c-15.38 13.3-39.69 2.545-39.69-18.16V272.1C132.9 274.3 66.06 312.8 111.4 457.8c5.031 16.09-14.41 28.56-28.06 18.62C39.59 444.6 0 383.8 0 322.3c0-152.2 127.4-184.4 288-186.3V56.02c0-20.67 24.28-31.46 39.69-18.16l176 151.1C514.8 199.4 514.8 216.6 503.7 226.2z\"/></svg>",
|
|
2132
|
+
"shelves_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M624 0C615.2 0 608 7.162 608 16V160H32V16C32 7.162 24.84 0 16 0S0 7.162 0 16v480C0 504.8 7.164 512 16 512S32 504.8 32 496V448h576v48c0 8.836 7.164 16 16 16s16-7.164 16-16v-480C640 7.162 632.8 0 624 0zM608 416H32V192h576V416zM384 128h64c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32h-64c-17.67 0-32 14.33-32 32v64C352 113.7 366.3 128 384 128zM384 32h64v64h-64V32zM288 384h64c17.67 0 32-14.33 32-32V288c0-17.67-14.33-32-32-32H288C270.3 256 256 270.3 256 288v64C256 369.7 270.3 384 288 384zM288 288h64v64H288V288zM128 384h64c17.67 0 32-14.33 32-32V288c0-17.67-14.33-32-32-32H128C110.3 256 96 270.3 96 288v64C96 369.7 110.3 384 128 384zM128 288h64v64H128V288z\"/></svg>",
|
|
2116
2133
|
"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>",
|
|
2117
2134
|
"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>",
|
|
2118
2135
|
"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>",
|
|
@@ -2640,6 +2657,10 @@ DynamicComponentService.ctorParameters = () => [
|
|
|
2640
2657
|
];
|
|
2641
2658
|
|
|
2642
2659
|
class DialogTransactionLineWarehouseLocationComponent extends DialogTransactionLineBaseComponent {
|
|
2660
|
+
constructor() {
|
|
2661
|
+
super(...arguments);
|
|
2662
|
+
this.showClose = false;
|
|
2663
|
+
}
|
|
2643
2664
|
showClass() {
|
|
2644
2665
|
return true;
|
|
2645
2666
|
}
|
|
@@ -2648,7 +2669,7 @@ DialogTransactionLineWarehouseLocationComponent.decorators = [
|
|
|
2648
2669
|
{ type: Component, args: [{
|
|
2649
2670
|
selector: "co-dialog-transaction-line-warehouse-location",
|
|
2650
2671
|
template: `
|
|
2651
|
-
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="
|
|
2672
|
+
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="showClose" (closeClick)="handleClose(buttonType.Ok)">
|
|
2652
2673
|
<co-transaction-line-warehouse-location
|
|
2653
2674
|
[autoClose]="autoClose"
|
|
2654
2675
|
[useModel]="useModel"
|
|
@@ -2673,6 +2694,7 @@ DialogTransactionLineWarehouseLocationComponent.decorators = [
|
|
|
2673
2694
|
];
|
|
2674
2695
|
DialogTransactionLineWarehouseLocationComponent.propDecorators = {
|
|
2675
2696
|
warehouseNr: [{ type: Input }],
|
|
2697
|
+
showClose: [{ type: Input }],
|
|
2676
2698
|
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-warehouse-location",] }]
|
|
2677
2699
|
};
|
|
2678
2700
|
|
|
@@ -2832,9 +2854,12 @@ class DialogService {
|
|
|
2832
2854
|
};
|
|
2833
2855
|
return this.dynamicComponentService.createComponent(DialogTransactionLineCommissionCodeComponent, data);
|
|
2834
2856
|
}
|
|
2835
|
-
showWarehouseLocation(warehouseNr) {
|
|
2857
|
+
showWarehouseLocation(warehouseNr, useModel, autoClose, showClose, transactionLine) {
|
|
2836
2858
|
const data = {
|
|
2837
|
-
useModel:
|
|
2859
|
+
useModel: useModel,
|
|
2860
|
+
autoClose: autoClose,
|
|
2861
|
+
showClose: showClose,
|
|
2862
|
+
transactionLine: transactionLine,
|
|
2838
2863
|
warehouseNr: warehouseNr
|
|
2839
2864
|
};
|
|
2840
2865
|
return this.dynamicComponentService.createComponent(DialogTransactionLineWarehouseLocationComponent, data);
|
|
@@ -8810,7 +8835,7 @@ TransactionSearchPurchaseOrderTileComponent.decorators = [
|
|
|
8810
8835
|
</div>
|
|
8811
8836
|
<div class="tile-upper-right">
|
|
8812
8837
|
<div class="status-bar-wrapper">
|
|
8813
|
-
<co-
|
|
8838
|
+
<co-transaction-statusbar [transaction]="transaction" [transactionKind]="transaction.transactionKind"></co-transaction-statusbar>
|
|
8814
8839
|
</div>
|
|
8815
8840
|
<div class="header"><span [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span></div>
|
|
8816
8841
|
</div>
|
|
@@ -8879,7 +8904,7 @@ TransactionSearchSalesOrderTileComponent.decorators = [
|
|
|
8879
8904
|
</div>
|
|
8880
8905
|
<div class="tile-upper-right">
|
|
8881
8906
|
<div class="status-bar-wrapper">
|
|
8882
|
-
<co-
|
|
8907
|
+
<co-transaction-statusbar [transaction]="transaction" [transactionKind]="transaction.transactionKind"></co-transaction-statusbar>
|
|
8883
8908
|
</div>
|
|
8884
8909
|
<div class="header"><span [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span></div>
|
|
8885
8910
|
</div>
|
|
@@ -9077,10 +9102,10 @@ class TransactionEventService {
|
|
|
9077
9102
|
this.transactionLineClicked = new Subject();
|
|
9078
9103
|
this.rightSidebarClose = new Subject();
|
|
9079
9104
|
this.scrollContent = new Subject();
|
|
9080
|
-
this.receivedPurchaseOrderCommit = new Subject();
|
|
9081
9105
|
this.commitReceivePurchaseOrders = new Subject();
|
|
9082
9106
|
this.selectAllLines = new Subject();
|
|
9083
9107
|
this.transactionLineChanged = new Subject();
|
|
9108
|
+
this.openSidePanel = new Subject();
|
|
9084
9109
|
}
|
|
9085
9110
|
}
|
|
9086
9111
|
TransactionEventService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
|
|
@@ -9089,14 +9114,15 @@ TransactionEventService.decorators = [
|
|
|
9089
9114
|
];
|
|
9090
9115
|
|
|
9091
9116
|
class TransactionQuickAccessReceivedGoodsComponent extends TransactionBaseComponent {
|
|
9092
|
-
constructor(_transactionService, _transactionEventService) {
|
|
9117
|
+
constructor(iconService, _transactionService, _transactionEventService) {
|
|
9093
9118
|
super(_transactionService);
|
|
9119
|
+
this.iconService = iconService;
|
|
9094
9120
|
this._transactionService = _transactionService;
|
|
9095
9121
|
this._transactionEventService = _transactionEventService;
|
|
9122
|
+
this.icons = Icon;
|
|
9123
|
+
this.localCheckboxState = true;
|
|
9096
9124
|
// Route through event service instead
|
|
9097
9125
|
this.checkboxValueChanged = new EventEmitter();
|
|
9098
|
-
this.commitCheckboxState = false;
|
|
9099
|
-
this._subscriptions = [];
|
|
9100
9126
|
}
|
|
9101
9127
|
showClass() {
|
|
9102
9128
|
return true;
|
|
@@ -9104,16 +9130,13 @@ class TransactionQuickAccessReceivedGoodsComponent extends TransactionBaseCompon
|
|
|
9104
9130
|
ngOnInit() {
|
|
9105
9131
|
const timeElapsed = Date.now();
|
|
9106
9132
|
this.commitDate = new Date(timeElapsed);
|
|
9107
|
-
this._subscriptions.push(this._transactionEventService.receivedPurchaseOrderCommit.subscribe((value) => {
|
|
9108
|
-
this.commitCheckboxState = value;
|
|
9109
|
-
}));
|
|
9110
|
-
}
|
|
9111
|
-
ngOnDestroy() {
|
|
9112
|
-
this._subscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
9113
9133
|
}
|
|
9114
9134
|
handleCommitEvent(value) {
|
|
9115
9135
|
this._transactionEventService.commitReceivePurchaseOrders.next(value);
|
|
9116
9136
|
}
|
|
9137
|
+
handleSelectAllLines(value) {
|
|
9138
|
+
this._transactionEventService.selectAllLines.next(value);
|
|
9139
|
+
}
|
|
9117
9140
|
}
|
|
9118
9141
|
TransactionQuickAccessReceivedGoodsComponent.decorators = [
|
|
9119
9142
|
{ type: Component, args: [{
|
|
@@ -9129,15 +9152,25 @@ TransactionQuickAccessReceivedGoodsComponent.decorators = [
|
|
|
9129
9152
|
></co-input-text>
|
|
9130
9153
|
<co-input-checkbox
|
|
9131
9154
|
class="checkbox-wrapper"
|
|
9132
|
-
[(model)]="
|
|
9133
|
-
|
|
9134
|
-
(modelChange)="handleCommitEvent({checkboxValue: $event, date: this.commitDate, id: this.commitReferenceId})"
|
|
9155
|
+
[(model)]="localCheckboxState"
|
|
9156
|
+
(modelChange)="handleSelectAllLines($event)"
|
|
9135
9157
|
></co-input-checkbox>
|
|
9158
|
+
<div class="buttons">
|
|
9159
|
+
<div class="button-wrapper receive" (click)="handleCommitEvent({date: this.commitDate, id: this.commitReferenceId})">
|
|
9160
|
+
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.InboxInSolid)"></co-icon>
|
|
9161
|
+
<span class="button-title" [textContent]="'INSIDE' | localize"></span>
|
|
9162
|
+
</div>
|
|
9163
|
+
<div class="button-wrapper print">
|
|
9164
|
+
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.PrintSolid)"></co-icon>
|
|
9165
|
+
<div class="dots-wrapper"><div class="dot"></div><div class="dot"></div><div class="dot"></div></div>
|
|
9166
|
+
</div>
|
|
9167
|
+
</div>
|
|
9136
9168
|
`,
|
|
9137
9169
|
encapsulation: ViewEncapsulation.None
|
|
9138
9170
|
},] }
|
|
9139
9171
|
];
|
|
9140
9172
|
TransactionQuickAccessReceivedGoodsComponent.ctorParameters = () => [
|
|
9173
|
+
{ type: IconCacheService },
|
|
9141
9174
|
{ type: TransactionService },
|
|
9142
9175
|
{ type: TransactionEventService }
|
|
9143
9176
|
];
|
|
@@ -9428,195 +9461,6 @@ TransactionLinesGridComponent.propDecorators = {
|
|
|
9428
9461
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-lines-grid",] }]
|
|
9429
9462
|
};
|
|
9430
9463
|
|
|
9431
|
-
class ReceiveGoodsViewModel {
|
|
9432
|
-
constructor(transactionLine, goodsReceiptStatus, selected, toReceive) {
|
|
9433
|
-
this.toReceive = 0;
|
|
9434
|
-
this.location = '';
|
|
9435
|
-
this.transactionLine = transactionLine;
|
|
9436
|
-
this.goodsReceiptStatus = goodsReceiptStatus;
|
|
9437
|
-
this.selected = selected;
|
|
9438
|
-
this.toReceive = toReceive;
|
|
9439
|
-
}
|
|
9440
|
-
}
|
|
9441
|
-
|
|
9442
|
-
class ArticleService {
|
|
9443
|
-
constructor(_articleConnectorService, _selectMultipleCacheService) {
|
|
9444
|
-
this._articleConnectorService = _articleConnectorService;
|
|
9445
|
-
this._selectMultipleCacheService = _selectMultipleCacheService;
|
|
9446
|
-
}
|
|
9447
|
-
getWarehouseLocations(warehouseNr) {
|
|
9448
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9449
|
-
// @ts-ignore
|
|
9450
|
-
return this._selectMultipleCacheService.requestCache(StockLocation, () => {
|
|
9451
|
-
return this._articleConnectorService.getWarehouseLocations(warehouseNr);
|
|
9452
|
-
}).getValue();
|
|
9453
|
-
});
|
|
9454
|
-
}
|
|
9455
|
-
}
|
|
9456
|
-
ArticleService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ArticleService_Factory() { return new ArticleService(i0.ɵɵinject(ArticleConnectorService), i0.ɵɵinject(SelectMultipleCacheService)); }, token: ArticleService, providedIn: "root" });
|
|
9457
|
-
ArticleService.decorators = [
|
|
9458
|
-
{ type: Injectable, args: [{
|
|
9459
|
-
providedIn: "root"
|
|
9460
|
-
},] }
|
|
9461
|
-
];
|
|
9462
|
-
ArticleService.ctorParameters = () => [
|
|
9463
|
-
{ type: ArticleConnectorService },
|
|
9464
|
-
{ type: SelectMultipleCacheService }
|
|
9465
|
-
];
|
|
9466
|
-
|
|
9467
|
-
class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent {
|
|
9468
|
-
constructor(_imageService, _transactionService, _transactionEventService, _articleService, _dialogService) {
|
|
9469
|
-
super(_imageService);
|
|
9470
|
-
this._imageService = _imageService;
|
|
9471
|
-
this._transactionService = _transactionService;
|
|
9472
|
-
this._transactionEventService = _transactionEventService;
|
|
9473
|
-
this._articleService = _articleService;
|
|
9474
|
-
this._dialogService = _dialogService;
|
|
9475
|
-
this.columnAlign = ColumnAlign;
|
|
9476
|
-
this.locationDropdownFields = { text: "locationNo", value: "locationNo" };
|
|
9477
|
-
this.rowViewModels = new Map();
|
|
9478
|
-
this._subscriptions = [];
|
|
9479
|
-
this._subscriptions.push(this._transactionEventService.commitReceivePurchaseOrders.subscribe((value => {
|
|
9480
|
-
this.handleReceiveSelectedPurchaseOrders(value);
|
|
9481
|
-
})), this._transactionEventService.transactionLineChanged.subscribe((value) => {
|
|
9482
|
-
this.handleTransactionLineChanged(value);
|
|
9483
|
-
}));
|
|
9484
|
-
}
|
|
9485
|
-
showClass() {
|
|
9486
|
-
return true;
|
|
9487
|
-
}
|
|
9488
|
-
ngOnInit() {
|
|
9489
|
-
this.transactionLines.forEach((line) => {
|
|
9490
|
-
this.rowViewModels.set(line, new ReceiveGoodsViewModel(line, new GoodsReceiptStatus(), false));
|
|
9491
|
-
});
|
|
9492
|
-
}
|
|
9493
|
-
ngOnDestroy() {
|
|
9494
|
-
this._subscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
9495
|
-
}
|
|
9496
|
-
handleRowVisible(row) {
|
|
9497
|
-
if (row.isArticle) {
|
|
9498
|
-
this._transactionService.getGoodsReceiptStatus(this.transactionId, row.lineNr)
|
|
9499
|
-
.then((result) => {
|
|
9500
|
-
this.rowViewModels.set(row, new ReceiveGoodsViewModel(row, result, result.quantityToReceive === 0, result.quantityToReceive));
|
|
9501
|
-
});
|
|
9502
|
-
}
|
|
9503
|
-
}
|
|
9504
|
-
locationRequired(row) {
|
|
9505
|
-
return row.isLocationRequired || row.isBatchNrRequired || row.isSerialNrRequired;
|
|
9506
|
-
}
|
|
9507
|
-
handleDropDownSelected(warehouseNr) {
|
|
9508
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9509
|
-
this.locations = yield this._articleService.getWarehouseLocations(warehouseNr);
|
|
9510
|
-
});
|
|
9511
|
-
}
|
|
9512
|
-
getRowViewModel(row) {
|
|
9513
|
-
return this.rowViewModels.get(row);
|
|
9514
|
-
}
|
|
9515
|
-
handleReceiveSelectedPurchaseOrders(value) {
|
|
9516
|
-
const selectedRows = [...this.rowViewModels.values()]
|
|
9517
|
-
.filter((row) => row.selected && row.toReceive !== 0);
|
|
9518
|
-
if (value.checkboxValue && selectedRows.length > 0) {
|
|
9519
|
-
const receivedGoodsRequest = new ReceiveGoodsForPurchaseOrderRequest();
|
|
9520
|
-
receivedGoodsRequest.transId = this.transactionId;
|
|
9521
|
-
receivedGoodsRequest.receivedDate = value.date;
|
|
9522
|
-
receivedGoodsRequest.packingSlipNr = value.id;
|
|
9523
|
-
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS = [];
|
|
9524
|
-
selectedRows.forEach((row) => {
|
|
9525
|
-
const detail = new PurchaseOrderLineReceiptDetails();
|
|
9526
|
-
detail.lineNr = row.transactionLine.lineNr;
|
|
9527
|
-
detail.quantityToReceive = row.toReceive;
|
|
9528
|
-
detail.warehouseNr = row.transactionLine.warehouseNumber;
|
|
9529
|
-
detail.locationNr = row.location;
|
|
9530
|
-
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS.push(detail);
|
|
9531
|
-
});
|
|
9532
|
-
this._transactionService.receiveGoodsForPurchaseOrder(receivedGoodsRequest).then(() => {
|
|
9533
|
-
this._handleAfterCommitReceivedOrders(selectedRows);
|
|
9534
|
-
});
|
|
9535
|
-
}
|
|
9536
|
-
}
|
|
9537
|
-
_handleAfterCommitReceivedOrders(selectedRows) {
|
|
9538
|
-
selectedRows.forEach((row) => {
|
|
9539
|
-
row.goodsReceiptStatus.quantityToReceive = row.goodsReceiptStatus.quantityToReceive -= row.toReceive;
|
|
9540
|
-
row.toReceive = row.goodsReceiptStatus.quantityToReceive;
|
|
9541
|
-
if (row.goodsReceiptStatus.quantityToReceive !== 0) {
|
|
9542
|
-
row.selected = false;
|
|
9543
|
-
}
|
|
9544
|
-
});
|
|
9545
|
-
this._transactionEventService.receivedPurchaseOrderCommit.next(false);
|
|
9546
|
-
}
|
|
9547
|
-
handleTransactionLineChanged(change) {
|
|
9548
|
-
const receiveGoodsViewModel = this.rowViewModels.get(change.transactionLine);
|
|
9549
|
-
receiveGoodsViewModel.goodsReceiptStatus.quantityToReceive = change.goodsReceiptStatus.quantityToReceive;
|
|
9550
|
-
receiveGoodsViewModel.toReceive = change.goodsReceiptStatus.quantityToReceive;
|
|
9551
|
-
}
|
|
9552
|
-
openWarehouseLocationDialog(line) {
|
|
9553
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9554
|
-
const response = yield this._dialogService.showWarehouseLocation(line.warehouseNumber);
|
|
9555
|
-
if (response.button === AppPopupButtonType.Ok) {
|
|
9556
|
-
this.getRowViewModel(line).location = response.output;
|
|
9557
|
-
}
|
|
9558
|
-
});
|
|
9559
|
-
}
|
|
9560
|
-
}
|
|
9561
|
-
TransactionReceivedGoodsGridComponent.decorators = [
|
|
9562
|
-
{ type: Component, args: [{
|
|
9563
|
-
selector: "co-transaction-received-goods-grid",
|
|
9564
|
-
template: `
|
|
9565
|
-
<co-transaction-base-grid [transactionLines]="transactionLines" (sidePanelClicked)="openSidePanel($event)" (rowVisible)="handleRowVisible($event)">
|
|
9566
|
-
<co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNumber'" [order]="40"></co-simple-grid-column>
|
|
9567
|
-
<co-simple-grid-column [headerText]="'LOCATION' | localize" [order]="45">
|
|
9568
|
-
<ng-template #template let-row = "row">
|
|
9569
|
-
<div *ngIf="row.isArticle" class="location-wrapper" (click)="openWarehouseLocationDialog(row)">
|
|
9570
|
-
<div [textContent]="getRowViewModel(row).location ? getRowViewModel(row).location : '-'"></div>
|
|
9571
|
-
</div>
|
|
9572
|
-
<!-- <co-drop-down-list-->
|
|
9573
|
-
<!-- noTriangleGraphic-->
|
|
9574
|
-
<!-- (focus)="handleDropDownSelected(row.warehouseNumber)"-->
|
|
9575
|
-
<!-- [required]="locationRequired(row) && getRowViewModel(row).goodsReceiptStatus.quantityToReceive > 0"-->
|
|
9576
|
-
<!-- [collection]="locations"-->
|
|
9577
|
-
<!-- [fields]="locationDropdownFields"-->
|
|
9578
|
-
<!-- [(model)]="getRowViewModel(row).location"-->
|
|
9579
|
-
<!-- [disabled]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"-->
|
|
9580
|
-
<!-- ></co-drop-down-list>-->
|
|
9581
|
-
</ng-template>
|
|
9582
|
-
</co-simple-grid-column>
|
|
9583
|
-
<co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'IN_ORDER' | localize" [field]="'amount'" [order]="50"></co-simple-grid-column>
|
|
9584
|
-
<co-simple-grid-column [headerText]="'RECEIVED' | localize" [order]="51">
|
|
9585
|
-
<ng-template #template let-row = "row">
|
|
9586
|
-
<co-input-number-picker *ngIf="row.isArticle"
|
|
9587
|
-
[min]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive > 0 ? 1 : 0"
|
|
9588
|
-
[max]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive"
|
|
9589
|
-
[(model)]="getRowViewModel(row).toReceive"
|
|
9590
|
-
[disabled]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"
|
|
9591
|
-
[readonly]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"
|
|
9592
|
-
></co-input-number-picker>
|
|
9593
|
-
</ng-template>
|
|
9594
|
-
</co-simple-grid-column>
|
|
9595
|
-
<co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'BATCH' | localize" [field]="'inOrder'" [order]="52"></co-simple-grid-column>
|
|
9596
|
-
<co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'Commit button'" [field]="'commitButton'" [order]="55">
|
|
9597
|
-
<ng-template #template let-row = "row">
|
|
9598
|
-
<co-input-checkbox *ngIf="row.isArticle"
|
|
9599
|
-
[(model)]="getRowViewModel(row).selected"
|
|
9600
|
-
[disabled]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"
|
|
9601
|
-
></co-input-checkbox>
|
|
9602
|
-
</ng-template>
|
|
9603
|
-
</co-simple-grid-column>
|
|
9604
|
-
</co-transaction-base-grid>
|
|
9605
|
-
`,
|
|
9606
|
-
encapsulation: ViewEncapsulation.None
|
|
9607
|
-
},] }
|
|
9608
|
-
];
|
|
9609
|
-
TransactionReceivedGoodsGridComponent.ctorParameters = () => [
|
|
9610
|
-
{ type: TransactionImageService },
|
|
9611
|
-
{ type: TransactionService },
|
|
9612
|
-
{ type: TransactionEventService },
|
|
9613
|
-
{ type: ArticleService },
|
|
9614
|
-
{ type: DialogService }
|
|
9615
|
-
];
|
|
9616
|
-
TransactionReceivedGoodsGridComponent.propDecorators = {
|
|
9617
|
-
showClass: [{ type: HostBinding, args: ["class.co-transaction-received-goods-grid",] }]
|
|
9618
|
-
};
|
|
9619
|
-
|
|
9620
9464
|
// Direction type for regular straight directions.
|
|
9621
9465
|
var Direction;
|
|
9622
9466
|
(function (Direction) {
|
|
@@ -9828,10 +9672,10 @@ class TransactionLinesLineBaseComponent {
|
|
|
9828
9672
|
constructor() {
|
|
9829
9673
|
this.icons = Icon;
|
|
9830
9674
|
this.waitingForUserAction = new EventEmitter();
|
|
9831
|
-
this.sidePanelButtonClicked = new EventEmitter();
|
|
9832
9675
|
this.preview = false;
|
|
9833
9676
|
this.readonly = false;
|
|
9834
9677
|
this.lineSet = new BehaviorSubject(false);
|
|
9678
|
+
this.lineVisible = new BehaviorSubject(false);
|
|
9835
9679
|
}
|
|
9836
9680
|
set line(value) {
|
|
9837
9681
|
this._line = value;
|
|
@@ -9853,8 +9697,8 @@ TransactionLinesLineBaseComponent.decorators = [
|
|
|
9853
9697
|
];
|
|
9854
9698
|
TransactionLinesLineBaseComponent.propDecorators = {
|
|
9855
9699
|
line: [{ type: Input }],
|
|
9700
|
+
transactionId: [{ type: Input }],
|
|
9856
9701
|
waitingForUserAction: [{ type: Output }],
|
|
9857
|
-
sidePanelButtonClicked: [{ type: Output }],
|
|
9858
9702
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-base-line",] }],
|
|
9859
9703
|
preview: [{ type: HostBinding, args: ["class.preview",] }, { type: Input }],
|
|
9860
9704
|
isSelected: [{ type: HostBinding, args: ["class.is-selected",] }, { type: Input, args: ['selected',] }],
|
|
@@ -10172,8 +10016,6 @@ class TransactionOrderDeliveryLineComponent extends TransactionLinesLineBaseComp
|
|
|
10172
10016
|
showClass() {
|
|
10173
10017
|
return true;
|
|
10174
10018
|
}
|
|
10175
|
-
changeLineAmount(amount) {
|
|
10176
|
-
}
|
|
10177
10019
|
ngOnInit() {
|
|
10178
10020
|
this.allowPartialDelivery = this.service.currentTransaction.transactionInfo.allowPartialDelivery;
|
|
10179
10021
|
this._subscriptions.push(this._transactionEventService.selectAllLines.subscribe((value) => {
|
|
@@ -10183,6 +10025,8 @@ class TransactionOrderDeliveryLineComponent extends TransactionLinesLineBaseComp
|
|
|
10183
10025
|
ngOnDestroy() {
|
|
10184
10026
|
this._subscriptions.forEach(s => s.unsubscribe());
|
|
10185
10027
|
}
|
|
10028
|
+
changeLineAmount(amount) {
|
|
10029
|
+
}
|
|
10186
10030
|
}
|
|
10187
10031
|
TransactionOrderDeliveryLineComponent.decorators = [
|
|
10188
10032
|
{ type: Component, args: [{
|
|
@@ -10282,8 +10126,8 @@ TransactionQuickAccessOrderDeliveryComponent.decorators = [
|
|
|
10282
10126
|
</div>
|
|
10283
10127
|
<div class="send-button-wrapper">
|
|
10284
10128
|
<div class="button-wrapper">
|
|
10285
|
-
<co-icon class="
|
|
10286
|
-
<span class="
|
|
10129
|
+
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.ArrowPointRight)"></co-icon>
|
|
10130
|
+
<span class="button-title" [textContent]="'SEND' | localize"></span>
|
|
10287
10131
|
</div>
|
|
10288
10132
|
<co-icon class="hover-icon" [iconData]="iconService.getIcon(icons.GripDotsVerticalSolid)" (click)="openDeliveryDocumentDialog()"></co-icon>
|
|
10289
10133
|
</div>
|
|
@@ -10305,50 +10149,208 @@ TransactionQuickAccessOrderDeliveryComponent.propDecorators = {
|
|
|
10305
10149
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-order-delivery",] }]
|
|
10306
10150
|
};
|
|
10307
10151
|
|
|
10308
|
-
class
|
|
10309
|
-
constructor() {
|
|
10310
|
-
this.
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10351
|
-
|
|
10152
|
+
class TransactionReceiveGoodsService {
|
|
10153
|
+
constructor(_transactionService, _transactionEventService) {
|
|
10154
|
+
this._transactionService = _transactionService;
|
|
10155
|
+
this._transactionEventService = _transactionEventService;
|
|
10156
|
+
this.lines = [];
|
|
10157
|
+
this._subscriptions = [];
|
|
10158
|
+
this._subscriptions.push(this._transactionEventService.commitReceivePurchaseOrders.subscribe((value => {
|
|
10159
|
+
this.handleReceiveSelectedPurchaseOrders(value);
|
|
10160
|
+
})));
|
|
10161
|
+
}
|
|
10162
|
+
handleReceiveSelectedPurchaseOrders(value) {
|
|
10163
|
+
const selectedLines = this.lines.filter((line) => line.selected && line.quantityToReceive > 0);
|
|
10164
|
+
if (selectedLines.length > 0) {
|
|
10165
|
+
const receivedGoodsRequest = new ReceiveGoodsForPurchaseOrderRequest();
|
|
10166
|
+
receivedGoodsRequest.transId = selectedLines[0].transId;
|
|
10167
|
+
receivedGoodsRequest.receivedDate = value.date;
|
|
10168
|
+
receivedGoodsRequest.packingSlipNr = value.id;
|
|
10169
|
+
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS = [];
|
|
10170
|
+
selectedLines.forEach((line) => {
|
|
10171
|
+
const detail = new PurchaseOrderLineReceiptDetails();
|
|
10172
|
+
detail.lineNr = line.lineNr;
|
|
10173
|
+
detail.quantityToReceive = line.quantityToReceive;
|
|
10174
|
+
detail.warehouseNr = line.warehouseNumber;
|
|
10175
|
+
detail.locationNr = line.locationNr;
|
|
10176
|
+
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS.push(detail);
|
|
10177
|
+
});
|
|
10178
|
+
this._transactionService.receiveGoodsForPurchaseOrder(receivedGoodsRequest).then((response) => {
|
|
10179
|
+
if (response) {
|
|
10180
|
+
this._handleAfterCommitReceivedOrders(selectedLines);
|
|
10181
|
+
}
|
|
10182
|
+
});
|
|
10183
|
+
}
|
|
10184
|
+
}
|
|
10185
|
+
_handleAfterCommitReceivedOrders(selectedLines) {
|
|
10186
|
+
selectedLines.forEach((line) => {
|
|
10187
|
+
line.quantityReceived += line.quantityToReceive;
|
|
10188
|
+
line.quantityToReceive -= line.quantityToReceive;
|
|
10189
|
+
if (line.quantityToReceive !== 0) {
|
|
10190
|
+
line.selected = false;
|
|
10191
|
+
}
|
|
10192
|
+
});
|
|
10193
|
+
}
|
|
10194
|
+
}
|
|
10195
|
+
TransactionReceiveGoodsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionReceiveGoodsService_Factory() { return new TransactionReceiveGoodsService(i0.ɵɵinject(TransactionService), i0.ɵɵinject(TransactionEventService)); }, token: TransactionReceiveGoodsService, providedIn: "root" });
|
|
10196
|
+
TransactionReceiveGoodsService.decorators = [
|
|
10197
|
+
{ type: Injectable, args: [{
|
|
10198
|
+
providedIn: "root"
|
|
10199
|
+
},] }
|
|
10200
|
+
];
|
|
10201
|
+
TransactionReceiveGoodsService.ctorParameters = () => [
|
|
10202
|
+
{ type: TransactionService },
|
|
10203
|
+
{ type: TransactionEventService }
|
|
10204
|
+
];
|
|
10205
|
+
|
|
10206
|
+
class ReceiveGoodViewModel extends TransactionLineInfo {
|
|
10207
|
+
}
|
|
10208
|
+
|
|
10209
|
+
class TransactionReceiveGoodsLineComponent extends TransactionLinesLineBaseComponent {
|
|
10210
|
+
constructor(iconCacheService, service, _transactionService, _transactionEventService, _transactionReceiveGoodsService) {
|
|
10211
|
+
super();
|
|
10212
|
+
this.iconCacheService = iconCacheService;
|
|
10213
|
+
this.service = service;
|
|
10214
|
+
this._transactionService = _transactionService;
|
|
10215
|
+
this._transactionEventService = _transactionEventService;
|
|
10216
|
+
this._transactionReceiveGoodsService = _transactionReceiveGoodsService;
|
|
10217
|
+
this.icons = Icon;
|
|
10218
|
+
this.viewModel = new ReceiveGoodViewModel();
|
|
10219
|
+
this._subscriptions = [];
|
|
10220
|
+
}
|
|
10221
|
+
showClass() {
|
|
10222
|
+
return true;
|
|
10223
|
+
}
|
|
10224
|
+
ngOnInit() {
|
|
10225
|
+
this.allowPartialDelivery = this.service.currentTransaction.transactionInfo.allowPartialDelivery;
|
|
10226
|
+
this._initViewModel();
|
|
10227
|
+
this._subscriptions.push(this._transactionEventService.selectAllLines.subscribe((value) => {
|
|
10228
|
+
this.viewModel.selected = value;
|
|
10229
|
+
}), this.lineVisible.subscribe(() => this.handleRowVisible()));
|
|
10230
|
+
}
|
|
10231
|
+
ngOnDestroy() {
|
|
10232
|
+
this._subscriptions.forEach(s => s.unsubscribe());
|
|
10233
|
+
this._transactionReceiveGoodsService.lines = [];
|
|
10234
|
+
}
|
|
10235
|
+
_initViewModel() {
|
|
10236
|
+
Object.assign(this.viewModel, this.line);
|
|
10237
|
+
this.viewModel.quantityToReceive = 0;
|
|
10238
|
+
this.viewModel.quantityReceived = 0;
|
|
10239
|
+
this.viewModel.lineNr = this.line.lineNr;
|
|
10240
|
+
this.viewModel.transId = this.transactionId;
|
|
10241
|
+
this.viewModel.selected = true;
|
|
10242
|
+
}
|
|
10243
|
+
handleRowVisible() {
|
|
10244
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10245
|
+
if (this.line.isArticle) {
|
|
10246
|
+
const goodsReceiptStatus = yield this._transactionService.getGoodsReceiptStatus(this.transactionId, this.line.lineNr);
|
|
10247
|
+
this.viewModel.quantityToReceive = goodsReceiptStatus.quantityToReceive;
|
|
10248
|
+
this.viewModel.quantityReceived = goodsReceiptStatus.quantityReceived;
|
|
10249
|
+
this._transactionReceiveGoodsService.lines.push(this.viewModel);
|
|
10250
|
+
}
|
|
10251
|
+
});
|
|
10252
|
+
}
|
|
10253
|
+
changeLineAmount(amount) {
|
|
10254
|
+
}
|
|
10255
|
+
handleLineClicked(mouseClick) {
|
|
10256
|
+
}
|
|
10257
|
+
}
|
|
10258
|
+
TransactionReceiveGoodsLineComponent.decorators = [
|
|
10259
|
+
{ type: Component, args: [{
|
|
10260
|
+
selector: "co-transaction-receive-goods-line",
|
|
10261
|
+
template: `
|
|
10262
|
+
<co-transaction-base-line [line]="viewModel" [preview]="preview" [actionButtons]="false" (click)="handleLineClicked($event)">
|
|
10263
|
+
<div class="line-content-wrapper">
|
|
10264
|
+
<co-transaction-line-warehouse-button [readonly]="true" [line]="viewModel"></co-transaction-line-warehouse-button>
|
|
10265
|
+
<co-transaction-line-warehouse-location-button [readonly]="viewModel.quantityReceived === viewModel.amount" [line]="viewModel"></co-transaction-line-warehouse-location-button>
|
|
10266
|
+
<co-editable-label class="transaction-line-totals-total price"
|
|
10267
|
+
[model]="viewModel.amount.toString() + 'x'"
|
|
10268
|
+
[readonly]="true"
|
|
10269
|
+
></co-editable-label>
|
|
10270
|
+
<co-editable-label class="transaction-line-totals-total price"
|
|
10271
|
+
[class.fully-delivered]="viewModel.quantityReceived === viewModel.amount"
|
|
10272
|
+
[class.partially-delivered]="viewModel.quantityReceived !== viewModel.amount"
|
|
10273
|
+
[model]="(viewModel.amount - viewModel.quantityDelivered).toString()"
|
|
10274
|
+
[readonly]="true"
|
|
10275
|
+
></co-editable-label>
|
|
10276
|
+
<div class="transaction-line-totals-amount">
|
|
10277
|
+
<co-input-number-picker class="amount-number-picker"
|
|
10278
|
+
[(model)]="viewModel.quantityToReceive"
|
|
10279
|
+
[min]="!allowPartialDelivery ? viewModel.amount : 1"
|
|
10280
|
+
[max]="viewModel.amount - viewModel.quantityReceived"
|
|
10281
|
+
[readonly]="readonly || !allowPartialDelivery || viewModel.quantityReceived === viewModel.amount"
|
|
10282
|
+
(modelChange)="changeLineAmount($event)">
|
|
10283
|
+
</co-input-number-picker>
|
|
10284
|
+
</div>
|
|
10285
|
+
<co-input-checkbox class="transaction-line-checkbox"
|
|
10286
|
+
[(model)]="viewModel.selected"
|
|
10287
|
+
[disabled]="viewModel.quantityReceived === viewModel.amount"
|
|
10288
|
+
></co-input-checkbox>
|
|
10289
|
+
<div class="print-button">
|
|
10290
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.PrintSolid)"></co-icon>
|
|
10291
|
+
<span class="price" [textContent]="1"></span>
|
|
10292
|
+
</div>
|
|
10293
|
+
</div>
|
|
10294
|
+
</co-transaction-base-line>
|
|
10295
|
+
`,
|
|
10296
|
+
encapsulation: ViewEncapsulation.None
|
|
10297
|
+
},] }
|
|
10298
|
+
];
|
|
10299
|
+
TransactionReceiveGoodsLineComponent.ctorParameters = () => [
|
|
10300
|
+
{ type: IconCacheService },
|
|
10301
|
+
{ type: TransactionService },
|
|
10302
|
+
{ type: TransactionService },
|
|
10303
|
+
{ type: TransactionEventService },
|
|
10304
|
+
{ type: TransactionReceiveGoodsService }
|
|
10305
|
+
];
|
|
10306
|
+
TransactionReceiveGoodsLineComponent.propDecorators = {
|
|
10307
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-receive-goods-line",] }]
|
|
10308
|
+
};
|
|
10309
|
+
|
|
10310
|
+
class TransactionMappingService {
|
|
10311
|
+
constructor() {
|
|
10312
|
+
this._buttonBarTransaction = new Map([
|
|
10313
|
+
[TransactionKind.PurchaseOrder, [
|
|
10314
|
+
{ title: 'OVERVIEW', icon: Icon.CartShoppingSolid, category: TransactionTypeCategory.PurchaseOrderOverview },
|
|
10315
|
+
{ title: 'CONFIRMATION', icon: Icon.MemoCircleCheckSolid, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation },
|
|
10316
|
+
{ title: 'TRANSPORT', icon: Icon.TruckContainerSolid, category: TransactionTypeCategory.PurchaseOrderTransport },
|
|
10317
|
+
{ title: 'RECEIVED', icon: Icon.CartFlatbedBoxesSolid, category: TransactionTypeCategory.PurchaseOrderReceivedGoods },
|
|
10318
|
+
{ title: 'INVOICE_CHECK', icon: Icon.Tag, category: TransactionTypeCategory.PurchaseOrderInvoiceCheck },
|
|
10319
|
+
{ title: 'MENU', icon: Icon.Tag, category: TransactionTypeCategory.PurchaseOrderMenu }
|
|
10320
|
+
]],
|
|
10321
|
+
[TransactionKind.SalesOrder, [
|
|
10322
|
+
{ title: 'OVERVIEW', icon: Icon.CartShoppingSolid, category: TransactionTypeCategory.SalesOrderOverview },
|
|
10323
|
+
{ title: 'PURCHASE', icon: Icon.PalletBoxesSolid, category: TransactionTypeCategory.SalesOrderPurchase },
|
|
10324
|
+
{ title: 'LOGISTICS', icon: Icon.ShelvesSolid, category: TransactionTypeCategory.SalesOrderLogistics },
|
|
10325
|
+
{ title: 'PLANNING', icon: Icon.TruckMovingSolid, category: TransactionTypeCategory.SalesOrderPlanning },
|
|
10326
|
+
{ title: 'DELIVERY_NOTE', icon: Icon.MemoCircleCheckSolid, category: TransactionTypeCategory.SalesOrderDeliveryNote },
|
|
10327
|
+
{ title: 'INVOICE', icon: Icon.CartCheck, category: TransactionTypeCategory.SalesOrderInvoice }
|
|
10328
|
+
]],
|
|
10329
|
+
]);
|
|
10330
|
+
this._quickAccessComponent = new Map([
|
|
10331
|
+
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation }, TransactionQuickAccessOrderConfirmationComponent],
|
|
10332
|
+
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionQuickAccessReceivedGoodsComponent],
|
|
10333
|
+
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionQuickAccessOverviewComponent],
|
|
10334
|
+
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderDeliveryNote }, TransactionQuickAccessOrderDeliveryComponent]
|
|
10335
|
+
]);
|
|
10336
|
+
this._transactionGridComponent = new Map([
|
|
10337
|
+
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOverview }, TransactionLinesGridComponent],
|
|
10338
|
+
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation }, TransactionOrderConfirmationGridComponent],
|
|
10339
|
+
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionLinesGridComponent]
|
|
10340
|
+
]);
|
|
10341
|
+
this._transactionLineComponent = new Map([
|
|
10342
|
+
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionOverviewLineComponent],
|
|
10343
|
+
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderDeliveryNote }, TransactionOrderDeliveryLineComponent],
|
|
10344
|
+
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionReceiveGoodsLineComponent],
|
|
10345
|
+
]);
|
|
10346
|
+
this._transactionFilterComponent = new Map([
|
|
10347
|
+
[{ type: TransactionKind.SalesOrder }, TransactionSalesOrderFilterComponent],
|
|
10348
|
+
[{ type: TransactionKind.PurchaseOrder }, TransactionPurchaseOrderFilterComponent],
|
|
10349
|
+
]);
|
|
10350
|
+
this._transactionSearchGridComponent = new Map([
|
|
10351
|
+
[{ type: TransactionKind.SalesOrder }, TransactionSearchSalesOrderGridComponent],
|
|
10352
|
+
[{ type: TransactionKind.PurchaseOrder }, TransactionSearchPurchaseOrderGridComponent],
|
|
10353
|
+
]);
|
|
10352
10354
|
this._transactionSearchTileComponent = new Map([
|
|
10353
10355
|
[{ type: TransactionKind.SalesOrder }, TransactionSearchSalesOrderTileComponent],
|
|
10354
10356
|
[{ type: TransactionKind.PurchaseOrder }, TransactionSearchPurchaseOrderTileComponent],
|
|
@@ -10456,7 +10458,7 @@ class TransactionLineComponent {
|
|
|
10456
10458
|
this.appRef = appRef;
|
|
10457
10459
|
this.injector = injector;
|
|
10458
10460
|
this.waitingForUserAction = new EventEmitter();
|
|
10459
|
-
this.
|
|
10461
|
+
this.lineVisible = new EventEmitter();
|
|
10460
10462
|
}
|
|
10461
10463
|
set container(content) {
|
|
10462
10464
|
if (content) {
|
|
@@ -10499,8 +10501,9 @@ class TransactionLineComponent {
|
|
|
10499
10501
|
this._componentRef.instance.preview = this.preview;
|
|
10500
10502
|
this._componentRef.instance.selected = this.selected;
|
|
10501
10503
|
this._componentRef.instance.line = this.line;
|
|
10502
|
-
this._componentRef.instance.
|
|
10504
|
+
this._componentRef.instance.transactionId = this.transactionId;
|
|
10503
10505
|
this._componentRef.instance.waitingForUserAction = this.waitingForUserAction;
|
|
10506
|
+
this._componentRef.instance.lineVisible = this.lineVisible;
|
|
10504
10507
|
const domElem = this._componentRef.hostView
|
|
10505
10508
|
.rootNodes[0];
|
|
10506
10509
|
this._transactionLineContainer.nativeElement.appendChild(domElem);
|
|
@@ -10513,7 +10516,7 @@ TransactionLineComponent.decorators = [
|
|
|
10513
10516
|
{ type: Component, args: [{
|
|
10514
10517
|
selector: "co-transaction-line",
|
|
10515
10518
|
template: `
|
|
10516
|
-
<div #transactionLine></div>
|
|
10519
|
+
<div #transactionLine observeVisibility (visible)="this.lineVisible.next()"></div>
|
|
10517
10520
|
`,
|
|
10518
10521
|
encapsulation: ViewEncapsulation.None
|
|
10519
10522
|
},] }
|
|
@@ -10531,8 +10534,9 @@ TransactionLineComponent.propDecorators = {
|
|
|
10531
10534
|
preview: [{ type: Input }],
|
|
10532
10535
|
selected: [{ type: Input }],
|
|
10533
10536
|
line: [{ type: Input }],
|
|
10537
|
+
transactionId: [{ type: Input }],
|
|
10534
10538
|
waitingForUserAction: [{ type: Output }],
|
|
10535
|
-
|
|
10539
|
+
lineVisible: [{ type: Output }],
|
|
10536
10540
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line",] }]
|
|
10537
10541
|
};
|
|
10538
10542
|
|
|
@@ -10541,7 +10545,8 @@ class TransactionLineModule {
|
|
|
10541
10545
|
TransactionLineModule.decorators = [
|
|
10542
10546
|
{ type: NgModule, args: [{
|
|
10543
10547
|
imports: [
|
|
10544
|
-
CommonModule
|
|
10548
|
+
CommonModule,
|
|
10549
|
+
ObserveVisibilityModule
|
|
10545
10550
|
],
|
|
10546
10551
|
declarations: [
|
|
10547
10552
|
TransactionLineComponent
|
|
@@ -10553,19 +10558,27 @@ TransactionLineModule.decorators = [
|
|
|
10553
10558
|
];
|
|
10554
10559
|
|
|
10555
10560
|
class TransactionLinesComponent {
|
|
10556
|
-
constructor(iconCacheService, service, _mappingService) {
|
|
10561
|
+
constructor(iconCacheService, service, _mappingService, _dialogService, _receiveGoodsService) {
|
|
10557
10562
|
this.iconCacheService = iconCacheService;
|
|
10558
10563
|
this.service = service;
|
|
10559
10564
|
this._mappingService = _mappingService;
|
|
10565
|
+
this._dialogService = _dialogService;
|
|
10566
|
+
this._receiveGoodsService = _receiveGoodsService;
|
|
10560
10567
|
this.icons = Icon;
|
|
10561
10568
|
this.transactionInfo = new TransactionInfo();
|
|
10562
10569
|
this.transactionLines = [];
|
|
10563
10570
|
this.preview = false;
|
|
10564
10571
|
this.saveTransactionLine = new EventEmitter();
|
|
10565
|
-
this.showSidePanelClicked = new EventEmitter();
|
|
10566
10572
|
this.showTransactionArticleText = false;
|
|
10567
10573
|
this.userActionRequired = false;
|
|
10568
10574
|
}
|
|
10575
|
+
set activeCategory(value) {
|
|
10576
|
+
this._activeCategory = value;
|
|
10577
|
+
this._handleCategory();
|
|
10578
|
+
}
|
|
10579
|
+
get activeCategory() {
|
|
10580
|
+
return this._activeCategory;
|
|
10581
|
+
}
|
|
10569
10582
|
showClass() {
|
|
10570
10583
|
return true;
|
|
10571
10584
|
}
|
|
@@ -10617,11 +10630,8 @@ class TransactionLinesComponent {
|
|
|
10617
10630
|
this.saveTransactionLine.next(transactionLine);
|
|
10618
10631
|
this._hideArticleTextDialog();
|
|
10619
10632
|
}
|
|
10620
|
-
handleShowSidePanelClicked(line) {
|
|
10621
|
-
this.showSidePanelClicked.next(line);
|
|
10622
|
-
}
|
|
10623
10633
|
transactionLineComponent() {
|
|
10624
|
-
return !!this._mappingService.getTransactionLineComponent(this.service.currentTransaction.transactionInfo.transactionKind, this.
|
|
10634
|
+
return !!this._mappingService.getTransactionLineComponent(this.service.currentTransaction.transactionInfo.transactionKind, this._activeCategory);
|
|
10625
10635
|
}
|
|
10626
10636
|
_showArticleTextDialog() {
|
|
10627
10637
|
this.showTransactionArticleText = true;
|
|
@@ -10629,6 +10639,18 @@ class TransactionLinesComponent {
|
|
|
10629
10639
|
_hideArticleTextDialog() {
|
|
10630
10640
|
this.showTransactionArticleText = false;
|
|
10631
10641
|
}
|
|
10642
|
+
_handleCategory() {
|
|
10643
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10644
|
+
if (this._activeCategory === TransactionTypeCategory.PurchaseOrderReceivedGoods) {
|
|
10645
|
+
if (this.transactionLines.find(l => l.isLocationRequired)) {
|
|
10646
|
+
const response = yield this._dialogService.showWarehouseLocation(this.transactionLines[0].warehouseNumber, false, false, true);
|
|
10647
|
+
if (response.button === AppPopupButtonType.Ok) {
|
|
10648
|
+
this._receiveGoodsService.lines.forEach(line => line.locationNr = response.output);
|
|
10649
|
+
}
|
|
10650
|
+
}
|
|
10651
|
+
}
|
|
10652
|
+
});
|
|
10653
|
+
}
|
|
10632
10654
|
}
|
|
10633
10655
|
TransactionLinesComponent.decorators = [
|
|
10634
10656
|
{ type: Component, args: [{
|
|
@@ -10643,26 +10665,27 @@ TransactionLinesComponent.decorators = [
|
|
|
10643
10665
|
(cdkDropListDropped)="handleDrop($event)"
|
|
10644
10666
|
>
|
|
10645
10667
|
<div class="draggable-transaction-line" *ngFor="let line of transactionLines; trackBy:trackByFn;" cdkDrag>
|
|
10646
|
-
<co-icon *ngIf="!preview" class="transaction-line-drag-handle"
|
|
10668
|
+
<co-icon *ngIf="!preview" class="transaction-line-drag-handle"
|
|
10669
|
+
[class.show]="line === selectedTransactionLine && transactionLines.length > 1" cdkDragHandle
|
|
10647
10670
|
[iconData]="iconCacheService.getIcon(icons.GripDotsVerticalSolid)">
|
|
10648
10671
|
</co-icon>
|
|
10649
10672
|
<co-transaction-line *ngIf="transactionLineComponent()"
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10673
|
+
[transactionType]="service.currentTransaction.transactionInfo.transactionKind"
|
|
10674
|
+
[activeCategory]="activeCategory"
|
|
10675
|
+
[transactionId]="transactionId"
|
|
10676
|
+
[preview]="preview"
|
|
10677
|
+
[line]="line"
|
|
10678
|
+
[selected]="line === selectedTransactionLine"
|
|
10679
|
+
(waitingForUserAction)="userActionRequired = $event"
|
|
10680
|
+
(dblclick)="handleTransactionLineDblClick(line)"
|
|
10681
|
+
(click)="selectedTransactionLine = line"
|
|
10659
10682
|
></co-transaction-line>
|
|
10660
10683
|
</div>
|
|
10661
10684
|
</div>
|
|
10662
10685
|
</div>
|
|
10663
|
-
<!--
|
|
10664
|
-
|
|
10665
|
-
-->
|
|
10686
|
+
<!--
|
|
10687
|
+
<co-button *ngIf=!preview class="add-text-button circle" [iconData]="iconCacheService.getIcon(icons.Txt)" (click)="handleTransactionArticleText($event)"></co-button>
|
|
10688
|
+
-->
|
|
10666
10689
|
<co-transaction-article-text *ngIf="showTransactionArticleText"
|
|
10667
10690
|
[header]="'TEXT' | localize"
|
|
10668
10691
|
[transactionLine]="selectedArticleText"
|
|
@@ -10678,16 +10701,18 @@ TransactionLinesComponent.decorators = [
|
|
|
10678
10701
|
TransactionLinesComponent.ctorParameters = () => [
|
|
10679
10702
|
{ type: IconCacheService },
|
|
10680
10703
|
{ type: TransactionService },
|
|
10681
|
-
{ type: TransactionMappingService }
|
|
10704
|
+
{ type: TransactionMappingService },
|
|
10705
|
+
{ type: DialogService },
|
|
10706
|
+
{ type: TransactionReceiveGoodsService }
|
|
10682
10707
|
];
|
|
10683
10708
|
TransactionLinesComponent.propDecorators = {
|
|
10684
10709
|
transactionArticleText: [{ type: ViewChild, args: [TransactionArticleTextComponent,] }],
|
|
10685
10710
|
transactionInfo: [{ type: Input }],
|
|
10686
10711
|
transactionLines: [{ type: Input }],
|
|
10712
|
+
transactionId: [{ type: Input }],
|
|
10687
10713
|
preview: [{ type: Input }],
|
|
10688
10714
|
activeCategory: [{ type: Input }],
|
|
10689
10715
|
saveTransactionLine: [{ type: Output }],
|
|
10690
|
-
showSidePanelClicked: [{ type: Output }],
|
|
10691
10716
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-lines",] }]
|
|
10692
10717
|
};
|
|
10693
10718
|
|
|
@@ -14018,13 +14043,14 @@ TransactionLineSidePanelComponent.decorators = [
|
|
|
14018
14043
|
<div class="side-panel-header-divider"></div>
|
|
14019
14044
|
<div class="transaction-line-side-panel-header-item">
|
|
14020
14045
|
<span class="side-panel-header-label"
|
|
14021
|
-
[textContent]="activeCategory === categories.PurchaseOrderReceivedGoods ? ('
|
|
14046
|
+
[textContent]="activeCategory === categories.PurchaseOrderReceivedGoods ? ('OPEN' | localize) : ('PRICE' | localize)"></span>
|
|
14022
14047
|
<span class="side-panel-header-field"
|
|
14023
14048
|
[textContent]="activeCategory === categories.PurchaseOrderReceivedGoods ? quantityToReceive : (transactionLine.price | priceDisplay)"></span>
|
|
14024
14049
|
</div>
|
|
14025
14050
|
</div>
|
|
14026
14051
|
<div class="transaction-line-side-panel-nav-bar">
|
|
14027
14052
|
<co-transaction-button-bar
|
|
14053
|
+
[selectedCategory]="activeCategory"
|
|
14028
14054
|
[transactionType]="transactionInfo.transactionKind"
|
|
14029
14055
|
(buttonClicked)="activeCategory = $event.category"
|
|
14030
14056
|
></co-transaction-button-bar>
|
|
@@ -14074,10 +14100,11 @@ TransactionLineSidePanelComponent.propDecorators = {
|
|
|
14074
14100
|
};
|
|
14075
14101
|
|
|
14076
14102
|
class TransactionComponent {
|
|
14077
|
-
constructor(iconCacheService, _service,
|
|
14103
|
+
constructor(iconCacheService, _service, _dynamicComponentService, _transactionEventService) {
|
|
14078
14104
|
this.iconCacheService = iconCacheService;
|
|
14079
14105
|
this._service = _service;
|
|
14080
|
-
this.
|
|
14106
|
+
this._dynamicComponentService = _dynamicComponentService;
|
|
14107
|
+
this._transactionEventService = _transactionEventService;
|
|
14081
14108
|
this.viewModes = ContentViewMode;
|
|
14082
14109
|
this.icons = Icon;
|
|
14083
14110
|
this.relation = new CustomerFullObject();
|
|
@@ -14096,7 +14123,7 @@ class TransactionComponent {
|
|
|
14096
14123
|
if (relation) {
|
|
14097
14124
|
this.relation = relation;
|
|
14098
14125
|
}
|
|
14099
|
-
}));
|
|
14126
|
+
}), this._transactionEventService.openSidePanel.subscribe((line) => this.handleShowSidePanel(line)));
|
|
14100
14127
|
}
|
|
14101
14128
|
set transaction(value) {
|
|
14102
14129
|
if (value) {
|
|
@@ -14140,7 +14167,7 @@ class TransactionComponent {
|
|
|
14140
14167
|
}
|
|
14141
14168
|
handleShowSidePanel(line) {
|
|
14142
14169
|
this.sidePanelTransactionLine = line;
|
|
14143
|
-
this.
|
|
14170
|
+
this._dynamicComponentService.createComponent(TransactionLineSidePanelComponent, {
|
|
14144
14171
|
transactionInfo: this.transaction.transactionInfo,
|
|
14145
14172
|
transactionLine: this.sidePanelTransactionLine,
|
|
14146
14173
|
activeCategory: this.activeCategory
|
|
@@ -14180,8 +14207,8 @@ TransactionComponent.decorators = [
|
|
|
14180
14207
|
<co-transaction-lines
|
|
14181
14208
|
[transactionInfo]="transaction.transactionInfo"
|
|
14182
14209
|
[transactionLines]="transaction.transactionLines"
|
|
14210
|
+
[transactionId]="transactionId"
|
|
14183
14211
|
[activeCategory]="activeCategory"
|
|
14184
|
-
(showSidePanelClicked)="handleShowSidePanel($event)"
|
|
14185
14212
|
(saveTransactionLine)="saveTransactionLine($event)"
|
|
14186
14213
|
></co-transaction-lines>
|
|
14187
14214
|
</div>
|
|
@@ -14213,7 +14240,8 @@ TransactionComponent.decorators = [
|
|
|
14213
14240
|
TransactionComponent.ctorParameters = () => [
|
|
14214
14241
|
{ type: IconCacheService },
|
|
14215
14242
|
{ type: TransactionService },
|
|
14216
|
-
{ type: DynamicComponentService }
|
|
14243
|
+
{ type: DynamicComponentService },
|
|
14244
|
+
{ type: TransactionEventService }
|
|
14217
14245
|
];
|
|
14218
14246
|
TransactionComponent.propDecorators = {
|
|
14219
14247
|
relation: [{ type: Input }],
|
|
@@ -14749,7 +14777,7 @@ class TransactionLineStatusbarComponent {
|
|
|
14749
14777
|
this.getStatusbarLine("PLANNING_PREFERRED_DATE_ENTERED", transaction.quantityPlanningPreferredDateEntered),
|
|
14750
14778
|
this.getStatusbarLine("TO_BE_PICKED", transaction.quantityToBePicked),
|
|
14751
14779
|
this.getStatusbarLine("PICKED", transaction.quantityPicked),
|
|
14752
|
-
this.getStatusbarLine("PLANNED", transaction.
|
|
14780
|
+
this.getStatusbarLine("PLANNED", transaction.quantityPlanningFinal),
|
|
14753
14781
|
this.getStatusbarLine("DELIVERED", transaction.quantityDelivered),
|
|
14754
14782
|
this.getStatusbarLine("INVOICED", transaction.quantityInvoiced), //Gefactureerd
|
|
14755
14783
|
];
|
|
@@ -14759,10 +14787,10 @@ class TransactionLineStatusbarComponent {
|
|
|
14759
14787
|
this.statusbarData = [
|
|
14760
14788
|
this.getStatusbarLine("IN_ORDER", transaction.amount),
|
|
14761
14789
|
this.getStatusbarLine("CONFIRMED", transaction.quantityPurchaseConfirmed),
|
|
14762
|
-
this.getStatusbarLine("TRANSPORT_NOTIFICATION", transaction.quantityTransportNotification),
|
|
14763
|
-
//todo:
|
|
14764
|
-
//
|
|
14765
|
-
//todo:
|
|
14790
|
+
this.getStatusbarLine("TRANSPORT_NOTIFICATION", transaction.quantityTransportNotification),
|
|
14791
|
+
//this.getStatusbarLine(),// Vooraangemeld todo: als BE gereed is
|
|
14792
|
+
this.getStatusbarLine("ITEM_ACCEPTED", transaction.quantityItemAccepted), // Binnengemeld
|
|
14793
|
+
//this.getStatusbarLine(),// Factuurcheck todo: als BE gereed is
|
|
14766
14794
|
];
|
|
14767
14795
|
}
|
|
14768
14796
|
getStatusbarLine(label, property) {
|
|
@@ -16361,12 +16389,39 @@ TransactionReceivingGoodsHistoryModule.decorators = [
|
|
|
16361
16389
|
},] }
|
|
16362
16390
|
];
|
|
16363
16391
|
|
|
16392
|
+
class ArticleService {
|
|
16393
|
+
constructor(_articleConnectorService, _selectMultipleCacheService) {
|
|
16394
|
+
this._articleConnectorService = _articleConnectorService;
|
|
16395
|
+
this._selectMultipleCacheService = _selectMultipleCacheService;
|
|
16396
|
+
}
|
|
16397
|
+
getWarehouseLocations(warehouseNr) {
|
|
16398
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16399
|
+
// @ts-ignore
|
|
16400
|
+
return this._selectMultipleCacheService.requestCache(StockLocation, () => {
|
|
16401
|
+
return this._articleConnectorService.getWarehouseLocations(warehouseNr);
|
|
16402
|
+
}).getValue();
|
|
16403
|
+
});
|
|
16404
|
+
}
|
|
16405
|
+
}
|
|
16406
|
+
ArticleService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ArticleService_Factory() { return new ArticleService(i0.ɵɵinject(ArticleConnectorService), i0.ɵɵinject(SelectMultipleCacheService)); }, token: ArticleService, providedIn: "root" });
|
|
16407
|
+
ArticleService.decorators = [
|
|
16408
|
+
{ type: Injectable, args: [{
|
|
16409
|
+
providedIn: "root"
|
|
16410
|
+
},] }
|
|
16411
|
+
];
|
|
16412
|
+
ArticleService.ctorParameters = () => [
|
|
16413
|
+
{ type: ArticleConnectorService },
|
|
16414
|
+
{ type: SelectMultipleCacheService }
|
|
16415
|
+
];
|
|
16416
|
+
|
|
16364
16417
|
class TransactionReceivingGoodsDetailsComponent {
|
|
16365
|
-
constructor(_formMaster, _service, _articleService, _dialogService) {
|
|
16418
|
+
constructor(iconCacheService, _formMaster, _service, _articleService, _dialogService) {
|
|
16419
|
+
this.iconCacheService = iconCacheService;
|
|
16366
16420
|
this._formMaster = _formMaster;
|
|
16367
16421
|
this._service = _service;
|
|
16368
16422
|
this._articleService = _articleService;
|
|
16369
16423
|
this._dialogService = _dialogService;
|
|
16424
|
+
this.icons = Icon;
|
|
16370
16425
|
this.reloadReceivingGoodsHistory = new EventEmitter();
|
|
16371
16426
|
this.receiptDetails = new PurchaseOrderLineReceiptDetails();
|
|
16372
16427
|
this.request = new ReceiveGoodsForPurchaseOrderRequest();
|
|
@@ -16429,12 +16484,8 @@ class TransactionReceivingGoodsDetailsComponent {
|
|
|
16429
16484
|
});
|
|
16430
16485
|
}
|
|
16431
16486
|
openWarehouseLocationDialog() {
|
|
16432
|
-
|
|
16433
|
-
|
|
16434
|
-
if (response.button === AppPopupButtonType.Ok) {
|
|
16435
|
-
this.receiptDetails.locationNr = response.output;
|
|
16436
|
-
}
|
|
16437
|
-
});
|
|
16487
|
+
this._dialogService.showWarehouseLocation(this.receiptDetails.warehouseNr, true, true, true, this.transactionLine)
|
|
16488
|
+
.then(() => this.receiptDetails.locationNr = this.transactionLine.locationNr);
|
|
16438
16489
|
}
|
|
16439
16490
|
}
|
|
16440
16491
|
TransactionReceivingGoodsDetailsComponent.decorators = [
|
|
@@ -16463,6 +16514,8 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
|
|
|
16463
16514
|
[required]="transactionLine.isWarehouseRequired"
|
|
16464
16515
|
[placeholder]="'WAREHOUSE' | localize"></co-input-text>
|
|
16465
16516
|
<div class="location-wrapper" (click)="openWarehouseLocationDialog()">
|
|
16517
|
+
<span *ngIf="!receiptDetails.locationNr && transactionLine.isLocationRequired" class="required" [textContent]="'*'"></span>
|
|
16518
|
+
<co-icon *ngIf="receiptDetails.locationNr" [iconData]="iconCacheService.getIcon(icons.ShelvesLight)"></co-icon>
|
|
16466
16519
|
<div [textContent]="receiptDetails.locationNr ? receiptDetails.locationNr : ('LOCATION' | localize)"></div>
|
|
16467
16520
|
</div>
|
|
16468
16521
|
<co-input-text class="details-input"
|
|
@@ -16498,9 +16551,10 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
|
|
|
16498
16551
|
</div>
|
|
16499
16552
|
</co-form>
|
|
16500
16553
|
|
|
16501
|
-
<div class="
|
|
16502
|
-
<
|
|
16503
|
-
|
|
16554
|
+
<div class="receive-button-wrapper">
|
|
16555
|
+
<div class="receive-button clickable" *ngIf="!readonly" (click)="handleSaveDetailsEdit()" [class.disabled]="saveButtonDisabled || amountLeftToReceive === 0">
|
|
16556
|
+
<span class="receive-text" [textContent]="'RECEIVE' | localize"></span>
|
|
16557
|
+
</div>
|
|
16504
16558
|
</div>
|
|
16505
16559
|
</div>
|
|
16506
16560
|
`,
|
|
@@ -16511,6 +16565,7 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
|
|
|
16511
16565
|
},] }
|
|
16512
16566
|
];
|
|
16513
16567
|
TransactionReceivingGoodsDetailsComponent.ctorParameters = () => [
|
|
16568
|
+
{ type: IconCacheService },
|
|
16514
16569
|
{ type: FormMasterService },
|
|
16515
16570
|
{ type: TransactionService },
|
|
16516
16571
|
{ type: ArticleService },
|
|
@@ -16537,6 +16592,7 @@ TransactionReceivingGoodsDetailsModule.decorators = [
|
|
|
16537
16592
|
InputDatePickerModule,
|
|
16538
16593
|
ButtonModule,
|
|
16539
16594
|
DropDownModule,
|
|
16595
|
+
IconModule,
|
|
16540
16596
|
],
|
|
16541
16597
|
declarations: [
|
|
16542
16598
|
TransactionReceivingGoodsDetailsComponent
|
|
@@ -16557,7 +16613,7 @@ class TransactionButtonBarComponent {
|
|
|
16557
16613
|
set transactionType(value) {
|
|
16558
16614
|
this._transactionType = value;
|
|
16559
16615
|
this.buttons = this._mappingService.getButtonBar(this._transactionType);
|
|
16560
|
-
if (this.buttons && this.buttons.length > 0) {
|
|
16616
|
+
if (this.buttons && this.buttons.length > 0 && !this.selectedCategory) {
|
|
16561
16617
|
this.selectCategory(0);
|
|
16562
16618
|
}
|
|
16563
16619
|
}
|
|
@@ -17709,7 +17765,8 @@ TransactionQuickAccessReceivedGoodsModule.decorators = [
|
|
|
17709
17765
|
InputTextModule,
|
|
17710
17766
|
PipeModule,
|
|
17711
17767
|
InputCheckboxModule,
|
|
17712
|
-
InputDatePickerModule
|
|
17768
|
+
InputDatePickerModule,
|
|
17769
|
+
IconModule
|
|
17713
17770
|
],
|
|
17714
17771
|
declarations: [
|
|
17715
17772
|
TransactionQuickAccessReceivedGoodsComponent
|
|
@@ -17980,6 +18037,159 @@ TransactionGridModule.decorators = [
|
|
|
17980
18037
|
},] }
|
|
17981
18038
|
];
|
|
17982
18039
|
|
|
18040
|
+
class ReceiveGoodsViewModel {
|
|
18041
|
+
constructor(transactionLine, goodsReceiptStatus, selected, toReceive) {
|
|
18042
|
+
this.toReceive = 0;
|
|
18043
|
+
this.location = '';
|
|
18044
|
+
this.transactionLine = transactionLine;
|
|
18045
|
+
this.goodsReceiptStatus = goodsReceiptStatus;
|
|
18046
|
+
this.selected = selected;
|
|
18047
|
+
this.toReceive = toReceive;
|
|
18048
|
+
}
|
|
18049
|
+
}
|
|
18050
|
+
|
|
18051
|
+
class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent {
|
|
18052
|
+
constructor(_imageService, _transactionService, _transactionEventService, _articleService, _dialogService) {
|
|
18053
|
+
super(_imageService);
|
|
18054
|
+
this._imageService = _imageService;
|
|
18055
|
+
this._transactionService = _transactionService;
|
|
18056
|
+
this._transactionEventService = _transactionEventService;
|
|
18057
|
+
this._articleService = _articleService;
|
|
18058
|
+
this._dialogService = _dialogService;
|
|
18059
|
+
this.columnAlign = ColumnAlign;
|
|
18060
|
+
this.locationDropdownFields = { text: "locationNo", value: "locationNo" };
|
|
18061
|
+
this.rowViewModels = new Map();
|
|
18062
|
+
this._subscriptions = [];
|
|
18063
|
+
this._subscriptions.push(this._transactionEventService.commitReceivePurchaseOrders.subscribe((value => {
|
|
18064
|
+
this.handleReceiveSelectedPurchaseOrders(value);
|
|
18065
|
+
})), this._transactionEventService.transactionLineChanged.subscribe((value) => {
|
|
18066
|
+
this.handleTransactionLineChanged(value);
|
|
18067
|
+
}));
|
|
18068
|
+
}
|
|
18069
|
+
showClass() {
|
|
18070
|
+
return true;
|
|
18071
|
+
}
|
|
18072
|
+
ngOnInit() {
|
|
18073
|
+
this.transactionLines.forEach((line) => {
|
|
18074
|
+
this.rowViewModels.set(line, new ReceiveGoodsViewModel(line, new GoodsReceiptStatus(), false));
|
|
18075
|
+
});
|
|
18076
|
+
}
|
|
18077
|
+
ngOnDestroy() {
|
|
18078
|
+
this._subscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
18079
|
+
}
|
|
18080
|
+
handleRowVisible(row) {
|
|
18081
|
+
if (row.isArticle) {
|
|
18082
|
+
this._transactionService.getGoodsReceiptStatus(this.transactionId, row.lineNr)
|
|
18083
|
+
.then((result) => {
|
|
18084
|
+
this.rowViewModels.set(row, new ReceiveGoodsViewModel(row, result, result.quantityToReceive === 0, result.quantityToReceive));
|
|
18085
|
+
});
|
|
18086
|
+
}
|
|
18087
|
+
}
|
|
18088
|
+
locationRequired(row) {
|
|
18089
|
+
return row.isLocationRequired || row.isBatchNrRequired || row.isSerialNrRequired;
|
|
18090
|
+
}
|
|
18091
|
+
handleDropDownSelected(warehouseNr) {
|
|
18092
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18093
|
+
this.locations = yield this._articleService.getWarehouseLocations(warehouseNr);
|
|
18094
|
+
});
|
|
18095
|
+
}
|
|
18096
|
+
getRowViewModel(row) {
|
|
18097
|
+
return this.rowViewModels.get(row);
|
|
18098
|
+
}
|
|
18099
|
+
handleReceiveSelectedPurchaseOrders(value) {
|
|
18100
|
+
const selectedRows = [...this.rowViewModels.values()]
|
|
18101
|
+
.filter((row) => row.selected && row.toReceive !== 0);
|
|
18102
|
+
if (selectedRows.length > 0) {
|
|
18103
|
+
const receivedGoodsRequest = new ReceiveGoodsForPurchaseOrderRequest();
|
|
18104
|
+
receivedGoodsRequest.transId = this.transactionId;
|
|
18105
|
+
receivedGoodsRequest.receivedDate = value.date;
|
|
18106
|
+
receivedGoodsRequest.packingSlipNr = value.id;
|
|
18107
|
+
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS = [];
|
|
18108
|
+
selectedRows.forEach((row) => {
|
|
18109
|
+
const detail = new PurchaseOrderLineReceiptDetails();
|
|
18110
|
+
detail.lineNr = row.transactionLine.lineNr;
|
|
18111
|
+
detail.quantityToReceive = row.toReceive;
|
|
18112
|
+
detail.warehouseNr = row.transactionLine.warehouseNumber;
|
|
18113
|
+
detail.locationNr = row.location;
|
|
18114
|
+
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS.push(detail);
|
|
18115
|
+
});
|
|
18116
|
+
this._transactionService.receiveGoodsForPurchaseOrder(receivedGoodsRequest).then(() => {
|
|
18117
|
+
this._handleAfterCommitReceivedOrders(selectedRows);
|
|
18118
|
+
});
|
|
18119
|
+
}
|
|
18120
|
+
}
|
|
18121
|
+
_handleAfterCommitReceivedOrders(selectedRows) {
|
|
18122
|
+
selectedRows.forEach((row) => {
|
|
18123
|
+
row.goodsReceiptStatus.quantityToReceive = row.goodsReceiptStatus.quantityToReceive -= row.toReceive;
|
|
18124
|
+
row.toReceive = row.goodsReceiptStatus.quantityToReceive;
|
|
18125
|
+
if (row.goodsReceiptStatus.quantityToReceive !== 0) {
|
|
18126
|
+
row.selected = false;
|
|
18127
|
+
}
|
|
18128
|
+
});
|
|
18129
|
+
}
|
|
18130
|
+
handleTransactionLineChanged(change) {
|
|
18131
|
+
const receiveGoodsViewModel = this.rowViewModels.get(change.transactionLine);
|
|
18132
|
+
receiveGoodsViewModel.goodsReceiptStatus.quantityToReceive = change.goodsReceiptStatus.quantityToReceive;
|
|
18133
|
+
receiveGoodsViewModel.toReceive = change.goodsReceiptStatus.quantityToReceive;
|
|
18134
|
+
}
|
|
18135
|
+
}
|
|
18136
|
+
TransactionReceivedGoodsGridComponent.decorators = [
|
|
18137
|
+
{ type: Component, args: [{
|
|
18138
|
+
selector: "co-transaction-received-goods-grid",
|
|
18139
|
+
template: `
|
|
18140
|
+
<co-transaction-base-grid [transactionLines]="transactionLines" (sidePanelClicked)="openSidePanel($event)" (rowVisible)="handleRowVisible($event)">
|
|
18141
|
+
<co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNumber'" [order]="40"></co-simple-grid-column>
|
|
18142
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [order]="45">
|
|
18143
|
+
<ng-template #template let-row = "row">
|
|
18144
|
+
<co-transaction-line-warehouse-location-button *ngIf="row.isArticle" [line]="getRowViewModel(row)"></co-transaction-line-warehouse-location-button>
|
|
18145
|
+
<!-- <co-drop-down-list-->
|
|
18146
|
+
<!-- noTriangleGraphic-->
|
|
18147
|
+
<!-- (focus)="handleDropDownSelected(row.warehouseNumber)"-->
|
|
18148
|
+
<!-- [required]="locationRequired(row) && getRowViewModel(row).goodsReceiptStatus.quantityToReceive > 0"-->
|
|
18149
|
+
<!-- [collection]="locations"-->
|
|
18150
|
+
<!-- [fields]="locationDropdownFields"-->
|
|
18151
|
+
<!-- [(model)]="getRowViewModel(row).location"-->
|
|
18152
|
+
<!-- [disabled]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"-->
|
|
18153
|
+
<!-- ></co-drop-down-list>-->
|
|
18154
|
+
</ng-template>
|
|
18155
|
+
</co-simple-grid-column>
|
|
18156
|
+
<co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'IN_ORDER' | localize" [field]="'amount'" [order]="50"></co-simple-grid-column>
|
|
18157
|
+
<co-simple-grid-column [headerText]="'RECEIVED' | localize" [order]="51">
|
|
18158
|
+
<ng-template #template let-row = "row">
|
|
18159
|
+
<co-input-number-picker *ngIf="row.isArticle"
|
|
18160
|
+
[min]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive > 0 ? 1 : 0"
|
|
18161
|
+
[max]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive"
|
|
18162
|
+
[(model)]="getRowViewModel(row).toReceive"
|
|
18163
|
+
[disabled]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"
|
|
18164
|
+
[readonly]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"
|
|
18165
|
+
></co-input-number-picker>
|
|
18166
|
+
</ng-template>
|
|
18167
|
+
</co-simple-grid-column>
|
|
18168
|
+
<co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'BATCH' | localize" [field]="'inOrder'" [order]="52"></co-simple-grid-column>
|
|
18169
|
+
<co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'Commit button'" [field]="'commitButton'" [order]="55">
|
|
18170
|
+
<ng-template #template let-row = "row">
|
|
18171
|
+
<co-input-checkbox *ngIf="row.isArticle"
|
|
18172
|
+
[(model)]="getRowViewModel(row).selected"
|
|
18173
|
+
[disabled]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"
|
|
18174
|
+
></co-input-checkbox>
|
|
18175
|
+
</ng-template>
|
|
18176
|
+
</co-simple-grid-column>
|
|
18177
|
+
</co-transaction-base-grid>
|
|
18178
|
+
`,
|
|
18179
|
+
encapsulation: ViewEncapsulation.None
|
|
18180
|
+
},] }
|
|
18181
|
+
];
|
|
18182
|
+
TransactionReceivedGoodsGridComponent.ctorParameters = () => [
|
|
18183
|
+
{ type: TransactionImageService },
|
|
18184
|
+
{ type: TransactionService },
|
|
18185
|
+
{ type: TransactionEventService },
|
|
18186
|
+
{ type: ArticleService },
|
|
18187
|
+
{ type: DialogService }
|
|
18188
|
+
];
|
|
18189
|
+
TransactionReceivedGoodsGridComponent.propDecorators = {
|
|
18190
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-received-goods-grid",] }]
|
|
18191
|
+
};
|
|
18192
|
+
|
|
17983
18193
|
// @ts-ignore
|
|
17984
18194
|
class TransactionLineWarehouseLocationComponent extends TransactionLineBaseComponent {
|
|
17985
18195
|
constructor(_articleService) {
|
|
@@ -17996,7 +18206,7 @@ class TransactionLineWarehouseLocationComponent extends TransactionLineBaseCompo
|
|
|
17996
18206
|
}
|
|
17997
18207
|
commit(locationNr) {
|
|
17998
18208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
17999
|
-
|
|
18209
|
+
this.transactionLine.locationNr = locationNr;
|
|
18000
18210
|
return true;
|
|
18001
18211
|
});
|
|
18002
18212
|
}
|
|
@@ -18060,6 +18270,59 @@ DialogTransactionLineWarehouseLocationModule.decorators = [
|
|
|
18060
18270
|
},] }
|
|
18061
18271
|
];
|
|
18062
18272
|
|
|
18273
|
+
class TransactionLineWarehouseLocationButtonComponent {
|
|
18274
|
+
constructor(iconCacheService, _dialogService) {
|
|
18275
|
+
this.iconCacheService = iconCacheService;
|
|
18276
|
+
this._dialogService = _dialogService;
|
|
18277
|
+
this.icons = Icon;
|
|
18278
|
+
this.readonly = false;
|
|
18279
|
+
}
|
|
18280
|
+
showClass() {
|
|
18281
|
+
return true;
|
|
18282
|
+
}
|
|
18283
|
+
openWarehouseLocationDialog(line) {
|
|
18284
|
+
this._dialogService.showWarehouseLocation(line.warehouseNumber, true, true, true, line);
|
|
18285
|
+
}
|
|
18286
|
+
}
|
|
18287
|
+
TransactionLineWarehouseLocationButtonComponent.decorators = [
|
|
18288
|
+
{ type: Component, args: [{
|
|
18289
|
+
selector: "co-transaction-line-warehouse-location-button",
|
|
18290
|
+
template: `
|
|
18291
|
+
<div class="transaction-line-button" [class.no-pointer]="readonly" (click)="openWarehouseLocationDialog(line)">
|
|
18292
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.ShelvesLight)"></co-icon>
|
|
18293
|
+
<span class="co-transaction-overflow-ellipsis" [textContent]="line.locationNr ? line.locationNr : '-'"></span>
|
|
18294
|
+
</div>
|
|
18295
|
+
`,
|
|
18296
|
+
encapsulation: ViewEncapsulation.None
|
|
18297
|
+
},] }
|
|
18298
|
+
];
|
|
18299
|
+
TransactionLineWarehouseLocationButtonComponent.ctorParameters = () => [
|
|
18300
|
+
{ type: IconCacheService },
|
|
18301
|
+
{ type: DialogService }
|
|
18302
|
+
];
|
|
18303
|
+
TransactionLineWarehouseLocationButtonComponent.propDecorators = {
|
|
18304
|
+
line: [{ type: Input }],
|
|
18305
|
+
readonly: [{ type: Input }],
|
|
18306
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-warehouse-location-button",] }]
|
|
18307
|
+
};
|
|
18308
|
+
|
|
18309
|
+
class TransactionLineWarehouseLocationButtonModule {
|
|
18310
|
+
}
|
|
18311
|
+
TransactionLineWarehouseLocationButtonModule.decorators = [
|
|
18312
|
+
{ type: NgModule, args: [{
|
|
18313
|
+
imports: [
|
|
18314
|
+
CommonModule,
|
|
18315
|
+
IconModule
|
|
18316
|
+
],
|
|
18317
|
+
declarations: [
|
|
18318
|
+
TransactionLineWarehouseLocationButtonComponent
|
|
18319
|
+
],
|
|
18320
|
+
exports: [
|
|
18321
|
+
TransactionLineWarehouseLocationButtonComponent
|
|
18322
|
+
]
|
|
18323
|
+
},] }
|
|
18324
|
+
];
|
|
18325
|
+
|
|
18063
18326
|
class TransactionReceivedGoodsGridModule {
|
|
18064
18327
|
}
|
|
18065
18328
|
TransactionReceivedGoodsGridModule.decorators = [
|
|
@@ -18073,7 +18336,8 @@ TransactionReceivedGoodsGridModule.decorators = [
|
|
|
18073
18336
|
InputCheckboxModule,
|
|
18074
18337
|
DropDownModule,
|
|
18075
18338
|
InputNumberPickerModule,
|
|
18076
|
-
DialogTransactionLineWarehouseLocationModule
|
|
18339
|
+
DialogTransactionLineWarehouseLocationModule,
|
|
18340
|
+
TransactionLineWarehouseLocationButtonModule
|
|
18077
18341
|
],
|
|
18078
18342
|
declarations: [
|
|
18079
18343
|
TransactionReceivedGoodsGridComponent
|
|
@@ -18307,10 +18571,11 @@ EditableLabelModule.decorators = [
|
|
|
18307
18571
|
];
|
|
18308
18572
|
|
|
18309
18573
|
class TransactionBaseLineComponent extends TransactionLinesLineBaseComponent {
|
|
18310
|
-
constructor(service, iconCacheService) {
|
|
18574
|
+
constructor(service, iconCacheService, _transactionEventService) {
|
|
18311
18575
|
super();
|
|
18312
18576
|
this.service = service;
|
|
18313
18577
|
this.iconCacheService = iconCacheService;
|
|
18578
|
+
this._transactionEventService = _transactionEventService;
|
|
18314
18579
|
this.checkbox = false;
|
|
18315
18580
|
this.checkboxValue = false;
|
|
18316
18581
|
this.actionButtons = true;
|
|
@@ -18329,8 +18594,8 @@ class TransactionBaseLineComponent extends TransactionLinesLineBaseComponent {
|
|
|
18329
18594
|
// }
|
|
18330
18595
|
});
|
|
18331
18596
|
}
|
|
18332
|
-
handleShowSidePanel() {
|
|
18333
|
-
this.
|
|
18597
|
+
handleShowSidePanel(line) {
|
|
18598
|
+
this._transactionEventService.openSidePanel.next(line);
|
|
18334
18599
|
this.waitingForUserAction.next(true);
|
|
18335
18600
|
}
|
|
18336
18601
|
handleCheckboxValueChanged() {
|
|
@@ -18360,7 +18625,7 @@ TransactionBaseLineComponent.decorators = [
|
|
|
18360
18625
|
<co-transaction-line-action-buttons
|
|
18361
18626
|
[transactionLine]="line"
|
|
18362
18627
|
(waitingForUserAction)="waitingForUserAction.next($event)"
|
|
18363
|
-
(sidePanelButtonClicked)="handleShowSidePanel()"
|
|
18628
|
+
(sidePanelButtonClicked)="handleShowSidePanel($event)"
|
|
18364
18629
|
></co-transaction-line-action-buttons>
|
|
18365
18630
|
</div>
|
|
18366
18631
|
</div>
|
|
@@ -18378,7 +18643,8 @@ TransactionBaseLineComponent.decorators = [
|
|
|
18378
18643
|
];
|
|
18379
18644
|
TransactionBaseLineComponent.ctorParameters = () => [
|
|
18380
18645
|
{ type: TransactionService },
|
|
18381
|
-
{ type: IconCacheService }
|
|
18646
|
+
{ type: IconCacheService },
|
|
18647
|
+
{ type: TransactionEventService }
|
|
18382
18648
|
];
|
|
18383
18649
|
TransactionBaseLineComponent.propDecorators = {
|
|
18384
18650
|
checkbox: [{ type: Input }],
|
|
@@ -18565,19 +18831,22 @@ class TransactionLineWarehouseButtonComponent {
|
|
|
18565
18831
|
this.iconCacheService = iconCacheService;
|
|
18566
18832
|
this._dialogService = _dialogService;
|
|
18567
18833
|
this.icons = Icon;
|
|
18834
|
+
this.readonly = false;
|
|
18568
18835
|
}
|
|
18569
18836
|
showClass() {
|
|
18570
18837
|
return true;
|
|
18571
18838
|
}
|
|
18572
18839
|
openWarehouseDialog() {
|
|
18573
|
-
|
|
18840
|
+
if (!this.readonly) {
|
|
18841
|
+
this._dialogService.showTransactionLineComponent(DialogTransactionLineWarehouseComponent, this.line);
|
|
18842
|
+
}
|
|
18574
18843
|
}
|
|
18575
18844
|
}
|
|
18576
18845
|
TransactionLineWarehouseButtonComponent.decorators = [
|
|
18577
18846
|
{ type: Component, args: [{
|
|
18578
18847
|
selector: "co-transaction-line-warehouse-button",
|
|
18579
18848
|
template: `
|
|
18580
|
-
<div class="transaction-line-button" (click)="openWarehouseDialog()">
|
|
18849
|
+
<div class="transaction-line-button" [class.no-pointer]="readonly" (click)="openWarehouseDialog()">
|
|
18581
18850
|
<co-icon class="header-warehouse-icon" [iconData]="iconCacheService.getIcon(icons.Warehouse)"></co-icon>
|
|
18582
18851
|
<span class="co-transaction-overflow-ellipsis" [textContent]="line.warehouseNumber"></span>
|
|
18583
18852
|
</div>
|
|
@@ -18591,6 +18860,7 @@ TransactionLineWarehouseButtonComponent.ctorParameters = () => [
|
|
|
18591
18860
|
];
|
|
18592
18861
|
TransactionLineWarehouseButtonComponent.propDecorators = {
|
|
18593
18862
|
line: [{ type: Input }],
|
|
18863
|
+
readonly: [{ type: Input }],
|
|
18594
18864
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-warehouse-button",] }]
|
|
18595
18865
|
};
|
|
18596
18866
|
|
|
@@ -18818,6 +19088,30 @@ TransactionOrderDeliveryLineModule.decorators = [
|
|
|
18818
19088
|
},] }
|
|
18819
19089
|
];
|
|
18820
19090
|
|
|
19091
|
+
class TransactionReceiveGoodsLineModule {
|
|
19092
|
+
}
|
|
19093
|
+
TransactionReceiveGoodsLineModule.decorators = [
|
|
19094
|
+
{ type: NgModule, args: [{
|
|
19095
|
+
imports: [
|
|
19096
|
+
CommonModule,
|
|
19097
|
+
TransactionBaseLineModule,
|
|
19098
|
+
TransactionLineWarehouseButtonModule,
|
|
19099
|
+
TransactionLineWarehouseLocationModule,
|
|
19100
|
+
EditableLabelModule,
|
|
19101
|
+
InputNumberPickerModule,
|
|
19102
|
+
InputCheckboxModule,
|
|
19103
|
+
IconModule,
|
|
19104
|
+
TransactionLineWarehouseLocationButtonModule
|
|
19105
|
+
],
|
|
19106
|
+
declarations: [
|
|
19107
|
+
TransactionReceiveGoodsLineComponent
|
|
19108
|
+
],
|
|
19109
|
+
exports: [
|
|
19110
|
+
TransactionReceiveGoodsLineComponent
|
|
19111
|
+
]
|
|
19112
|
+
},] }
|
|
19113
|
+
];
|
|
19114
|
+
|
|
18821
19115
|
class TransactionModule {
|
|
18822
19116
|
}
|
|
18823
19117
|
TransactionModule.decorators = [
|
|
@@ -18845,7 +19139,8 @@ TransactionModule.decorators = [
|
|
|
18845
19139
|
TransactionGridModule,
|
|
18846
19140
|
TransactionTileModule,
|
|
18847
19141
|
TransactionOverviewLineModule,
|
|
18848
|
-
TransactionOrderDeliveryLineModule
|
|
19142
|
+
TransactionOrderDeliveryLineModule,
|
|
19143
|
+
TransactionReceiveGoodsLineModule
|
|
18849
19144
|
],
|
|
18850
19145
|
declarations: [
|
|
18851
19146
|
TransactionComponent
|
|
@@ -20025,6 +20320,100 @@ TransactionPurchaseOrderFilterModule.decorators = [
|
|
|
20025
20320
|
},] }
|
|
20026
20321
|
];
|
|
20027
20322
|
|
|
20323
|
+
class TransactionStatusbarComponent {
|
|
20324
|
+
constructor(_dictionary) {
|
|
20325
|
+
this._dictionary = _dictionary;
|
|
20326
|
+
this.showClass = true;
|
|
20327
|
+
}
|
|
20328
|
+
set transaction(value) {
|
|
20329
|
+
this._transaction = value;
|
|
20330
|
+
this._total = value.quantityTotal;
|
|
20331
|
+
}
|
|
20332
|
+
get transaction() {
|
|
20333
|
+
return this._transaction;
|
|
20334
|
+
}
|
|
20335
|
+
ngOnInit() {
|
|
20336
|
+
this.setStatusbarData();
|
|
20337
|
+
}
|
|
20338
|
+
setStatusbarData() {
|
|
20339
|
+
if (this.transactionKind === TransactionKind.PurchaseOrder) {
|
|
20340
|
+
this.setStatusbarDataForPurchaseOrder();
|
|
20341
|
+
}
|
|
20342
|
+
else {
|
|
20343
|
+
this.setStatusbardataForSalesOrder();
|
|
20344
|
+
}
|
|
20345
|
+
}
|
|
20346
|
+
setStatusbardataForSalesOrder() {
|
|
20347
|
+
const transaction = this._transaction;
|
|
20348
|
+
this.statusbarData = [
|
|
20349
|
+
this.getStatusbarLine("TO_ORDER", transaction.quantityTotal),
|
|
20350
|
+
this.getStatusbarLine("ALLOCATED", transaction.quantityAllocatedFromStock),
|
|
20351
|
+
this.getStatusbarLine("PLANNING_REQUESTED", transaction.quantityPlanningRequested),
|
|
20352
|
+
this.getStatusbarLine("PLANNING_PREFERRED_DATE_ENTERED", transaction.quantityPlanningPreferredDateEntered),
|
|
20353
|
+
this.getStatusbarLine("TO_BE_PICKED", transaction.quantityToBePicked),
|
|
20354
|
+
this.getStatusbarLine("PICKED", transaction.quantityPicked),
|
|
20355
|
+
this.getStatusbarLine("PLANNED", transaction.quantityPlanningFinal),
|
|
20356
|
+
this.getStatusbarLine("DELIVERED", transaction.quantityDelivered),
|
|
20357
|
+
this.getStatusbarLine("INVOICED", transaction.quantityInvoiced), //Gefactureerd
|
|
20358
|
+
];
|
|
20359
|
+
}
|
|
20360
|
+
setStatusbarDataForPurchaseOrder() {
|
|
20361
|
+
const transaction = this._transaction;
|
|
20362
|
+
this.statusbarData = [
|
|
20363
|
+
this.getStatusbarLine("IN_ORDER", transaction.quantityTotal),
|
|
20364
|
+
this.getStatusbarLine("CONFIRMED", transaction.quantityPurchaseConfirmed),
|
|
20365
|
+
this.getStatusbarLine("TRANSPORT_NOTIFICATION", transaction.quantityTransportNotification),
|
|
20366
|
+
//this.getStatusbarLine(),// Vooraangemeld todo: als BE gereed is
|
|
20367
|
+
this.getStatusbarLine("ITEM_ACCEPTED", transaction.quantityItemAccepted), // Binnengemeld
|
|
20368
|
+
//this.getStatusbarLine(),// Factuurcheck todo: als BE gereed is
|
|
20369
|
+
];
|
|
20370
|
+
}
|
|
20371
|
+
getStatusbarLine(label, property) {
|
|
20372
|
+
return { label: this._dictionary.get(label), percentage: this.calculatePercentage(property, this._total), count: property };
|
|
20373
|
+
}
|
|
20374
|
+
calculatePercentage(amount, totalAmount) {
|
|
20375
|
+
if (amount === 0 || totalAmount === 0) {
|
|
20376
|
+
return 0;
|
|
20377
|
+
}
|
|
20378
|
+
return Math.floor((amount / totalAmount) * 100);
|
|
20379
|
+
}
|
|
20380
|
+
}
|
|
20381
|
+
TransactionStatusbarComponent.decorators = [
|
|
20382
|
+
{ type: Component, args: [{
|
|
20383
|
+
selector: "co-transaction-statusbar",
|
|
20384
|
+
template: `
|
|
20385
|
+
<co-statusbar [statusbarData]="statusbarData"></co-statusbar>
|
|
20386
|
+
`,
|
|
20387
|
+
encapsulation: ViewEncapsulation.None
|
|
20388
|
+
},] }
|
|
20389
|
+
];
|
|
20390
|
+
TransactionStatusbarComponent.ctorParameters = () => [
|
|
20391
|
+
{ type: DictionaryService }
|
|
20392
|
+
];
|
|
20393
|
+
TransactionStatusbarComponent.propDecorators = {
|
|
20394
|
+
transaction: [{ type: Input }],
|
|
20395
|
+
transactionKind: [{ type: Input }],
|
|
20396
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-statusbar",] }]
|
|
20397
|
+
};
|
|
20398
|
+
|
|
20399
|
+
class TransactionStatusbarModule {
|
|
20400
|
+
}
|
|
20401
|
+
TransactionStatusbarModule.decorators = [
|
|
20402
|
+
{ type: NgModule, args: [{
|
|
20403
|
+
imports: [
|
|
20404
|
+
CommonModule,
|
|
20405
|
+
CoreModule,
|
|
20406
|
+
StatusbarModule
|
|
20407
|
+
],
|
|
20408
|
+
declarations: [
|
|
20409
|
+
TransactionStatusbarComponent
|
|
20410
|
+
],
|
|
20411
|
+
exports: [
|
|
20412
|
+
TransactionStatusbarComponent
|
|
20413
|
+
]
|
|
20414
|
+
},] }
|
|
20415
|
+
];
|
|
20416
|
+
|
|
20028
20417
|
class TransactionSearchPurchaseOrderGridModule {
|
|
20029
20418
|
}
|
|
20030
20419
|
TransactionSearchPurchaseOrderGridModule.decorators = [
|
|
@@ -20295,7 +20684,8 @@ TransactionSearchPurchaseOrderTileModule.decorators = [
|
|
|
20295
20684
|
PipeModule,
|
|
20296
20685
|
AvatarModule,
|
|
20297
20686
|
IconModule,
|
|
20298
|
-
|
|
20687
|
+
StatusbarModule,
|
|
20688
|
+
TransactionStatusbarModule
|
|
20299
20689
|
],
|
|
20300
20690
|
declarations: [
|
|
20301
20691
|
TransactionSearchPurchaseOrderTileComponent
|
|
@@ -20317,7 +20707,8 @@ TransactionSearchSalesOrderTileModule.decorators = [
|
|
|
20317
20707
|
ButtonModule,
|
|
20318
20708
|
PipeModule,
|
|
20319
20709
|
IconModule,
|
|
20320
|
-
|
|
20710
|
+
StatusbarModule,
|
|
20711
|
+
TransactionStatusbarModule,
|
|
20321
20712
|
],
|
|
20322
20713
|
declarations: [
|
|
20323
20714
|
TransactionSearchSalesOrderTileComponent
|
|
@@ -21252,7 +21643,8 @@ TransactionSearchModule.decorators = [
|
|
|
21252
21643
|
TransactionSalesOrderFilterModule,
|
|
21253
21644
|
TransactionPurchaseOrderFilterModule,
|
|
21254
21645
|
TransactionFilterModule,
|
|
21255
|
-
IconCollapseHandleModule
|
|
21646
|
+
IconCollapseHandleModule,
|
|
21647
|
+
TransactionStatusbarModule
|
|
21256
21648
|
],
|
|
21257
21649
|
declarations: [
|
|
21258
21650
|
TransactionSearchComponent
|
|
@@ -21306,5 +21698,5 @@ TransactionLineGridModule.decorators = [
|
|
|
21306
21698
|
* Generated bundle index. Do not edit.
|
|
21307
21699
|
*/
|
|
21308
21700
|
|
|
21309
|
-
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, IconCacheService as ɵba, CharacteristicAnswerModule as ɵbb, CharacteristicAnswerComponent as ɵbc, WarehouseModule as ɵbd, WarehouseComponent as ɵbe, ImageDisplayComponent as ɵbf, IconComponent as ɵbg, CustomerGroupsComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LoaderComponent as ɵbj, LazyRenderMasterDirective as ɵbk, LazyRenderDirective as ɵbl, RelationAddressModule as ɵbm, RelationAddressComponent as ɵbn, RelationBaseComponent as ɵbo, RelationAddressSelectModule as ɵbp, RelationAddressTileModule as ɵbq, TileModule as ɵbr, TileComponent as ɵbs, RelationAddressTileComponent as ɵbt, RelationAddressSelectComponent as ɵbu, BusinessObjectFactory as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionMappingService as ɵbz, DynamicComponentService as ɵc, TransactionArticleTextModule as ɵca, TransactionArticleTextComponent as ɵcb, AvatarModule as ɵcc, AvatarComponent as ɵcd, SharedService as ɵce, SharedConnectorService as ɵcf, DeliveryTypeTileModule as ɵcg, DeliveryTypeTileComponent as ɵch, PaymentModule as ɵci, PaymentTileModule as ɵcj, PaymentTileComponent as ɵck, PaymentQrCodeModule as ɵcl, PaymentQrCodeComponent as ɵcm, PaymentComponent as ɵcn, PaymentService as ɵco, RelationTypeModule as ɵcp, RelationTypeComponent as ɵcq, RelationGeneralModule as ɵcr, RelationSuggestionsListModule as ɵcs, RelationSuggestionsListItemModule as ɵct, RelationSuggestionsListItemComponent as ɵcu, RelationSuggestionsListComponent as ɵcv, RelationGeneralComponent as ɵcw, RelationAddressesModule as ɵcx, RelationAddressesComponent as ɵcy, RelationContactDetailsModule as ɵcz, OptionsService as ɵd, RelationContactDetailsComponent as ɵda, RelationPreferencesModule as ɵdb, RelationPreferencesComponent as ɵdc, TransactionHeaderBlockModule as ɵdd, TransactionHeaderBlockComponent as ɵde, TransactionHeaderDeliveryDateModule as ɵdf, TransactionHeaderDeliveryDateComponent as ɵdg, TransactionHeaderBaseComponent as ɵdh, TransactionFilterPopupBaseComponent as ɵdi, TransactionHeaderDeliveryOptionsModule as ɵdj, TransactionHeaderDeliveryOptionsComponent as ɵdk, TransactionHeaderRemarksModule as ɵdl, TransactionHeaderRemarksComponent as ɵdm, TransactionHeaderReferenceModule as ɵdn, TransactionHeaderReferenceComponent as ɵdo, TransactionHeaderRelationReferenceModule as ɵdp, TransactionHeaderRelationReferenceComponent as ɵdq, TransactionHeaderDeliveryMethodModule as ɵdr, TransactionLineCheckboxModule as ɵds, TransactionLineCheckboxListComponent as ɵdt, TransactionHeaderDeliveryMethodComponent as ɵdu, TransactionHeaderPreferredDeliveryDateModule as ɵdv, TransactionHeaderPreferredDeliveryDateComponent as ɵdw, DialogTransactionHeaderDeliveryMethodModule as ɵdx, DialogHeaderSearchModule as ɵdy, DialogHeaderSearchComponent as ɵdz, DictionaryService as ɵe, DialogTransactionHeaderDeliveryMethodComponent as ɵea, DialogTransactionHeaderBaseComponent 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, TransactionConnectorService as ɵf, TransactionLinesGridModule as ɵfa, TransactionBaseGridModule as ɵfb, TransactionLineSidePanelModule as ɵfc, TransactionLineSidePanelDefaultModule as ɵfd, TransactionLinePriceModule as ɵfe, TransactionLinePriceComponent as ɵff, TransactionLineBaseComponent as ɵfg, TransactionLinePriceListModule as ɵfh, TransactionLinePriceListComponent as ɵfi, TransactionLineVatModule as ɵfj, TransactionLineVatComponent as ɵfk, TransactionLineQuantityModule as ɵfl, TransactionLineQuantityComponent as ɵfm, TransactionLineLineDiscountModule as ɵfn, TransactionLineLineDiscountComponent as ɵfo, TransactionLineDeliveryMethodModule as ɵfp, TransactionLineDeliveryMethodComponent as ɵfq, TransactionLineDeliveryDateModule as ɵfr, TransactionLineDeliveryDateComponent as ɵfs, TransactionLineReferenceModule as ɵft, TransactionLineReferenceComponent as ɵfu, TransactionLineCommissionCodeModule as ɵfv, TransactionLineCommissionCodeComponent as ɵfw, TransactionLineWarehouseModule as ɵfx, TransactionLineWarehouseComponent as ɵfy, TransactionLineDiscountAmountModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLineDiscountAmountComponent as ɵga, TransactionLineQuantumDiscountModule as ɵgb, TransactionLineQuantumDiscountComponent as ɵgc, TransactionLineSpecialDiscountModule as ɵgd, TransactionLineSpecialDiscountComponent as ɵge, TransactionLineSupplierModule as ɵgf, TransactionLineSupplierComponent as ɵgg, TransactionLineDescriptionModule as ɵgh, TransactionLineDescriptionComponent as ɵgi, TransactionLineSidePanelDefaultComponent as ɵgj, TransactionReceivingGoodsHistoryModule as ɵgk, TransactionHistoryGridModule as ɵgl, TransactionHistoryGridStatusModule as ɵgm, TransactionHistoryGridStatusComponent as ɵgn, TransactionHistoryGridComponent as ɵgo, TransactionReceivingGoodsHistoryComponent as ɵgp, TransactionReceivingGoodsDetailsModule as ɵgq, TransactionReceivingGoodsDetailsComponent as ɵgr, ArticleService as ɵgs, TransactionButtonBarModule as ɵgt, TransactionButtonBarComponent as ɵgu, TransactionButtonBarButtonComponent as ɵgv, TransactionLineSidePanelPurchaseModule as ɵgw, DefaultOkCancelButtonsModule as ɵgx, DefaultOkCancelButtonsComponent as ɵgy, TransactionLineSidePanelPurchaseComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionEventService as ɵha, TransactionLineSidePanelComponent as ɵhb, DynamicBaseComponent as ɵhc, TransactionLineActionButtonsModule as ɵhd, TransactionArticleTextOverviewModule as ɵhe, TransactionArticleTextOverviewComponent as ɵhf, TransactionLineActionButtonsComponent as ɵhg, TransactionBaseGridComponent as ɵhh, TransactionGridBaseComponent as ɵhi, TransactionImageService as ɵhj, DialogTransactionLineCommissionCodeModule as ɵhk, DialogTransactionLineCommissionCodeComponent as ɵhl, DialogTransactionLineBaseComponent as ɵhm, DialogTransactionLineWarehouseModule as ɵhn, DialogTransactionLineWarehouseComponent as ɵho, DialogTransactionLineWarehouseCcModule as ɵhp, DialogTransactionLineWarehouseCcComponent as ɵhq, DialogTransactionLineDeliveryMethodModule as ɵhr, DialogTransactionLineDeliveryMethodComponent as ɵhs, DialogTransactionLineVatModule as ɵht, DialogTransactionLineVatComponent as ɵhu, DialogTransactionLineDiscountModule as ɵhv, DialogTransactionLinePriceListModule as ɵhw, DialogTransactionLinePriceListComponent as ɵhx, DialogTransactionLineDiscountComponent as ɵhy, TransactionLineStatusbarModule as ɵhz, BusinessObjectCacheManagerService as ɵi, TransactionLineStatusbarComponent as ɵia, TransactionLinesGridComponent as ɵib, DiscountModule as ɵic, DiscountComponent as ɵid, TransactionQuickAccessOverviewModule as ɵie, TransactionQuickAccessOverviewComponent as ɵif, TransactionQuickAccessOrderDeliveryModule as ɵig, TransactionQuickAccessOrderDeliveryComponent as ɵih, TransactionOrderConfirmationGridModule as ɵii, TransactionOrderConfirmationGridComponent as ɵij, TransactionReceivedGoodsGridModule as ɵik, DialogTransactionLineWarehouseLocationModule as ɵil, TransactionLineWarehouseLocationModule as ɵim, TransactionLineWarehouseLocationComponent as ɵin, DialogTransactionLineWarehouseLocationComponent as ɵio, TransactionReceivedGoodsGridComponent as ɵip, ViewModeButtonsModule as ɵiq, ViewModeButtonsComponent as ɵir, TransactionGridModule as ɵis, TransactionGridComponent as ɵit, TransactionTileModule as ɵiu, TransactionTileComponent as ɵiv, TransactionOverviewLineModule as ɵiw, EditableLabelModule as ɵix, EditableLabelComponent as ɵiy, TransactionBaseLineModule as ɵiz, CacheField as ɵj, TransactionLineImageAndDescriptionModule as ɵja, TransactionLineImageAndDescriptionComponent as ɵjb, TransactionBaseLineComponent as ɵjc, TransactionLinesLineBaseComponent as ɵjd, TransactionLineCommissionButtonModule as ɵje, TransactionLineCommissionButtonComponent as ɵjf, TransactionLineWarehouseButtonModule as ɵjg, TransactionLineWarehouseButtonComponent as ɵjh, TransactionLineDeliveryButtonModule as ɵji, TransactionLineDeliveryButtonComponent as ɵjj, TransactionLineDeliveryDateButtonModule as ɵjk, TransactionLineDeliveryDateButtonComponent as ɵjl, TransactionOverviewLineComponent as ɵjm, TransactionOrderDeliveryLineModule as ɵjn, StatusBarModule as ɵjo, StatusBarComponent as ɵjp, TransactionOrderDeliveryLineComponent as ɵjq, TransactionSearchResultModule as ɵjr, TransactionSearchSalesOrderTileModule as ɵjs, TransactionSearchSalesOrderTileComponent as ɵjt, TransactionSearchTileBaseComponent as ɵju, TransactionSearchPurchaseOrderTileModule as ɵjv, TransactionSearchPurchaseOrderTileComponent as ɵjw, TransactionSearchSalesOrderGridModule as ɵjx, TransactionSearchSalesOrderGridComponent as ɵjy, TransactionSearchGridBaseComponent as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionSearchPurchaseOrderGridModule as ɵka, TransactionSearchPurchaseOrderGridComponent as ɵkb, TransactionSearchHeaderModule as ɵkc, TransactionSearchHeaderComponent as ɵkd, TransactionSearchGridModule as ɵke, TransactionSearchGridComponent as ɵkf, TransactionSearchTileModule as ɵkg, TransactionSearchTileComponent as ɵkh, TransactionSearchResultComponent as ɵki, TransactionSalesOrderFilterModule as ɵkj, TransactionSalesOrderFilterContentOrderModule as ɵkk, TransactionFilterItemModule as ɵkl, TransactionFilterItemComponent as ɵkm, TransactionSalesOrderFilterContentOrderComponent as ɵkn, TransactionFilterContentBaseComponent as ɵko, FilterRequestService as ɵkp, TransactionSalesOrderFilterContentLogisticsModule as ɵkq, TransactionFilterHistoricStateModule as ɵkr, TransactionFilterHistoricStateComponent as ɵks, TransactionSalesOrderFilterContentLogisticsComponent as ɵkt, TransactionSalesOrderFilterContentArticleModule as ɵku, TransactionSalesOrderFilterContentArticleComponent as ɵkv, TransactionSalesOrderFilterComponent as ɵkw, TransactionFilterBaseComponent as ɵkx, TransactionPurchaseOrderFilterModule as ɵky, TransactionPurchaseOrderFilterContentOrderModule as ɵkz, ErrorService as ɵl, TransactionPurchaseOrderFilterContentOrderComponent as ɵla, TransactionPurchaseOrderFilterContentLogisticsModule as ɵlb, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵlc, TransactionPurchaseOrderFilterContentArticleModule as ɵld, TransactionPurchaseOrderFilterContentArticleComponent as ɵle, TransactionPurchaseOrderFilterComponent as ɵlf, TransactionFilterModule as ɵlg, TransactionFilterComponent as ɵlh, SelectSingleCacheService as ɵm, ArticleConnectorService as ɵn, CoreModule as ɵo, ConfirmationDialogModule as ɵp, PipeModule as ɵq, AppendPipe as ɵr, DeliveryTimePipe as ɵs, DateDurationPipe as ɵt, LocalizePipe as ɵu, CoCurrencyPipe as ɵv, SafeStylePipe as ɵw, SafeHtmlPipe as ɵx, ConfirmationDialogComponent as ɵy, DialogBaseComponent as ɵz };
|
|
21701
|
+
export { CheckoutComponent, CheckoutModule, SearchBarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, IconCacheService as ɵba, CharacteristicAnswerModule as ɵbb, CharacteristicAnswerComponent as ɵbc, WarehouseModule as ɵbd, WarehouseComponent as ɵbe, ImageDisplayComponent as ɵbf, IconComponent as ɵbg, CustomerGroupsComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LoaderComponent as ɵbj, LazyRenderMasterDirective as ɵbk, LazyRenderDirective as ɵbl, RelationAddressModule as ɵbm, RelationAddressComponent as ɵbn, RelationBaseComponent as ɵbo, RelationAddressSelectModule as ɵbp, RelationAddressTileModule as ɵbq, TileModule as ɵbr, TileComponent as ɵbs, RelationAddressTileComponent as ɵbt, RelationAddressSelectComponent as ɵbu, BusinessObjectFactory as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionLineModule as ɵbz, DynamicComponentService as ɵc, TransactionLineComponent as ɵca, TransactionMappingService as ɵcb, TransactionArticleTextModule as ɵcc, TransactionArticleTextComponent as ɵcd, TransactionReceiveGoodsService as ɵce, TransactionEventService as ɵcf, AvatarModule as ɵcg, AvatarComponent as ɵch, SharedService as ɵci, SharedConnectorService as ɵcj, DeliveryTypeTileModule as ɵck, DeliveryTypeTileComponent as ɵcl, PaymentModule as ɵcm, PaymentTileModule as ɵcn, PaymentTileComponent as ɵco, PaymentQrCodeModule as ɵcp, PaymentQrCodeComponent as ɵcq, PaymentComponent as ɵcr, PaymentService as ɵcs, RelationTypeModule as ɵct, RelationTypeComponent as ɵcu, RelationGeneralModule as ɵcv, RelationSuggestionsListModule as ɵcw, RelationSuggestionsListItemModule as ɵcx, RelationSuggestionsListItemComponent as ɵcy, RelationSuggestionsListComponent as ɵcz, OptionsService as ɵd, RelationGeneralComponent as ɵda, RelationAddressesModule as ɵdb, RelationAddressesComponent as ɵdc, RelationContactDetailsModule as ɵdd, RelationContactDetailsComponent as ɵde, RelationPreferencesModule as ɵdf, RelationPreferencesComponent as ɵdg, TransactionHeaderBlockModule as ɵdh, TransactionHeaderBlockComponent as ɵdi, TransactionHeaderDeliveryDateModule as ɵdj, TransactionHeaderDeliveryDateComponent as ɵdk, TransactionHeaderBaseComponent as ɵdl, TransactionFilterPopupBaseComponent as ɵdm, TransactionHeaderDeliveryOptionsModule as ɵdn, TransactionHeaderDeliveryOptionsComponent as ɵdo, TransactionHeaderRemarksModule as ɵdp, TransactionHeaderRemarksComponent as ɵdq, TransactionHeaderReferenceModule as ɵdr, TransactionHeaderReferenceComponent as ɵds, TransactionHeaderRelationReferenceModule as ɵdt, TransactionHeaderRelationReferenceComponent as ɵdu, TransactionHeaderDeliveryMethodModule as ɵdv, TransactionLineCheckboxModule as ɵdw, TransactionLineCheckboxListComponent as ɵdx, TransactionHeaderDeliveryMethodComponent as ɵdy, TransactionHeaderPreferredDeliveryDateModule as ɵdz, DictionaryService as ɵe, TransactionHeaderPreferredDeliveryDateComponent as ɵea, DialogTransactionHeaderDeliveryMethodModule as ɵeb, DialogHeaderSearchModule as ɵec, DialogHeaderSearchComponent as ɵed, DialogTransactionHeaderDeliveryMethodComponent as ɵee, DialogTransactionHeaderBaseComponent as ɵef, TransactionBaseComponent as ɵeg, TransactionHeaderPartialDeliveryModule as ɵeh, TransactionHeaderPartialDeliveryComponent as ɵei, TransactionHeaderDownpaymentPercentageModule as ɵej, TransactionHeaderDownpaymentPercentageComponent as ɵek, TransactionHeaderDownpaymentAmountModule as ɵel, TransactionHeaderDownpaymentAmountComponent as ɵem, TransactionHeaderDefinitiveModule as ɵen, TransactionHeaderDefinitiveComponent as ɵeo, TransactionHeaderBranchModule as ɵep, TransactionHeaderBranchComponent as ɵeq, TransactionHeaderAdministrativeRelationModule as ɵer, TransactionHeaderAdministrativeRelationComponent as ɵes, TransactionHeaderMarketingModule as ɵet, TransactionHeaderMarketingComponent as ɵeu, CheckoutOverviewRelationEditComponent as ɵev, CheckoutOverviewDeliveryEditComponent as ɵew, CheckoutOverviewDeliveryAddressComponent as ɵex, CheckoutOverviewPaymentComponent as ɵey, CheckoutLoginComponent as ɵez, TransactionConnectorService as ɵf, TransactionFilterCategoriesModule as ɵfa, TransactionFilterCategoriesComponent as ɵfb, TransactionHeaderPaymentModule as ɵfc, TransactionHeaderPaymentComponent as ɵfd, TransactionLinesGridModule as ɵfe, TransactionBaseGridModule as ɵff, TransactionLineSidePanelModule as ɵfg, TransactionLineSidePanelDefaultModule as ɵfh, TransactionLinePriceModule as ɵfi, TransactionLinePriceComponent as ɵfj, TransactionLineBaseComponent as ɵfk, TransactionLinePriceListModule as ɵfl, TransactionLinePriceListComponent as ɵfm, TransactionLineVatModule as ɵfn, TransactionLineVatComponent as ɵfo, TransactionLineQuantityModule as ɵfp, TransactionLineQuantityComponent as ɵfq, TransactionLineLineDiscountModule as ɵfr, TransactionLineLineDiscountComponent as ɵfs, TransactionLineDeliveryMethodModule as ɵft, TransactionLineDeliveryMethodComponent as ɵfu, TransactionLineDeliveryDateModule as ɵfv, TransactionLineDeliveryDateComponent as ɵfw, TransactionLineReferenceModule as ɵfx, TransactionLineReferenceComponent as ɵfy, TransactionLineCommissionCodeModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLineCommissionCodeComponent as ɵga, TransactionLineWarehouseModule as ɵgb, TransactionLineWarehouseComponent as ɵgc, TransactionLineDiscountAmountModule as ɵgd, TransactionLineDiscountAmountComponent as ɵge, TransactionLineQuantumDiscountModule as ɵgf, TransactionLineQuantumDiscountComponent as ɵgg, TransactionLineSpecialDiscountModule as ɵgh, TransactionLineSpecialDiscountComponent as ɵgi, TransactionLineSupplierModule as ɵgj, TransactionLineSupplierComponent as ɵgk, TransactionLineDescriptionModule as ɵgl, TransactionLineDescriptionComponent 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, TransactionButtonBarButtonComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineSidePanelPurchaseModule as ɵha, DefaultOkCancelButtonsModule as ɵhb, DefaultOkCancelButtonsComponent as ɵhc, TransactionLineSidePanelPurchaseComponent as ɵhd, TransactionLineSidePanelComponent as ɵhe, DynamicBaseComponent as ɵhf, TransactionLineActionButtonsModule as ɵhg, TransactionArticleTextOverviewModule as ɵhh, TransactionArticleTextOverviewComponent as ɵhi, TransactionLineActionButtonsComponent as ɵhj, TransactionBaseGridComponent as ɵhk, TransactionGridBaseComponent as ɵhl, TransactionImageService as ɵhm, DialogTransactionLineCommissionCodeModule as ɵhn, DialogTransactionLineCommissionCodeComponent as ɵho, DialogTransactionLineBaseComponent as ɵhp, DialogTransactionLineWarehouseModule as ɵhq, DialogTransactionLineWarehouseComponent as ɵhr, DialogTransactionLineWarehouseCcModule as ɵhs, DialogTransactionLineWarehouseCcComponent as ɵht, DialogTransactionLineDeliveryMethodModule as ɵhu, DialogTransactionLineDeliveryMethodComponent as ɵhv, DialogTransactionLineVatModule as ɵhw, DialogTransactionLineVatComponent as ɵhx, DialogTransactionLineDiscountModule as ɵhy, DialogTransactionLinePriceListModule as ɵhz, BusinessObjectCacheManagerService as ɵi, DialogTransactionLinePriceListComponent as ɵia, DialogTransactionLineDiscountComponent as ɵib, TransactionLinesGridComponent as ɵic, DiscountModule as ɵid, DiscountComponent as ɵie, TransactionQuickAccessOverviewModule as ɵif, TransactionQuickAccessOverviewComponent as ɵig, TransactionQuickAccessOrderDeliveryModule as ɵih, TransactionQuickAccessOrderDeliveryComponent as ɵii, TransactionOrderConfirmationGridModule as ɵij, TransactionOrderConfirmationGridComponent as ɵik, TransactionReceivedGoodsGridModule as ɵil, DialogTransactionLineWarehouseLocationModule as ɵim, TransactionLineWarehouseLocationModule as ɵin, TransactionLineWarehouseLocationComponent as ɵio, DialogTransactionLineWarehouseLocationComponent as ɵip, TransactionLineWarehouseLocationButtonModule as ɵiq, TransactionLineWarehouseLocationButtonComponent as ɵir, TransactionReceivedGoodsGridComponent as ɵis, ViewModeButtonsModule as ɵit, ViewModeButtonsComponent as ɵiu, TransactionGridModule as ɵiv, TransactionGridComponent as ɵiw, TransactionTileModule as ɵix, TransactionTileComponent as ɵiy, TransactionOverviewLineModule as ɵiz, CacheField as ɵj, EditableLabelModule as ɵja, EditableLabelComponent as ɵjb, TransactionBaseLineModule as ɵjc, TransactionLineImageAndDescriptionModule as ɵjd, TransactionLineImageAndDescriptionComponent as ɵje, TransactionBaseLineComponent as ɵjf, TransactionLinesLineBaseComponent as ɵjg, TransactionLineCommissionButtonModule as ɵjh, TransactionLineCommissionButtonComponent as ɵji, TransactionLineWarehouseButtonModule as ɵjj, TransactionLineWarehouseButtonComponent as ɵjk, TransactionLineDeliveryButtonModule as ɵjl, TransactionLineDeliveryButtonComponent as ɵjm, TransactionLineDeliveryDateButtonModule as ɵjn, TransactionLineDeliveryDateButtonComponent as ɵjo, TransactionOverviewLineComponent as ɵjp, TransactionOrderDeliveryLineModule as ɵjq, StatusBarModule as ɵjr, StatusBarComponent as ɵjs, TransactionOrderDeliveryLineComponent as ɵjt, TransactionReceiveGoodsLineModule as ɵju, TransactionReceiveGoodsLineComponent as ɵjv, TransactionSearchResultModule as ɵjw, TransactionSearchSalesOrderTileModule as ɵjx, TransactionSearchSalesOrderTileComponent as ɵjy, TransactionSearchTileBaseComponent as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionSearchPurchaseOrderTileModule as ɵka, TransactionSearchPurchaseOrderTileComponent as ɵkb, TransactionSearchSalesOrderGridModule as ɵkc, TransactionSearchSalesOrderGridComponent as ɵkd, TransactionSearchGridBaseComponent as ɵke, TransactionSearchPurchaseOrderGridModule as ɵkf, TransactionSearchPurchaseOrderGridComponent as ɵkg, TransactionSearchHeaderModule as ɵkh, TransactionSearchHeaderComponent as ɵki, TransactionSearchGridModule as ɵkj, TransactionSearchGridComponent as ɵkk, TransactionSearchTileModule as ɵkl, TransactionSearchTileComponent as ɵkm, TransactionSearchResultComponent as ɵkn, TransactionSalesOrderFilterModule as ɵko, TransactionSalesOrderFilterContentOrderModule as ɵkp, TransactionFilterItemModule as ɵkq, TransactionFilterItemComponent as ɵkr, TransactionSalesOrderFilterContentOrderComponent as ɵks, TransactionFilterContentBaseComponent as ɵkt, FilterRequestService as ɵku, TransactionSalesOrderFilterContentLogisticsModule as ɵkv, TransactionFilterHistoricStateModule as ɵkw, TransactionFilterHistoricStateComponent as ɵkx, TransactionSalesOrderFilterContentLogisticsComponent as ɵky, TransactionSalesOrderFilterContentArticleModule as ɵkz, ErrorService as ɵl, TransactionSalesOrderFilterContentArticleComponent as ɵla, TransactionSalesOrderFilterComponent as ɵlb, TransactionFilterBaseComponent as ɵlc, TransactionPurchaseOrderFilterModule as ɵld, TransactionPurchaseOrderFilterContentOrderModule as ɵle, TransactionPurchaseOrderFilterContentOrderComponent as ɵlf, TransactionPurchaseOrderFilterContentLogisticsModule as ɵlg, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵlh, TransactionPurchaseOrderFilterContentArticleModule as ɵli, TransactionPurchaseOrderFilterContentArticleComponent as ɵlj, TransactionPurchaseOrderFilterComponent as ɵlk, TransactionFilterModule as ɵll, TransactionFilterComponent as ɵlm, SelectSingleCacheService as ɵm, ArticleConnectorService as ɵn, CoreModule as ɵo, ConfirmationDialogModule as ɵp, PipeModule as ɵq, AppendPipe as ɵr, DeliveryTimePipe as ɵs, DateDurationPipe as ɵt, LocalizePipe as ɵu, CoCurrencyPipe as ɵv, SafeStylePipe as ɵw, SafeHtmlPipe as ɵx, ConfirmationDialogComponent as ɵy, DialogBaseComponent as ɵz };
|
|
21310
21702
|
//# sourceMappingURL=colijnit-transaction.js.map
|