@colijnit/transaction 12.1.69 → 12.1.70
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 +1407 -546
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +103 -102
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +104 -103
- package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -2
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +1 -3
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +3 -3
- package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.js +3 -3
- package/esm2015/lib/component/core/base/components/warehouse/warehouse.component.js +3 -3
- package/esm2015/lib/component/core/base/transaction-base.component.js +28 -25
- package/esm2015/lib/component/dialog/dialog-header-search/dialog-header-search.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/dialog-transaction-header-delivery-method.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.js +3 -3
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/dialog-transaction-line-commission-code.component.js +3 -3
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/dialog-transaction-line-delivery-method.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.js +3 -3
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/dialog-transaction-line-price-list.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-vat/dialog-transaction-line-vat.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +4 -4
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +2 -2
- package/esm2015/lib/component/discount/discount.component.js +2 -2
- package/esm2015/lib/component/quick-send-button/quick-send-button.component.js +22 -88
- package/esm2015/lib/component/quick-send-button/quick-send-button.module.js +4 -4
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +3 -3
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +13 -5
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +2 -2
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +2 -2
- package/esm2015/lib/component/transaction/transaction.component.js +2 -5
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +3 -3
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +11 -20
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-options/transaction-header-delivery-options.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +3 -3
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +2 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.js +14 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.js +4 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.js +6 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +3 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.module.js +2 -4
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +13 -9
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.module.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +57 -13
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.module.js +6 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.component.js +80 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.module.js +23 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +110 -0
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +2 -2
- package/esm2015/lib/enum/icon.enum.js +4 -1
- package/esm2015/lib/model/icon-svg.js +4 -1
- package/esm2015/lib/service/article-connector.service.js +1 -1
- package/esm2015/lib/service/icon-cache.service.js +1 -1
- package/esm2015/lib/service/transaction-connector-adapter.service.js +246 -33
- package/esm2015/lib/service/transaction-connector.service.js +96 -11
- package/esm2015/lib/service/transaction-mapping.service.js +3 -1
- package/esm2015/lib/service/transaction.service.js +143 -9
- package/fesm2015/colijnit-transaction.js +928 -385
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +0 -2
- package/lib/component/core/base/transaction-base.component.d.ts +4 -0
- package/lib/component/loader/style/_layout.scss +4 -0
- package/lib/component/quick-send-button/quick-send-button.component.d.ts +8 -24
- package/lib/component/quick-send-button/style/_layout.scss +34 -29
- package/lib/component/quick-send-button/style/_material-definition.scss +11 -2
- package/lib/component/transaction-header/transaction-header/style/_layout.scss +1 -1
- package/lib/component/transaction-header/transaction-header/style/_material-definition.scss +2 -0
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +1 -4
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +10 -4
- package/lib/component/transaction-line-image-and-description/style/_layout.scss +1 -1
- package/lib/component/transaction-line-image-and-description/style/_material-definition.scss +2 -5
- package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.d.ts +7 -2
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/material.scss +0 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.d.ts +2 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_layout.scss +6 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.d.ts +19 -7
- package/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/style/_layout.scss +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/style/_material-definition.scss +0 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/style/_theme.scss +4 -0
- package/lib/component/{transaction-send-button-dialog → transaction-quick-access/transaction-quick-access-purchase-order-overview}/style/material.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.component.d.ts +24 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.module.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.d.ts +43 -0
- package/lib/enum/icon.enum.d.ts +3 -0
- package/lib/service/icon-cache.service.d.ts +1 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +32 -4
- package/lib/service/transaction-connector.service.d.ts +32 -4
- package/lib/service/transaction.service.d.ts +36 -1
- package/lib/style/_variables.scss +0 -6
- package/lib/style/transaction-globals.scss +42 -42
- package/package.json +9 -9
- package/esm2015/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.component.js +0 -75
- package/esm2015/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.module.js +0 -25
- package/lib/component/transaction-send-button-dialog/style/_layout.scss +0 -47
- package/lib/component/transaction-send-button-dialog/style/_material-definition.scss +0 -13
- package/lib/component/transaction-send-button-dialog/style/_theme.scss +0 -24
- package/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.component.d.ts +0 -16
- package/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.module.d.ts +0 -2
|
@@ -47,6 +47,8 @@ import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
|
|
|
47
47
|
import { AvailableStock } from '@colijnit/transactionapi/build/model/available-stock.bo';
|
|
48
48
|
import { GoodsAllocationStatus } from '@colijnit/transactionapi/build/model/goods-allocation-status.bo';
|
|
49
49
|
import { GoodsAllocationStatusWithHistory } from '@colijnit/transactionapi/build/model/goods-allocation-status-with-history.bo';
|
|
50
|
+
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
51
|
+
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
50
52
|
import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
|
|
51
53
|
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
52
54
|
import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.bo';
|
|
@@ -56,7 +58,7 @@ import { MainArticle } from '@colijnit/articleapi/build/model/main-article.bo';
|
|
|
56
58
|
import { ResolveHeaderPendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo';
|
|
57
59
|
import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
|
|
58
60
|
import * as i4 from '@colijnit/sharedcomponents';
|
|
59
|
-
import { SharedService as SharedService$1, KeyPadModule, StatusbarModule, SendMethodDialogModule } from '@colijnit/sharedcomponents';
|
|
61
|
+
import { SharedService as SharedService$1, sendMethodsWithIcon, KeyPadModule, StatusbarModule, SendMethodDialogModule } from '@colijnit/sharedcomponents';
|
|
60
62
|
import { CustomerFullObject } from '@colijnit/relationapi/build/model/customer-full-object.bo';
|
|
61
63
|
import { RelationStatus } from '@colijnit/articleapi/build/enum/relation-status.enum';
|
|
62
64
|
import { RelationKind } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
@@ -65,16 +67,16 @@ import { SupplierFullObject } from '@colijnit/relationapi/build/model/supplier-f
|
|
|
65
67
|
import { RelationListObject } from '@colijnit/relationapi/build/model/relation-list-object.bo';
|
|
66
68
|
import { BranchLov } from '@colijnit/relationapi/build/model/branch-lov.bo';
|
|
67
69
|
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
70
|
+
import { CreateTransactionRequest } from '@colijnit/transactionapi/build/model/create-transaction-request';
|
|
68
71
|
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputTextComponent, InputListboxModule, DropDownModule, InputSearchModule, ColumnAlign, SimpleGridColumnDirective, ObserveVisibilityModule, ColorSequenceService, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, CarouselModule, FilterPipeModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, InputNumberPickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, ClickoutsideModule, CheckmarkOverlayModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
69
72
|
import { FlexModule } from '@angular/flex-layout';
|
|
70
73
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
71
|
-
import { RelationKind as RelationKind$1 } from '@colijnit/relationapi/build/enum/relation-kind.enum';
|
|
72
74
|
import { AddressType } from '@colijnit/relationapi/build/enum/address-type.enum';
|
|
73
75
|
import { CommonModule, DatePipe } from '@angular/common';
|
|
74
76
|
import { DateUtils } from '@colijnit/ioneconnector/build/utils/date-utils';
|
|
75
77
|
import { NumberUtils } from '@colijnit/ioneconnector/build/utils/number-utils';
|
|
76
78
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
77
|
-
import { NULL_RELATION_OBJECT } from '@colijnit/relationapi/build/model/nul-relation-object';
|
|
79
|
+
import { NULL_RELATION_OBJECT, NULL_CUSTOMER_FULL_OBJECT } from '@colijnit/relationapi/build/model/nul-relation-object';
|
|
78
80
|
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
79
81
|
import { isNill } from '@colijnit/ioneconnector/build/utils/function/is-nill.function';
|
|
80
82
|
import { TransactionTotal } from '@colijnit/transactionapi/build/model/transaction-total.bo';
|
|
@@ -86,6 +88,11 @@ import { PagingParameters } from '@colijnit/ioneconnector/build/model/paging-par
|
|
|
86
88
|
import { GetPurchaseOrderConfirmation } from '@colijnit/transactionapi/build/model/get-purchase-order-confirmation';
|
|
87
89
|
import { ReceiveGoodsForPurchaseOrderRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo';
|
|
88
90
|
import { PurchaseOrderLineReceiptDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo';
|
|
91
|
+
import { EmailOrderConfirmationRequest } from '@colijnit/mainapi/build/model/email-order-confirmation-request';
|
|
92
|
+
import { PrintOrderConfirmationRequest } from '@colijnit/mainapi/build/model/print-order-confirmation-request';
|
|
93
|
+
import { PdfOrderConfirmationRequest } from '@colijnit/mainapi/build/model/pdf-order-confirmation-request';
|
|
94
|
+
import { CommunicationType } from '@colijnit/relationapi/build/enum/communication-type.enum';
|
|
95
|
+
import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
|
|
89
96
|
import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-status.enum';
|
|
90
97
|
import { AllocateGoodsForSalesOrderRequest } from '@colijnit/transactionapi/build/model/allocate-goods-for-sales-order-request';
|
|
91
98
|
import { SalesOrderLineAllocationDetails } from '@colijnit/transactionapi/build/model/sales-order-line-allocation-details';
|
|
@@ -97,10 +104,10 @@ import { RelationNameKind } from '@colijnit/relationapi/build/enum/relation-name
|
|
|
97
104
|
import { GenderType } from '@colijnit/relationapi/build/enum/gender-type.enum';
|
|
98
105
|
import { FunctionUtils } from '@colijnit/ioneconnector/build/utils/function-utils';
|
|
99
106
|
import { ContactOption } from '@colijnit/relationapi/build/model/contact-option.bo';
|
|
100
|
-
import { CommunicationType } from '@colijnit/relationapi/build/enum/communication-type.enum';
|
|
101
107
|
import { BusinessObjectUtils } from '@colijnit/ioneconnector/build/utils/business-object-utils';
|
|
102
108
|
import { ScrollingModule } from '@angular/cdk/scrolling';
|
|
103
109
|
import { RelationSmallObject } from '@colijnit/relationapi/build/model/relation-small-object.bo';
|
|
110
|
+
import { RelationKind as RelationKind$1 } from '@colijnit/relationapi/build/enum/relation-kind.enum';
|
|
104
111
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo';
|
|
105
112
|
import { PurchaseOrderLineReceiptCorrectionDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo';
|
|
106
113
|
import { GetPurchasePortalLine } from '@colijnit/transactionapi/build/model/get-purchase-portal-line';
|
|
@@ -109,9 +116,6 @@ import { AllocateGoodsForSalesOrderCorrectionRequest } from '@colijnit/transacti
|
|
|
109
116
|
import { SalesOrderLineAllocationCorrectionDetails } from '@colijnit/transactionapi/build/model/sales-order-line-allocation-correction-details';
|
|
110
117
|
import { IoneCatalogModule } from '@colijnit/catalog';
|
|
111
118
|
import { GoodsReceiptStatus } from '@colijnit/transactionapi/build/model/goods-receipt-status.bo';
|
|
112
|
-
import { EmailOrderConfirmation } from '@colijnit/sharedapi/build/model/report/email-order-confirmation';
|
|
113
|
-
import { PrintOrderConfirmation } from '@colijnit/sharedapi/build/model/report/print-order-confirmation';
|
|
114
|
-
import { PdfOrderConfirmation } from '@colijnit/sharedapi/build/model/report/pdf-order-confirmation';
|
|
115
119
|
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
116
120
|
import { QuantityInHistoricState } from '@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum';
|
|
117
121
|
|
|
@@ -1370,6 +1374,7 @@ var Icon;
|
|
|
1370
1374
|
Icon["EditPencil"] = "edit_pencil";
|
|
1371
1375
|
Icon["EllipsisLight"] = "ellipsis_light";
|
|
1372
1376
|
Icon["EllipsisVerticalSolid"] = "ellipsis_vertical_solid";
|
|
1377
|
+
Icon["Email"] = "email";
|
|
1373
1378
|
Icon["FileCircleInfoSolid"] = "file_circle_info_solid";
|
|
1374
1379
|
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
1375
1380
|
Icon["GearSolid"] = "gear_solid";
|
|
@@ -1389,9 +1394,11 @@ var Icon;
|
|
|
1389
1394
|
Icon["Menu"] = "menu";
|
|
1390
1395
|
Icon["ObjectIntersectSolid"] = "object_intersect_solid";
|
|
1391
1396
|
Icon["PalletBoxesSolid"] = "pallet_boxes_solid";
|
|
1397
|
+
Icon["Pdf"] = "pdf";
|
|
1392
1398
|
Icon["PercentSolid"] = "percent_solid";
|
|
1393
1399
|
Icon["PlusRound"] = "plus_round";
|
|
1394
1400
|
Icon["PlusSimple"] = "plus_simple";
|
|
1401
|
+
Icon["PrintRegular"] = "print_regular";
|
|
1395
1402
|
Icon["PrintSolid"] = "print_solid";
|
|
1396
1403
|
Icon["Purchase"] = "purchase";
|
|
1397
1404
|
Icon["Resize"] = "resize";
|
|
@@ -1444,6 +1451,7 @@ const IconSvg = {
|
|
|
1444
1451
|
"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>",
|
|
1445
1452
|
"ellipsis_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M352 256C352 238.3 366.3 224 384 224C401.7 224 416 238.3 416 256C416 273.7 401.7 288 384 288C366.3 288 352 273.7 352 256zM192 256C192 238.3 206.3 224 224 224C241.7 224 256 238.3 256 256C256 273.7 241.7 288 224 288C206.3 288 192 273.7 192 256zM96 256C96 273.7 81.67 288 64 288C46.33 288 32 273.7 32 256C32 238.3 46.33 224 64 224C81.67 224 96 238.3 96 256z\"/></svg>",
|
|
1446
1453
|
"ellipsis_vertical_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 128 512\"><path d=\"M64 360c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zm0-160c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zM120 96c0 30.9-25.1 56-56 56S8 126.9 8 96S33.1 40 64 40s56 25.1 56 56z\"/></svg>",
|
|
1454
|
+
"email": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.79,38.45A17.82,17.82,0,0,1,23.86,40,13.09,13.09,0,0,1,10.41,26.42C10.41,17.63,16.83,10,26.53,10c7.63,0,13.06,5.21,13.06,12.46,0,6.33-3.53,10.3-8.19,10.3a3.42,3.42,0,0,1-3.71-3.32h-.08A6.5,6.5,0,0,1,22,32.76c-2.75,0-4.82-2.11-4.82-5.65a9.85,9.85,0,0,1,10.13-10,12.89,12.89,0,0,1,5.13,1l-1.3,8c-.43,2.54-.13,3.71,1.08,3.75,1.85.09,4.18-2.28,4.18-7.28,0-5.65-3.62-10-10.3-10S13.73,17.76,13.73,26c0,7.25,4.57,11.3,11,11.3A14.81,14.81,0,0,0,31,36ZM28,20.65a5.34,5.34,0,0,0-1.33-.18c-2.85,0-5.09,2.81-5.09,6.12,0,1.64.73,2.68,2.16,2.68,1.59,0,3.27-2,3.66-4.53Z\" fill=\"#484f60\"/></svg>",
|
|
1447
1455
|
"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>",
|
|
1448
1456
|
"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>",
|
|
1449
1457
|
"gear_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M200 0H312l17.2 78.4c15.8 6.5 30.6 15.1 44 25.4l76.5-24.4 56 97-59.4 54.1c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l59.4 54.1-56 97-76.5-24.4c-13.4 10.3-28.2 18.9-44 25.4L312 512H200l-17.2-78.4c-15.8-6.5-30.6-15.1-44-25.4L62.3 432.5l-56-97 59.4-54.1C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L6.3 176.5l56-97 76.5 24.4c13.4-10.3 28.2-18.9 44-25.4L200 0zm56 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z\"/></svg>",
|
|
@@ -1463,9 +1471,11 @@ const IconSvg = {
|
|
|
1463
1471
|
"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>",
|
|
1464
1472
|
"object_intersect_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M288 64v96H224c-35.3 0-64 28.7-64 64v64H64V64H288zM64 352h96v96c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V224c0-35.3-28.7-64-64-64H352V64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64V288c0 35.3 28.7 64 64 64zM448 224V448H224V352h64c35.3 0 64-28.7 64-64V224h96z\"/></svg>",
|
|
1465
1473
|
"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>",
|
|
1474
|
+
"pdf": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.88c-2.16,0-2.72-.56-2.72-2.72V12.88c0-2.15.56-2.71,2.72-2.71h11.6l8.66,8.88v3.43H32.8V19.6l-7.88-8.09h-11c-1.38,0-1.38,0-1.38,1.37V37.45c0,1.37,0,1.37,1.38,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M27.83,26.63v4.24h1a3.57,3.57,0,0,0,.78-.06,1.22,1.22,0,0,0,.52-.26,1.44,1.44,0,0,0,.34-.62,4.13,4.13,0,0,0,.13-1.18,3.79,3.79,0,0,0-.13-1.14,1.51,1.51,0,0,0-.37-.62,1.14,1.14,0,0,0-.6-.3,5.93,5.93,0,0,0-1.06-.06Z\" fill=\"#484f60\"/><path d=\"M21.86,26.63v1.82h.71a3.57,3.57,0,0,0,1-.1A.88.88,0,0,0,24,28a.84.84,0,0,0,.14-.5.8.8,0,0,0-.2-.57.88.88,0,0,0-.52-.29,6.36,6.36,0,0,0-.93,0Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.12,4.24a1.68,1.68,0,0,1-.54.63,1.9,1.9,0,0,1-.67.3,6.57,6.57,0,0,1-1.34.1h-.85V32H20.57V25.54h2.07a7.75,7.75,0,0,1,1.54.1,1.73,1.73,0,0,1,.93.63,2,2,0,0,1,.37,1.25A2,2,0,0,1,25.26,28.51Zm6.45,1.66A2.91,2.91,0,0,1,31,31.31a2.28,2.28,0,0,1-.91.51A4,4,0,0,1,29,32H26.54V25.54H28.9a4.21,4.21,0,0,1,1.22.13,2.08,2.08,0,0,1,1,.59,2.79,2.79,0,0,1,.61,1,4.76,4.76,0,0,1,.21,1.52A4.19,4.19,0,0,1,31.71,30.17Zm5.7-3.54h-3.1v1.52H37v1.08H34.31V32H33V25.54h4.39Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/></svg>",
|
|
1466
1475
|
"percent_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128c0-35.3-28.7-64-64-64S0 92.7 0 128s28.7 64 64 64s64-28.7 64-64zM384 384c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z\"/></svg>",
|
|
1467
1476
|
"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>",
|
|
1468
1477
|
"plus_simple": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g ><path d=\"M13.86,27c-.32,0-.58-.26-.58-.57v-9.72H3.58c-.32,0-.58-.26-.58-.57v-2.29c0-.31,.26-.57,.58-.57H13.29V3.57c0-.31,.26-.57,.58-.57h2.28c.31,0,.57,.26,.57,.57V13.29h9.72c.31,0,.57,.26,.57,.57v2.29c0,.31-.26,.57-.57,.57h-9.72v9.72c0,.31-.26,.57-.57,.57h-2.28Z\" fill=\"#484f60\"/></g></g><g /></svg>",
|
|
1478
|
+
"print_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M111.1 48h254.1L400 81.94V160H448V81.94c0-12.73-5.057-24.94-14.06-33.94l-33.94-33.94C391 5.057 378.8 0 366.1 0H111.1C85.49 0 64.01 21.48 64 47.98l.002 82.28c-.002 0 .002 0 0 0L64 160h48.01L111.1 48zM440 192H72C32.3 192 0 224.3 0 264v112c0 13.25 10.75 24 24 24H80V480c0 17.67 14.33 32 32 32h288c17.67 0 32-14.33 32-32v-80h56c13.25 0 24-10.75 24-24v-112C512 224.3 479.7 192 440 192zM384 464H128v-96h256V464zM464 352h-32c0-17.67-14.33-32-32-32h-288c-17.67 0-32 14.33-32 32h-32V264c0-13.23 10.77-24 24-24h368c13.23 0 24 10.77 24 24V352z\"/></svg>",
|
|
1469
1479
|
"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>",
|
|
1470
1480
|
"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>",
|
|
1471
1481
|
"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>",
|
|
@@ -1575,10 +1585,10 @@ ConfirmationDialogComponent.decorators = [
|
|
|
1575
1585
|
</div>
|
|
1576
1586
|
</co-dialog>
|
|
1577
1587
|
<ng-template #headerTemplate>
|
|
1578
|
-
<div class="co-
|
|
1588
|
+
<div class="co-dialog-header-title" [textContent]="title | localize"></div>
|
|
1579
1589
|
</ng-template>
|
|
1580
1590
|
<ng-template #footerTemplate>
|
|
1581
|
-
<div class="co-
|
|
1591
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
1582
1592
|
<ng-container *ngIf="type === ptype.Confirmation">
|
|
1583
1593
|
<co-button [label]="'YES' | localize" (click)="handleYesClick($event)"></co-button>
|
|
1584
1594
|
<co-button [label]="'NO' | localize" (click)="handleNoClick($event)"></co-button>
|
|
@@ -1661,10 +1671,10 @@ CharacteristicAnswerComponent.decorators = [
|
|
|
1661
1671
|
</ng-container>
|
|
1662
1672
|
</co-dialog>
|
|
1663
1673
|
<ng-template #headerTemplate>
|
|
1664
|
-
<div class="co-
|
|
1674
|
+
<div class="co-dialog-header-title" [textContent]="title"></div>
|
|
1665
1675
|
</ng-template>
|
|
1666
1676
|
<ng-template #footerTemplate>
|
|
1667
|
-
<div class="co-
|
|
1677
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
1668
1678
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
1669
1679
|
</div>
|
|
1670
1680
|
</ng-template>
|
|
@@ -1787,7 +1797,7 @@ DialogTransactionLineWarehouseComponent.decorators = [
|
|
|
1787
1797
|
<co-dialog-header-search [title]="'WAREHOUSE'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
1788
1798
|
</ng-template>
|
|
1789
1799
|
<ng-template #footerTemplate>
|
|
1790
|
-
<div class="co-
|
|
1800
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
1791
1801
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
1792
1802
|
</div>
|
|
1793
1803
|
</ng-template>
|
|
@@ -1818,10 +1828,10 @@ DialogTransactionLineCommissionCodeComponent.decorators = [
|
|
|
1818
1828
|
(valueChange)="handleValueChange($event)"></co-transaction-line-commission-code>
|
|
1819
1829
|
</co-dialog>
|
|
1820
1830
|
<ng-template #dialogHeader>
|
|
1821
|
-
<div class="co-
|
|
1831
|
+
<div class="co-dialog-header-title" [textContent]="'COMMISSION_CODE' | localize"></div>
|
|
1822
1832
|
</ng-template>
|
|
1823
1833
|
<ng-template #footerTemplate>
|
|
1824
|
-
<div class="co-
|
|
1834
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
1825
1835
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
1826
1836
|
</div>
|
|
1827
1837
|
</ng-template>
|
|
@@ -1930,7 +1940,7 @@ DialogTransactionLineWarehouseLocationComponent.decorators = [
|
|
|
1930
1940
|
<co-dialog-header-search [title]="'LOCATION'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
1931
1941
|
</ng-template>
|
|
1932
1942
|
<ng-template #footerTemplate>
|
|
1933
|
-
<div class="co-
|
|
1943
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
1934
1944
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
1935
1945
|
</div>
|
|
1936
1946
|
</ng-template>
|
|
@@ -1978,7 +1988,7 @@ DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
|
1978
1988
|
selector: "co-dialog-transaction-line-warehouse-cc",
|
|
1979
1989
|
template: `
|
|
1980
1990
|
<co-dialog
|
|
1981
|
-
[customCssClass]="'co-
|
|
1991
|
+
[customCssClass]="'co-small-toolbar'"
|
|
1982
1992
|
[headerTemplate]="dialogHeader"
|
|
1983
1993
|
[footerTemplate]="footerTemplate"
|
|
1984
1994
|
(closeClick)="handleDialogClose()">
|
|
@@ -2003,10 +2013,10 @@ DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
|
2003
2013
|
</div>
|
|
2004
2014
|
</co-dialog>
|
|
2005
2015
|
<ng-template #dialogHeader>
|
|
2006
|
-
<div class="co-
|
|
2016
|
+
<div class="co-dialog-header-title" [textContent]="'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize"></div>
|
|
2007
2017
|
</ng-template>
|
|
2008
2018
|
<ng-template #footerTemplate>
|
|
2009
|
-
<div class="co-
|
|
2019
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
2010
2020
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
2011
2021
|
</div>
|
|
2012
2022
|
</ng-template>
|
|
@@ -2611,6 +2621,81 @@ class TransactionConnectorAdapterService {
|
|
|
2611
2621
|
});
|
|
2612
2622
|
});
|
|
2613
2623
|
}
|
|
2624
|
+
createSalesOrder(request) {
|
|
2625
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2626
|
+
return new Promise((resolve, reject) => {
|
|
2627
|
+
return this.connector.createSalesOrder(request).then((result) => {
|
|
2628
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2629
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2630
|
+
}
|
|
2631
|
+
else {
|
|
2632
|
+
this._handleExceptionFromResponse(result);
|
|
2633
|
+
reject(null);
|
|
2634
|
+
}
|
|
2635
|
+
});
|
|
2636
|
+
});
|
|
2637
|
+
});
|
|
2638
|
+
}
|
|
2639
|
+
createCashRegisterOrder(request) {
|
|
2640
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2641
|
+
return new Promise((resolve, reject) => {
|
|
2642
|
+
return this.connector.createCashRegisterOrder(request).then((result) => {
|
|
2643
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2644
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2645
|
+
}
|
|
2646
|
+
else {
|
|
2647
|
+
this._handleExceptionFromResponse(result);
|
|
2648
|
+
reject(null);
|
|
2649
|
+
}
|
|
2650
|
+
});
|
|
2651
|
+
});
|
|
2652
|
+
});
|
|
2653
|
+
}
|
|
2654
|
+
createPurchaseOrder(request) {
|
|
2655
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2656
|
+
return new Promise((resolve, reject) => {
|
|
2657
|
+
return this.connector.createPurchaseOrder(request).then((result) => {
|
|
2658
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2659
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2660
|
+
}
|
|
2661
|
+
else {
|
|
2662
|
+
this._handleExceptionFromResponse(result);
|
|
2663
|
+
reject(null);
|
|
2664
|
+
}
|
|
2665
|
+
});
|
|
2666
|
+
});
|
|
2667
|
+
});
|
|
2668
|
+
}
|
|
2669
|
+
createServiceOrder(request) {
|
|
2670
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2671
|
+
return new Promise((resolve, reject) => {
|
|
2672
|
+
return this.connector.createServiceOrder(request).then((result) => {
|
|
2673
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2674
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2675
|
+
}
|
|
2676
|
+
else {
|
|
2677
|
+
this._handleExceptionFromResponse(result);
|
|
2678
|
+
reject(null);
|
|
2679
|
+
}
|
|
2680
|
+
});
|
|
2681
|
+
});
|
|
2682
|
+
});
|
|
2683
|
+
}
|
|
2684
|
+
createSalesQuotation(request) {
|
|
2685
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2686
|
+
return new Promise((resolve, reject) => {
|
|
2687
|
+
return this.connector.createSalesQuotation(request).then((result) => {
|
|
2688
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2689
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2690
|
+
}
|
|
2691
|
+
else {
|
|
2692
|
+
this._handleExceptionFromResponse(result);
|
|
2693
|
+
reject(null);
|
|
2694
|
+
}
|
|
2695
|
+
});
|
|
2696
|
+
});
|
|
2697
|
+
});
|
|
2698
|
+
}
|
|
2614
2699
|
saveTransaction(uuid) {
|
|
2615
2700
|
return new Promise((resolve, reject) => {
|
|
2616
2701
|
return this.connector.saveTransaction(uuid).then((result) => {
|
|
@@ -3521,38 +3606,6 @@ class TransactionConnectorAdapterService {
|
|
|
3521
3606
|
});
|
|
3522
3607
|
});
|
|
3523
3608
|
}
|
|
3524
|
-
getPurchaseOrderEmailLayouts(transactionUUID) {
|
|
3525
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3526
|
-
return new Promise((resolve, reject) => {
|
|
3527
|
-
return this.connector.getPurchaseOrderEmailLayouts(transactionUUID).then((result) => {
|
|
3528
|
-
if (result.validationResult && result.validationResult.success) {
|
|
3529
|
-
if (result.resultObject) {
|
|
3530
|
-
resolve(result.resultObject);
|
|
3531
|
-
}
|
|
3532
|
-
}
|
|
3533
|
-
else {
|
|
3534
|
-
reject(result.validationMessagesAsString);
|
|
3535
|
-
}
|
|
3536
|
-
});
|
|
3537
|
-
});
|
|
3538
|
-
});
|
|
3539
|
-
}
|
|
3540
|
-
emailOrderConfirmation(emailOrderConfirmation) {
|
|
3541
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3542
|
-
return new Promise((resolve, reject) => {
|
|
3543
|
-
return this.connector.emailOrderConfirmation(emailOrderConfirmation).then((result) => {
|
|
3544
|
-
if (result.validationResult && result.validationResult.success) {
|
|
3545
|
-
if (result.resultObject) {
|
|
3546
|
-
resolve(result.resultObject);
|
|
3547
|
-
}
|
|
3548
|
-
}
|
|
3549
|
-
else {
|
|
3550
|
-
reject(result.validationMessagesAsString);
|
|
3551
|
-
}
|
|
3552
|
-
});
|
|
3553
|
-
});
|
|
3554
|
-
});
|
|
3555
|
-
}
|
|
3556
3609
|
getStockStickerTemplates(data) {
|
|
3557
3610
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3558
3611
|
return new Promise((resolve, reject) => {
|
|
@@ -3656,6 +3709,174 @@ class TransactionConnectorAdapterService {
|
|
|
3656
3709
|
}
|
|
3657
3710
|
});
|
|
3658
3711
|
}
|
|
3712
|
+
getOrderConfirmationEmailLayouts(transactionUUID) {
|
|
3713
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3714
|
+
const response = yield this.connector.getOrderConfirmationEmailLayouts(transactionUUID);
|
|
3715
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3716
|
+
return this._boFactory.makeBOArrayFromRawBackendDataArray(ReportLayoutSelectionEmail, response.resultObject);
|
|
3717
|
+
}
|
|
3718
|
+
else {
|
|
3719
|
+
this._handleExceptionFromResponse(response);
|
|
3720
|
+
return null;
|
|
3721
|
+
}
|
|
3722
|
+
});
|
|
3723
|
+
}
|
|
3724
|
+
getOrderConfirmationPrintLayouts(transactionUUID) {
|
|
3725
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3726
|
+
const response = yield this.connector.getOrderConfirmationPrintLayouts(transactionUUID);
|
|
3727
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3728
|
+
return this._boFactory.makeBOArrayFromRawBackendDataArray(ReportLayoutSelectionPrint, response.resultObject);
|
|
3729
|
+
}
|
|
3730
|
+
else {
|
|
3731
|
+
this._handleExceptionFromResponse(response);
|
|
3732
|
+
return null;
|
|
3733
|
+
}
|
|
3734
|
+
});
|
|
3735
|
+
}
|
|
3736
|
+
getOrderConfirmationDefaultSendMethod(relationId) {
|
|
3737
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3738
|
+
const response = yield this.connector.getOrderConfirmationDefaultSendMethod(relationId);
|
|
3739
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3740
|
+
return response.resultObject;
|
|
3741
|
+
}
|
|
3742
|
+
else {
|
|
3743
|
+
this._handleExceptionFromResponse(response);
|
|
3744
|
+
return null;
|
|
3745
|
+
}
|
|
3746
|
+
});
|
|
3747
|
+
}
|
|
3748
|
+
printOrderConfirmation(request) {
|
|
3749
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3750
|
+
const response = yield this.connector.printOrderConfirmation(request);
|
|
3751
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3752
|
+
return response.resultObject;
|
|
3753
|
+
}
|
|
3754
|
+
else {
|
|
3755
|
+
this._handleExceptionFromResponse(response);
|
|
3756
|
+
return null;
|
|
3757
|
+
}
|
|
3758
|
+
});
|
|
3759
|
+
}
|
|
3760
|
+
emailOrderConfirmation(request) {
|
|
3761
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3762
|
+
const response = yield this.connector.emailOrderConfirmation(request);
|
|
3763
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3764
|
+
return response.resultObject;
|
|
3765
|
+
}
|
|
3766
|
+
else {
|
|
3767
|
+
this._handleExceptionFromResponse(response);
|
|
3768
|
+
return null;
|
|
3769
|
+
}
|
|
3770
|
+
});
|
|
3771
|
+
}
|
|
3772
|
+
pdfOrderConfirmation(request) {
|
|
3773
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3774
|
+
const response = yield this.connector.pdfOrderConfirmation(request);
|
|
3775
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3776
|
+
return response.resultObject;
|
|
3777
|
+
}
|
|
3778
|
+
else {
|
|
3779
|
+
this._handleExceptionFromResponse(response);
|
|
3780
|
+
return null;
|
|
3781
|
+
}
|
|
3782
|
+
});
|
|
3783
|
+
}
|
|
3784
|
+
printPurchaseOrder(request) {
|
|
3785
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3786
|
+
const response = yield this.connector.printPurchaseOrder(request);
|
|
3787
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3788
|
+
return response.resultObject;
|
|
3789
|
+
}
|
|
3790
|
+
else {
|
|
3791
|
+
this._handleExceptionFromResponse(response);
|
|
3792
|
+
return null;
|
|
3793
|
+
}
|
|
3794
|
+
});
|
|
3795
|
+
}
|
|
3796
|
+
emailPurchaseOrder(request) {
|
|
3797
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3798
|
+
const response = yield this.connector.emailPurchaseOrder(request);
|
|
3799
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3800
|
+
return response.resultObject;
|
|
3801
|
+
}
|
|
3802
|
+
else {
|
|
3803
|
+
this._handleExceptionFromResponse(response);
|
|
3804
|
+
return null;
|
|
3805
|
+
}
|
|
3806
|
+
});
|
|
3807
|
+
}
|
|
3808
|
+
pdfPurchaseOrder(request) {
|
|
3809
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3810
|
+
const response = yield this.connector.pdfPurchaseOrder(request);
|
|
3811
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3812
|
+
return response.resultObject;
|
|
3813
|
+
}
|
|
3814
|
+
else {
|
|
3815
|
+
this._handleExceptionFromResponse(response);
|
|
3816
|
+
return null;
|
|
3817
|
+
}
|
|
3818
|
+
});
|
|
3819
|
+
}
|
|
3820
|
+
getPurchaseOrderEmailLayouts(transactionUUID) {
|
|
3821
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3822
|
+
const response = yield this.connector.getPurchaseOrderEmailLayouts(transactionUUID);
|
|
3823
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3824
|
+
return this._boFactory.makeBOArrayFromRawBackendDataArray(ReportLayoutSelectionEmail, response.resultObject);
|
|
3825
|
+
}
|
|
3826
|
+
else {
|
|
3827
|
+
this._handleExceptionFromResponse(response);
|
|
3828
|
+
return null;
|
|
3829
|
+
}
|
|
3830
|
+
});
|
|
3831
|
+
}
|
|
3832
|
+
getPurchaseOrderPrintLayouts(transactionUUID) {
|
|
3833
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3834
|
+
const response = yield this.connector.getPurchaseOrderPrintLayouts(transactionUUID);
|
|
3835
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3836
|
+
return this._boFactory.makeBOArrayFromRawBackendDataArray(ReportLayoutSelectionPrint, response.resultObject);
|
|
3837
|
+
}
|
|
3838
|
+
else {
|
|
3839
|
+
this._handleExceptionFromResponse(response);
|
|
3840
|
+
return null;
|
|
3841
|
+
}
|
|
3842
|
+
});
|
|
3843
|
+
}
|
|
3844
|
+
getDefaultEmailAddressListForOrderConfirmation(transactionUUID) {
|
|
3845
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3846
|
+
const response = yield this.connector.getDefaultEmailAddressListForOrderConfirmation(transactionUUID);
|
|
3847
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3848
|
+
return response.resultObject;
|
|
3849
|
+
}
|
|
3850
|
+
else {
|
|
3851
|
+
this._handleExceptionFromResponse(response);
|
|
3852
|
+
return null;
|
|
3853
|
+
}
|
|
3854
|
+
});
|
|
3855
|
+
}
|
|
3856
|
+
getPurchaseOrderDefaultSendMethod(relationId) {
|
|
3857
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3858
|
+
const response = yield this.connector.getPurchaseOrderDefaultSendMethod(relationId);
|
|
3859
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3860
|
+
return response.resultObject;
|
|
3861
|
+
}
|
|
3862
|
+
else {
|
|
3863
|
+
this._handleExceptionFromResponse(response);
|
|
3864
|
+
return null;
|
|
3865
|
+
}
|
|
3866
|
+
});
|
|
3867
|
+
}
|
|
3868
|
+
generateAndSendPurchaseOrdersForSalesOrder(transactionId) {
|
|
3869
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3870
|
+
const response = yield this.connector.generateAndSendPurchaseOrdersForSalesOrder(transactionId);
|
|
3871
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3872
|
+
return response.resultObject;
|
|
3873
|
+
}
|
|
3874
|
+
else {
|
|
3875
|
+
this._handleExceptionFromResponse(response);
|
|
3876
|
+
return null;
|
|
3877
|
+
}
|
|
3878
|
+
});
|
|
3879
|
+
}
|
|
3659
3880
|
_handleExceptionFromResponse(result) {
|
|
3660
3881
|
this._errorService.showValidationError(result);
|
|
3661
3882
|
}
|
|
@@ -3759,6 +3980,31 @@ class TransactionConnectorService {
|
|
|
3759
3980
|
createTransaction(kind, branchNr) {
|
|
3760
3981
|
return this._adapterService.createTransaction(kind, branchNr);
|
|
3761
3982
|
}
|
|
3983
|
+
createSalesOrder(request) {
|
|
3984
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3985
|
+
return this._adapterService.createSalesOrder(request);
|
|
3986
|
+
});
|
|
3987
|
+
}
|
|
3988
|
+
createCashRegisterOrder(request) {
|
|
3989
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3990
|
+
return this._adapterService.createCashRegisterOrder(request);
|
|
3991
|
+
});
|
|
3992
|
+
}
|
|
3993
|
+
createPurchaseOrder(request) {
|
|
3994
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3995
|
+
return this._adapterService.createPurchaseOrder(request);
|
|
3996
|
+
});
|
|
3997
|
+
}
|
|
3998
|
+
createServiceOrder(request) {
|
|
3999
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4000
|
+
return this._adapterService.createServiceOrder(request);
|
|
4001
|
+
});
|
|
4002
|
+
}
|
|
4003
|
+
createSalesQuotation(request) {
|
|
4004
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4005
|
+
return this._adapterService.createSalesQuotation(request);
|
|
4006
|
+
});
|
|
4007
|
+
}
|
|
3762
4008
|
getArticleBoundTextLinesOfArticleLine(articleLineUuid) {
|
|
3763
4009
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3764
4010
|
return this._adapterService.getArticleBoundTextLinesOfArticleLine(articleLineUuid);
|
|
@@ -4185,16 +4431,6 @@ class TransactionConnectorService {
|
|
|
4185
4431
|
return this._adapterService.getDeliveryOrderStatus(transId, lineId);
|
|
4186
4432
|
});
|
|
4187
4433
|
}
|
|
4188
|
-
getPurchaseOrderEmailLayouts(transactionUUID) {
|
|
4189
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
4190
|
-
return yield this._adapterService.getPurchaseOrderEmailLayouts(transactionUUID);
|
|
4191
|
-
});
|
|
4192
|
-
}
|
|
4193
|
-
emailOrderConfirmation(emailOrderConfirmation) {
|
|
4194
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
4195
|
-
return yield this._adapterService.emailOrderConfirmation(emailOrderConfirmation);
|
|
4196
|
-
});
|
|
4197
|
-
}
|
|
4198
4434
|
getStockStickerTemplates(data) {
|
|
4199
4435
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4200
4436
|
return yield this._adapterService.getStockStickerTemplates(data);
|
|
@@ -4225,6 +4461,76 @@ class TransactionConnectorService {
|
|
|
4225
4461
|
return yield this._adapterService.getGoodsAllocationStatusWithHistory(transId, lineNr);
|
|
4226
4462
|
});
|
|
4227
4463
|
}
|
|
4464
|
+
getOrderConfirmationEmailLayouts(transactionUUID) {
|
|
4465
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4466
|
+
return yield this._adapterService.getOrderConfirmationEmailLayouts(transactionUUID);
|
|
4467
|
+
});
|
|
4468
|
+
}
|
|
4469
|
+
getOrderConfirmationPrintLayouts(transactionUUID) {
|
|
4470
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4471
|
+
return yield this._adapterService.getOrderConfirmationPrintLayouts(transactionUUID);
|
|
4472
|
+
});
|
|
4473
|
+
}
|
|
4474
|
+
getOrderConfirmationDefaultSendMethod(relationId) {
|
|
4475
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4476
|
+
return yield this._adapterService.getOrderConfirmationDefaultSendMethod(relationId);
|
|
4477
|
+
});
|
|
4478
|
+
}
|
|
4479
|
+
getDefaultEmailAddressListForOrderConfirmation(transactionUUID) {
|
|
4480
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4481
|
+
return yield this._adapterService.getDefaultEmailAddressListForOrderConfirmation(transactionUUID);
|
|
4482
|
+
});
|
|
4483
|
+
}
|
|
4484
|
+
printOrderConfirmation(request) {
|
|
4485
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4486
|
+
return yield this._adapterService.printOrderConfirmation(request);
|
|
4487
|
+
});
|
|
4488
|
+
}
|
|
4489
|
+
emailOrderConfirmation(request) {
|
|
4490
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4491
|
+
return yield this._adapterService.emailOrderConfirmation(request);
|
|
4492
|
+
});
|
|
4493
|
+
}
|
|
4494
|
+
pdfOrderConfirmation(request) {
|
|
4495
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4496
|
+
return yield this._adapterService.pdfOrderConfirmation(request);
|
|
4497
|
+
});
|
|
4498
|
+
}
|
|
4499
|
+
printPurchaseOrder(request) {
|
|
4500
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4501
|
+
return yield this._adapterService.printPurchaseOrder(request);
|
|
4502
|
+
});
|
|
4503
|
+
}
|
|
4504
|
+
emailPurchaseOrder(request) {
|
|
4505
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4506
|
+
return yield this._adapterService.emailPurchaseOrder(request);
|
|
4507
|
+
});
|
|
4508
|
+
}
|
|
4509
|
+
pdfPurchaseOrder(request) {
|
|
4510
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4511
|
+
return yield this._adapterService.pdfPurchaseOrder(request);
|
|
4512
|
+
});
|
|
4513
|
+
}
|
|
4514
|
+
getPurchaseOrderEmailLayouts(transactionUUID) {
|
|
4515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4516
|
+
return yield this._adapterService.getPurchaseOrderEmailLayouts(transactionUUID);
|
|
4517
|
+
});
|
|
4518
|
+
}
|
|
4519
|
+
getPurchaseOrderPrintLayouts(transactionUUID) {
|
|
4520
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4521
|
+
return yield this._adapterService.getPurchaseOrderPrintLayouts(transactionUUID);
|
|
4522
|
+
});
|
|
4523
|
+
}
|
|
4524
|
+
getPurchaseOrderDefaultSendMethod(relationId) {
|
|
4525
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4526
|
+
return yield this._adapterService.getPurchaseOrderDefaultSendMethod(relationId);
|
|
4527
|
+
});
|
|
4528
|
+
}
|
|
4529
|
+
generateAndSendPurchaseOrdersForSalesOrder(transactionId) {
|
|
4530
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4531
|
+
return yield this._adapterService.generateAndSendPurchaseOrdersForSalesOrder(transactionId);
|
|
4532
|
+
});
|
|
4533
|
+
}
|
|
4228
4534
|
}
|
|
4229
4535
|
TransactionConnectorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionConnectorService_Factory() { return new TransactionConnectorService(i0.ɵɵinject(TransactionConnectorAdapterService), i0.ɵɵinject(SelectSingleCacheService), i0.ɵɵinject(SelectMultipleCacheService), i0.ɵɵinject(SelectMultipleParameterizedCacheService)); }, token: TransactionConnectorService, providedIn: "root" });
|
|
4230
4536
|
TransactionConnectorService.decorators = [
|
|
@@ -4815,6 +5121,25 @@ PendingReasonService.ctorParameters = () => [
|
|
|
4815
5121
|
];
|
|
4816
5122
|
|
|
4817
5123
|
class TransactionService extends PendingReasonService {
|
|
5124
|
+
constructor() {
|
|
5125
|
+
super(...arguments);
|
|
5126
|
+
this._createTransactionMethods = new Map([
|
|
5127
|
+
[TransactionKind.SalesOrder, (request) => this.createSalesOrder(request)],
|
|
5128
|
+
[TransactionKind.PurchaseOrder, (request) => this.createPurchaseOrder(request)]
|
|
5129
|
+
]);
|
|
5130
|
+
this._relationKindFromTransactionKind = new Map([
|
|
5131
|
+
[TransactionKind.SalesOrder, RelationKind.Customer],
|
|
5132
|
+
[TransactionKind.PurchaseOrder, RelationKind.Supplier]
|
|
5133
|
+
]);
|
|
5134
|
+
}
|
|
5135
|
+
getRelationKindFromTransactionKind() {
|
|
5136
|
+
if (this._relationKindFromTransactionKind.has(this.transactionKind)) {
|
|
5137
|
+
return this._relationKindFromTransactionKind.get(this.transactionKind);
|
|
5138
|
+
}
|
|
5139
|
+
else {
|
|
5140
|
+
return RelationKind.Customer;
|
|
5141
|
+
}
|
|
5142
|
+
}
|
|
4818
5143
|
pendingLineOperationStatus(lineOperationStatuses) {
|
|
4819
5144
|
const status = lineOperationStatuses.find(line => line.pendingReasonType !== PendingReasonType.NONE
|
|
4820
5145
|
&& line.pendingReasonType !== PendingReasonType.NON_CRITICAL_DISCONTINUATION);
|
|
@@ -5117,16 +5442,52 @@ class TransactionService extends PendingReasonService {
|
|
|
5117
5442
|
getArticleBoundTextLinesOfArticleLine(articleLineUuid) {
|
|
5118
5443
|
return this.connector.getArticleBoundTextLinesOfArticleLine(articleLineUuid);
|
|
5119
5444
|
}
|
|
5120
|
-
|
|
5445
|
+
createSalesOrder(request) {
|
|
5121
5446
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5122
|
-
return new Promise((resolve
|
|
5123
|
-
this.connector.
|
|
5447
|
+
return new Promise((resolve) => {
|
|
5448
|
+
this.connector.createSalesOrder(request).then((response) => {
|
|
5449
|
+
this.rememberCurrentTransaction(response);
|
|
5450
|
+
resolve(true);
|
|
5451
|
+
});
|
|
5452
|
+
});
|
|
5453
|
+
});
|
|
5454
|
+
}
|
|
5455
|
+
createCashRegisterOrder(request) {
|
|
5456
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5457
|
+
return new Promise((resolve) => {
|
|
5458
|
+
this.connector.createCashRegisterOrder(request).then((response) => {
|
|
5459
|
+
this.rememberCurrentTransaction(response);
|
|
5460
|
+
resolve(true);
|
|
5461
|
+
});
|
|
5462
|
+
});
|
|
5463
|
+
});
|
|
5464
|
+
}
|
|
5465
|
+
createPurchaseOrder(request) {
|
|
5466
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5467
|
+
return new Promise((resolve) => {
|
|
5468
|
+
this.connector.createPurchaseOrder(request).then((response) => {
|
|
5469
|
+
this.rememberCurrentTransaction(response);
|
|
5470
|
+
resolve(true);
|
|
5471
|
+
});
|
|
5472
|
+
});
|
|
5473
|
+
});
|
|
5474
|
+
}
|
|
5475
|
+
createServiceOrder(request) {
|
|
5476
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5477
|
+
return new Promise((resolve) => {
|
|
5478
|
+
this.connector.createServiceOrder(request).then((response) => {
|
|
5479
|
+
this.rememberCurrentTransaction(response);
|
|
5480
|
+
resolve(true);
|
|
5481
|
+
});
|
|
5482
|
+
});
|
|
5483
|
+
});
|
|
5484
|
+
}
|
|
5485
|
+
createSalesQuotation(request) {
|
|
5486
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5487
|
+
return new Promise((resolve) => {
|
|
5488
|
+
this.connector.createSalesQuotation(request).then((response) => {
|
|
5124
5489
|
this.rememberCurrentTransaction(response);
|
|
5125
5490
|
resolve(true);
|
|
5126
|
-
}, (error) => {
|
|
5127
|
-
reject(error);
|
|
5128
|
-
}).catch((reason) => {
|
|
5129
|
-
reject(false);
|
|
5130
5491
|
});
|
|
5131
5492
|
});
|
|
5132
5493
|
});
|
|
@@ -5467,6 +5828,76 @@ class TransactionService extends PendingReasonService {
|
|
|
5467
5828
|
return yield this.connector.getGoodsAllocationStatusWithHistory(transId, lineNr);
|
|
5468
5829
|
});
|
|
5469
5830
|
}
|
|
5831
|
+
getOrderConfirmationEmailLayouts(transactionUUID) {
|
|
5832
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5833
|
+
return yield this.connector.getOrderConfirmationEmailLayouts(transactionUUID);
|
|
5834
|
+
});
|
|
5835
|
+
}
|
|
5836
|
+
getOrderConfirmationPrintLayouts(transactionUUID) {
|
|
5837
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5838
|
+
return yield this.connector.getOrderConfirmationPrintLayouts(transactionUUID);
|
|
5839
|
+
});
|
|
5840
|
+
}
|
|
5841
|
+
getOrderConfirmationDefaultSendMethod(relationId) {
|
|
5842
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5843
|
+
return yield this.connector.getOrderConfirmationDefaultSendMethod(relationId);
|
|
5844
|
+
});
|
|
5845
|
+
}
|
|
5846
|
+
getDefaultEmailAddressListForOrderConfirmation(transactionUUID) {
|
|
5847
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5848
|
+
return yield this.connector.getDefaultEmailAddressListForOrderConfirmation(transactionUUID);
|
|
5849
|
+
});
|
|
5850
|
+
}
|
|
5851
|
+
printOrderConfirmation(request) {
|
|
5852
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5853
|
+
return yield this.connector.printOrderConfirmation(request);
|
|
5854
|
+
});
|
|
5855
|
+
}
|
|
5856
|
+
emailOrderConfirmation(request) {
|
|
5857
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5858
|
+
return yield this.connector.emailOrderConfirmation(request);
|
|
5859
|
+
});
|
|
5860
|
+
}
|
|
5861
|
+
pdfOrderConfirmation(request) {
|
|
5862
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5863
|
+
return yield this.connector.pdfOrderConfirmation(request);
|
|
5864
|
+
});
|
|
5865
|
+
}
|
|
5866
|
+
printPurchaseOrder(request) {
|
|
5867
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5868
|
+
return yield this.connector.printPurchaseOrder(request);
|
|
5869
|
+
});
|
|
5870
|
+
}
|
|
5871
|
+
emailPurchaseOrder(request) {
|
|
5872
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5873
|
+
return yield this.connector.emailPurchaseOrder(request);
|
|
5874
|
+
});
|
|
5875
|
+
}
|
|
5876
|
+
pdfPurchaseOrder(request) {
|
|
5877
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5878
|
+
return yield this.connector.pdfPurchaseOrder(request);
|
|
5879
|
+
});
|
|
5880
|
+
}
|
|
5881
|
+
getPurchaseOrderEmailLayouts(transactionUUID) {
|
|
5882
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5883
|
+
return yield this.connector.getPurchaseOrderEmailLayouts(transactionUUID);
|
|
5884
|
+
});
|
|
5885
|
+
}
|
|
5886
|
+
getPurchaseOrderPrintLayouts(transactionUUID) {
|
|
5887
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5888
|
+
return yield this.connector.getPurchaseOrderPrintLayouts(transactionUUID);
|
|
5889
|
+
});
|
|
5890
|
+
}
|
|
5891
|
+
getPurchaseOrderDefaultSendMethod(relationId) {
|
|
5892
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5893
|
+
return yield this.connector.getPurchaseOrderDefaultSendMethod(relationId);
|
|
5894
|
+
});
|
|
5895
|
+
}
|
|
5896
|
+
generateAndSendPurchaseOrdersForSalesOrder(transactionId) {
|
|
5897
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5898
|
+
return yield this.connector.generateAndSendPurchaseOrdersForSalesOrder(transactionId);
|
|
5899
|
+
});
|
|
5900
|
+
}
|
|
5470
5901
|
// private _cleanRelationBeforeSave(): void {
|
|
5471
5902
|
// ArrayUtils.RemoveElementsByFilter(this.currentTransaction.transactionInfo.relation.contactOptions, ((item: ContactOption) => {
|
|
5472
5903
|
// return isNill(item.value);
|
|
@@ -5475,7 +5906,13 @@ class TransactionService extends PendingReasonService {
|
|
|
5475
5906
|
_checkAndCreateTransaction() {
|
|
5476
5907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5477
5908
|
if (!this.currentTransaction || !this.currentTransaction.transactionInfo || !this.currentTransaction.transactionInfo.transactionNr) {
|
|
5478
|
-
|
|
5909
|
+
const createMethod = this._createTransactionMethods.get(this.transactionKind);
|
|
5910
|
+
if (createMethod) {
|
|
5911
|
+
const request = new CreateTransactionRequest();
|
|
5912
|
+
request.branchNr = "1";
|
|
5913
|
+
return createMethod.call(this, request);
|
|
5914
|
+
}
|
|
5915
|
+
else {
|
|
5479
5916
|
throwError("Failed to create transaction");
|
|
5480
5917
|
}
|
|
5481
5918
|
}
|
|
@@ -5660,7 +6097,6 @@ class CheckoutOverviewRelationEditComponent {
|
|
|
5660
6097
|
constructor(_formMaster, service) {
|
|
5661
6098
|
this._formMaster = _formMaster;
|
|
5662
6099
|
this.service = service;
|
|
5663
|
-
this.relationKind = RelationKind$1;
|
|
5664
6100
|
this.icons = Icon;
|
|
5665
6101
|
this.addressType = AddressType;
|
|
5666
6102
|
this.validSubmit = new EventEmitter();
|
|
@@ -6708,10 +7144,10 @@ WarehouseComponent.decorators = [
|
|
|
6708
7144
|
</div>
|
|
6709
7145
|
</co-dialog>
|
|
6710
7146
|
<ng-template #headerTemplate>
|
|
6711
|
-
<div class="co-
|
|
7147
|
+
<div class="co-dialog-header-title" [textContent]="'WAREHOUSE' | localize"></div>
|
|
6712
7148
|
</ng-template>
|
|
6713
7149
|
<ng-template #footerTemplate>
|
|
6714
|
-
<div class="co-
|
|
7150
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
6715
7151
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
6716
7152
|
</div>
|
|
6717
7153
|
</ng-template>
|
|
@@ -7737,7 +8173,7 @@ DialogTransactionHeaderDiscountComponent.decorators = [
|
|
|
7737
8173
|
selector: "co-dialog-transaction-header-discount",
|
|
7738
8174
|
template: `
|
|
7739
8175
|
<co-dialog [headerTemplate]="dialogHeader" (closeClick)="handleClose(buttonType.Ok)">
|
|
7740
|
-
<div class="transaction-discount-wrapper co-
|
|
8176
|
+
<div class="transaction-discount-wrapper co-small-toolbar">
|
|
7741
8177
|
<div class="two-column-grid">
|
|
7742
8178
|
<co-transaction-header-discount-percentage [transactionInfo]="transactionInfo" [transactionTotal]="transactionTotal"></co-transaction-header-discount-percentage>
|
|
7743
8179
|
<co-transaction-header-discount-amount [transactionInfo]="transactionInfo" [transactionTotal]="transactionTotal"></co-transaction-header-discount-amount>
|
|
@@ -7778,7 +8214,7 @@ DialogTransactionHeaderDiscountComponent.decorators = [
|
|
|
7778
8214
|
</div>
|
|
7779
8215
|
</co-dialog>
|
|
7780
8216
|
<ng-template #dialogHeader>
|
|
7781
|
-
<div class="co-
|
|
8217
|
+
<div class="co-dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
7782
8218
|
</ng-template>
|
|
7783
8219
|
`,
|
|
7784
8220
|
encapsulation: ViewEncapsulation.None
|
|
@@ -8502,7 +8938,7 @@ TransactionArticleTextComponent.decorators = [
|
|
|
8502
8938
|
</co-dialog>
|
|
8503
8939
|
|
|
8504
8940
|
<ng-template #headerTemplate>
|
|
8505
|
-
<span class="co-
|
|
8941
|
+
<span class="co-dialog-header-title" [textContent]="header"></span>
|
|
8506
8942
|
</ng-template>
|
|
8507
8943
|
<ng-template #footerTemplate>
|
|
8508
8944
|
<div class="co-transaction-dialog-footer-button-wrapper">
|
|
@@ -9209,34 +9645,12 @@ class TransactionBaseComponent {
|
|
|
9209
9645
|
constructor(service) {
|
|
9210
9646
|
this.service = service;
|
|
9211
9647
|
this.relationKind = RelationKind;
|
|
9212
|
-
// @Input()
|
|
9213
|
-
// public set relationId(value: number) {
|
|
9214
|
-
// if (value !== undefined) {
|
|
9215
|
-
// this._relationId = value;
|
|
9216
|
-
// }
|
|
9217
|
-
// }
|
|
9218
|
-
//
|
|
9219
|
-
// public get relationId(): number {
|
|
9220
|
-
// return this._relationId;
|
|
9221
|
-
// }
|
|
9222
|
-
//
|
|
9223
|
-
// @Input()
|
|
9224
|
-
// public relationType: string;
|
|
9225
|
-
//
|
|
9226
|
-
// @Input()
|
|
9227
|
-
// public set relation(value: RelationAnyType) {
|
|
9228
|
-
// if (value) {
|
|
9229
|
-
// this._relation = value;
|
|
9230
|
-
// }
|
|
9231
|
-
// }
|
|
9232
|
-
//
|
|
9233
|
-
// public get relation(): RelationAnyType {
|
|
9234
|
-
// return this._relation;
|
|
9235
|
-
// }
|
|
9236
9648
|
this.expanded = true;
|
|
9237
9649
|
this.isService = false;
|
|
9238
9650
|
this.lineOperationStatuses = [];
|
|
9239
9651
|
this.transactionLines = [];
|
|
9652
|
+
// private _relationId: number;
|
|
9653
|
+
this._relation = NULL_CUSTOMER_FULL_OBJECT;
|
|
9240
9654
|
}
|
|
9241
9655
|
set transaction(value) {
|
|
9242
9656
|
this._transaction = value;
|
|
@@ -9262,6 +9676,29 @@ class TransactionBaseComponent {
|
|
|
9262
9676
|
get transaction() {
|
|
9263
9677
|
return this._transaction;
|
|
9264
9678
|
}
|
|
9679
|
+
// @Input()
|
|
9680
|
+
// public set relationId(value: number) {
|
|
9681
|
+
// if (value !== undefined) {
|
|
9682
|
+
// this._relationId = value;
|
|
9683
|
+
// }
|
|
9684
|
+
// }
|
|
9685
|
+
//
|
|
9686
|
+
// public get relationId(): number {
|
|
9687
|
+
// return this._relationId;
|
|
9688
|
+
// }
|
|
9689
|
+
//
|
|
9690
|
+
// @Input()
|
|
9691
|
+
// public relationType: string;
|
|
9692
|
+
//
|
|
9693
|
+
set relation(value) {
|
|
9694
|
+
if (value) {
|
|
9695
|
+
this._relation = value;
|
|
9696
|
+
this.relationSet();
|
|
9697
|
+
}
|
|
9698
|
+
}
|
|
9699
|
+
get relation() {
|
|
9700
|
+
return this._relation;
|
|
9701
|
+
}
|
|
9265
9702
|
ngAfterViewInit() {
|
|
9266
9703
|
// this._retrieveRelation();
|
|
9267
9704
|
}
|
|
@@ -9297,6 +9734,7 @@ TransactionBaseComponent.ctorParameters = () => [
|
|
|
9297
9734
|
];
|
|
9298
9735
|
TransactionBaseComponent.propDecorators = {
|
|
9299
9736
|
transaction: [{ type: Input }],
|
|
9737
|
+
relation: [{ type: Input }],
|
|
9300
9738
|
expanded: [{ type: Input }]
|
|
9301
9739
|
};
|
|
9302
9740
|
|
|
@@ -9482,12 +9920,115 @@ TransactionQuickAccessReceivedGoodsComponent.propDecorators = {
|
|
|
9482
9920
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-received-goods",] }]
|
|
9483
9921
|
};
|
|
9484
9922
|
|
|
9485
|
-
class
|
|
9486
|
-
constructor(
|
|
9923
|
+
class TransactionQuickAccessSendMethodBaseComponent extends TransactionBaseComponent {
|
|
9924
|
+
constructor(service) {
|
|
9487
9925
|
super(service);
|
|
9488
|
-
this.iconService = iconService;
|
|
9489
9926
|
this.service = service;
|
|
9490
9927
|
this.icons = Icon;
|
|
9928
|
+
this.sendMethodType = SendMethodType;
|
|
9929
|
+
this.emailLayouts = [];
|
|
9930
|
+
this.printLayouts = [];
|
|
9931
|
+
this.emailAddresses = [];
|
|
9932
|
+
this.showSendMethodDialog = false;
|
|
9933
|
+
this.sendMethods = sendMethodsWithIcon;
|
|
9934
|
+
this.showLoader = false;
|
|
9935
|
+
}
|
|
9936
|
+
ngOnInit() {
|
|
9937
|
+
this._getDefaultSendMethod();
|
|
9938
|
+
this._getEmailLayouts();
|
|
9939
|
+
this._getPrintLayouts();
|
|
9940
|
+
}
|
|
9941
|
+
transactionSet() {
|
|
9942
|
+
this.reportDocumentEmailRequest.transId = this.transactionInfo.id;
|
|
9943
|
+
this.reportDocumentPrintRequest.transId = this.transactionInfo.id;
|
|
9944
|
+
this.reportDocumentPdfRequest.transId = this.transactionInfo.id;
|
|
9945
|
+
}
|
|
9946
|
+
relationSet() {
|
|
9947
|
+
this.emailAddresses.length = 0;
|
|
9948
|
+
const emailContactOptions = this.relation.contactOptions.filter(co => co.type === CommunicationType.Email);
|
|
9949
|
+
const defaultEmailContactOption = emailContactOptions.find(co => co.lowestSequence);
|
|
9950
|
+
this.emailAddresses = emailContactOptions.map(e => e.value);
|
|
9951
|
+
this.getDefaultEmailAddressList().then((addresses) => {
|
|
9952
|
+
if (addresses && addresses.length > 0) {
|
|
9953
|
+
this.reportDocumentEmailRequest.toAddresses = addresses.join(';');
|
|
9954
|
+
this.emailAddresses.push(...addresses);
|
|
9955
|
+
}
|
|
9956
|
+
else {
|
|
9957
|
+
this.reportDocumentEmailRequest.toAddresses = defaultEmailContactOption ? defaultEmailContactOption.value : '';
|
|
9958
|
+
}
|
|
9959
|
+
});
|
|
9960
|
+
}
|
|
9961
|
+
handleSendMethodOkClick(method) {
|
|
9962
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9963
|
+
this.showSendMethodDialog = false;
|
|
9964
|
+
yield this.handleSend(method);
|
|
9965
|
+
this._setDefaultMethod(method);
|
|
9966
|
+
});
|
|
9967
|
+
}
|
|
9968
|
+
handleSend(method) {
|
|
9969
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9970
|
+
this.showLoader = true;
|
|
9971
|
+
switch (method) {
|
|
9972
|
+
case SendMethodType.Print:
|
|
9973
|
+
yield this.printDocument(this.reportDocumentPrintRequest);
|
|
9974
|
+
this.showLoader = false;
|
|
9975
|
+
break;
|
|
9976
|
+
case SendMethodType.Email:
|
|
9977
|
+
yield this.emailDocument(this.reportDocumentEmailRequest);
|
|
9978
|
+
this.showLoader = false;
|
|
9979
|
+
break;
|
|
9980
|
+
}
|
|
9981
|
+
});
|
|
9982
|
+
}
|
|
9983
|
+
_getDefaultSendMethod() {
|
|
9984
|
+
this.getDefaultSendMethod().then((method) => {
|
|
9985
|
+
this._setDefaultMethod(method.toString());
|
|
9986
|
+
});
|
|
9987
|
+
}
|
|
9988
|
+
_setDefaultMethod(method) {
|
|
9989
|
+
const sendMethod = this.sendMethods.find(sm => sm.code === method);
|
|
9990
|
+
if (sendMethod) {
|
|
9991
|
+
this.defaultSendMethod = sendMethod.code;
|
|
9992
|
+
this.defaultSendMethodIcon = sendMethod.icon;
|
|
9993
|
+
}
|
|
9994
|
+
}
|
|
9995
|
+
_getEmailLayouts() {
|
|
9996
|
+
this.getEmailLayouts().then((layouts) => {
|
|
9997
|
+
this.emailLayouts = layouts;
|
|
9998
|
+
if (this.emailLayouts && this.emailLayouts.length > 0) {
|
|
9999
|
+
const defaultLayout = this.emailLayouts.find(e => e.isDefault);
|
|
10000
|
+
if (defaultLayout) {
|
|
10001
|
+
this.reportDocumentEmailRequest.reportId = defaultLayout.reportId;
|
|
10002
|
+
}
|
|
10003
|
+
}
|
|
10004
|
+
});
|
|
10005
|
+
}
|
|
10006
|
+
_getPrintLayouts() {
|
|
10007
|
+
this.getPrintLayouts().then((layouts) => {
|
|
10008
|
+
this.printLayouts = layouts;
|
|
10009
|
+
if (this.printLayouts && this.printLayouts.length > 0) {
|
|
10010
|
+
const defaultLayout = this.printLayouts.find(p => p.isDefault);
|
|
10011
|
+
if (defaultLayout) {
|
|
10012
|
+
this.reportDocumentPrintRequest.reportId = defaultLayout.reportId;
|
|
10013
|
+
}
|
|
10014
|
+
}
|
|
10015
|
+
});
|
|
10016
|
+
}
|
|
10017
|
+
}
|
|
10018
|
+
TransactionQuickAccessSendMethodBaseComponent.decorators = [
|
|
10019
|
+
{ type: Directive }
|
|
10020
|
+
];
|
|
10021
|
+
TransactionQuickAccessSendMethodBaseComponent.ctorParameters = () => [
|
|
10022
|
+
{ type: TransactionService }
|
|
10023
|
+
];
|
|
10024
|
+
|
|
10025
|
+
class TransactionQuickAccessOverviewComponent extends TransactionQuickAccessSendMethodBaseComponent {
|
|
10026
|
+
constructor(service) {
|
|
10027
|
+
super(service);
|
|
10028
|
+
this.service = service;
|
|
10029
|
+
this.reportDocumentEmailRequest = new EmailOrderConfirmationRequest();
|
|
10030
|
+
this.reportDocumentPrintRequest = new PrintOrderConfirmationRequest();
|
|
10031
|
+
this.reportDocumentPdfRequest = new PdfOrderConfirmationRequest();
|
|
9491
10032
|
this.catalogOptions = {
|
|
9492
10033
|
searchOnStart: true,
|
|
9493
10034
|
showAddToCart: false,
|
|
@@ -9524,6 +10065,32 @@ class TransactionQuickAccessOverviewComponent extends TransactionBaseComponent {
|
|
|
9524
10065
|
this.catalogParameters.publicationCode = 71; // todo: fix this?
|
|
9525
10066
|
this.showCatalog = true;
|
|
9526
10067
|
}
|
|
10068
|
+
emailDocument(request) {
|
|
10069
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10070
|
+
yield this.service.emailOrderConfirmation(request);
|
|
10071
|
+
});
|
|
10072
|
+
}
|
|
10073
|
+
getDefaultEmailAddressList() {
|
|
10074
|
+
return this.service.getDefaultEmailAddressListForOrderConfirmation(this.transactionInfo.uuid);
|
|
10075
|
+
}
|
|
10076
|
+
getEmailLayouts() {
|
|
10077
|
+
return this.service.getOrderConfirmationEmailLayouts(this.transactionInfo.uuid);
|
|
10078
|
+
}
|
|
10079
|
+
getPrintLayouts() {
|
|
10080
|
+
return this.service.getOrderConfirmationPrintLayouts(this.transactionInfo.uuid);
|
|
10081
|
+
}
|
|
10082
|
+
pdfDocument(request) {
|
|
10083
|
+
}
|
|
10084
|
+
printDocument(request) {
|
|
10085
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10086
|
+
yield this.service.printOrderConfirmation(request);
|
|
10087
|
+
});
|
|
10088
|
+
}
|
|
10089
|
+
getDefaultSendMethod() {
|
|
10090
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10091
|
+
return this.service.getOrderConfirmationDefaultSendMethod(this.transactionInfo.relation.relationId);
|
|
10092
|
+
});
|
|
10093
|
+
}
|
|
9527
10094
|
}
|
|
9528
10095
|
TransactionQuickAccessOverviewComponent.decorators = [
|
|
9529
10096
|
{ type: Component, args: [{
|
|
@@ -9534,12 +10101,15 @@ TransactionQuickAccessOverviewComponent.decorators = [
|
|
|
9534
10101
|
[placeholder]="'SEARCH_ADD_ARTICLE' | localize"
|
|
9535
10102
|
[centerLabel]="true"
|
|
9536
10103
|
[useLeftIcon]="true"
|
|
9537
|
-
[leftIconData]="iconService.getIcon(icons.CartShoppingSolid)"
|
|
9538
10104
|
[useRightIcon]="true"
|
|
9539
|
-
(leftIconClick)="handleAddArticle($event)"
|
|
9540
|
-
(rightIconClick)="handleSearchCatalog($event)"
|
|
9541
10105
|
(search)="handleSearch($event)"
|
|
9542
10106
|
></co-input-search>
|
|
10107
|
+
<co-quick-send-button
|
|
10108
|
+
[defaultMethodIcon]="defaultSendMethodIcon"
|
|
10109
|
+
[showLoader]="showLoader"
|
|
10110
|
+
(sendIconClicked)="handleSend(defaultSendMethod)"
|
|
10111
|
+
(openSendMethodDialog)="showSendMethodDialog = true"
|
|
10112
|
+
></co-quick-send-button>
|
|
9543
10113
|
<co-dialog-catalog *ngIf="showCatalog"
|
|
9544
10114
|
[options]="catalogOptions"
|
|
9545
10115
|
[parameters]="catalogParameters"
|
|
@@ -9548,12 +10118,25 @@ TransactionQuickAccessOverviewComponent.decorators = [
|
|
|
9548
10118
|
(articleClicked)="handleCatalogArticleClick($event)"
|
|
9549
10119
|
>
|
|
9550
10120
|
</co-dialog-catalog>
|
|
9551
|
-
|
|
10121
|
+
<co-send-method-dialog *ngIf="showSendMethodDialog"
|
|
10122
|
+
[headerTitle]="'Verzendmethode'"
|
|
10123
|
+
[defaultSendMethod]="defaultSendMethod"
|
|
10124
|
+
[visibleMethods]="[sendMethodType.Print, sendMethodType.Email]"
|
|
10125
|
+
[emailAddresses]="emailAddresses"
|
|
10126
|
+
[emailLayouts]="emailLayouts"
|
|
10127
|
+
[printLayouts]="printLayouts"
|
|
10128
|
+
[isDocSignEnabled]="true"
|
|
10129
|
+
[(reportingDocumentEmailRequest)]="reportDocumentEmailRequest"
|
|
10130
|
+
[(reportingDocumentPrintRequest)]="reportDocumentPrintRequest"
|
|
10131
|
+
[(reportingDocumentPdfRequest)]="reportDocumentPdfRequest"
|
|
10132
|
+
(closeClick)="showSendMethodDialog = false"
|
|
10133
|
+
(okClick)="handleSendMethodOkClick($event)"
|
|
10134
|
+
></co-send-method-dialog>
|
|
10135
|
+
`,
|
|
9552
10136
|
encapsulation: ViewEncapsulation.None
|
|
9553
10137
|
},] }
|
|
9554
10138
|
];
|
|
9555
10139
|
TransactionQuickAccessOverviewComponent.ctorParameters = () => [
|
|
9556
|
-
{ type: IconCacheService },
|
|
9557
10140
|
{ type: TransactionService }
|
|
9558
10141
|
];
|
|
9559
10142
|
TransactionQuickAccessOverviewComponent.propDecorators = {
|
|
@@ -10058,11 +10641,11 @@ TransactionOverviewLineComponent.decorators = [
|
|
|
10058
10641
|
<div class="column1">
|
|
10059
10642
|
<co-transaction-line-commission-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-commission-button>
|
|
10060
10643
|
<co-transaction-line-warehouse-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
|
|
10061
|
-
<co-transaction-line-
|
|
10644
|
+
<co-transaction-line-statusbar [transaction]="line" [transactionKind]="transactionKind"></co-transaction-line-statusbar>
|
|
10062
10645
|
</div>
|
|
10063
10646
|
<div class="column2">
|
|
10064
10647
|
<co-transaction-line-delivery-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-delivery-button>
|
|
10065
|
-
<co-transaction-line-
|
|
10648
|
+
<co-transaction-line-delivery-date-button [transactionLine]="line" class="two-column"></co-transaction-line-delivery-date-button>
|
|
10066
10649
|
</div>
|
|
10067
10650
|
</div>
|
|
10068
10651
|
<div class="transaction-line-section">
|
|
@@ -10290,7 +10873,9 @@ TransactionQuickAccessOrderDeliveryComponent.decorators = [
|
|
|
10290
10873
|
></co-input-checkbox>
|
|
10291
10874
|
</div>
|
|
10292
10875
|
<div class="send-button-wrapper" [class.hidden]="!allowDelivery">
|
|
10876
|
+
<!--
|
|
10293
10877
|
<co-transaction-send-button-dialog></co-transaction-send-button-dialog>
|
|
10878
|
+
-->
|
|
10294
10879
|
</div>
|
|
10295
10880
|
</div>
|
|
10296
10881
|
`,
|
|
@@ -10510,6 +11095,7 @@ class TransactionQuickAccessOrderPurchaseComponent extends TransactionBaseCompon
|
|
|
10510
11095
|
this.service = service;
|
|
10511
11096
|
this._transactionEventService = _transactionEventService;
|
|
10512
11097
|
this.icons = Icon;
|
|
11098
|
+
this.showLoader = false;
|
|
10513
11099
|
}
|
|
10514
11100
|
showClass() {
|
|
10515
11101
|
return true;
|
|
@@ -10517,8 +11103,11 @@ class TransactionQuickAccessOrderPurchaseComponent extends TransactionBaseCompon
|
|
|
10517
11103
|
handleSelectAllLines(value) {
|
|
10518
11104
|
this._transactionEventService.selectAllSalesOrderLinesForPurchase.next(value);
|
|
10519
11105
|
}
|
|
10520
|
-
|
|
10521
|
-
this.
|
|
11106
|
+
handleSend(event) {
|
|
11107
|
+
this.showLoader = true;
|
|
11108
|
+
this.service.generateAndSendPurchaseOrdersForSalesOrder(this.transactionInfo.id).then(() => {
|
|
11109
|
+
this.showLoader = false;
|
|
11110
|
+
});
|
|
10522
11111
|
}
|
|
10523
11112
|
}
|
|
10524
11113
|
TransactionQuickAccessOrderPurchaseComponent.decorators = [
|
|
@@ -10532,12 +11121,12 @@ TransactionQuickAccessOrderPurchaseComponent.decorators = [
|
|
|
10532
11121
|
(modelChange)="handleSelectAllLines($event)"
|
|
10533
11122
|
></co-input-checkbox>
|
|
10534
11123
|
</div>
|
|
10535
|
-
<
|
|
10536
|
-
|
|
10537
|
-
|
|
10538
|
-
|
|
10539
|
-
|
|
10540
|
-
|
|
11124
|
+
<co-quick-send-button
|
|
11125
|
+
[showSendMethodIcon]="false"
|
|
11126
|
+
[showSendMethodDialogIcon]="false"
|
|
11127
|
+
[showLoader]="showLoader"
|
|
11128
|
+
(sendIconClicked)="handleSend($event)"
|
|
11129
|
+
></co-quick-send-button>
|
|
10541
11130
|
</div>
|
|
10542
11131
|
`,
|
|
10543
11132
|
encapsulation: ViewEncapsulation.None
|
|
@@ -10837,6 +11426,79 @@ TransactionQuickAccessGoodsAllocationComponent.propDecorators = {
|
|
|
10837
11426
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-goods-allocation",] }]
|
|
10838
11427
|
};
|
|
10839
11428
|
|
|
11429
|
+
class TransactionQuickAccessPurchaseOrderOverviewComponent extends TransactionQuickAccessSendMethodBaseComponent {
|
|
11430
|
+
constructor(service) {
|
|
11431
|
+
super(service);
|
|
11432
|
+
this.service = service;
|
|
11433
|
+
this.reportDocumentEmailRequest = new EmailOrderConfirmationRequest();
|
|
11434
|
+
this.reportDocumentPrintRequest = new PrintOrderConfirmationRequest();
|
|
11435
|
+
this.reportDocumentPdfRequest = new PdfOrderConfirmationRequest();
|
|
11436
|
+
}
|
|
11437
|
+
showClass() {
|
|
11438
|
+
return true;
|
|
11439
|
+
}
|
|
11440
|
+
emailDocument(request) {
|
|
11441
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11442
|
+
yield this.service.emailPurchaseOrder(request);
|
|
11443
|
+
});
|
|
11444
|
+
}
|
|
11445
|
+
getDefaultEmailAddressList() {
|
|
11446
|
+
return Promise.resolve([]);
|
|
11447
|
+
}
|
|
11448
|
+
getEmailLayouts() {
|
|
11449
|
+
return this.service.getPurchaseOrderEmailLayouts(this.transactionInfo.uuid);
|
|
11450
|
+
}
|
|
11451
|
+
getPrintLayouts() {
|
|
11452
|
+
return this.service.getPurchaseOrderPrintLayouts(this.transactionInfo.uuid);
|
|
11453
|
+
}
|
|
11454
|
+
pdfDocument(request) {
|
|
11455
|
+
}
|
|
11456
|
+
printDocument(request) {
|
|
11457
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11458
|
+
yield this.service.printPurchaseOrder(request);
|
|
11459
|
+
});
|
|
11460
|
+
}
|
|
11461
|
+
getDefaultSendMethod() {
|
|
11462
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11463
|
+
return this.service.getPurchaseOrderDefaultSendMethod(this.transactionInfo.relation.relationId);
|
|
11464
|
+
});
|
|
11465
|
+
}
|
|
11466
|
+
}
|
|
11467
|
+
TransactionQuickAccessPurchaseOrderOverviewComponent.decorators = [
|
|
11468
|
+
{ type: Component, args: [{
|
|
11469
|
+
selector: "co-transaction-quick-access-purchase-order-overview",
|
|
11470
|
+
template: `
|
|
11471
|
+
<co-quick-send-button
|
|
11472
|
+
[defaultMethodIcon]="defaultSendMethodIcon"
|
|
11473
|
+
[showLoader]="showLoader"
|
|
11474
|
+
(sendIconClicked)="handleSend(defaultSendMethod)"
|
|
11475
|
+
(openSendMethodDialog)="showSendMethodDialog = true"
|
|
11476
|
+
></co-quick-send-button>
|
|
11477
|
+
<co-send-method-dialog *ngIf="showSendMethodDialog"
|
|
11478
|
+
[headerTitle]="'Verzendmethode'"
|
|
11479
|
+
[defaultSendMethod]="defaultSendMethod"
|
|
11480
|
+
[visibleMethods]="[sendMethodType.Print, sendMethodType.Email]"
|
|
11481
|
+
[emailAddresses]="emailAddresses"
|
|
11482
|
+
[emailLayouts]="emailLayouts"
|
|
11483
|
+
[printLayouts]="printLayouts"
|
|
11484
|
+
[isDocSignEnabled]="true"
|
|
11485
|
+
[(reportingDocumentEmailRequest)]="reportDocumentEmailRequest"
|
|
11486
|
+
[(reportingDocumentPrintRequest)]="reportDocumentPrintRequest"
|
|
11487
|
+
[(reportingDocumentPdfRequest)]="reportDocumentPdfRequest"
|
|
11488
|
+
(closeClick)="showSendMethodDialog = false"
|
|
11489
|
+
(okClick)="handleSendMethodOkClick($event)"
|
|
11490
|
+
></co-send-method-dialog>
|
|
11491
|
+
`,
|
|
11492
|
+
encapsulation: ViewEncapsulation.None
|
|
11493
|
+
},] }
|
|
11494
|
+
];
|
|
11495
|
+
TransactionQuickAccessPurchaseOrderOverviewComponent.ctorParameters = () => [
|
|
11496
|
+
{ type: TransactionService }
|
|
11497
|
+
];
|
|
11498
|
+
TransactionQuickAccessPurchaseOrderOverviewComponent.propDecorators = {
|
|
11499
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-purchase-order-overview",] }]
|
|
11500
|
+
};
|
|
11501
|
+
|
|
10840
11502
|
class TransactionMappingService {
|
|
10841
11503
|
constructor() {
|
|
10842
11504
|
this._buttonBarTransaction = new Map([
|
|
@@ -10859,6 +11521,7 @@ class TransactionMappingService {
|
|
|
10859
11521
|
]],
|
|
10860
11522
|
]);
|
|
10861
11523
|
this._quickAccessComponent = new Map([
|
|
11524
|
+
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOverview }, TransactionQuickAccessPurchaseOrderOverviewComponent],
|
|
10862
11525
|
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation }, TransactionQuickAccessOrderConfirmationComponent],
|
|
10863
11526
|
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionQuickAccessReceivedGoodsComponent],
|
|
10864
11527
|
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionQuickAccessOverviewComponent],
|
|
@@ -12490,16 +13153,23 @@ class RelationGeneralComponent extends RelationBaseComponent {
|
|
|
12490
13153
|
this.hideSidebar();
|
|
12491
13154
|
return;
|
|
12492
13155
|
}
|
|
12493
|
-
const relationRequest =
|
|
12494
|
-
relationRequest.relationType = this.
|
|
13156
|
+
const relationRequest = new RelationRequest();
|
|
13157
|
+
relationRequest.relationType = this._service.getRelationKindFromTransactionKind();
|
|
12495
13158
|
if (firstName) {
|
|
12496
13159
|
relationRequest.firstName = firstName;
|
|
12497
13160
|
}
|
|
12498
13161
|
if (secondName) {
|
|
12499
13162
|
relationRequest.familyName = secondName;
|
|
12500
13163
|
}
|
|
12501
|
-
this.
|
|
12502
|
-
|
|
13164
|
+
this._relationService.getRelationListObjects(relationRequest).then((relations) => {
|
|
13165
|
+
this.relationSuggestions = relations;
|
|
13166
|
+
if (relations && relations.length > 0) {
|
|
13167
|
+
this.showSidebar();
|
|
13168
|
+
}
|
|
13169
|
+
else {
|
|
13170
|
+
this.hideSidebar();
|
|
13171
|
+
}
|
|
13172
|
+
});
|
|
12503
13173
|
});
|
|
12504
13174
|
}
|
|
12505
13175
|
}
|
|
@@ -12797,10 +13467,10 @@ RelationAddressesComponent.decorators = [
|
|
|
12797
13467
|
></co-relation-address>
|
|
12798
13468
|
</co-form>
|
|
12799
13469
|
<ng-template #templateHeader>
|
|
12800
|
-
<div class="co-
|
|
13470
|
+
<div class="co-dialog-header-title" [textContent]="'NEW_ADDRESS' | localize"></div>
|
|
12801
13471
|
</ng-template>
|
|
12802
13472
|
<ng-template #templateFooter>
|
|
12803
|
-
<div class="co-
|
|
13473
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
12804
13474
|
<co-button [label]="'OK' | localize" (click)="submitForm()"></co-button>
|
|
12805
13475
|
</div>
|
|
12806
13476
|
</ng-template>
|
|
@@ -13088,7 +13758,7 @@ CheckoutOverviewPaymentComponent.decorators = [
|
|
|
13088
13758
|
</div>
|
|
13089
13759
|
<co-payment
|
|
13090
13760
|
[transactionUuid]="transaction.transactionInfo.uuid"
|
|
13091
|
-
[amount]="transaction.transactionInfo.toDownPayAmount"
|
|
13761
|
+
[amount]="transaction.transactionInfo.toDownPayAmount || transaction.transactionTotal.netAmount"
|
|
13092
13762
|
[currencyId]="transaction.transactionInfo.currencyId"
|
|
13093
13763
|
(payed)="handlePayed()"
|
|
13094
13764
|
></co-payment>
|
|
@@ -13184,7 +13854,7 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
13184
13854
|
</ng-template>
|
|
13185
13855
|
<co-dialog *ngIf="showDialog" [headerTemplate]="headerTemplate" (closeClick)="showDialog = false">
|
|
13186
13856
|
<ng-template #headerTemplate>
|
|
13187
|
-
<div class="co-
|
|
13857
|
+
<div class="co-dialog-header-title" [textContent]="'DELIVERY_INFORMATION' | localize"></div>
|
|
13188
13858
|
<co-transaction-header-block class="in-dialog"
|
|
13189
13859
|
[headerBlockTemplate]="headerBlock"
|
|
13190
13860
|
[firstBlockTemplate]="firstBlock"
|
|
@@ -13785,7 +14455,7 @@ TransactionLineCheckboxListComponent.decorators = [
|
|
|
13785
14455
|
{ type: Component, args: [{
|
|
13786
14456
|
selector: "co-transaction-line-checkbox-list",
|
|
13787
14457
|
template: `
|
|
13788
|
-
<cdk-virtual-scroll-viewport [itemSize]="itemHeight" class="virtual-scroll-container co-
|
|
14458
|
+
<cdk-virtual-scroll-viewport [itemSize]="itemHeight" class="virtual-scroll-container co-small-toolbar">
|
|
13789
14459
|
<div *cdkVirtualFor="let row of collection" #scrollingItem class="virtual-scroll-item" (click)="handleChecked($event, row)">
|
|
13790
14460
|
<div class="checkbox-wrapper">
|
|
13791
14461
|
<co-input-checkbox
|
|
@@ -13974,7 +14644,7 @@ DialogTransactionHeaderDeliveryMethodComponent.decorators = [
|
|
|
13974
14644
|
<co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
13975
14645
|
</ng-template>
|
|
13976
14646
|
<ng-template #footerTemplate>
|
|
13977
|
-
<div class="co-
|
|
14647
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
13978
14648
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
13979
14649
|
</div>
|
|
13980
14650
|
</ng-template>
|
|
@@ -14009,7 +14679,7 @@ DialogHeaderSearchComponent.decorators = [
|
|
|
14009
14679
|
selector: "co-dialog-header-search",
|
|
14010
14680
|
template: `
|
|
14011
14681
|
<div class="dialog-header-search-wrapper">
|
|
14012
|
-
<div class="co-
|
|
14682
|
+
<div class="co-dialog-header-title" [textContent]="title | localize"></div>
|
|
14013
14683
|
<co-input-search [placeholder]="searchPlaceholder | localize" [centerLabel]="true" (modelChange)="handleSearch($event)"></co-input-search>
|
|
14014
14684
|
</div>
|
|
14015
14685
|
`,
|
|
@@ -14111,7 +14781,7 @@ TransactionHeaderDeliveryOptionsComponent.decorators = [
|
|
|
14111
14781
|
selector: "co-transaction-header-delivery-options",
|
|
14112
14782
|
template: `
|
|
14113
14783
|
<co-input-listbox
|
|
14114
|
-
[customCssClass]="'co-
|
|
14784
|
+
[customCssClass]="'co-small-toolbar'"
|
|
14115
14785
|
[placeholder]="'DELIVERY_OPTIONS' | localize"
|
|
14116
14786
|
[readonly]="readonly"
|
|
14117
14787
|
[collection]="deliveryOptionsFromMethod"
|
|
@@ -15090,14 +15760,11 @@ TransactionComponent.decorators = [
|
|
|
15090
15760
|
|
|
15091
15761
|
<div class="transaction-lines-header">
|
|
15092
15762
|
<co-transaction-quick-access *ngIf="showQuickAccess" class="transaction-lines-header-item"
|
|
15763
|
+
[relation]="relation"
|
|
15093
15764
|
[transaction]="transaction"
|
|
15094
15765
|
[activeCategory]="activeCategory"
|
|
15095
15766
|
></co-transaction-quick-access>
|
|
15096
15767
|
|
|
15097
|
-
<co-quick-send-button class="quick-send-button" [transaction]="transaction">
|
|
15098
|
-
|
|
15099
|
-
</co-quick-send-button>
|
|
15100
|
-
|
|
15101
15768
|
<co-transaction-button-bar *ngIf="showButtonBar" class="transaction-lines-header-item"
|
|
15102
15769
|
[transactionType]="transaction.transactionInfo.transactionKind"
|
|
15103
15770
|
[selectedCategory]="activeCategory"
|
|
@@ -15231,24 +15898,17 @@ class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
|
15231
15898
|
this.categories = [this._dictionary.get('CLIENT_DATA'), this._dictionary.get('PRIVACY_PREFERENCES')];
|
|
15232
15899
|
this.relationType = RelationKind$1.Customer;
|
|
15233
15900
|
this.readonly = false;
|
|
15234
|
-
this._relation = new CustomerFullObject();
|
|
15235
15901
|
this._boFactory = new BusinessObjectFactory();
|
|
15236
15902
|
}
|
|
15237
|
-
set relation(value) {
|
|
15238
|
-
if (value) {
|
|
15239
|
-
this._relation = value;
|
|
15240
|
-
this.relationType = this._relation.relationType;
|
|
15241
|
-
if (this.relationType === RelationKind$1.Customer) {
|
|
15242
|
-
this.customerGroup = this.relation.customerGroup;
|
|
15243
|
-
}
|
|
15244
|
-
}
|
|
15245
|
-
}
|
|
15246
|
-
get relation() {
|
|
15247
|
-
return this._relation;
|
|
15248
|
-
}
|
|
15249
15903
|
showClass() {
|
|
15250
15904
|
return true;
|
|
15251
15905
|
}
|
|
15906
|
+
relationSet() {
|
|
15907
|
+
this.relationType = this.relation.relationType;
|
|
15908
|
+
if (this.relationType === RelationKind$1.Customer) {
|
|
15909
|
+
this.customerGroup = this.relation.customerGroup;
|
|
15910
|
+
}
|
|
15911
|
+
}
|
|
15252
15912
|
setIndexDeliveryAddress(nawNr) {
|
|
15253
15913
|
const address = this.relation.addresses.find(a => a.nawNr === nawNr);
|
|
15254
15914
|
if (address) {
|
|
@@ -15346,10 +16006,10 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
15346
16006
|
<div class="header-relation-email" [textContent]="relation.primaryEmail"></div>
|
|
15347
16007
|
<div class="header-relation-phone" [textContent]="relation.primaryPhoneOrMobileNumber"></div>
|
|
15348
16008
|
</ng-template>
|
|
15349
|
-
<co-dialog class="transaction-header-relation-dialog" [customCssClass]="'co-
|
|
16009
|
+
<co-dialog class="transaction-header-relation-dialog" [customCssClass]="'co-small-toolbar'" *ngIf="showDialog"
|
|
15350
16010
|
[headerTemplate]="dialogHeader" [footerTemplate]="dialogFooter" (closeClick)="showDialog = false">
|
|
15351
16011
|
<ng-template #dialogHeader>
|
|
15352
|
-
<div class="co-
|
|
16012
|
+
<div class="co-dialog-header-title" [textContent]="'CLIENT_INFORMATION' | localize"></div>
|
|
15353
16013
|
<co-transaction-header-block
|
|
15354
16014
|
[headerBlockTemplate]="headerBlock"
|
|
15355
16015
|
[firstBlockTemplate]="firstBlock"
|
|
@@ -15405,7 +16065,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
15405
16065
|
</div>
|
|
15406
16066
|
</co-form>
|
|
15407
16067
|
<ng-template #dialogFooter>
|
|
15408
|
-
<div class="co-
|
|
16068
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
15409
16069
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
15410
16070
|
</div>
|
|
15411
16071
|
</ng-template>
|
|
@@ -15436,7 +16096,6 @@ TransactionHeaderRelationComponent.propDecorators = {
|
|
|
15436
16096
|
navigationItems: [{ type: ViewChild, args: ['navigationItems', { read: ElementRef },] }],
|
|
15437
16097
|
mainItems: [{ type: ViewChild, args: ['mainItems', { read: ElementRef },] }],
|
|
15438
16098
|
preferenceItems: [{ type: ViewChild, args: ['preferenceItems', { read: ElementRef },] }],
|
|
15439
|
-
relation: [{ type: Input }],
|
|
15440
16099
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-relation",] }]
|
|
15441
16100
|
};
|
|
15442
16101
|
|
|
@@ -15691,7 +16350,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
15691
16350
|
</ng-template>
|
|
15692
16351
|
<co-dialog class="transaction-header-payment-dialog" [headerTemplate]="headerTemplate" *ngIf="showDialog" (closeClick)="showDialog = false">
|
|
15693
16352
|
<ng-template #headerTemplate>
|
|
15694
|
-
<div class="co-
|
|
16353
|
+
<div class="co-dialog-header-title" [textContent]="'PAYMENT_INFORMATION' | localize"></div>
|
|
15695
16354
|
<co-transaction-header-block
|
|
15696
16355
|
[headerBlockTemplate]="headerBlock"
|
|
15697
16356
|
[firstBlockTemplate]="firstBlock"
|
|
@@ -15706,7 +16365,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
15706
16365
|
<span [textContent]="'NOG_NIET_GEIMPLEMENTEERD'"></span>
|
|
15707
16366
|
</div>
|
|
15708
16367
|
</co-dialog>
|
|
15709
|
-
<co-dialog class="payment-dialog" [customCssClass]="'co-
|
|
16368
|
+
<co-dialog class="payment-dialog" [customCssClass]="'co-small-toolbar'" *ngIf="showPaymentDialog"
|
|
15710
16369
|
[modal]="true"
|
|
15711
16370
|
(closeClick)="showPaymentDialog = false"
|
|
15712
16371
|
>
|
|
@@ -19021,7 +19680,7 @@ TransactionArticleTextOverviewComponent.decorators = [
|
|
|
19021
19680
|
</div>
|
|
19022
19681
|
</div>
|
|
19023
19682
|
</co-dialog>
|
|
19024
|
-
<ng-template #headerTemplate><span class="co-
|
|
19683
|
+
<ng-template #headerTemplate><span class="co-dialog-header-title" [textContent]="header"></span></ng-template>
|
|
19025
19684
|
<ng-template #footerTemplate>
|
|
19026
19685
|
<div class="co-transaction-dialog-footer-button-wrapper">
|
|
19027
19686
|
<co-button [label]="'OK' | localize" (click)="onOkClick($event)"></co-button>
|
|
@@ -19185,7 +19844,7 @@ DialogTransactionLineDeliveryMethodComponent.decorators = [
|
|
|
19185
19844
|
<co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
19186
19845
|
</ng-template>
|
|
19187
19846
|
<ng-template #footerTemplate>
|
|
19188
|
-
<div class="co-
|
|
19847
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
19189
19848
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
19190
19849
|
</div>
|
|
19191
19850
|
</ng-template>
|
|
@@ -19241,7 +19900,7 @@ DialogTransactionLineVatComponent.decorators = [
|
|
|
19241
19900
|
<co-dialog-header-search [title]="'VAT'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
19242
19901
|
</ng-template>
|
|
19243
19902
|
<ng-template #footerTemplate>
|
|
19244
|
-
<div class="co-
|
|
19903
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
19245
19904
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
19246
19905
|
</div>
|
|
19247
19906
|
</ng-template>
|
|
@@ -19309,7 +19968,7 @@ DialogTransactionLineDiscountComponent.decorators = [
|
|
|
19309
19968
|
selector: "co-dialog-transaction-line-discount",
|
|
19310
19969
|
template: `
|
|
19311
19970
|
<co-dialog [headerTemplate]="dialogHeader" (closeClick)="handleClose(buttonType.Ok)">
|
|
19312
|
-
<div class="transaction-line-discount-wrapper co-
|
|
19971
|
+
<div class="transaction-line-discount-wrapper co-small-toolbar">
|
|
19313
19972
|
<div class="two-column-grid">
|
|
19314
19973
|
<co-transaction-line-line-discount [transactionLine]="transactionLine"></co-transaction-line-line-discount>
|
|
19315
19974
|
<co-transaction-line-discount-amount [transactionLine]="transactionLine"></co-transaction-line-discount-amount>
|
|
@@ -19343,7 +20002,7 @@ DialogTransactionLineDiscountComponent.decorators = [
|
|
|
19343
20002
|
</div>
|
|
19344
20003
|
</co-dialog>
|
|
19345
20004
|
<ng-template #dialogHeader>
|
|
19346
|
-
<div class="co-
|
|
20005
|
+
<div class="co-dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
19347
20006
|
<div class="transaction-line-button full-width" (click)="openThePriceListDialog()">
|
|
19348
20007
|
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.priceListDescription"></span>
|
|
19349
20008
|
</div>
|
|
@@ -19386,7 +20045,7 @@ DialogTransactionLinePriceListComponent.decorators = [
|
|
|
19386
20045
|
<co-dialog-header-search [title]="'PRICE_LIST'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
19387
20046
|
</ng-template>
|
|
19388
20047
|
<ng-template #footerTemplate>
|
|
19389
|
-
<div class="co-
|
|
20048
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
19390
20049
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
19391
20050
|
</div>
|
|
19392
20051
|
</ng-template>
|
|
@@ -19594,7 +20253,7 @@ DiscountComponent.decorators = [
|
|
|
19594
20253
|
</co-form>
|
|
19595
20254
|
</co-dialog>
|
|
19596
20255
|
<ng-template #headerTemplate>
|
|
19597
|
-
<div class="co-
|
|
20256
|
+
<div class="co-dialog-header-title" [textContent]="discountHeader | localize"></div>
|
|
19598
20257
|
</ng-template>
|
|
19599
20258
|
<ng-template #footerTemplate>
|
|
19600
20259
|
<div fxLayout="row" fxLayoutGap="10px" fxLayoutAlign="end">
|
|
@@ -19658,11 +20317,21 @@ class TransactionQuickAccessComponent {
|
|
|
19658
20317
|
get activeCategory() {
|
|
19659
20318
|
return this._activeCategory;
|
|
19660
20319
|
}
|
|
20320
|
+
set relation(value) {
|
|
20321
|
+
this._relation = value;
|
|
20322
|
+
this._prepareContent();
|
|
20323
|
+
}
|
|
20324
|
+
get relation() {
|
|
20325
|
+
return this._relation;
|
|
20326
|
+
}
|
|
19661
20327
|
showClass() {
|
|
19662
20328
|
return true;
|
|
19663
20329
|
}
|
|
20330
|
+
ngOnInit() {
|
|
20331
|
+
this._prepareContent();
|
|
20332
|
+
}
|
|
19664
20333
|
_prepareContent() {
|
|
19665
|
-
if (!this.transactionType || !this._activeCategory || !this.quickAccessContainer) {
|
|
20334
|
+
if (!this.transactionType || !this._activeCategory || !this._relation || !this.quickAccessContainer) {
|
|
19666
20335
|
return;
|
|
19667
20336
|
}
|
|
19668
20337
|
const componentClass = this._mappingService.getQuickAccessComponent(this.transactionType, this.activeCategory);
|
|
@@ -19676,6 +20345,7 @@ class TransactionQuickAccessComponent {
|
|
|
19676
20345
|
.resolveComponentFactory(componentClass)
|
|
19677
20346
|
.create(this.injector);
|
|
19678
20347
|
this._componentRef.instance.transaction = this.transaction;
|
|
20348
|
+
this._componentRef.instance.relation = this.relation;
|
|
19679
20349
|
this.appRef.attachView(this._componentRef.hostView);
|
|
19680
20350
|
const domElem = this._componentRef.hostView
|
|
19681
20351
|
.rootNodes[0];
|
|
@@ -19705,9 +20375,77 @@ TransactionQuickAccessComponent.propDecorators = {
|
|
|
19705
20375
|
quickAccessContainer: [{ type: ViewChild, args: ['quickAccessContent', { read: ElementRef },] }],
|
|
19706
20376
|
transaction: [{ type: Input }],
|
|
19707
20377
|
activeCategory: [{ type: Input }],
|
|
20378
|
+
relation: [{ type: Input }],
|
|
19708
20379
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access",] }]
|
|
19709
20380
|
};
|
|
19710
20381
|
|
|
20382
|
+
class QuickSendButtonComponent {
|
|
20383
|
+
constructor(iconCacheService) {
|
|
20384
|
+
this.iconCacheService = iconCacheService;
|
|
20385
|
+
this.icons = Icon;
|
|
20386
|
+
this.showSendMethodIcon = true;
|
|
20387
|
+
this.showSendMethodDialogIcon = true;
|
|
20388
|
+
this.showLoader = false;
|
|
20389
|
+
this.openSendMethodDialog = new EventEmitter();
|
|
20390
|
+
this.sendIconClicked = new EventEmitter();
|
|
20391
|
+
}
|
|
20392
|
+
showClass() {
|
|
20393
|
+
return true;
|
|
20394
|
+
}
|
|
20395
|
+
}
|
|
20396
|
+
QuickSendButtonComponent.decorators = [
|
|
20397
|
+
{ type: Component, args: [{
|
|
20398
|
+
selector: "co-quick-send-button",
|
|
20399
|
+
template: `
|
|
20400
|
+
<div class="icons-wrapper" [class.disabled]="showLoader" [class.no-dialog]="!showSendMethodDialogIcon">
|
|
20401
|
+
<co-loader *ngIf="showLoader"></co-loader>
|
|
20402
|
+
<div class="icon-wrapper-flat-left" (click)="sendIconClicked.emit($event)">
|
|
20403
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.ShareSolid)" class="icon-send"></co-icon>
|
|
20404
|
+
<co-icon *ngIf="showSendMethodIcon" class="icon-method"
|
|
20405
|
+
[iconData]="iconCacheService.getIcon(defaultMethodIcon ? defaultMethodIcon : icons.AtSolid)"></co-icon>
|
|
20406
|
+
</div>
|
|
20407
|
+
<div class="icons-spacer" *ngIf="showSendMethodDialogIcon"></div>
|
|
20408
|
+
<div class="icon-wrapper-flat-right" *ngIf="showSendMethodDialogIcon" (click)="openSendMethodDialog.emit($event)">
|
|
20409
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.EllipsisVerticalSolid)"></co-icon>
|
|
20410
|
+
</div>
|
|
20411
|
+
</div>
|
|
20412
|
+
`,
|
|
20413
|
+
encapsulation: ViewEncapsulation.None
|
|
20414
|
+
},] }
|
|
20415
|
+
];
|
|
20416
|
+
QuickSendButtonComponent.ctorParameters = () => [
|
|
20417
|
+
{ type: IconCacheService }
|
|
20418
|
+
];
|
|
20419
|
+
QuickSendButtonComponent.propDecorators = {
|
|
20420
|
+
defaultMethodIcon: [{ type: Input }],
|
|
20421
|
+
showSendMethodIcon: [{ type: Input }],
|
|
20422
|
+
showSendMethodDialogIcon: [{ type: Input }],
|
|
20423
|
+
showLoader: [{ type: Input }],
|
|
20424
|
+
showClass: [{ type: HostBinding, args: ["class.co-quick-send-button",] }],
|
|
20425
|
+
openSendMethodDialog: [{ type: Output }],
|
|
20426
|
+
sendIconClicked: [{ type: Output }]
|
|
20427
|
+
};
|
|
20428
|
+
|
|
20429
|
+
class QuickSendButtonModule {
|
|
20430
|
+
}
|
|
20431
|
+
QuickSendButtonModule.decorators = [
|
|
20432
|
+
{ type: NgModule, args: [{
|
|
20433
|
+
imports: [
|
|
20434
|
+
CommonModule,
|
|
20435
|
+
CoreModule,
|
|
20436
|
+
IconModule,
|
|
20437
|
+
PipeModule,
|
|
20438
|
+
LoaderModule
|
|
20439
|
+
],
|
|
20440
|
+
declarations: [
|
|
20441
|
+
QuickSendButtonComponent
|
|
20442
|
+
],
|
|
20443
|
+
exports: [
|
|
20444
|
+
QuickSendButtonComponent
|
|
20445
|
+
],
|
|
20446
|
+
},] }
|
|
20447
|
+
];
|
|
20448
|
+
|
|
19711
20449
|
class TransactionQuickAccessOrderConfirmationModule {
|
|
19712
20450
|
}
|
|
19713
20451
|
TransactionQuickAccessOrderConfirmationModule.decorators = [
|
|
@@ -19717,7 +20455,9 @@ TransactionQuickAccessOrderConfirmationModule.decorators = [
|
|
|
19717
20455
|
InputDatePickerModule,
|
|
19718
20456
|
InputTextModule,
|
|
19719
20457
|
InputCheckboxModule,
|
|
19720
|
-
PipeModule
|
|
20458
|
+
PipeModule,
|
|
20459
|
+
SendMethodDialogModule,
|
|
20460
|
+
QuickSendButtonModule
|
|
19721
20461
|
],
|
|
19722
20462
|
declarations: [
|
|
19723
20463
|
TransactionQuickAccessOrderConfirmationComponent
|
|
@@ -19820,7 +20560,9 @@ TransactionQuickAccessOverviewModule.decorators = [
|
|
|
19820
20560
|
InputSearchModule,
|
|
19821
20561
|
PipeModule,
|
|
19822
20562
|
DialogCatalogModule,
|
|
19823
|
-
IoneCatalogModule
|
|
20563
|
+
IoneCatalogModule,
|
|
20564
|
+
QuickSendButtonModule,
|
|
20565
|
+
SendMethodDialogModule
|
|
19824
20566
|
],
|
|
19825
20567
|
declarations: [
|
|
19826
20568
|
TransactionQuickAccessOverviewComponent
|
|
@@ -19831,96 +20573,6 @@ TransactionQuickAccessOverviewModule.decorators = [
|
|
|
19831
20573
|
},] }
|
|
19832
20574
|
];
|
|
19833
20575
|
|
|
19834
|
-
class TransactionSendButtonDialogComponent {
|
|
19835
|
-
constructor(iconService) {
|
|
19836
|
-
this.iconService = iconService;
|
|
19837
|
-
this.icons = Icon;
|
|
19838
|
-
this.label = 'SEND';
|
|
19839
|
-
this.showSendIcon = true;
|
|
19840
|
-
this.showHoverIcon = true;
|
|
19841
|
-
this.sendButtonClick = new EventEmitter();
|
|
19842
|
-
// @HostListener("mouseenter", ["$event"])
|
|
19843
|
-
// public mouseEnter(event: MouseEvent) {
|
|
19844
|
-
// this.showOpenDialogIcon = true;
|
|
19845
|
-
// }
|
|
19846
|
-
//
|
|
19847
|
-
// @HostListener("mouseleave", ["$event"])
|
|
19848
|
-
// public mouseLeave(event: MouseEvent) {
|
|
19849
|
-
// this.showOpenDialogIcon = false;
|
|
19850
|
-
// }
|
|
19851
|
-
this.showDialog = false;
|
|
19852
|
-
this.showOpenDialogIcon = false;
|
|
19853
|
-
}
|
|
19854
|
-
showClass() {
|
|
19855
|
-
return true;
|
|
19856
|
-
}
|
|
19857
|
-
openDialog() {
|
|
19858
|
-
this.showDialog = !this.showDialog;
|
|
19859
|
-
}
|
|
19860
|
-
}
|
|
19861
|
-
TransactionSendButtonDialogComponent.decorators = [
|
|
19862
|
-
{ type: Component, args: [{
|
|
19863
|
-
selector: "co-transaction-send-button-dialog",
|
|
19864
|
-
template: `
|
|
19865
|
-
<div class="transaction-send-button-content-wrapper" (mouseenter)="showOpenDialogIcon = true" (mouseleave)="showOpenDialogIcon = false">
|
|
19866
|
-
<div class="transaction-send-button-wrapper" (click)="sendButtonClick.emit($event)">
|
|
19867
|
-
<div class="transaction-send-button-icon-wrapper">
|
|
19868
|
-
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.ShareSolid)"></co-icon>
|
|
19869
|
-
<co-icon *ngIf="showSendIcon" class="button-icon send-type-icon" [iconData]="iconService.getIcon(icons.AtSolid)"></co-icon>
|
|
19870
|
-
</div>
|
|
19871
|
-
<span class="button-title" [textContent]="label | localize"></span>
|
|
19872
|
-
</div>
|
|
19873
|
-
<div class="transaction-send-button-hover-icon-wrapper" *ngIf="showHoverIcon">
|
|
19874
|
-
<co-icon *ngIf="showOpenDialogIcon" class="hover-icon" @showHideHoverIcon
|
|
19875
|
-
[iconData]="iconService.getIcon(icons.EllipsisVerticalSolid)" (click)="openDialog()">
|
|
19876
|
-
</co-icon>
|
|
19877
|
-
</div>
|
|
19878
|
-
</div>
|
|
19879
|
-
<ione-send-method-dialog
|
|
19880
|
-
[showDialog]="showDialog"
|
|
19881
|
-
></ione-send-method-dialog>
|
|
19882
|
-
`,
|
|
19883
|
-
animations: [
|
|
19884
|
-
trigger("showHideHoverIcon", [
|
|
19885
|
-
state("void", style({ width: 0, opacity: 0 })),
|
|
19886
|
-
state("*", style({ width: "*", opacity: 1 })),
|
|
19887
|
-
transition("void => *", animate("200ms ease-in-out")),
|
|
19888
|
-
transition("* => void", animate("200ms ease-out"))
|
|
19889
|
-
])
|
|
19890
|
-
],
|
|
19891
|
-
encapsulation: ViewEncapsulation.None
|
|
19892
|
-
},] }
|
|
19893
|
-
];
|
|
19894
|
-
TransactionSendButtonDialogComponent.ctorParameters = () => [
|
|
19895
|
-
{ type: IconCacheService }
|
|
19896
|
-
];
|
|
19897
|
-
TransactionSendButtonDialogComponent.propDecorators = {
|
|
19898
|
-
label: [{ type: Input }],
|
|
19899
|
-
showSendIcon: [{ type: Input }],
|
|
19900
|
-
showHoverIcon: [{ type: Input }],
|
|
19901
|
-
sendButtonClick: [{ type: Output }],
|
|
19902
|
-
showClass: [{ type: HostBinding, args: ["class.co-transaction-send-button-dialog",] }]
|
|
19903
|
-
};
|
|
19904
|
-
|
|
19905
|
-
class TransactionSendButtonDialogModule {
|
|
19906
|
-
}
|
|
19907
|
-
TransactionSendButtonDialogModule.decorators = [
|
|
19908
|
-
{ type: NgModule, args: [{
|
|
19909
|
-
imports: [
|
|
19910
|
-
CommonModule,
|
|
19911
|
-
IconModule,
|
|
19912
|
-
PipeModule,
|
|
19913
|
-
SendMethodDialogModule
|
|
19914
|
-
],
|
|
19915
|
-
declarations: [
|
|
19916
|
-
TransactionSendButtonDialogComponent
|
|
19917
|
-
],
|
|
19918
|
-
exports: [
|
|
19919
|
-
TransactionSendButtonDialogComponent
|
|
19920
|
-
]
|
|
19921
|
-
},] }
|
|
19922
|
-
];
|
|
19923
|
-
|
|
19924
20576
|
class TransactionQuickAccessOrderDeliveryModule {
|
|
19925
20577
|
}
|
|
19926
20578
|
TransactionQuickAccessOrderDeliveryModule.decorators = [
|
|
@@ -19931,8 +20583,7 @@ TransactionQuickAccessOrderDeliveryModule.decorators = [
|
|
|
19931
20583
|
IconModule,
|
|
19932
20584
|
PipeModule,
|
|
19933
20585
|
InputCheckboxModule,
|
|
19934
|
-
SendMethodDialogModule
|
|
19935
|
-
TransactionSendButtonDialogModule
|
|
20586
|
+
SendMethodDialogModule
|
|
19936
20587
|
],
|
|
19937
20588
|
declarations: [
|
|
19938
20589
|
TransactionQuickAccessOrderDeliveryComponent
|
|
@@ -19953,7 +20604,7 @@ TransactionQuickAccessOrderPurchaseModule.decorators = [
|
|
|
19953
20604
|
IconModule,
|
|
19954
20605
|
PipeModule,
|
|
19955
20606
|
SendMethodDialogModule,
|
|
19956
|
-
|
|
20607
|
+
QuickSendButtonModule
|
|
19957
20608
|
],
|
|
19958
20609
|
declarations: [
|
|
19959
20610
|
TransactionQuickAccessOrderPurchaseComponent
|
|
@@ -19984,6 +20635,24 @@ TransactionQuickAccessGoodsAllocationModule.decorators = [
|
|
|
19984
20635
|
},] }
|
|
19985
20636
|
];
|
|
19986
20637
|
|
|
20638
|
+
class TransactionQuickAccessPurchaseOrderOverviewModule {
|
|
20639
|
+
}
|
|
20640
|
+
TransactionQuickAccessPurchaseOrderOverviewModule.decorators = [
|
|
20641
|
+
{ type: NgModule, args: [{
|
|
20642
|
+
imports: [
|
|
20643
|
+
CommonModule,
|
|
20644
|
+
QuickSendButtonModule,
|
|
20645
|
+
SendMethodDialogModule
|
|
20646
|
+
],
|
|
20647
|
+
declarations: [
|
|
20648
|
+
TransactionQuickAccessPurchaseOrderOverviewComponent
|
|
20649
|
+
],
|
|
20650
|
+
exports: [
|
|
20651
|
+
TransactionQuickAccessPurchaseOrderOverviewComponent
|
|
20652
|
+
]
|
|
20653
|
+
},] }
|
|
20654
|
+
];
|
|
20655
|
+
|
|
19987
20656
|
class TransactionQuickAccessModule {
|
|
19988
20657
|
}
|
|
19989
20658
|
TransactionQuickAccessModule.decorators = [
|
|
@@ -20000,7 +20669,8 @@ TransactionQuickAccessModule.decorators = [
|
|
|
20000
20669
|
TransactionQuickAccessOverviewModule,
|
|
20001
20670
|
TransactionQuickAccessOrderDeliveryModule,
|
|
20002
20671
|
TransactionQuickAccessOrderPurchaseModule,
|
|
20003
|
-
TransactionQuickAccessGoodsAllocationModule
|
|
20672
|
+
TransactionQuickAccessGoodsAllocationModule,
|
|
20673
|
+
TransactionQuickAccessPurchaseOrderOverviewModule
|
|
20004
20674
|
],
|
|
20005
20675
|
declarations: [
|
|
20006
20676
|
TransactionQuickAccessComponent
|
|
@@ -21251,7 +21921,7 @@ DialogTransactionLineSupplierComponent.decorators = [
|
|
|
21251
21921
|
<co-dialog-header-search [title]="'SUPPLIER'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
21252
21922
|
</ng-template>
|
|
21253
21923
|
<ng-template #footerTemplate>
|
|
21254
|
-
<div class="co-
|
|
21924
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
21255
21925
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
21256
21926
|
</div>
|
|
21257
21927
|
</ng-template>
|
|
@@ -21335,133 +22005,6 @@ TransactionPurchaseLineModule.decorators = [
|
|
|
21335
22005
|
},] }
|
|
21336
22006
|
];
|
|
21337
22007
|
|
|
21338
|
-
class QuickSendButtonComponent {
|
|
21339
|
-
constructor(iconCacheService, _sharedConnectorService, _transactionConnectorService) {
|
|
21340
|
-
this.iconCacheService = iconCacheService;
|
|
21341
|
-
this._sharedConnectorService = _sharedConnectorService;
|
|
21342
|
-
this._transactionConnectorService = _transactionConnectorService;
|
|
21343
|
-
this.icons = Icon;
|
|
21344
|
-
this.isSendIconClicked = false;
|
|
21345
|
-
this.isDotsClicked = false;
|
|
21346
|
-
this.emailLayouts = [];
|
|
21347
|
-
}
|
|
21348
|
-
showClass() {
|
|
21349
|
-
return true;
|
|
21350
|
-
}
|
|
21351
|
-
sendIconClicked() {
|
|
21352
|
-
this.isSendIconClicked = true;
|
|
21353
|
-
}
|
|
21354
|
-
dotsClicked() {
|
|
21355
|
-
this.isDotsClicked = !this.isDotsClicked;
|
|
21356
|
-
}
|
|
21357
|
-
quickSend(data) {
|
|
21358
|
-
if (this.emailSelected) {
|
|
21359
|
-
const emailReport = new EmailOrderConfirmation();
|
|
21360
|
-
emailReport.transId = this.transaction.transactionInfo.transactionNr;
|
|
21361
|
-
this._sharedConnectorService.connector.emailReport(emailReport);
|
|
21362
|
-
}
|
|
21363
|
-
if (this.printSelected) {
|
|
21364
|
-
const printReport = new PrintOrderConfirmation();
|
|
21365
|
-
printReport.transId = this.transaction.transactionInfo.transactionNr;
|
|
21366
|
-
this._sharedConnectorService.connector.printReport(printReport);
|
|
21367
|
-
}
|
|
21368
|
-
if (this.pdfSelected) {
|
|
21369
|
-
const pdfReport = new PdfOrderConfirmation();
|
|
21370
|
-
pdfReport.transId = this.transaction.transactionInfo.transactionNr;
|
|
21371
|
-
this._sharedConnectorService.connector.pdfReport(pdfReport);
|
|
21372
|
-
}
|
|
21373
|
-
if (this.xmlSelected) {
|
|
21374
|
-
return;
|
|
21375
|
-
}
|
|
21376
|
-
}
|
|
21377
|
-
getEmailLayouts() {
|
|
21378
|
-
// this.getEmailAdresses();
|
|
21379
|
-
if (this.emailLayouts.length < 1) {
|
|
21380
|
-
this._transactionConnectorService.getPurchaseOrderEmailLayouts(this.transaction.transactionInfo.uuid).then(result => {
|
|
21381
|
-
this.emailLayouts = result;
|
|
21382
|
-
});
|
|
21383
|
-
}
|
|
21384
|
-
}
|
|
21385
|
-
setSendParams(data) {
|
|
21386
|
-
this.sendParams = data;
|
|
21387
|
-
}
|
|
21388
|
-
getPrintTemplates() {
|
|
21389
|
-
if (!this.printTemplates) {
|
|
21390
|
-
const data = new StockStickersPrintLayouts();
|
|
21391
|
-
this._transactionConnectorService.getStockStickerTemplates(data).then((templates) => {
|
|
21392
|
-
this.printTemplates = templates;
|
|
21393
|
-
});
|
|
21394
|
-
}
|
|
21395
|
-
}
|
|
21396
|
-
sendOrderConfirmationEmail() {
|
|
21397
|
-
let data = new EmailOrderConfirmation();
|
|
21398
|
-
data.toAddresses = "lars-vdv@colijn-it.nl";
|
|
21399
|
-
data.reportId = this.sendParams.reportId;
|
|
21400
|
-
this._transactionConnectorService.emailOrderConfirmation(data);
|
|
21401
|
-
}
|
|
21402
|
-
}
|
|
21403
|
-
QuickSendButtonComponent.decorators = [
|
|
21404
|
-
{ type: Component, args: [{
|
|
21405
|
-
selector: "co-quick-send-button",
|
|
21406
|
-
template: `
|
|
21407
|
-
<div class="icons-wrapper">
|
|
21408
|
-
<div class="icon-wrapper-flat-left" (click)="sendIconClicked()">
|
|
21409
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.ShareSolid)" class="icon-send"></co-icon>
|
|
21410
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.AtSolid)" class="icon-method"></co-icon>
|
|
21411
|
-
</div>
|
|
21412
|
-
<div class="icons-spacer"></div>
|
|
21413
|
-
<div class="icon-wrapper-flat-right" (click)="dotsClicked()">
|
|
21414
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.EllipsisVerticalSolid)"></co-icon>
|
|
21415
|
-
</div>
|
|
21416
|
-
</div>
|
|
21417
|
-
|
|
21418
|
-
<ione-send-method-dialog
|
|
21419
|
-
[showDialog]="isDotsClicked"
|
|
21420
|
-
(printButtonClicked)="quickSend($event)"
|
|
21421
|
-
[transactionUUID]="transaction.transactionInfo.uuid"
|
|
21422
|
-
[headerTitle]="'Verzendmethode'"
|
|
21423
|
-
(emailLayoutClicked)="getEmailLayouts()"
|
|
21424
|
-
[emailLayouts]="emailLayouts"
|
|
21425
|
-
(printTemplatesClicked)="getPrintTemplates()"
|
|
21426
|
-
[printLayouts]="printTemplates"
|
|
21427
|
-
(printLayoutParams)="setSendParams($event)"
|
|
21428
|
-
[isDocSignEnabled]="true"
|
|
21429
|
-
(sendEmailClicked)="sendOrderConfirmationEmail()"
|
|
21430
|
-
></ione-send-method-dialog>
|
|
21431
|
-
`,
|
|
21432
|
-
encapsulation: ViewEncapsulation.None
|
|
21433
|
-
},] }
|
|
21434
|
-
];
|
|
21435
|
-
QuickSendButtonComponent.ctorParameters = () => [
|
|
21436
|
-
{ type: IconCacheService },
|
|
21437
|
-
{ type: SharedConnectorService },
|
|
21438
|
-
{ type: TransactionConnectorService }
|
|
21439
|
-
];
|
|
21440
|
-
QuickSendButtonComponent.propDecorators = {
|
|
21441
|
-
showClass: [{ type: HostBinding, args: ["class.co-quick-send-button",] }],
|
|
21442
|
-
transaction: [{ type: Input }]
|
|
21443
|
-
};
|
|
21444
|
-
|
|
21445
|
-
class QuickSendButtonModule {
|
|
21446
|
-
}
|
|
21447
|
-
QuickSendButtonModule.decorators = [
|
|
21448
|
-
{ type: NgModule, args: [{
|
|
21449
|
-
imports: [
|
|
21450
|
-
CommonModule,
|
|
21451
|
-
CoreModule,
|
|
21452
|
-
IconModule,
|
|
21453
|
-
SendMethodDialogModule,
|
|
21454
|
-
PipeModule
|
|
21455
|
-
],
|
|
21456
|
-
declarations: [
|
|
21457
|
-
QuickSendButtonComponent
|
|
21458
|
-
],
|
|
21459
|
-
exports: [
|
|
21460
|
-
QuickSendButtonComponent
|
|
21461
|
-
],
|
|
21462
|
-
},] }
|
|
21463
|
-
];
|
|
21464
|
-
|
|
21465
22008
|
class TransactionGoodsAllocationLineModule {
|
|
21466
22009
|
}
|
|
21467
22010
|
TransactionGoodsAllocationLineModule.decorators = [
|
|
@@ -21639,7 +22182,7 @@ TransactionSearchComponent.decorators = [
|
|
|
21639
22182
|
(closeButtonClick)="transactionSearchService.handleHideFilter()"
|
|
21640
22183
|
(resetFilterClick)="transactionSearchService.handleResetFilter()"></co-transaction-filter>
|
|
21641
22184
|
</div>
|
|
21642
|
-
<div class="transaction-search-result-wrapper co-
|
|
22185
|
+
<div class="transaction-search-result-wrapper co-small-toolbar"
|
|
21643
22186
|
[class.fullscreen]="transactionSearchService.fullscreen"
|
|
21644
22187
|
[class.sidebar]="!transactionSearchService.fullscreen"
|
|
21645
22188
|
[class.collapsed]="transactionSearchService.collapsed"
|
|
@@ -24236,5 +24779,5 @@ TransactionLineGridModule.decorators = [
|
|
|
24236
24779
|
* Generated bundle index. Do not edit.
|
|
24237
24780
|
*/
|
|
24238
24781
|
|
|
24239
|
-
export { CheckoutComponent, CheckoutModule, LoaderComponent, LoaderModule, RelationService, SearchViewMode, SearchbarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, ConfirmationDialogComponent as ɵba, DialogBaseComponent as ɵbb, IconCacheService as ɵbc, CharacteristicAnswerModule as ɵbd, CharacteristicAnswerComponent as ɵbe, WarehouseModule as ɵbf, WarehouseComponent as ɵbg, ImageDisplayComponent as ɵbh, IconComponent as ɵbi, CustomerGroupsComponent as ɵbj, StockStatusIndicatorComponent as ɵbk, LazyRenderMasterDirective as ɵbl, LazyRenderDirective as ɵbm, RelationAddressModule as ɵbn, RelationAddressComponent as ɵbo, RelationBaseComponent as ɵbp, RelationAddressSelectModule as ɵbq, RelationAddressTileModule as ɵbr, TileModule as ɵbs, TileComponent as ɵbt, RelationAddressTileComponent as ɵbu, RelationAddressSelectComponent as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionLineModule as ɵbz, DynamicComponentService as ɵc, TransactionLineComponent as ɵca, TransactionMappingService as ɵcb, TransactionArticleTextModule as ɵcc, TransactionLineImageAndDescriptionModule as ɵcd, TransactionLineDescriptionModule as ɵce, TransactionLineDescriptionComponent as ɵcf, TransactionLineBaseComponent as ɵcg, TransactionLineImageAndDescriptionComponent as ɵch, TransactionImageService as ɵci, TransactionArticleTextComponent as ɵcj, TransactionReceiveGoodsService as ɵck, DialogTransactionHeaderDiscountModule as ɵcl, TransactionHeaderDiscountPercentageModule as ɵcm, TransactionHeaderDiscountPercentageComponent as ɵcn, TransactionHeaderBaseComponent as ɵco, TransactionHeaderFilterPopupBaseComponent as ɵcp, TransactionHeaderDiscountAmountModule as ɵcq, TransactionHeaderDiscountAmountComponent as ɵcr, TransactionHeaderDiscountTransactionTotalModule as ɵcs, TransactionHeaderDiscountTransactionTotalComponent as ɵct, DialogTransactionHeaderDiscountComponent as ɵcu, DialogTransactionHeaderBaseComponent as ɵcv, AvatarModule as ɵcw, AvatarComponent as ɵcx, SharedService as ɵcy, SharedConnectorService as ɵcz, OptionsService as ɵd, DeliveryTypeTileModule as ɵda, DeliveryTypeTileComponent as ɵdb, PaymentModule as ɵdc, PaymentTileModule as ɵdd, PaymentTileComponent as ɵde, PaymentQrCodeModule as ɵdf, PaymentQrCodeComponent as ɵdg, DownPaymentModule as ɵdh, DownPaymentComponent as ɵdi, PaymentService as ɵdj, PaymentComponent as ɵdk, RelationTypeModule as ɵdl, RelationTypeComponent as ɵdm, RelationGeneralModule as ɵdn, RelationSuggestionsListModule as ɵdo, RelationSuggestionsListItemModule as ɵdp, RelationSuggestionsListItemComponent as ɵdq, RelationSuggestionsListComponent as ɵdr, RelationGeneralComponent as ɵds, RelationAddressesModule as ɵdt, RelationAddressesComponent as ɵdu, RelationContactDetailsModule as ɵdv, RelationContactDetailsComponent as ɵdw, RelationPreferencesModule as ɵdx, RelationPreferencesComponent as ɵdy, TransactionHeaderBlockModule as ɵdz, DictionaryService as ɵe, TransactionHeaderBlockComponent as ɵea, TransactionHeaderDeliveryDateModule as ɵeb, TransactionHeaderDeliveryDateComponent as ɵec, TransactionHeaderDeliveryOptionsModule as ɵed, TransactionHeaderDeliveryOptionsComponent as ɵee, TransactionHeaderRemarksModule as ɵef, TransactionHeaderRemarksComponent as ɵeg, TransactionHeaderReferenceModule as ɵeh, TransactionHeaderReferenceComponent as ɵei, TransactionHeaderRelationReferenceModule as ɵej, TransactionHeaderRelationReferenceComponent as ɵek, TransactionHeaderDeliveryMethodModule as ɵel, TransactionLineCheckboxModule as ɵem, TransactionLineCheckboxListComponent as ɵen, TransactionHeaderDeliveryMethodComponent as ɵeo, TransactionHeaderPreferredDeliveryDateModule as ɵep, TransactionHeaderPreferredDeliveryDateComponent as ɵeq, DialogTransactionHeaderDeliveryMethodModule as ɵer, DialogHeaderSearchModule as ɵes, DialogHeaderSearchComponent as ɵet, DialogTransactionHeaderDeliveryMethodComponent as ɵeu, TransactionHeaderPartialDeliveryModule as ɵev, TransactionHeaderPartialDeliveryComponent as ɵew, TransactionBaseComponent as ɵex, TransactionHeaderDownpaymentPercentageModule as ɵey, TransactionHeaderDownpaymentPercentageComponent as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDownpaymentAmountModule as ɵfa, TransactionHeaderDownpaymentAmountComponent as ɵfb, TransactionHeaderDefinitiveModule as ɵfc, TransactionHeaderDefinitiveComponent as ɵfd, TransactionHeaderBranchModule as ɵfe, TransactionHeaderBranchComponent as ɵff, TransactionHeaderAdministrativeRelationModule as ɵfg, TransactionHeaderAdministrativeRelationComponent as ɵfh, TransactionHeaderMarketingModule as ɵfi, TransactionHeaderMarketingComponent as ɵfj, CheckoutOverviewRelationEditComponent as ɵfk, CheckoutOverviewDeliveryEditComponent as ɵfl, CheckoutOverviewDeliveryAddressComponent as ɵfm, CheckoutOverviewPaymentComponent as ɵfn, CheckoutLoginComponent as ɵfo, TransactionFilterCategoriesModule as ɵfp, TransactionFilterCategoriesComponent as ɵfq, TransactionHeaderPaymentModule as ɵfr, TransactionHeaderPaymentComponent as ɵfs, TransactionLinesGridModule as ɵft, TransactionBaseGridModule as ɵfu, TransactionLineSidePanelModule as ɵfv, TransactionLineSidePanelDefaultModule as ɵfw, TransactionLinePriceListModule as ɵfx, TransactionLinePriceListComponent as ɵfy, TransactionFilterPopupBaseComponent as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLineVatModule as ɵga, TransactionLineVatComponent as ɵgb, TransactionLineQuantityModule as ɵgc, TransactionLineQuantityComponent as ɵgd, TransactionLineLineDiscountModule as ɵge, TransactionLineLineDiscountComponent as ɵgf, TransactionLineDeliveryMethodModule as ɵgg, TransactionLineDeliveryMethodComponent as ɵgh, TransactionLineDeliveryDateModule as ɵgi, TransactionLineDeliveryDateComponent as ɵgj, TransactionLineReferenceModule as ɵgk, TransactionLineReferenceComponent as ɵgl, TransactionLineCommissionCodeModule as ɵgm, TransactionLineCommissionCodeComponent as ɵgn, TransactionLineWarehouseModule as ɵgo, TransactionLineWarehouseComponent as ɵgp, TransactionLineDiscountAmountModule as ɵgq, TransactionLineDiscountAmountComponent as ɵgr, TransactionLineQuantumDiscountModule as ɵgs, TransactionLineQuantumDiscountComponent as ɵgt, TransactionLineSpecialDiscountModule as ɵgu, TransactionLineSpecialDiscountComponent as ɵgv, TransactionLineSupplierModule as ɵgw, TransactionLineSupplierComponent as ɵgx, TransactionLinePriceModule as ɵgy, TransactionLinePriceComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineSidePanelDefaultComponent as ɵha, TransactionReceivingGoodsHistoryModule as ɵhb, TransactionHistoryGridModule as ɵhc, TransactionHistoryGridStatusModule as ɵhd, TransactionHistoryGridStatusComponent as ɵhe, TransactionHistoryGridComponent as ɵhf, TransactionReceivingGoodsHistoryComponent as ɵhg, TransactionButtonBarModule as ɵhh, AnimatedCheckboxModule as ɵhi, AnimatedCheckboxComponent as ɵhj, TransactionButtonBarComponent as ɵhk, TransactionButtonBarButtonComponent as ɵhl, TransactionButtonBarButtonBaseComponent as ɵhm, TransactionSalesPurchaseButtonBarButtonComponent as ɵhn, TransactionLineSidePanelPurchaseModule as ɵho, DefaultOkCancelButtonsModule as ɵhp, DefaultOkCancelButtonsComponent as ɵhq, TransactionAvailableStockGridModule as ɵhr, TransactionAvailableStockGridComponent as ɵhs, TransactionSidePanelEditRequestDetailsModule as ɵht, TransactionLineWarehouseLocationButtonModule as ɵhu, TransactionLineWarehouseLocationButtonComponent as ɵhv, TransactionSidePanelEditRequestDetailsComponent as ɵhw, AllocationRequestComponent as ɵhx, ReceiveGoodsRequestComponent as ɵhy, ArticleService as ɵhz, BusinessObjectCacheManagerService as ɵi, TransactionLineSidePanelPurchaseComponent as ɵia, TransactionLineSidePanelSalesModule as ɵib, TransactionAllocateGoodsHistoryModule as ɵic, TransactionAllocateGoodsHistoryComponent as ɵid, TransactionLineSidePanelSalesComponent as ɵie, TransactionLineSidePanelComponent as ɵif, DynamicBaseComponent as ɵig, TransactionLineActionButtonsModule as ɵih, TransactionArticleTextOverviewModule as ɵii, TransactionArticleTextOverviewComponent as ɵij, TransactionLineActionButtonsComponent as ɵik, TransactionBaseGridComponent as ɵil, TransactionGridBaseComponent as ɵim, DialogTransactionLineCommissionCodeModule as ɵin, DialogTransactionLineCommissionCodeComponent as ɵio, DialogTransactionLineBaseComponent as ɵip, DialogTransactionLineWarehouseModule as ɵiq, DialogTransactionLineWarehouseComponent as ɵir, DialogTransactionLineWarehouseCcModule as ɵis, DialogTransactionLineWarehouseCcComponent as ɵit, DialogTransactionLineDeliveryMethodModule as ɵiu, DialogTransactionLineDeliveryMethodComponent as ɵiv, DialogTransactionLineVatModule as ɵiw, DialogTransactionLineVatComponent as ɵix, DialogTransactionLineDiscountModule as ɵiy, DialogTransactionLinePriceListModule as ɵiz, CacheField as ɵj, DialogTransactionLinePriceListComponent as ɵja, DialogTransactionLineDiscountComponent as ɵjb, TransactionLinesGridComponent as ɵjc, DiscountModule as ɵjd, DiscountComponent as ɵje, TransactionQuickAccessOverviewModule as ɵjf, DialogCatalogModule as ɵjg, DialogCatalogComponent as ɵjh, TransactionQuickAccessOverviewComponent as ɵji, TransactionQuickAccessOrderDeliveryModule as ɵjj, TransactionSendButtonDialogModule as ɵjk, TransactionSendButtonDialogComponent as ɵjl, TransactionQuickAccessOrderDeliveryComponent as ɵjm, TransactionOrderDeliveryService as ɵjn, TransactionQuickAccessOrderPurchaseModule as ɵjo, TransactionQuickAccessOrderPurchaseComponent as ɵjp, TransactionQuickAccessGoodsAllocationModule as ɵjq, TransactionQuickAccessGoodsAllocationComponent as ɵjr, TransactionAllocateGoodsService as ɵjs, TransactionOrderConfirmationGridModule as ɵjt, TransactionOrderConfirmationGridComponent as ɵju, TransactionReceivedGoodsGridModule as ɵjv, DialogTransactionLineWarehouseLocationModule as ɵjw, TransactionLineWarehouseLocationModule as ɵjx, TransactionLineWarehouseLocationComponent as ɵjy, DialogTransactionLineWarehouseLocationComponent as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionReceivedGoodsGridComponent as ɵka, ViewModeButtonsModule as ɵkb, ViewModeButtonsComponent as ɵkc, TransactionGridModule as ɵkd, TransactionGridComponent as ɵke, TransactionTileModule as ɵkf, TransactionTileComponent as ɵkg, TransactionOverviewLineModule as ɵkh, EditableLabelModule as ɵki, EditableLabelComponent as ɵkj, TransactionBaseLineModule as ɵkk, TransactionBaseLineComponent as ɵkl, TransactionLinesLineBaseComponent as ɵkm, TransactionLineCommissionButtonModule as ɵkn, TransactionLineCommissionButtonComponent as ɵko, TransactionLineWarehouseButtonModule as ɵkp, TransactionLineWarehouseButtonComponent as ɵkq, TransactionLineDeliveryButtonModule as ɵkr, TransactionLineDeliveryButtonComponent as ɵks, TransactionLineDeliveryDateButtonModule as ɵkt, TransactionLineDeliveryDateButtonComponent as ɵku, TransactionLineAmountModule as ɵkv, TransactionLineAmountComponent as ɵkw, TransactionOverviewLineComponent as ɵkx, TransactionOrderDeliveryLineModule as ɵky, TransactionOrderDeliveryLineComponent as ɵkz, ErrorService as ɵl, TransactionReceiveGoodsLineModule as ɵla, TransactionReceiveGoodsLineComponent as ɵlb, TransactionPurchaseLineModule as ɵlc, TransactionLineSupplierButtonModule as ɵld, DialogTransactionLineSupplierModule as ɵle, DialogTransactionLineSupplierComponent as ɵlf, TransactionLineSupplierButtonComponent as ɵlg, TransactionPurchaseLineComponent as ɵlh, QuickSendButtonModule as ɵli, QuickSendButtonComponent as ɵlj, TransactionGoodsAllocationLineModule as ɵlk, TransactionGoodsAllocationLineComponent as ɵll, TransactionSearchResultModule as ɵlm, TransactionSearchSalesOrderTileModule as ɵln, TransactionSearchSalesOrderTileComponent as ɵlo, TransactionSearchTileBaseComponent as ɵlp, TransactionSearchPurchaseOrderTileModule as ɵlq, TransactionSearchPurchaseOrderTileComponent as ɵlr, TransactionSearchSalesOrderGridModule as ɵls, TransactionSearchSalesOrderGridComponent as ɵlt, TransactionSearchGridBaseComponent as ɵlu, TransactionSearchPurchaseOrderGridModule as ɵlv, TransactionSearchPurchaseOrderGridComponent as ɵlw, TransactionSearchHeaderModule as ɵlx, TransactionSearchHeaderComponent as ɵly, TransactionSearchGridModule as ɵlz, SelectSingleCacheService as ɵm, TransactionSearchGridComponent as ɵma, TransactionSearchTileModule as ɵmb, TransactionSearchTileComponent as ɵmc, TransactionSearchResultComponent as ɵmd, TransactionSalesOrderFilterModule as ɵme, TransactionSalesOrderFilterContentOrderModule as ɵmf, TransactionFilterItemModule as ɵmg, TransactionFilterItemComponent as ɵmh, TransactionSalesOrderFilterContentOrderComponent as ɵmi, TransactionFilterContentBaseComponent as ɵmj, FilterRequestService as ɵmk, TransactionSalesOrderFilterContentLogisticsModule as ɵml, TransactionFilterHistoricStateModule as ɵmm, TransactionFilterHistoricStateComponent as ɵmn, TransactionSalesOrderFilterContentLogisticsComponent as ɵmo, TransactionSalesOrderFilterContentArticleModule as ɵmp, TransactionSalesOrderFilterContentArticleComponent as ɵmq, TransactionSalesOrderFilterComponent as ɵmr, TransactionFilterBaseComponent as ɵms, TransactionPurchaseOrderFilterModule as ɵmt, TransactionPurchaseOrderFilterContentOrderModule as ɵmu, TransactionPurchaseOrderFilterContentOrderComponent as ɵmv, TransactionPurchaseOrderFilterContentLogisticsModule as ɵmw, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵmx, TransactionPurchaseOrderFilterContentArticleModule as ɵmy, TransactionPurchaseOrderFilterContentArticleComponent as ɵmz, ArticleConnectorService as ɵn, TransactionPurchaseOrderFilterComponent as ɵna, TransactionFilterModule as ɵnb, TransactionFilterComponent as ɵnc, TransactionEventService as ɵo, RelationConnectorService as ɵp, CoreModule as ɵq, ConfirmationDialogModule as ɵr, PipeModule as ɵs, AppendPipe as ɵt, DeliveryTimePipe as ɵu, DateDurationPipe as ɵv, LocalizePipe as ɵw, CoCurrencyPipe as ɵx, SafeStylePipe as ɵy, SafeHtmlPipe as ɵz };
|
|
24782
|
+
export { CheckoutComponent, CheckoutModule, LoaderComponent, LoaderModule, RelationService, SearchViewMode, SearchbarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, ConfirmationDialogComponent as ɵba, DialogBaseComponent as ɵbb, IconCacheService as ɵbc, CharacteristicAnswerModule as ɵbd, CharacteristicAnswerComponent as ɵbe, WarehouseModule as ɵbf, WarehouseComponent as ɵbg, ImageDisplayComponent as ɵbh, IconComponent as ɵbi, CustomerGroupsComponent as ɵbj, StockStatusIndicatorComponent as ɵbk, LazyRenderMasterDirective as ɵbl, LazyRenderDirective as ɵbm, RelationAddressModule as ɵbn, RelationAddressComponent as ɵbo, RelationBaseComponent as ɵbp, RelationAddressSelectModule as ɵbq, RelationAddressTileModule as ɵbr, TileModule as ɵbs, TileComponent as ɵbt, RelationAddressTileComponent as ɵbu, RelationAddressSelectComponent as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionLineModule as ɵbz, DynamicComponentService as ɵc, TransactionLineComponent as ɵca, TransactionMappingService as ɵcb, TransactionArticleTextModule as ɵcc, TransactionLineImageAndDescriptionModule as ɵcd, TransactionLineDescriptionModule as ɵce, TransactionLineDescriptionComponent as ɵcf, TransactionLineBaseComponent as ɵcg, TransactionLineImageAndDescriptionComponent as ɵch, TransactionImageService as ɵci, TransactionArticleTextComponent as ɵcj, TransactionReceiveGoodsService as ɵck, DialogTransactionHeaderDiscountModule as ɵcl, TransactionHeaderDiscountPercentageModule as ɵcm, TransactionHeaderDiscountPercentageComponent as ɵcn, TransactionHeaderBaseComponent as ɵco, TransactionHeaderFilterPopupBaseComponent as ɵcp, TransactionHeaderDiscountAmountModule as ɵcq, TransactionHeaderDiscountAmountComponent as ɵcr, TransactionHeaderDiscountTransactionTotalModule as ɵcs, TransactionHeaderDiscountTransactionTotalComponent as ɵct, DialogTransactionHeaderDiscountComponent as ɵcu, DialogTransactionHeaderBaseComponent as ɵcv, AvatarModule as ɵcw, AvatarComponent as ɵcx, SharedService as ɵcy, SharedConnectorService as ɵcz, OptionsService as ɵd, DeliveryTypeTileModule as ɵda, DeliveryTypeTileComponent as ɵdb, PaymentModule as ɵdc, PaymentTileModule as ɵdd, PaymentTileComponent as ɵde, PaymentQrCodeModule as ɵdf, PaymentQrCodeComponent as ɵdg, DownPaymentModule as ɵdh, DownPaymentComponent as ɵdi, PaymentService as ɵdj, PaymentComponent as ɵdk, RelationTypeModule as ɵdl, RelationTypeComponent as ɵdm, RelationGeneralModule as ɵdn, RelationSuggestionsListModule as ɵdo, RelationSuggestionsListItemModule as ɵdp, RelationSuggestionsListItemComponent as ɵdq, RelationSuggestionsListComponent as ɵdr, RelationGeneralComponent as ɵds, RelationAddressesModule as ɵdt, RelationAddressesComponent as ɵdu, RelationContactDetailsModule as ɵdv, RelationContactDetailsComponent as ɵdw, RelationPreferencesModule as ɵdx, RelationPreferencesComponent as ɵdy, TransactionHeaderBlockModule as ɵdz, DictionaryService as ɵe, TransactionHeaderBlockComponent as ɵea, TransactionHeaderDeliveryDateModule as ɵeb, TransactionHeaderDeliveryDateComponent as ɵec, TransactionHeaderDeliveryOptionsModule as ɵed, TransactionHeaderDeliveryOptionsComponent as ɵee, TransactionHeaderRemarksModule as ɵef, TransactionHeaderRemarksComponent as ɵeg, TransactionHeaderReferenceModule as ɵeh, TransactionHeaderReferenceComponent as ɵei, TransactionHeaderRelationReferenceModule as ɵej, TransactionHeaderRelationReferenceComponent as ɵek, TransactionHeaderDeliveryMethodModule as ɵel, TransactionLineCheckboxModule as ɵem, TransactionLineCheckboxListComponent as ɵen, TransactionHeaderDeliveryMethodComponent as ɵeo, TransactionHeaderPreferredDeliveryDateModule as ɵep, TransactionHeaderPreferredDeliveryDateComponent as ɵeq, DialogTransactionHeaderDeliveryMethodModule as ɵer, DialogHeaderSearchModule as ɵes, DialogHeaderSearchComponent as ɵet, DialogTransactionHeaderDeliveryMethodComponent as ɵeu, TransactionHeaderPartialDeliveryModule as ɵev, TransactionHeaderPartialDeliveryComponent as ɵew, TransactionBaseComponent as ɵex, TransactionHeaderDownpaymentPercentageModule as ɵey, TransactionHeaderDownpaymentPercentageComponent as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDownpaymentAmountModule as ɵfa, TransactionHeaderDownpaymentAmountComponent as ɵfb, TransactionHeaderDefinitiveModule as ɵfc, TransactionHeaderDefinitiveComponent as ɵfd, TransactionHeaderBranchModule as ɵfe, TransactionHeaderBranchComponent as ɵff, TransactionHeaderAdministrativeRelationModule as ɵfg, TransactionHeaderAdministrativeRelationComponent as ɵfh, TransactionHeaderMarketingModule as ɵfi, TransactionHeaderMarketingComponent as ɵfj, CheckoutOverviewRelationEditComponent as ɵfk, CheckoutOverviewDeliveryEditComponent as ɵfl, CheckoutOverviewDeliveryAddressComponent as ɵfm, CheckoutOverviewPaymentComponent as ɵfn, CheckoutLoginComponent as ɵfo, TransactionFilterCategoriesModule as ɵfp, TransactionFilterCategoriesComponent as ɵfq, TransactionHeaderPaymentModule as ɵfr, TransactionHeaderPaymentComponent as ɵfs, TransactionLinesGridModule as ɵft, TransactionBaseGridModule as ɵfu, TransactionLineSidePanelModule as ɵfv, TransactionLineSidePanelDefaultModule as ɵfw, TransactionLinePriceListModule as ɵfx, TransactionLinePriceListComponent as ɵfy, TransactionFilterPopupBaseComponent as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLineVatModule as ɵga, TransactionLineVatComponent as ɵgb, TransactionLineQuantityModule as ɵgc, TransactionLineQuantityComponent as ɵgd, TransactionLineLineDiscountModule as ɵge, TransactionLineLineDiscountComponent as ɵgf, TransactionLineDeliveryMethodModule as ɵgg, TransactionLineDeliveryMethodComponent as ɵgh, TransactionLineDeliveryDateModule as ɵgi, TransactionLineDeliveryDateComponent as ɵgj, TransactionLineReferenceModule as ɵgk, TransactionLineReferenceComponent as ɵgl, TransactionLineCommissionCodeModule as ɵgm, TransactionLineCommissionCodeComponent as ɵgn, TransactionLineWarehouseModule as ɵgo, TransactionLineWarehouseComponent as ɵgp, TransactionLineDiscountAmountModule as ɵgq, TransactionLineDiscountAmountComponent as ɵgr, TransactionLineQuantumDiscountModule as ɵgs, TransactionLineQuantumDiscountComponent as ɵgt, TransactionLineSpecialDiscountModule as ɵgu, TransactionLineSpecialDiscountComponent as ɵgv, TransactionLineSupplierModule as ɵgw, TransactionLineSupplierComponent as ɵgx, TransactionLinePriceModule as ɵgy, TransactionLinePriceComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineSidePanelDefaultComponent as ɵha, TransactionReceivingGoodsHistoryModule as ɵhb, TransactionHistoryGridModule as ɵhc, TransactionHistoryGridStatusModule as ɵhd, TransactionHistoryGridStatusComponent as ɵhe, TransactionHistoryGridComponent as ɵhf, TransactionReceivingGoodsHistoryComponent as ɵhg, TransactionButtonBarModule as ɵhh, AnimatedCheckboxModule as ɵhi, AnimatedCheckboxComponent as ɵhj, TransactionButtonBarComponent as ɵhk, TransactionButtonBarButtonComponent as ɵhl, TransactionButtonBarButtonBaseComponent as ɵhm, TransactionSalesPurchaseButtonBarButtonComponent as ɵhn, TransactionLineSidePanelPurchaseModule as ɵho, DefaultOkCancelButtonsModule as ɵhp, DefaultOkCancelButtonsComponent as ɵhq, TransactionAvailableStockGridModule as ɵhr, TransactionAvailableStockGridComponent as ɵhs, TransactionSidePanelEditRequestDetailsModule as ɵht, TransactionLineWarehouseLocationButtonModule as ɵhu, TransactionLineWarehouseLocationButtonComponent as ɵhv, TransactionSidePanelEditRequestDetailsComponent as ɵhw, AllocationRequestComponent as ɵhx, ReceiveGoodsRequestComponent as ɵhy, ArticleService as ɵhz, BusinessObjectCacheManagerService as ɵi, TransactionLineSidePanelPurchaseComponent as ɵia, TransactionLineSidePanelSalesModule as ɵib, TransactionAllocateGoodsHistoryModule as ɵic, TransactionAllocateGoodsHistoryComponent as ɵid, TransactionLineSidePanelSalesComponent as ɵie, TransactionLineSidePanelComponent as ɵif, DynamicBaseComponent as ɵig, TransactionLineActionButtonsModule as ɵih, TransactionArticleTextOverviewModule as ɵii, TransactionArticleTextOverviewComponent as ɵij, TransactionLineActionButtonsComponent as ɵik, TransactionBaseGridComponent as ɵil, TransactionGridBaseComponent as ɵim, DialogTransactionLineCommissionCodeModule as ɵin, DialogTransactionLineCommissionCodeComponent as ɵio, DialogTransactionLineBaseComponent as ɵip, DialogTransactionLineWarehouseModule as ɵiq, DialogTransactionLineWarehouseComponent as ɵir, DialogTransactionLineWarehouseCcModule as ɵis, DialogTransactionLineWarehouseCcComponent as ɵit, DialogTransactionLineDeliveryMethodModule as ɵiu, DialogTransactionLineDeliveryMethodComponent as ɵiv, DialogTransactionLineVatModule as ɵiw, DialogTransactionLineVatComponent as ɵix, DialogTransactionLineDiscountModule as ɵiy, DialogTransactionLinePriceListModule as ɵiz, CacheField as ɵj, DialogTransactionLinePriceListComponent as ɵja, DialogTransactionLineDiscountComponent as ɵjb, TransactionLinesGridComponent as ɵjc, DiscountModule as ɵjd, DiscountComponent as ɵje, QuickSendButtonModule as ɵjf, QuickSendButtonComponent as ɵjg, TransactionQuickAccessOverviewModule as ɵjh, DialogCatalogModule as ɵji, DialogCatalogComponent as ɵjj, TransactionQuickAccessOverviewComponent as ɵjk, TransactionQuickAccessSendMethodBaseComponent as ɵjl, TransactionQuickAccessOrderDeliveryModule as ɵjm, TransactionQuickAccessOrderDeliveryComponent as ɵjn, TransactionOrderDeliveryService as ɵjo, TransactionQuickAccessOrderPurchaseModule as ɵjp, TransactionQuickAccessOrderPurchaseComponent as ɵjq, TransactionQuickAccessGoodsAllocationModule as ɵjr, TransactionQuickAccessGoodsAllocationComponent as ɵjs, TransactionAllocateGoodsService as ɵjt, TransactionQuickAccessPurchaseOrderOverviewModule as ɵju, TransactionQuickAccessPurchaseOrderOverviewComponent as ɵjv, TransactionOrderConfirmationGridModule as ɵjw, TransactionOrderConfirmationGridComponent as ɵjx, TransactionReceivedGoodsGridModule as ɵjy, DialogTransactionLineWarehouseLocationModule as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionLineWarehouseLocationModule as ɵka, TransactionLineWarehouseLocationComponent as ɵkb, DialogTransactionLineWarehouseLocationComponent as ɵkc, TransactionReceivedGoodsGridComponent as ɵkd, ViewModeButtonsModule as ɵke, ViewModeButtonsComponent as ɵkf, TransactionGridModule as ɵkg, TransactionGridComponent as ɵkh, TransactionTileModule as ɵki, TransactionTileComponent as ɵkj, TransactionOverviewLineModule as ɵkk, EditableLabelModule as ɵkl, EditableLabelComponent as ɵkm, TransactionBaseLineModule as ɵkn, TransactionBaseLineComponent as ɵko, TransactionLinesLineBaseComponent as ɵkp, TransactionLineCommissionButtonModule as ɵkq, TransactionLineCommissionButtonComponent as ɵkr, TransactionLineWarehouseButtonModule as ɵks, TransactionLineWarehouseButtonComponent as ɵkt, TransactionLineDeliveryButtonModule as ɵku, TransactionLineDeliveryButtonComponent as ɵkv, TransactionLineDeliveryDateButtonModule as ɵkw, TransactionLineDeliveryDateButtonComponent as ɵkx, TransactionLineAmountModule as ɵky, TransactionLineAmountComponent as ɵkz, ErrorService as ɵl, TransactionOverviewLineComponent as ɵla, TransactionOrderDeliveryLineModule as ɵlb, TransactionOrderDeliveryLineComponent as ɵlc, TransactionReceiveGoodsLineModule as ɵld, TransactionReceiveGoodsLineComponent as ɵle, TransactionPurchaseLineModule as ɵlf, TransactionLineSupplierButtonModule as ɵlg, DialogTransactionLineSupplierModule as ɵlh, DialogTransactionLineSupplierComponent as ɵli, TransactionLineSupplierButtonComponent as ɵlj, TransactionPurchaseLineComponent as ɵlk, TransactionGoodsAllocationLineModule as ɵll, TransactionGoodsAllocationLineComponent as ɵlm, TransactionSearchResultModule as ɵln, TransactionSearchSalesOrderTileModule as ɵlo, TransactionSearchSalesOrderTileComponent as ɵlp, TransactionSearchTileBaseComponent as ɵlq, TransactionSearchPurchaseOrderTileModule as ɵlr, TransactionSearchPurchaseOrderTileComponent as ɵls, TransactionSearchSalesOrderGridModule as ɵlt, TransactionSearchSalesOrderGridComponent as ɵlu, TransactionSearchGridBaseComponent as ɵlv, TransactionSearchPurchaseOrderGridModule as ɵlw, TransactionSearchPurchaseOrderGridComponent as ɵlx, TransactionSearchHeaderModule as ɵly, TransactionSearchHeaderComponent as ɵlz, SelectSingleCacheService as ɵm, TransactionSearchGridModule as ɵma, TransactionSearchGridComponent as ɵmb, TransactionSearchTileModule as ɵmc, TransactionSearchTileComponent as ɵmd, TransactionSearchResultComponent as ɵme, TransactionSalesOrderFilterModule as ɵmf, TransactionSalesOrderFilterContentOrderModule as ɵmg, TransactionFilterItemModule as ɵmh, TransactionFilterItemComponent as ɵmi, TransactionSalesOrderFilterContentOrderComponent as ɵmj, TransactionFilterContentBaseComponent as ɵmk, FilterRequestService as ɵml, TransactionSalesOrderFilterContentLogisticsModule as ɵmm, TransactionFilterHistoricStateModule as ɵmn, TransactionFilterHistoricStateComponent as ɵmo, TransactionSalesOrderFilterContentLogisticsComponent as ɵmp, TransactionSalesOrderFilterContentArticleModule as ɵmq, TransactionSalesOrderFilterContentArticleComponent as ɵmr, TransactionSalesOrderFilterComponent as ɵms, TransactionFilterBaseComponent as ɵmt, TransactionPurchaseOrderFilterModule as ɵmu, TransactionPurchaseOrderFilterContentOrderModule as ɵmv, TransactionPurchaseOrderFilterContentOrderComponent as ɵmw, TransactionPurchaseOrderFilterContentLogisticsModule as ɵmx, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵmy, TransactionPurchaseOrderFilterContentArticleModule as ɵmz, ArticleConnectorService as ɵn, TransactionPurchaseOrderFilterContentArticleComponent as ɵna, TransactionPurchaseOrderFilterComponent as ɵnb, TransactionFilterModule as ɵnc, TransactionFilterComponent as ɵnd, TransactionEventService as ɵo, RelationConnectorService as ɵp, CoreModule as ɵq, ConfirmationDialogModule as ɵr, PipeModule as ɵs, AppendPipe as ɵt, DeliveryTimePipe as ɵu, DateDurationPipe as ɵv, LocalizePipe as ɵw, CoCurrencyPipe as ɵx, SafeStylePipe as ɵy, SafeHtmlPipe as ɵz };
|
|
24240
24783
|
//# sourceMappingURL=colijnit-transaction.js.map
|