@colijnit/transaction 12.1.68 → 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 +1426 -572
- 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 +7 -5
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +4 -4
- package/esm2015/lib/component/transaction/transaction.component.js +2 -5
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +4 -16
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +2 -4
- 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-base-line/transaction-base-line.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-action-buttons/transaction-line-action-buttons.component.js +15 -8
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +2 -2
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +1 -4
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +2 -1
- 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 +97 -14
- package/esm2015/lib/service/transaction-mapping.service.js +3 -1
- package/esm2015/lib/service/transaction.service.js +143 -9
- package/fesm2015/colijnit-transaction.js +988 -454
- 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/shared/transaction-article-text/style/_theme.scss +0 -6
- package/lib/component/shared/transaction-article-text/transaction-article-text.component.d.ts +1 -0
- package/lib/component/transaction-confirmation-details/style/_layout.scss +0 -4
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +0 -2
- package/lib/component/transaction-confirmation-history/style/_layout.scss +0 -4
- 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-action-buttons/transaction-line-action-buttons.component.d.ts +2 -1
- 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-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +0 -1
- 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);
|
|
@@ -3909,9 +4155,7 @@ class TransactionConnectorService {
|
|
|
3909
4155
|
}
|
|
3910
4156
|
getTextTypes(languageCode) {
|
|
3911
4157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3912
|
-
return this.
|
|
3913
|
-
return this._adapterService.getTextTypes(languageCode);
|
|
3914
|
-
}).getValue('TextTypes', languageCode);
|
|
4158
|
+
return this._adapterService.getTextTypes(languageCode);
|
|
3915
4159
|
});
|
|
3916
4160
|
}
|
|
3917
4161
|
getStandardTexts(languageCode) {
|
|
@@ -4179,52 +4423,112 @@ class TransactionConnectorService {
|
|
|
4179
4423
|
return this._adapterService.lockPurchasePortalLines(transIdPurchase, lineId);
|
|
4180
4424
|
});
|
|
4181
4425
|
}
|
|
4182
|
-
generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers) {
|
|
4183
|
-
return this._adapterService.generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers);
|
|
4426
|
+
generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers) {
|
|
4427
|
+
return this._adapterService.generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers);
|
|
4428
|
+
}
|
|
4429
|
+
getDeliveryOrderStatus(transId, lineId) {
|
|
4430
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4431
|
+
return this._adapterService.getDeliveryOrderStatus(transId, lineId);
|
|
4432
|
+
});
|
|
4433
|
+
}
|
|
4434
|
+
getStockStickerTemplates(data) {
|
|
4435
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4436
|
+
return yield this._adapterService.getStockStickerTemplates(data);
|
|
4437
|
+
});
|
|
4438
|
+
}
|
|
4439
|
+
getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr) {
|
|
4440
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4441
|
+
return yield this._adapterService.getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr);
|
|
4442
|
+
});
|
|
4443
|
+
}
|
|
4444
|
+
allocateGoodsForSalesOrder(request) {
|
|
4445
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4446
|
+
return yield this._adapterService.allocateGoodsForSalesOrder(request);
|
|
4447
|
+
});
|
|
4448
|
+
}
|
|
4449
|
+
allocateGoodsForSalesOrderCorrection(request) {
|
|
4450
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4451
|
+
return yield this._adapterService.allocateGoodsForSalesOrderCorrection(request);
|
|
4452
|
+
});
|
|
4453
|
+
}
|
|
4454
|
+
getGoodsAllocationStatus(transId, lineNr) {
|
|
4455
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4456
|
+
return yield this._adapterService.getGoodsAllocationStatus(transId, lineNr);
|
|
4457
|
+
});
|
|
4458
|
+
}
|
|
4459
|
+
getGoodsAllocationStatusWithHistory(transId, lineNr) {
|
|
4460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4461
|
+
return yield this._adapterService.getGoodsAllocationStatusWithHistory(transId, lineNr);
|
|
4462
|
+
});
|
|
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
|
+
});
|
|
4184
4488
|
}
|
|
4185
|
-
|
|
4489
|
+
emailOrderConfirmation(request) {
|
|
4186
4490
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4187
|
-
return this._adapterService.
|
|
4491
|
+
return yield this._adapterService.emailOrderConfirmation(request);
|
|
4188
4492
|
});
|
|
4189
4493
|
}
|
|
4190
|
-
|
|
4494
|
+
pdfOrderConfirmation(request) {
|
|
4191
4495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4192
|
-
return yield this._adapterService.
|
|
4496
|
+
return yield this._adapterService.pdfOrderConfirmation(request);
|
|
4193
4497
|
});
|
|
4194
4498
|
}
|
|
4195
|
-
|
|
4499
|
+
printPurchaseOrder(request) {
|
|
4196
4500
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4197
|
-
return yield this._adapterService.
|
|
4501
|
+
return yield this._adapterService.printPurchaseOrder(request);
|
|
4198
4502
|
});
|
|
4199
4503
|
}
|
|
4200
|
-
|
|
4504
|
+
emailPurchaseOrder(request) {
|
|
4201
4505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4202
|
-
return yield this._adapterService.
|
|
4506
|
+
return yield this._adapterService.emailPurchaseOrder(request);
|
|
4203
4507
|
});
|
|
4204
4508
|
}
|
|
4205
|
-
|
|
4509
|
+
pdfPurchaseOrder(request) {
|
|
4206
4510
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4207
|
-
return yield this._adapterService.
|
|
4511
|
+
return yield this._adapterService.pdfPurchaseOrder(request);
|
|
4208
4512
|
});
|
|
4209
4513
|
}
|
|
4210
|
-
|
|
4514
|
+
getPurchaseOrderEmailLayouts(transactionUUID) {
|
|
4211
4515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4212
|
-
return yield this._adapterService.
|
|
4516
|
+
return yield this._adapterService.getPurchaseOrderEmailLayouts(transactionUUID);
|
|
4213
4517
|
});
|
|
4214
4518
|
}
|
|
4215
|
-
|
|
4519
|
+
getPurchaseOrderPrintLayouts(transactionUUID) {
|
|
4216
4520
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4217
|
-
return yield this._adapterService.
|
|
4521
|
+
return yield this._adapterService.getPurchaseOrderPrintLayouts(transactionUUID);
|
|
4218
4522
|
});
|
|
4219
4523
|
}
|
|
4220
|
-
|
|
4524
|
+
getPurchaseOrderDefaultSendMethod(relationId) {
|
|
4221
4525
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4222
|
-
return yield this._adapterService.
|
|
4526
|
+
return yield this._adapterService.getPurchaseOrderDefaultSendMethod(relationId);
|
|
4223
4527
|
});
|
|
4224
4528
|
}
|
|
4225
|
-
|
|
4529
|
+
generateAndSendPurchaseOrdersForSalesOrder(transactionId) {
|
|
4226
4530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4227
|
-
return yield this._adapterService.
|
|
4531
|
+
return yield this._adapterService.generateAndSendPurchaseOrdersForSalesOrder(transactionId);
|
|
4228
4532
|
});
|
|
4229
4533
|
}
|
|
4230
4534
|
}
|
|
@@ -4817,6 +5121,25 @@ PendingReasonService.ctorParameters = () => [
|
|
|
4817
5121
|
];
|
|
4818
5122
|
|
|
4819
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
|
+
}
|
|
4820
5143
|
pendingLineOperationStatus(lineOperationStatuses) {
|
|
4821
5144
|
const status = lineOperationStatuses.find(line => line.pendingReasonType !== PendingReasonType.NONE
|
|
4822
5145
|
&& line.pendingReasonType !== PendingReasonType.NON_CRITICAL_DISCONTINUATION);
|
|
@@ -5119,16 +5442,52 @@ class TransactionService extends PendingReasonService {
|
|
|
5119
5442
|
getArticleBoundTextLinesOfArticleLine(articleLineUuid) {
|
|
5120
5443
|
return this.connector.getArticleBoundTextLinesOfArticleLine(articleLineUuid);
|
|
5121
5444
|
}
|
|
5122
|
-
|
|
5445
|
+
createSalesOrder(request) {
|
|
5123
5446
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5124
|
-
return new Promise((resolve
|
|
5125
|
-
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) => {
|
|
5126
5489
|
this.rememberCurrentTransaction(response);
|
|
5127
5490
|
resolve(true);
|
|
5128
|
-
}, (error) => {
|
|
5129
|
-
reject(error);
|
|
5130
|
-
}).catch((reason) => {
|
|
5131
|
-
reject(false);
|
|
5132
5491
|
});
|
|
5133
5492
|
});
|
|
5134
5493
|
});
|
|
@@ -5469,6 +5828,76 @@ class TransactionService extends PendingReasonService {
|
|
|
5469
5828
|
return yield this.connector.getGoodsAllocationStatusWithHistory(transId, lineNr);
|
|
5470
5829
|
});
|
|
5471
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
|
+
}
|
|
5472
5901
|
// private _cleanRelationBeforeSave(): void {
|
|
5473
5902
|
// ArrayUtils.RemoveElementsByFilter(this.currentTransaction.transactionInfo.relation.contactOptions, ((item: ContactOption) => {
|
|
5474
5903
|
// return isNill(item.value);
|
|
@@ -5477,7 +5906,13 @@ class TransactionService extends PendingReasonService {
|
|
|
5477
5906
|
_checkAndCreateTransaction() {
|
|
5478
5907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5479
5908
|
if (!this.currentTransaction || !this.currentTransaction.transactionInfo || !this.currentTransaction.transactionInfo.transactionNr) {
|
|
5480
|
-
|
|
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 {
|
|
5481
5916
|
throwError("Failed to create transaction");
|
|
5482
5917
|
}
|
|
5483
5918
|
}
|
|
@@ -5662,7 +6097,6 @@ class CheckoutOverviewRelationEditComponent {
|
|
|
5662
6097
|
constructor(_formMaster, service) {
|
|
5663
6098
|
this._formMaster = _formMaster;
|
|
5664
6099
|
this.service = service;
|
|
5665
|
-
this.relationKind = RelationKind$1;
|
|
5666
6100
|
this.icons = Icon;
|
|
5667
6101
|
this.addressType = AddressType;
|
|
5668
6102
|
this.validSubmit = new EventEmitter();
|
|
@@ -6710,10 +7144,10 @@ WarehouseComponent.decorators = [
|
|
|
6710
7144
|
</div>
|
|
6711
7145
|
</co-dialog>
|
|
6712
7146
|
<ng-template #headerTemplate>
|
|
6713
|
-
<div class="co-
|
|
7147
|
+
<div class="co-dialog-header-title" [textContent]="'WAREHOUSE' | localize"></div>
|
|
6714
7148
|
</ng-template>
|
|
6715
7149
|
<ng-template #footerTemplate>
|
|
6716
|
-
<div class="co-
|
|
7150
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
6717
7151
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
6718
7152
|
</div>
|
|
6719
7153
|
</ng-template>
|
|
@@ -7739,7 +8173,7 @@ DialogTransactionHeaderDiscountComponent.decorators = [
|
|
|
7739
8173
|
selector: "co-dialog-transaction-header-discount",
|
|
7740
8174
|
template: `
|
|
7741
8175
|
<co-dialog [headerTemplate]="dialogHeader" (closeClick)="handleClose(buttonType.Ok)">
|
|
7742
|
-
<div class="transaction-discount-wrapper co-
|
|
8176
|
+
<div class="transaction-discount-wrapper co-small-toolbar">
|
|
7743
8177
|
<div class="two-column-grid">
|
|
7744
8178
|
<co-transaction-header-discount-percentage [transactionInfo]="transactionInfo" [transactionTotal]="transactionTotal"></co-transaction-header-discount-percentage>
|
|
7745
8179
|
<co-transaction-header-discount-amount [transactionInfo]="transactionInfo" [transactionTotal]="transactionTotal"></co-transaction-header-discount-amount>
|
|
@@ -7780,7 +8214,7 @@ DialogTransactionHeaderDiscountComponent.decorators = [
|
|
|
7780
8214
|
</div>
|
|
7781
8215
|
</co-dialog>
|
|
7782
8216
|
<ng-template #dialogHeader>
|
|
7783
|
-
<div class="co-
|
|
8217
|
+
<div class="co-dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
7784
8218
|
</ng-template>
|
|
7785
8219
|
`,
|
|
7786
8220
|
encapsulation: ViewEncapsulation.None
|
|
@@ -8388,6 +8822,7 @@ class TransactionArticleTextComponent {
|
|
|
8388
8822
|
this.transactionService = transactionService;
|
|
8389
8823
|
this.iconCacheService = iconCacheService;
|
|
8390
8824
|
this._dictionaryService = _dictionaryService;
|
|
8825
|
+
this.showArticleImageDescription = false;
|
|
8391
8826
|
this.closeClick = new EventEmitter();
|
|
8392
8827
|
this.cancelClick = new EventEmitter();
|
|
8393
8828
|
this.saveClick = new EventEmitter();
|
|
@@ -8458,9 +8893,10 @@ TransactionArticleTextComponent.decorators = [
|
|
|
8458
8893
|
template: `
|
|
8459
8894
|
<co-dialog (closeClick)="closeClick.emit($event)" [headerTemplate]="headerTemplate"
|
|
8460
8895
|
[footerTemplate]="footerTemplate">
|
|
8461
|
-
<div class="article-image-description-wrapper">
|
|
8896
|
+
<div *ngIf="showArticleImageDescription" class="article-image-description-wrapper">
|
|
8462
8897
|
<co-transaction-line-image-and-description
|
|
8463
8898
|
[line]="transactionLine"
|
|
8899
|
+
[preview]="true"
|
|
8464
8900
|
[popUpView]="true">
|
|
8465
8901
|
</co-transaction-line-image-and-description>
|
|
8466
8902
|
</div>
|
|
@@ -8502,12 +8938,11 @@ 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
|
-
<div class="button-wrapper">
|
|
8944
|
+
<div class="co-transaction-dialog-footer-button-wrapper">
|
|
8509
8945
|
<co-button [label]="'OK' | localize" (click)="onOkClick($event)"></co-button>
|
|
8510
|
-
<co-button [label]="'CANCEL' | localize " (click)="onCancelClick($event)"></co-button>
|
|
8511
8946
|
</div>
|
|
8512
8947
|
</ng-template>
|
|
8513
8948
|
`,
|
|
@@ -8532,6 +8967,7 @@ TransactionArticleTextComponent.propDecorators = {
|
|
|
8532
8967
|
articleRef: [{ type: Input }],
|
|
8533
8968
|
editText: [{ type: Input }],
|
|
8534
8969
|
articleLineNr: [{ type: Input }],
|
|
8970
|
+
showArticleImageDescription: [{ type: Input }],
|
|
8535
8971
|
closeClick: [{ type: Output }],
|
|
8536
8972
|
cancelClick: [{ type: Output }],
|
|
8537
8973
|
saveClick: [{ type: Output }],
|
|
@@ -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 = {
|
|
@@ -9854,15 +10437,22 @@ class TransactionLineActionButtonsComponent {
|
|
|
9854
10437
|
return this.transactionKind === TransactionKind.PurchaseOrder ||
|
|
9855
10438
|
this.transactionKind === TransactionKind.SalesOrder;
|
|
9856
10439
|
}
|
|
10440
|
+
onSaveTransactionArticleTextOverview(request) {
|
|
10441
|
+
this.saveTransactionArticleLineText(request);
|
|
10442
|
+
this.closeTransactionArticleTextOverview();
|
|
10443
|
+
}
|
|
9857
10444
|
saveTransactionArticleLineText(transactionAddTextLineRequest) {
|
|
9858
|
-
|
|
9859
|
-
this.
|
|
9860
|
-
|
|
10445
|
+
if (transactionAddTextLineRequest) {
|
|
10446
|
+
this._transactionService.addTextLine(transactionAddTextLineRequest.showOnDocuments, transactionAddTextLineRequest.text, 0, true, transactionAddTextLineRequest.refArticleLineNr).then(() => {
|
|
10447
|
+
this._hideArticleTextDialog();
|
|
10448
|
+
});
|
|
10449
|
+
}
|
|
10450
|
+
this._hideArticleTextDialog();
|
|
9861
10451
|
}
|
|
9862
10452
|
closeTransactionArticleText(event) {
|
|
9863
10453
|
this._hideArticleTextDialog();
|
|
9864
10454
|
}
|
|
9865
|
-
closeTransactionArticleTextOverview(
|
|
10455
|
+
closeTransactionArticleTextOverview() {
|
|
9866
10456
|
this._hideArticleTextOverviewDialog();
|
|
9867
10457
|
}
|
|
9868
10458
|
showArticleTextDialog() {
|
|
@@ -9924,9 +10514,9 @@ TransactionLineActionButtonsComponent.decorators = [
|
|
|
9924
10514
|
<co-transaction-article-text-overview *ngIf="showTransactionArticleTextOverview"
|
|
9925
10515
|
[header]="articleTextHeader | localize"
|
|
9926
10516
|
[transactionLine]="transactionLine"
|
|
9927
|
-
(saveClick)="
|
|
9928
|
-
(closeClick)="closeTransactionArticleTextOverview(
|
|
9929
|
-
(cancelClick)="closeTransactionArticleTextOverview(
|
|
10517
|
+
(saveClick)="onSaveTransactionArticleTextOverview($event)"
|
|
10518
|
+
(closeClick)="closeTransactionArticleTextOverview()"
|
|
10519
|
+
(cancelClick)="closeTransactionArticleTextOverview()"
|
|
9930
10520
|
></co-transaction-article-text-overview>
|
|
9931
10521
|
|
|
9932
10522
|
<co-transaction-article-text *ngIf="showTransactionArticleText"
|
|
@@ -10051,11 +10641,11 @@ TransactionOverviewLineComponent.decorators = [
|
|
|
10051
10641
|
<div class="column1">
|
|
10052
10642
|
<co-transaction-line-commission-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-commission-button>
|
|
10053
10643
|
<co-transaction-line-warehouse-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
|
|
10054
|
-
<co-transaction-line-
|
|
10644
|
+
<co-transaction-line-statusbar [transaction]="line" [transactionKind]="transactionKind"></co-transaction-line-statusbar>
|
|
10055
10645
|
</div>
|
|
10056
10646
|
<div class="column2">
|
|
10057
10647
|
<co-transaction-line-delivery-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-delivery-button>
|
|
10058
|
-
<co-transaction-line-
|
|
10648
|
+
<co-transaction-line-delivery-date-button [transactionLine]="line" class="two-column"></co-transaction-line-delivery-date-button>
|
|
10059
10649
|
</div>
|
|
10060
10650
|
</div>
|
|
10061
10651
|
<div class="transaction-line-section">
|
|
@@ -10283,7 +10873,9 @@ TransactionQuickAccessOrderDeliveryComponent.decorators = [
|
|
|
10283
10873
|
></co-input-checkbox>
|
|
10284
10874
|
</div>
|
|
10285
10875
|
<div class="send-button-wrapper" [class.hidden]="!allowDelivery">
|
|
10876
|
+
<!--
|
|
10286
10877
|
<co-transaction-send-button-dialog></co-transaction-send-button-dialog>
|
|
10878
|
+
-->
|
|
10287
10879
|
</div>
|
|
10288
10880
|
</div>
|
|
10289
10881
|
`,
|
|
@@ -10503,6 +11095,7 @@ class TransactionQuickAccessOrderPurchaseComponent extends TransactionBaseCompon
|
|
|
10503
11095
|
this.service = service;
|
|
10504
11096
|
this._transactionEventService = _transactionEventService;
|
|
10505
11097
|
this.icons = Icon;
|
|
11098
|
+
this.showLoader = false;
|
|
10506
11099
|
}
|
|
10507
11100
|
showClass() {
|
|
10508
11101
|
return true;
|
|
@@ -10510,8 +11103,11 @@ class TransactionQuickAccessOrderPurchaseComponent extends TransactionBaseCompon
|
|
|
10510
11103
|
handleSelectAllLines(value) {
|
|
10511
11104
|
this._transactionEventService.selectAllSalesOrderLinesForPurchase.next(value);
|
|
10512
11105
|
}
|
|
10513
|
-
|
|
10514
|
-
this.
|
|
11106
|
+
handleSend(event) {
|
|
11107
|
+
this.showLoader = true;
|
|
11108
|
+
this.service.generateAndSendPurchaseOrdersForSalesOrder(this.transactionInfo.id).then(() => {
|
|
11109
|
+
this.showLoader = false;
|
|
11110
|
+
});
|
|
10515
11111
|
}
|
|
10516
11112
|
}
|
|
10517
11113
|
TransactionQuickAccessOrderPurchaseComponent.decorators = [
|
|
@@ -10525,12 +11121,12 @@ TransactionQuickAccessOrderPurchaseComponent.decorators = [
|
|
|
10525
11121
|
(modelChange)="handleSelectAllLines($event)"
|
|
10526
11122
|
></co-input-checkbox>
|
|
10527
11123
|
</div>
|
|
10528
|
-
<
|
|
10529
|
-
|
|
10530
|
-
|
|
10531
|
-
|
|
10532
|
-
|
|
10533
|
-
|
|
11124
|
+
<co-quick-send-button
|
|
11125
|
+
[showSendMethodIcon]="false"
|
|
11126
|
+
[showSendMethodDialogIcon]="false"
|
|
11127
|
+
[showLoader]="showLoader"
|
|
11128
|
+
(sendIconClicked)="handleSend($event)"
|
|
11129
|
+
></co-quick-send-button>
|
|
10534
11130
|
</div>
|
|
10535
11131
|
`,
|
|
10536
11132
|
encapsulation: ViewEncapsulation.None
|
|
@@ -10800,34 +11396,107 @@ class TransactionQuickAccessGoodsAllocationComponent extends TransactionBaseComp
|
|
|
10800
11396
|
});
|
|
10801
11397
|
}
|
|
10802
11398
|
}
|
|
10803
|
-
TransactionQuickAccessGoodsAllocationComponent.decorators = [
|
|
11399
|
+
TransactionQuickAccessGoodsAllocationComponent.decorators = [
|
|
11400
|
+
{ type: Component, args: [{
|
|
11401
|
+
selector: "co-transaction-quick-access-goods-allocation",
|
|
11402
|
+
template: `
|
|
11403
|
+
<div class="quick-access-content-wrapper">
|
|
11404
|
+
<div class="select-all-wrapper">
|
|
11405
|
+
<co-input-checkbox
|
|
11406
|
+
[label]="'SELECT_ALL_LINES' | localize"
|
|
11407
|
+
(modelChange)="handleSelectAllLines($event)"
|
|
11408
|
+
></co-input-checkbox>
|
|
11409
|
+
</div>
|
|
11410
|
+
<div class="button-wrapper" (click)="handleCommitEvent()">
|
|
11411
|
+
<co-checkmark-overlay [successful]="resultSuccessful" [visible]="awaitingResult"></co-checkmark-overlay>
|
|
11412
|
+
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.GearSolid)" [class.hidden]="!iconVisible"></co-icon>
|
|
11413
|
+
</div>
|
|
11414
|
+
</div>
|
|
11415
|
+
`,
|
|
11416
|
+
encapsulation: ViewEncapsulation.None
|
|
11417
|
+
},] }
|
|
11418
|
+
];
|
|
11419
|
+
TransactionQuickAccessGoodsAllocationComponent.ctorParameters = () => [
|
|
11420
|
+
{ type: IconCacheService },
|
|
11421
|
+
{ type: TransactionService },
|
|
11422
|
+
{ type: TransactionEventService },
|
|
11423
|
+
{ type: TransactionAllocateGoodsService }
|
|
11424
|
+
];
|
|
11425
|
+
TransactionQuickAccessGoodsAllocationComponent.propDecorators = {
|
|
11426
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-goods-allocation",] }]
|
|
11427
|
+
};
|
|
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 = [
|
|
10804
11468
|
{ type: Component, args: [{
|
|
10805
|
-
selector: "co-transaction-quick-access-
|
|
11469
|
+
selector: "co-transaction-quick-access-purchase-order-overview",
|
|
10806
11470
|
template: `
|
|
10807
|
-
<
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
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
|
+
`,
|
|
10820
11492
|
encapsulation: ViewEncapsulation.None
|
|
10821
11493
|
},] }
|
|
10822
11494
|
];
|
|
10823
|
-
|
|
10824
|
-
{ type:
|
|
10825
|
-
{ type: TransactionService },
|
|
10826
|
-
{ type: TransactionEventService },
|
|
10827
|
-
{ type: TransactionAllocateGoodsService }
|
|
11495
|
+
TransactionQuickAccessPurchaseOrderOverviewComponent.ctorParameters = () => [
|
|
11496
|
+
{ type: TransactionService }
|
|
10828
11497
|
];
|
|
10829
|
-
|
|
10830
|
-
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-
|
|
11498
|
+
TransactionQuickAccessPurchaseOrderOverviewComponent.propDecorators = {
|
|
11499
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-purchase-order-overview",] }]
|
|
10831
11500
|
};
|
|
10832
11501
|
|
|
10833
11502
|
class TransactionMappingService {
|
|
@@ -10852,6 +11521,7 @@ class TransactionMappingService {
|
|
|
10852
11521
|
]],
|
|
10853
11522
|
]);
|
|
10854
11523
|
this._quickAccessComponent = new Map([
|
|
11524
|
+
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOverview }, TransactionQuickAccessPurchaseOrderOverviewComponent],
|
|
10855
11525
|
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation }, TransactionQuickAccessOrderConfirmationComponent],
|
|
10856
11526
|
[{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionQuickAccessReceivedGoodsComponent],
|
|
10857
11527
|
[{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionQuickAccessOverviewComponent],
|
|
@@ -11227,6 +11897,7 @@ TransactionLinesComponent.decorators = [
|
|
|
11227
11897
|
<co-button *ngIf="!preview && transactionLines.length === 0" class="add-text-button circle"
|
|
11228
11898
|
[iconData]="iconCacheService.getIcon(icons.TextSolid)"
|
|
11229
11899
|
(click)="handleTransactionArticleText($event)"></co-button>
|
|
11900
|
+
|
|
11230
11901
|
<co-transaction-article-text *ngIf="showTransactionArticleText"
|
|
11231
11902
|
[header]="'PRODUCT_DESCRIPTION_AND_TEXTS' | localize"
|
|
11232
11903
|
[transactionLine]="selectedArticleText"
|
|
@@ -12482,16 +13153,23 @@ class RelationGeneralComponent extends RelationBaseComponent {
|
|
|
12482
13153
|
this.hideSidebar();
|
|
12483
13154
|
return;
|
|
12484
13155
|
}
|
|
12485
|
-
const relationRequest =
|
|
12486
|
-
relationRequest.relationType = this.
|
|
13156
|
+
const relationRequest = new RelationRequest();
|
|
13157
|
+
relationRequest.relationType = this._service.getRelationKindFromTransactionKind();
|
|
12487
13158
|
if (firstName) {
|
|
12488
13159
|
relationRequest.firstName = firstName;
|
|
12489
13160
|
}
|
|
12490
13161
|
if (secondName) {
|
|
12491
13162
|
relationRequest.familyName = secondName;
|
|
12492
13163
|
}
|
|
12493
|
-
this.
|
|
12494
|
-
|
|
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
|
+
});
|
|
12495
13173
|
});
|
|
12496
13174
|
}
|
|
12497
13175
|
}
|
|
@@ -12789,10 +13467,10 @@ RelationAddressesComponent.decorators = [
|
|
|
12789
13467
|
></co-relation-address>
|
|
12790
13468
|
</co-form>
|
|
12791
13469
|
<ng-template #templateHeader>
|
|
12792
|
-
<div class="co-
|
|
13470
|
+
<div class="co-dialog-header-title" [textContent]="'NEW_ADDRESS' | localize"></div>
|
|
12793
13471
|
</ng-template>
|
|
12794
13472
|
<ng-template #templateFooter>
|
|
12795
|
-
<div class="co-
|
|
13473
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
12796
13474
|
<co-button [label]="'OK' | localize" (click)="submitForm()"></co-button>
|
|
12797
13475
|
</div>
|
|
12798
13476
|
</ng-template>
|
|
@@ -13080,7 +13758,7 @@ CheckoutOverviewPaymentComponent.decorators = [
|
|
|
13080
13758
|
</div>
|
|
13081
13759
|
<co-payment
|
|
13082
13760
|
[transactionUuid]="transaction.transactionInfo.uuid"
|
|
13083
|
-
[amount]="transaction.transactionInfo.toDownPayAmount"
|
|
13761
|
+
[amount]="transaction.transactionInfo.toDownPayAmount || transaction.transactionTotal.netAmount"
|
|
13084
13762
|
[currencyId]="transaction.transactionInfo.currencyId"
|
|
13085
13763
|
(payed)="handlePayed()"
|
|
13086
13764
|
></co-payment>
|
|
@@ -13176,7 +13854,7 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
13176
13854
|
</ng-template>
|
|
13177
13855
|
<co-dialog *ngIf="showDialog" [headerTemplate]="headerTemplate" (closeClick)="showDialog = false">
|
|
13178
13856
|
<ng-template #headerTemplate>
|
|
13179
|
-
<div class="co-
|
|
13857
|
+
<div class="co-dialog-header-title" [textContent]="'DELIVERY_INFORMATION' | localize"></div>
|
|
13180
13858
|
<co-transaction-header-block class="in-dialog"
|
|
13181
13859
|
[headerBlockTemplate]="headerBlock"
|
|
13182
13860
|
[firstBlockTemplate]="firstBlock"
|
|
@@ -13777,7 +14455,7 @@ TransactionLineCheckboxListComponent.decorators = [
|
|
|
13777
14455
|
{ type: Component, args: [{
|
|
13778
14456
|
selector: "co-transaction-line-checkbox-list",
|
|
13779
14457
|
template: `
|
|
13780
|
-
<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">
|
|
13781
14459
|
<div *cdkVirtualFor="let row of collection" #scrollingItem class="virtual-scroll-item" (click)="handleChecked($event, row)">
|
|
13782
14460
|
<div class="checkbox-wrapper">
|
|
13783
14461
|
<co-input-checkbox
|
|
@@ -13966,7 +14644,7 @@ DialogTransactionHeaderDeliveryMethodComponent.decorators = [
|
|
|
13966
14644
|
<co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
13967
14645
|
</ng-template>
|
|
13968
14646
|
<ng-template #footerTemplate>
|
|
13969
|
-
<div class="co-
|
|
14647
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
13970
14648
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
13971
14649
|
</div>
|
|
13972
14650
|
</ng-template>
|
|
@@ -14001,7 +14679,7 @@ DialogHeaderSearchComponent.decorators = [
|
|
|
14001
14679
|
selector: "co-dialog-header-search",
|
|
14002
14680
|
template: `
|
|
14003
14681
|
<div class="dialog-header-search-wrapper">
|
|
14004
|
-
<div class="co-
|
|
14682
|
+
<div class="co-dialog-header-title" [textContent]="title | localize"></div>
|
|
14005
14683
|
<co-input-search [placeholder]="searchPlaceholder | localize" [centerLabel]="true" (modelChange)="handleSearch($event)"></co-input-search>
|
|
14006
14684
|
</div>
|
|
14007
14685
|
`,
|
|
@@ -14103,7 +14781,7 @@ TransactionHeaderDeliveryOptionsComponent.decorators = [
|
|
|
14103
14781
|
selector: "co-transaction-header-delivery-options",
|
|
14104
14782
|
template: `
|
|
14105
14783
|
<co-input-listbox
|
|
14106
|
-
[customCssClass]="'co-
|
|
14784
|
+
[customCssClass]="'co-small-toolbar'"
|
|
14107
14785
|
[placeholder]="'DELIVERY_OPTIONS' | localize"
|
|
14108
14786
|
[readonly]="readonly"
|
|
14109
14787
|
[collection]="deliveryOptionsFromMethod"
|
|
@@ -15082,14 +15760,11 @@ TransactionComponent.decorators = [
|
|
|
15082
15760
|
|
|
15083
15761
|
<div class="transaction-lines-header">
|
|
15084
15762
|
<co-transaction-quick-access *ngIf="showQuickAccess" class="transaction-lines-header-item"
|
|
15763
|
+
[relation]="relation"
|
|
15085
15764
|
[transaction]="transaction"
|
|
15086
15765
|
[activeCategory]="activeCategory"
|
|
15087
15766
|
></co-transaction-quick-access>
|
|
15088
15767
|
|
|
15089
|
-
<co-quick-send-button class="quick-send-button" [transaction]="transaction">
|
|
15090
|
-
|
|
15091
|
-
</co-quick-send-button>
|
|
15092
|
-
|
|
15093
15768
|
<co-transaction-button-bar *ngIf="showButtonBar" class="transaction-lines-header-item"
|
|
15094
15769
|
[transactionType]="transaction.transactionInfo.transactionKind"
|
|
15095
15770
|
[selectedCategory]="activeCategory"
|
|
@@ -15223,24 +15898,17 @@ class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
|
15223
15898
|
this.categories = [this._dictionary.get('CLIENT_DATA'), this._dictionary.get('PRIVACY_PREFERENCES')];
|
|
15224
15899
|
this.relationType = RelationKind$1.Customer;
|
|
15225
15900
|
this.readonly = false;
|
|
15226
|
-
this._relation = new CustomerFullObject();
|
|
15227
15901
|
this._boFactory = new BusinessObjectFactory();
|
|
15228
15902
|
}
|
|
15229
|
-
set relation(value) {
|
|
15230
|
-
if (value) {
|
|
15231
|
-
this._relation = value;
|
|
15232
|
-
this.relationType = this._relation.relationType;
|
|
15233
|
-
if (this.relationType === RelationKind$1.Customer) {
|
|
15234
|
-
this.customerGroup = this.relation.customerGroup;
|
|
15235
|
-
}
|
|
15236
|
-
}
|
|
15237
|
-
}
|
|
15238
|
-
get relation() {
|
|
15239
|
-
return this._relation;
|
|
15240
|
-
}
|
|
15241
15903
|
showClass() {
|
|
15242
15904
|
return true;
|
|
15243
15905
|
}
|
|
15906
|
+
relationSet() {
|
|
15907
|
+
this.relationType = this.relation.relationType;
|
|
15908
|
+
if (this.relationType === RelationKind$1.Customer) {
|
|
15909
|
+
this.customerGroup = this.relation.customerGroup;
|
|
15910
|
+
}
|
|
15911
|
+
}
|
|
15244
15912
|
setIndexDeliveryAddress(nawNr) {
|
|
15245
15913
|
const address = this.relation.addresses.find(a => a.nawNr === nawNr);
|
|
15246
15914
|
if (address) {
|
|
@@ -15338,10 +16006,10 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
15338
16006
|
<div class="header-relation-email" [textContent]="relation.primaryEmail"></div>
|
|
15339
16007
|
<div class="header-relation-phone" [textContent]="relation.primaryPhoneOrMobileNumber"></div>
|
|
15340
16008
|
</ng-template>
|
|
15341
|
-
<co-dialog class="transaction-header-relation-dialog" [customCssClass]="'co-
|
|
16009
|
+
<co-dialog class="transaction-header-relation-dialog" [customCssClass]="'co-small-toolbar'" *ngIf="showDialog"
|
|
15342
16010
|
[headerTemplate]="dialogHeader" [footerTemplate]="dialogFooter" (closeClick)="showDialog = false">
|
|
15343
16011
|
<ng-template #dialogHeader>
|
|
15344
|
-
<div class="co-
|
|
16012
|
+
<div class="co-dialog-header-title" [textContent]="'CLIENT_INFORMATION' | localize"></div>
|
|
15345
16013
|
<co-transaction-header-block
|
|
15346
16014
|
[headerBlockTemplate]="headerBlock"
|
|
15347
16015
|
[firstBlockTemplate]="firstBlock"
|
|
@@ -15397,7 +16065,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
15397
16065
|
</div>
|
|
15398
16066
|
</co-form>
|
|
15399
16067
|
<ng-template #dialogFooter>
|
|
15400
|
-
<div class="co-
|
|
16068
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
15401
16069
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
15402
16070
|
</div>
|
|
15403
16071
|
</ng-template>
|
|
@@ -15428,7 +16096,6 @@ TransactionHeaderRelationComponent.propDecorators = {
|
|
|
15428
16096
|
navigationItems: [{ type: ViewChild, args: ['navigationItems', { read: ElementRef },] }],
|
|
15429
16097
|
mainItems: [{ type: ViewChild, args: ['mainItems', { read: ElementRef },] }],
|
|
15430
16098
|
preferenceItems: [{ type: ViewChild, args: ['preferenceItems', { read: ElementRef },] }],
|
|
15431
|
-
relation: [{ type: Input }],
|
|
15432
16099
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-relation",] }]
|
|
15433
16100
|
};
|
|
15434
16101
|
|
|
@@ -15683,7 +16350,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
15683
16350
|
</ng-template>
|
|
15684
16351
|
<co-dialog class="transaction-header-payment-dialog" [headerTemplate]="headerTemplate" *ngIf="showDialog" (closeClick)="showDialog = false">
|
|
15685
16352
|
<ng-template #headerTemplate>
|
|
15686
|
-
<div class="co-
|
|
16353
|
+
<div class="co-dialog-header-title" [textContent]="'PAYMENT_INFORMATION' | localize"></div>
|
|
15687
16354
|
<co-transaction-header-block
|
|
15688
16355
|
[headerBlockTemplate]="headerBlock"
|
|
15689
16356
|
[firstBlockTemplate]="firstBlock"
|
|
@@ -15698,7 +16365,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
15698
16365
|
<span [textContent]="'NOG_NIET_GEIMPLEMENTEERD'"></span>
|
|
15699
16366
|
</div>
|
|
15700
16367
|
</co-dialog>
|
|
15701
|
-
<co-dialog class="payment-dialog" [customCssClass]="'co-
|
|
16368
|
+
<co-dialog class="payment-dialog" [customCssClass]="'co-small-toolbar'" *ngIf="showPaymentDialog"
|
|
15702
16369
|
[modal]="true"
|
|
15703
16370
|
(closeClick)="showPaymentDialog = false"
|
|
15704
16371
|
>
|
|
@@ -17688,9 +18355,7 @@ class TransactionConfirmationHistoryComponent {
|
|
|
17688
18355
|
this.getPurchasePortalLine.filterObject = this.purchasePortalFilter;
|
|
17689
18356
|
this.transactionService.getPurchasePortalLines(this.getPurchasePortalLine).then((result) => {
|
|
17690
18357
|
this.transactionService.purchasePortalLine = result;
|
|
17691
|
-
this.transactionService.purchasePortalLine.
|
|
17692
|
-
this.filteredDocBatchArray = element.docBatchArray.filter(value => value.historical === 'G');
|
|
17693
|
-
});
|
|
18358
|
+
this.filteredDocBatchArray = this.transactionService.purchasePortalLine[0].docBatchArray.filter(value => value.historical === 'G');
|
|
17694
18359
|
});
|
|
17695
18360
|
});
|
|
17696
18361
|
}
|
|
@@ -17792,7 +18457,6 @@ class TransactionConfirmationDetailsComponent {
|
|
|
17792
18457
|
this.icons = Icon;
|
|
17793
18458
|
this.showAddOrder = false;
|
|
17794
18459
|
this.newDocBatchArray = new DocDeliveryBatch();
|
|
17795
|
-
this.isEditing = false;
|
|
17796
18460
|
this.docBatchSaved = new EventEmitter();
|
|
17797
18461
|
}
|
|
17798
18462
|
showClass() {
|
|
@@ -17804,14 +18468,11 @@ class TransactionConfirmationDetailsComponent {
|
|
|
17804
18468
|
handleOkClick() {
|
|
17805
18469
|
return __awaiter(this, void 0, void 0, function* () {
|
|
17806
18470
|
if (this.newDocBatchArray.docAmount && this.newDocBatchArray.confirmedPrice) {
|
|
18471
|
+
this.newDocBatchArray.docDateOrg = new Date();
|
|
17807
18472
|
this.newDocBatchArray.deleteLine = "F";
|
|
17808
18473
|
this.newDocBatchArray.historical = "G";
|
|
17809
|
-
|
|
17810
|
-
this.newDocBatchArray.docDateOrg = this.newDocBatchArray.docDate;
|
|
17811
|
-
this.transactionService.purchasePortalLine[0].docBatchArray.push(this.newDocBatchArray);
|
|
17812
|
-
}
|
|
18474
|
+
this.transactionService.purchasePortalLine[0].docBatchArray.push(this.newDocBatchArray);
|
|
17813
18475
|
this.transactionService.purchasePortalLine[0].docKind = "IB";
|
|
17814
|
-
console.log(this.transactionService.purchasePortalLine[0]);
|
|
17815
18476
|
yield this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine[0]);
|
|
17816
18477
|
this.docBatchSaved.emit(true);
|
|
17817
18478
|
this.newDocBatchArray = new DocDeliveryBatch();
|
|
@@ -17821,10 +18482,6 @@ class TransactionConfirmationDetailsComponent {
|
|
|
17821
18482
|
}
|
|
17822
18483
|
});
|
|
17823
18484
|
}
|
|
17824
|
-
handleCancelClick() {
|
|
17825
|
-
this.newDocBatchArray = new DocDeliveryBatch();
|
|
17826
|
-
this.isEditing = false;
|
|
17827
|
-
}
|
|
17828
18485
|
}
|
|
17829
18486
|
TransactionConfirmationDetailsComponent.decorators = [
|
|
17830
18487
|
{ type: Component, args: [{
|
|
@@ -17842,9 +18499,6 @@ TransactionConfirmationDetailsComponent.decorators = [
|
|
|
17842
18499
|
<span class="header-right-text" [textContent]="transactionLines.deliveryDate | date:'dd-MM-YYYY'"></span>
|
|
17843
18500
|
</div>
|
|
17844
18501
|
</div>
|
|
17845
|
-
<div class="header-inform-user" *ngIf="isEditing">
|
|
17846
|
-
<span class="" [textContent]="'EDITING_DATA_ROW' | localize"></span>
|
|
17847
|
-
</div>
|
|
17848
18502
|
<div *ngIf="showAddOrder" class="columns-wrapper">
|
|
17849
18503
|
<div class="details-column">
|
|
17850
18504
|
<co-input-text class="details-input"
|
|
@@ -17885,7 +18539,7 @@ TransactionConfirmationDetailsComponent.decorators = [
|
|
|
17885
18539
|
</co-form>
|
|
17886
18540
|
|
|
17887
18541
|
<div *ngIf="showAddOrder" class="save-cancel-wrapper">
|
|
17888
|
-
<co-default-ok-cancel-buttons (okClick)="handleOkClick()"
|
|
18542
|
+
<co-default-ok-cancel-buttons (okClick)="handleOkClick()"></co-default-ok-cancel-buttons>
|
|
17889
18543
|
</div>
|
|
17890
18544
|
</div>
|
|
17891
18545
|
`,
|
|
@@ -17904,7 +18558,6 @@ TransactionConfirmationDetailsComponent.propDecorators = {
|
|
|
17904
18558
|
transactionInfoNr: [{ type: Input }],
|
|
17905
18559
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-confirmation-details",] }],
|
|
17906
18560
|
newDocBatchArray: [{ type: Input }],
|
|
17907
|
-
isEditing: [{ type: Input }],
|
|
17908
18561
|
docBatchSaved: [{ type: Output }]
|
|
17909
18562
|
};
|
|
17910
18563
|
|
|
@@ -18001,7 +18654,6 @@ class TransactionLineSidePanelPurchaseComponent {
|
|
|
18001
18654
|
this.goodsReceiptStatus = new GoodsReceiptStatusWithHistory();
|
|
18002
18655
|
this.selectedLineDocBatchArray = new DocDeliveryBatch();
|
|
18003
18656
|
this.isDocBatchSaved = false;
|
|
18004
|
-
this.editingMode = false;
|
|
18005
18657
|
this._transactionInfo = new TransactionInfo();
|
|
18006
18658
|
}
|
|
18007
18659
|
set transactionInfo(value) {
|
|
@@ -18028,7 +18680,6 @@ class TransactionLineSidePanelPurchaseComponent {
|
|
|
18028
18680
|
}
|
|
18029
18681
|
fillInputOnClick(data) {
|
|
18030
18682
|
this.selectedLineDocBatchArray = data;
|
|
18031
|
-
this.editingMode = true;
|
|
18032
18683
|
}
|
|
18033
18684
|
docBatchSaved(data) {
|
|
18034
18685
|
this.isDocBatchSaved = data;
|
|
@@ -18044,7 +18695,6 @@ TransactionLineSidePanelPurchaseComponent.decorators = [
|
|
|
18044
18695
|
[transactionInfoNr]="transactionInfo.transactionNr"
|
|
18045
18696
|
[transactionLines]="transactionLine"
|
|
18046
18697
|
[newDocBatchArray]="selectedLineDocBatchArray"
|
|
18047
|
-
[isEditing]="editingMode"
|
|
18048
18698
|
(docBatchSaved)="docBatchSaved($event)"
|
|
18049
18699
|
></co-transaction-confirmation-details>
|
|
18050
18700
|
<co-transaction-confirmation-history
|
|
@@ -19030,11 +19680,10 @@ TransactionArticleTextOverviewComponent.decorators = [
|
|
|
19030
19680
|
</div>
|
|
19031
19681
|
</div>
|
|
19032
19682
|
</co-dialog>
|
|
19033
|
-
<ng-template #headerTemplate><span class="co-
|
|
19683
|
+
<ng-template #headerTemplate><span class="co-dialog-header-title" [textContent]="header"></span></ng-template>
|
|
19034
19684
|
<ng-template #footerTemplate>
|
|
19035
|
-
<div class="button-wrapper">
|
|
19685
|
+
<div class="co-transaction-dialog-footer-button-wrapper">
|
|
19036
19686
|
<co-button [label]="'OK' | localize" (click)="onOkClick($event)"></co-button>
|
|
19037
|
-
<co-button [label]="'CANCEL' | localize " (click)="onCancelClick($event)"></co-button>
|
|
19038
19687
|
</div>
|
|
19039
19688
|
</ng-template>
|
|
19040
19689
|
<co-transaction-article-text *ngIf="showTransactionArticleText"
|
|
@@ -19043,6 +19692,7 @@ TransactionArticleTextOverviewComponent.decorators = [
|
|
|
19043
19692
|
[articleRef]="editTransactionLine.articleNumber"
|
|
19044
19693
|
[transactionLine]="editTransactionLine"
|
|
19045
19694
|
[editText]="textToEdit"
|
|
19695
|
+
[showArticleImageDescription]="editTransactionLine.articleBound"
|
|
19046
19696
|
(saveClick)="saveTransactionArticleLineText($event)"
|
|
19047
19697
|
(closeClick)="closeTransactionArticleText($event)"
|
|
19048
19698
|
(cancelClick)="closeTransactionArticleText($event)"
|
|
@@ -19194,7 +19844,7 @@ DialogTransactionLineDeliveryMethodComponent.decorators = [
|
|
|
19194
19844
|
<co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
19195
19845
|
</ng-template>
|
|
19196
19846
|
<ng-template #footerTemplate>
|
|
19197
|
-
<div class="co-
|
|
19847
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
19198
19848
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
19199
19849
|
</div>
|
|
19200
19850
|
</ng-template>
|
|
@@ -19250,7 +19900,7 @@ DialogTransactionLineVatComponent.decorators = [
|
|
|
19250
19900
|
<co-dialog-header-search [title]="'VAT'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
19251
19901
|
</ng-template>
|
|
19252
19902
|
<ng-template #footerTemplate>
|
|
19253
|
-
<div class="co-
|
|
19903
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
19254
19904
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
19255
19905
|
</div>
|
|
19256
19906
|
</ng-template>
|
|
@@ -19318,7 +19968,7 @@ DialogTransactionLineDiscountComponent.decorators = [
|
|
|
19318
19968
|
selector: "co-dialog-transaction-line-discount",
|
|
19319
19969
|
template: `
|
|
19320
19970
|
<co-dialog [headerTemplate]="dialogHeader" (closeClick)="handleClose(buttonType.Ok)">
|
|
19321
|
-
<div class="transaction-line-discount-wrapper co-
|
|
19971
|
+
<div class="transaction-line-discount-wrapper co-small-toolbar">
|
|
19322
19972
|
<div class="two-column-grid">
|
|
19323
19973
|
<co-transaction-line-line-discount [transactionLine]="transactionLine"></co-transaction-line-line-discount>
|
|
19324
19974
|
<co-transaction-line-discount-amount [transactionLine]="transactionLine"></co-transaction-line-discount-amount>
|
|
@@ -19352,7 +20002,7 @@ DialogTransactionLineDiscountComponent.decorators = [
|
|
|
19352
20002
|
</div>
|
|
19353
20003
|
</co-dialog>
|
|
19354
20004
|
<ng-template #dialogHeader>
|
|
19355
|
-
<div class="co-
|
|
20005
|
+
<div class="co-dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
19356
20006
|
<div class="transaction-line-button full-width" (click)="openThePriceListDialog()">
|
|
19357
20007
|
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.priceListDescription"></span>
|
|
19358
20008
|
</div>
|
|
@@ -19395,7 +20045,7 @@ DialogTransactionLinePriceListComponent.decorators = [
|
|
|
19395
20045
|
<co-dialog-header-search [title]="'PRICE_LIST'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
19396
20046
|
</ng-template>
|
|
19397
20047
|
<ng-template #footerTemplate>
|
|
19398
|
-
<div class="co-
|
|
20048
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
19399
20049
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
19400
20050
|
</div>
|
|
19401
20051
|
</ng-template>
|
|
@@ -19603,7 +20253,7 @@ DiscountComponent.decorators = [
|
|
|
19603
20253
|
</co-form>
|
|
19604
20254
|
</co-dialog>
|
|
19605
20255
|
<ng-template #headerTemplate>
|
|
19606
|
-
<div class="co-
|
|
20256
|
+
<div class="co-dialog-header-title" [textContent]="discountHeader | localize"></div>
|
|
19607
20257
|
</ng-template>
|
|
19608
20258
|
<ng-template #footerTemplate>
|
|
19609
20259
|
<div fxLayout="row" fxLayoutGap="10px" fxLayoutAlign="end">
|
|
@@ -19667,11 +20317,21 @@ class TransactionQuickAccessComponent {
|
|
|
19667
20317
|
get activeCategory() {
|
|
19668
20318
|
return this._activeCategory;
|
|
19669
20319
|
}
|
|
20320
|
+
set relation(value) {
|
|
20321
|
+
this._relation = value;
|
|
20322
|
+
this._prepareContent();
|
|
20323
|
+
}
|
|
20324
|
+
get relation() {
|
|
20325
|
+
return this._relation;
|
|
20326
|
+
}
|
|
19670
20327
|
showClass() {
|
|
19671
20328
|
return true;
|
|
19672
20329
|
}
|
|
20330
|
+
ngOnInit() {
|
|
20331
|
+
this._prepareContent();
|
|
20332
|
+
}
|
|
19673
20333
|
_prepareContent() {
|
|
19674
|
-
if (!this.transactionType || !this._activeCategory || !this.quickAccessContainer) {
|
|
20334
|
+
if (!this.transactionType || !this._activeCategory || !this._relation || !this.quickAccessContainer) {
|
|
19675
20335
|
return;
|
|
19676
20336
|
}
|
|
19677
20337
|
const componentClass = this._mappingService.getQuickAccessComponent(this.transactionType, this.activeCategory);
|
|
@@ -19685,6 +20345,7 @@ class TransactionQuickAccessComponent {
|
|
|
19685
20345
|
.resolveComponentFactory(componentClass)
|
|
19686
20346
|
.create(this.injector);
|
|
19687
20347
|
this._componentRef.instance.transaction = this.transaction;
|
|
20348
|
+
this._componentRef.instance.relation = this.relation;
|
|
19688
20349
|
this.appRef.attachView(this._componentRef.hostView);
|
|
19689
20350
|
const domElem = this._componentRef.hostView
|
|
19690
20351
|
.rootNodes[0];
|
|
@@ -19714,9 +20375,77 @@ TransactionQuickAccessComponent.propDecorators = {
|
|
|
19714
20375
|
quickAccessContainer: [{ type: ViewChild, args: ['quickAccessContent', { read: ElementRef },] }],
|
|
19715
20376
|
transaction: [{ type: Input }],
|
|
19716
20377
|
activeCategory: [{ type: Input }],
|
|
20378
|
+
relation: [{ type: Input }],
|
|
19717
20379
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access",] }]
|
|
19718
20380
|
};
|
|
19719
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
|
+
|
|
19720
20449
|
class TransactionQuickAccessOrderConfirmationModule {
|
|
19721
20450
|
}
|
|
19722
20451
|
TransactionQuickAccessOrderConfirmationModule.decorators = [
|
|
@@ -19726,7 +20455,9 @@ TransactionQuickAccessOrderConfirmationModule.decorators = [
|
|
|
19726
20455
|
InputDatePickerModule,
|
|
19727
20456
|
InputTextModule,
|
|
19728
20457
|
InputCheckboxModule,
|
|
19729
|
-
PipeModule
|
|
20458
|
+
PipeModule,
|
|
20459
|
+
SendMethodDialogModule,
|
|
20460
|
+
QuickSendButtonModule
|
|
19730
20461
|
],
|
|
19731
20462
|
declarations: [
|
|
19732
20463
|
TransactionQuickAccessOrderConfirmationComponent
|
|
@@ -19829,7 +20560,9 @@ TransactionQuickAccessOverviewModule.decorators = [
|
|
|
19829
20560
|
InputSearchModule,
|
|
19830
20561
|
PipeModule,
|
|
19831
20562
|
DialogCatalogModule,
|
|
19832
|
-
IoneCatalogModule
|
|
20563
|
+
IoneCatalogModule,
|
|
20564
|
+
QuickSendButtonModule,
|
|
20565
|
+
SendMethodDialogModule
|
|
19833
20566
|
],
|
|
19834
20567
|
declarations: [
|
|
19835
20568
|
TransactionQuickAccessOverviewComponent
|
|
@@ -19840,96 +20573,6 @@ TransactionQuickAccessOverviewModule.decorators = [
|
|
|
19840
20573
|
},] }
|
|
19841
20574
|
];
|
|
19842
20575
|
|
|
19843
|
-
class TransactionSendButtonDialogComponent {
|
|
19844
|
-
constructor(iconService) {
|
|
19845
|
-
this.iconService = iconService;
|
|
19846
|
-
this.icons = Icon;
|
|
19847
|
-
this.label = 'SEND';
|
|
19848
|
-
this.showSendIcon = true;
|
|
19849
|
-
this.showHoverIcon = true;
|
|
19850
|
-
this.sendButtonClick = new EventEmitter();
|
|
19851
|
-
// @HostListener("mouseenter", ["$event"])
|
|
19852
|
-
// public mouseEnter(event: MouseEvent) {
|
|
19853
|
-
// this.showOpenDialogIcon = true;
|
|
19854
|
-
// }
|
|
19855
|
-
//
|
|
19856
|
-
// @HostListener("mouseleave", ["$event"])
|
|
19857
|
-
// public mouseLeave(event: MouseEvent) {
|
|
19858
|
-
// this.showOpenDialogIcon = false;
|
|
19859
|
-
// }
|
|
19860
|
-
this.showDialog = false;
|
|
19861
|
-
this.showOpenDialogIcon = false;
|
|
19862
|
-
}
|
|
19863
|
-
showClass() {
|
|
19864
|
-
return true;
|
|
19865
|
-
}
|
|
19866
|
-
openDialog() {
|
|
19867
|
-
this.showDialog = !this.showDialog;
|
|
19868
|
-
}
|
|
19869
|
-
}
|
|
19870
|
-
TransactionSendButtonDialogComponent.decorators = [
|
|
19871
|
-
{ type: Component, args: [{
|
|
19872
|
-
selector: "co-transaction-send-button-dialog",
|
|
19873
|
-
template: `
|
|
19874
|
-
<div class="transaction-send-button-content-wrapper" (mouseenter)="showOpenDialogIcon = true" (mouseleave)="showOpenDialogIcon = false">
|
|
19875
|
-
<div class="transaction-send-button-wrapper" (click)="sendButtonClick.emit($event)">
|
|
19876
|
-
<div class="transaction-send-button-icon-wrapper">
|
|
19877
|
-
<co-icon class="button-icon" [iconData]="iconService.getIcon(icons.ShareSolid)"></co-icon>
|
|
19878
|
-
<co-icon *ngIf="showSendIcon" class="button-icon send-type-icon" [iconData]="iconService.getIcon(icons.AtSolid)"></co-icon>
|
|
19879
|
-
</div>
|
|
19880
|
-
<span class="button-title" [textContent]="label | localize"></span>
|
|
19881
|
-
</div>
|
|
19882
|
-
<div class="transaction-send-button-hover-icon-wrapper" *ngIf="showHoverIcon">
|
|
19883
|
-
<co-icon *ngIf="showOpenDialogIcon" class="hover-icon" @showHideHoverIcon
|
|
19884
|
-
[iconData]="iconService.getIcon(icons.EllipsisVerticalSolid)" (click)="openDialog()">
|
|
19885
|
-
</co-icon>
|
|
19886
|
-
</div>
|
|
19887
|
-
</div>
|
|
19888
|
-
<ione-send-method-dialog
|
|
19889
|
-
[showDialog]="showDialog"
|
|
19890
|
-
></ione-send-method-dialog>
|
|
19891
|
-
`,
|
|
19892
|
-
animations: [
|
|
19893
|
-
trigger("showHideHoverIcon", [
|
|
19894
|
-
state("void", style({ width: 0, opacity: 0 })),
|
|
19895
|
-
state("*", style({ width: "*", opacity: 1 })),
|
|
19896
|
-
transition("void => *", animate("200ms ease-in-out")),
|
|
19897
|
-
transition("* => void", animate("200ms ease-out"))
|
|
19898
|
-
])
|
|
19899
|
-
],
|
|
19900
|
-
encapsulation: ViewEncapsulation.None
|
|
19901
|
-
},] }
|
|
19902
|
-
];
|
|
19903
|
-
TransactionSendButtonDialogComponent.ctorParameters = () => [
|
|
19904
|
-
{ type: IconCacheService }
|
|
19905
|
-
];
|
|
19906
|
-
TransactionSendButtonDialogComponent.propDecorators = {
|
|
19907
|
-
label: [{ type: Input }],
|
|
19908
|
-
showSendIcon: [{ type: Input }],
|
|
19909
|
-
showHoverIcon: [{ type: Input }],
|
|
19910
|
-
sendButtonClick: [{ type: Output }],
|
|
19911
|
-
showClass: [{ type: HostBinding, args: ["class.co-transaction-send-button-dialog",] }]
|
|
19912
|
-
};
|
|
19913
|
-
|
|
19914
|
-
class TransactionSendButtonDialogModule {
|
|
19915
|
-
}
|
|
19916
|
-
TransactionSendButtonDialogModule.decorators = [
|
|
19917
|
-
{ type: NgModule, args: [{
|
|
19918
|
-
imports: [
|
|
19919
|
-
CommonModule,
|
|
19920
|
-
IconModule,
|
|
19921
|
-
PipeModule,
|
|
19922
|
-
SendMethodDialogModule
|
|
19923
|
-
],
|
|
19924
|
-
declarations: [
|
|
19925
|
-
TransactionSendButtonDialogComponent
|
|
19926
|
-
],
|
|
19927
|
-
exports: [
|
|
19928
|
-
TransactionSendButtonDialogComponent
|
|
19929
|
-
]
|
|
19930
|
-
},] }
|
|
19931
|
-
];
|
|
19932
|
-
|
|
19933
20576
|
class TransactionQuickAccessOrderDeliveryModule {
|
|
19934
20577
|
}
|
|
19935
20578
|
TransactionQuickAccessOrderDeliveryModule.decorators = [
|
|
@@ -19940,8 +20583,7 @@ TransactionQuickAccessOrderDeliveryModule.decorators = [
|
|
|
19940
20583
|
IconModule,
|
|
19941
20584
|
PipeModule,
|
|
19942
20585
|
InputCheckboxModule,
|
|
19943
|
-
SendMethodDialogModule
|
|
19944
|
-
TransactionSendButtonDialogModule
|
|
20586
|
+
SendMethodDialogModule
|
|
19945
20587
|
],
|
|
19946
20588
|
declarations: [
|
|
19947
20589
|
TransactionQuickAccessOrderDeliveryComponent
|
|
@@ -19962,7 +20604,7 @@ TransactionQuickAccessOrderPurchaseModule.decorators = [
|
|
|
19962
20604
|
IconModule,
|
|
19963
20605
|
PipeModule,
|
|
19964
20606
|
SendMethodDialogModule,
|
|
19965
|
-
|
|
20607
|
+
QuickSendButtonModule
|
|
19966
20608
|
],
|
|
19967
20609
|
declarations: [
|
|
19968
20610
|
TransactionQuickAccessOrderPurchaseComponent
|
|
@@ -19993,6 +20635,24 @@ TransactionQuickAccessGoodsAllocationModule.decorators = [
|
|
|
19993
20635
|
},] }
|
|
19994
20636
|
];
|
|
19995
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
|
+
|
|
19996
20656
|
class TransactionQuickAccessModule {
|
|
19997
20657
|
}
|
|
19998
20658
|
TransactionQuickAccessModule.decorators = [
|
|
@@ -20009,7 +20669,8 @@ TransactionQuickAccessModule.decorators = [
|
|
|
20009
20669
|
TransactionQuickAccessOverviewModule,
|
|
20010
20670
|
TransactionQuickAccessOrderDeliveryModule,
|
|
20011
20671
|
TransactionQuickAccessOrderPurchaseModule,
|
|
20012
|
-
TransactionQuickAccessGoodsAllocationModule
|
|
20672
|
+
TransactionQuickAccessGoodsAllocationModule,
|
|
20673
|
+
TransactionQuickAccessPurchaseOrderOverviewModule
|
|
20013
20674
|
],
|
|
20014
20675
|
declarations: [
|
|
20015
20676
|
TransactionQuickAccessComponent
|
|
@@ -20744,7 +21405,7 @@ TransactionBaseLineComponent.decorators = [
|
|
|
20744
21405
|
<ng-content></ng-content>
|
|
20745
21406
|
<div *ngIf="!preview && actionButtons" class="transaction-line-buttons">
|
|
20746
21407
|
<co-transaction-line-action-buttons
|
|
20747
|
-
[showActionButtons]="selected"
|
|
21408
|
+
[showActionButtons]="selected || false"
|
|
20748
21409
|
[transactionLine]="line"
|
|
20749
21410
|
(waitingForUserAction)="waitingForUserAction.next($event)"
|
|
20750
21411
|
(sidePanelButtonClicked)="handleShowSidePanel($event)"
|
|
@@ -21260,7 +21921,7 @@ DialogTransactionLineSupplierComponent.decorators = [
|
|
|
21260
21921
|
<co-dialog-header-search [title]="'SUPPLIER'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
21261
21922
|
</ng-template>
|
|
21262
21923
|
<ng-template #footerTemplate>
|
|
21263
|
-
<div class="co-
|
|
21924
|
+
<div class="co-dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
21264
21925
|
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
21265
21926
|
</div>
|
|
21266
21927
|
</ng-template>
|
|
@@ -21344,133 +22005,6 @@ TransactionPurchaseLineModule.decorators = [
|
|
|
21344
22005
|
},] }
|
|
21345
22006
|
];
|
|
21346
22007
|
|
|
21347
|
-
class QuickSendButtonComponent {
|
|
21348
|
-
constructor(iconCacheService, _sharedConnectorService, _transactionConnectorService) {
|
|
21349
|
-
this.iconCacheService = iconCacheService;
|
|
21350
|
-
this._sharedConnectorService = _sharedConnectorService;
|
|
21351
|
-
this._transactionConnectorService = _transactionConnectorService;
|
|
21352
|
-
this.icons = Icon;
|
|
21353
|
-
this.isSendIconClicked = false;
|
|
21354
|
-
this.isDotsClicked = false;
|
|
21355
|
-
this.emailLayouts = [];
|
|
21356
|
-
}
|
|
21357
|
-
showClass() {
|
|
21358
|
-
return true;
|
|
21359
|
-
}
|
|
21360
|
-
sendIconClicked() {
|
|
21361
|
-
this.isSendIconClicked = true;
|
|
21362
|
-
}
|
|
21363
|
-
dotsClicked() {
|
|
21364
|
-
this.isDotsClicked = !this.isDotsClicked;
|
|
21365
|
-
}
|
|
21366
|
-
quickSend(data) {
|
|
21367
|
-
if (this.emailSelected) {
|
|
21368
|
-
const emailReport = new EmailOrderConfirmation();
|
|
21369
|
-
emailReport.transId = this.transaction.transactionInfo.transactionNr;
|
|
21370
|
-
this._sharedConnectorService.connector.emailReport(emailReport);
|
|
21371
|
-
}
|
|
21372
|
-
if (this.printSelected) {
|
|
21373
|
-
const printReport = new PrintOrderConfirmation();
|
|
21374
|
-
printReport.transId = this.transaction.transactionInfo.transactionNr;
|
|
21375
|
-
this._sharedConnectorService.connector.printReport(printReport);
|
|
21376
|
-
}
|
|
21377
|
-
if (this.pdfSelected) {
|
|
21378
|
-
const pdfReport = new PdfOrderConfirmation();
|
|
21379
|
-
pdfReport.transId = this.transaction.transactionInfo.transactionNr;
|
|
21380
|
-
this._sharedConnectorService.connector.pdfReport(pdfReport);
|
|
21381
|
-
}
|
|
21382
|
-
if (this.xmlSelected) {
|
|
21383
|
-
return;
|
|
21384
|
-
}
|
|
21385
|
-
}
|
|
21386
|
-
getEmailLayouts() {
|
|
21387
|
-
// this.getEmailAdresses();
|
|
21388
|
-
if (this.emailLayouts.length < 1) {
|
|
21389
|
-
this._transactionConnectorService.getPurchaseOrderEmailLayouts(this.transaction.transactionInfo.uuid).then(result => {
|
|
21390
|
-
this.emailLayouts = result;
|
|
21391
|
-
});
|
|
21392
|
-
}
|
|
21393
|
-
}
|
|
21394
|
-
setSendParams(data) {
|
|
21395
|
-
this.sendParams = data;
|
|
21396
|
-
}
|
|
21397
|
-
getPrintTemplates() {
|
|
21398
|
-
if (!this.printTemplates) {
|
|
21399
|
-
const data = new StockStickersPrintLayouts();
|
|
21400
|
-
this._transactionConnectorService.getStockStickerTemplates(data).then((templates) => {
|
|
21401
|
-
this.printTemplates = templates;
|
|
21402
|
-
});
|
|
21403
|
-
}
|
|
21404
|
-
}
|
|
21405
|
-
sendOrderConfirmationEmail() {
|
|
21406
|
-
let data = new EmailOrderConfirmation();
|
|
21407
|
-
data.toAddresses = "lars-vdv@colijn-it.nl";
|
|
21408
|
-
data.reportId = this.sendParams.reportId;
|
|
21409
|
-
this._transactionConnectorService.emailOrderConfirmation(data);
|
|
21410
|
-
}
|
|
21411
|
-
}
|
|
21412
|
-
QuickSendButtonComponent.decorators = [
|
|
21413
|
-
{ type: Component, args: [{
|
|
21414
|
-
selector: "co-quick-send-button",
|
|
21415
|
-
template: `
|
|
21416
|
-
<div class="icons-wrapper">
|
|
21417
|
-
<div class="icon-wrapper-flat-left" (click)="sendIconClicked()">
|
|
21418
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.ShareSolid)" class="icon-send"></co-icon>
|
|
21419
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.AtSolid)" class="icon-method"></co-icon>
|
|
21420
|
-
</div>
|
|
21421
|
-
<div class="icons-spacer"></div>
|
|
21422
|
-
<div class="icon-wrapper-flat-right" (click)="dotsClicked()">
|
|
21423
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.EllipsisVerticalSolid)"></co-icon>
|
|
21424
|
-
</div>
|
|
21425
|
-
</div>
|
|
21426
|
-
|
|
21427
|
-
<ione-send-method-dialog
|
|
21428
|
-
[showDialog]="isDotsClicked"
|
|
21429
|
-
(printButtonClicked)="quickSend($event)"
|
|
21430
|
-
[transactionUUID]="transaction.transactionInfo.uuid"
|
|
21431
|
-
[headerTitle]="'Verzendmethode'"
|
|
21432
|
-
(emailLayoutClicked)="getEmailLayouts()"
|
|
21433
|
-
[emailLayouts]="emailLayouts"
|
|
21434
|
-
(printTemplatesClicked)="getPrintTemplates()"
|
|
21435
|
-
[printLayouts]="printTemplates"
|
|
21436
|
-
(printLayoutParams)="setSendParams($event)"
|
|
21437
|
-
[isDocSignEnabled]="true"
|
|
21438
|
-
(sendEmailClicked)="sendOrderConfirmationEmail()"
|
|
21439
|
-
></ione-send-method-dialog>
|
|
21440
|
-
`,
|
|
21441
|
-
encapsulation: ViewEncapsulation.None
|
|
21442
|
-
},] }
|
|
21443
|
-
];
|
|
21444
|
-
QuickSendButtonComponent.ctorParameters = () => [
|
|
21445
|
-
{ type: IconCacheService },
|
|
21446
|
-
{ type: SharedConnectorService },
|
|
21447
|
-
{ type: TransactionConnectorService }
|
|
21448
|
-
];
|
|
21449
|
-
QuickSendButtonComponent.propDecorators = {
|
|
21450
|
-
showClass: [{ type: HostBinding, args: ["class.co-quick-send-button",] }],
|
|
21451
|
-
transaction: [{ type: Input }]
|
|
21452
|
-
};
|
|
21453
|
-
|
|
21454
|
-
class QuickSendButtonModule {
|
|
21455
|
-
}
|
|
21456
|
-
QuickSendButtonModule.decorators = [
|
|
21457
|
-
{ type: NgModule, args: [{
|
|
21458
|
-
imports: [
|
|
21459
|
-
CommonModule,
|
|
21460
|
-
CoreModule,
|
|
21461
|
-
IconModule,
|
|
21462
|
-
SendMethodDialogModule,
|
|
21463
|
-
PipeModule
|
|
21464
|
-
],
|
|
21465
|
-
declarations: [
|
|
21466
|
-
QuickSendButtonComponent
|
|
21467
|
-
],
|
|
21468
|
-
exports: [
|
|
21469
|
-
QuickSendButtonComponent
|
|
21470
|
-
],
|
|
21471
|
-
},] }
|
|
21472
|
-
];
|
|
21473
|
-
|
|
21474
22008
|
class TransactionGoodsAllocationLineModule {
|
|
21475
22009
|
}
|
|
21476
22010
|
TransactionGoodsAllocationLineModule.decorators = [
|
|
@@ -21648,7 +22182,7 @@ TransactionSearchComponent.decorators = [
|
|
|
21648
22182
|
(closeButtonClick)="transactionSearchService.handleHideFilter()"
|
|
21649
22183
|
(resetFilterClick)="transactionSearchService.handleResetFilter()"></co-transaction-filter>
|
|
21650
22184
|
</div>
|
|
21651
|
-
<div class="transaction-search-result-wrapper co-
|
|
22185
|
+
<div class="transaction-search-result-wrapper co-small-toolbar"
|
|
21652
22186
|
[class.fullscreen]="transactionSearchService.fullscreen"
|
|
21653
22187
|
[class.sidebar]="!transactionSearchService.fullscreen"
|
|
21654
22188
|
[class.collapsed]="transactionSearchService.collapsed"
|
|
@@ -24245,5 +24779,5 @@ TransactionLineGridModule.decorators = [
|
|
|
24245
24779
|
* Generated bundle index. Do not edit.
|
|
24246
24780
|
*/
|
|
24247
24781
|
|
|
24248
|
-
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 };
|
|
24249
24783
|
//# sourceMappingURL=colijnit-transaction.js.map
|