@colijnit/transaction 12.1.226 → 254.1.2
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 +2708 -656
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +308 -295
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +309 -296
- package/esm2015/lib/component/checkout/checkout.component.js +30 -1
- package/esm2015/lib/component/checkout-simple/checkout-simple-overview-delivery-edit/checkout-simple-overview-delivery-edit.component.js +213 -0
- package/esm2015/lib/component/checkout-simple/checkout-simple-overview-payment/checkout-simple-overview-payment.component.js +105 -0
- package/esm2015/lib/component/checkout-simple/checkout-simple-overview-relation-edit/checkout-simple-overview-relation-edit.component.js +256 -0
- package/esm2015/lib/component/checkout-simple/checkout-simple.component.js +186 -0
- package/esm2015/lib/component/checkout-simple/checkout-simple.module.js +88 -0
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +11 -4
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-direct-sell.component.js +160 -9
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +12 -10
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.module.js +5 -3
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +28 -20
- package/esm2015/lib/component/service-wizard-qa/question-answer-item/question-answer-item.component.js +72 -0
- package/esm2015/lib/component/service-wizard-qa/question-answer-item/question-answer-item.module.js +23 -0
- package/esm2015/lib/component/service-wizard-qa/service-wizard-qa.component.js +38 -0
- package/esm2015/lib/component/service-wizard-qa/service-wizard-qa.module.js +25 -0
- package/esm2015/lib/component/transaction-create-wizard/transaction-create-wizard.component.js +137 -0
- package/esm2015/lib/component/transaction-create-wizard/transaction-create-wizard.module.js +38 -0
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-create-service.component.js +134 -0
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.js +18 -11
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-service-fields.component.js +41 -0
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-service-wizard.component.js +40 -0
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.module.js +21 -5
- package/esm2015/lib/component/transaction-internal/transaction-internal.component.js +16 -2
- package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line-base.component.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line-base.component.js +1 -2
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons-popup.component.js +20 -9
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +10 -7
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +1 -1
- package/esm2015/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-article/transaction-cash-desk-filter-content-article.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-logistics/transaction-cash-desk-filter-content-logistics.component.js +3 -3
- package/esm2015/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-order/transaction-cash-desk-filter-content-order.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.js +3 -3
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.js +3 -3
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-article/transaction-sales-quotation-filter-content-article.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-logistics/transaction-sales-quotation-filter-content-logistics.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-order/transaction-sales-quotation-filter-content-order.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +1 -1
- package/esm2015/lib/component/transaction-service-overview/transaction-service-overview.component.js +32 -2
- package/esm2015/lib/component/transaction-service-overview/transaction-service-overview.module.js +4 -3
- package/esm2015/lib/service/dialog.service.js +4 -3
- package/esm2015/lib/service/pending-reason.service.js +4 -4
- package/esm2015/lib/service/transaction-base.service.js +7 -3
- package/esm2015/lib/service/transaction-connector-adapter.service.js +165 -1
- package/esm2015/lib/service/transaction-connector.service.js +69 -1
- package/esm2015/lib/service/transaction-create.service.js +67 -0
- package/esm2015/lib/service/transaction-creation.service.js +3 -2
- package/esm2015/lib/service/transaction-event.service.js +3 -1
- package/esm2015/lib/service/transaction-relation-connector.service.js +22 -1
- package/esm2015/lib/service/transaction-relation.service.js +7 -1
- package/esm2015/lib/service/transaction.service.js +136 -11
- package/esm2015/lib/transaction-version.js +3 -3
- package/esm2015/public_api.js +3 -1
- package/fesm2015/colijnit-transaction.js +2409 -388
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout.component.d.ts +9 -1
- package/lib/component/checkout-simple/checkout-simple-overview-delivery-edit/checkout-simple-overview-delivery-edit.component.d.ts +55 -0
- package/lib/component/checkout-simple/checkout-simple-overview-payment/checkout-simple-overview-payment.component.d.ts +22 -0
- package/lib/component/checkout-simple/checkout-simple-overview-relation-edit/checkout-simple-overview-relation-edit.component.d.ts +46 -0
- package/lib/component/checkout-simple/checkout-simple.component.d.ts +50 -0
- package/lib/component/checkout-simple/checkout-simple.module.d.ts +2 -0
- package/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.d.ts +1 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-direct-sell.component.d.ts +26 -3
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_layout.scss +107 -1
- package/lib/component/relation/relation-general/relation-general.component.d.ts +3 -1
- package/lib/component/service-wizard-qa/question-answer-item/question-answer-item.component.d.ts +19 -0
- package/lib/component/service-wizard-qa/question-answer-item/question-answer-item.module.d.ts +2 -0
- package/lib/component/service-wizard-qa/question-answer-item/style/_layout.scss +28 -0
- package/lib/component/service-wizard-qa/question-answer-item/style/_material-definition.scss +24 -0
- package/lib/component/service-wizard-qa/question-answer-item/style/_theme.scss +5 -0
- package/lib/component/service-wizard-qa/question-answer-item/style/material.scss +3 -0
- package/lib/component/service-wizard-qa/service-wizard-qa.component.d.ts +12 -0
- package/lib/component/service-wizard-qa/service-wizard-qa.module.d.ts +2 -0
- package/lib/component/transaction-create-wizard/transaction-create-wizard.component.d.ts +34 -0
- package/lib/component/transaction-create-wizard/transaction-create-wizard.module.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +32 -1
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-create-service.component.d.ts +30 -0
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.d.ts +3 -0
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-service-fields.component.d.ts +9 -0
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-service-wizard.component.d.ts +12 -0
- package/lib/component/transaction-internal/transaction-internal.component.d.ts +1 -0
- package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons-popup.component.d.ts +2 -0
- package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.d.ts +2 -2
- package/lib/component/transaction-service-overview/transaction-service-overview.component.d.ts +6 -0
- package/lib/service/dialog.service.d.ts +2 -1
- package/lib/service/transaction-base.service.d.ts +3 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +22 -0
- package/lib/service/transaction-connector.service.d.ts +22 -0
- package/lib/service/transaction-create.service.d.ts +7 -0
- package/lib/service/transaction-event.service.d.ts +5 -0
- package/lib/service/transaction-relation-connector.service.d.ts +1 -0
- package/lib/service/transaction-relation.service.d.ts +1 -0
- package/lib/service/transaction.service.d.ts +25 -1
- package/package.json +13 -12
- package/public_api.d.ts +2 -0
|
@@ -113,6 +113,7 @@ import { PlanOrderLine } from '@colijnit/transactionapi/build/model/plan-order-l
|
|
|
113
113
|
import { TransactionMarginInfo } from '@colijnit/transactionapi/build/model/transaction-margin-info.bo';
|
|
114
114
|
import { OutstandingAmountCustomer } from '@colijnit/transactionapi/build/model/outstanding-amount-customer.bo';
|
|
115
115
|
import { PaymentAnalysis } from '@colijnit/transactionapi/build/model/payment-analysis.bo';
|
|
116
|
+
import { SupplierArticleStockForecast } from '@colijnit/transactionapi/build/model/supplier-article-stock-forecast';
|
|
116
117
|
import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
|
|
117
118
|
import { RelationKind } from '@colijnit/relationapi/build/enum/relation-kind.enum';
|
|
118
119
|
import { BaseModuleScreenConfigService, BaseModuleService, FormMasterService, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, ListOfValuesModule, FormModule, ScreenConfigurationModule, InputRadioButtonModule, IconModule, InputTextComponent, TooltipDirectiveModule, CheckmarkOverlayModule, FilterViewmodel, FormComponent, InputSearchModule, CoreComponentsTranslationModule, ColorPickerModule, InputTextareaModule, ColumnAlign, SimpleGridColumnDirective, OverlayService, ColorSequenceService, ClickoutsideModule, OverlayModule, CalendarComponent, InputNumberPickerModule, InputDatePickerComponent, InputDatePickerModule, ObserveVisibilityModule, PriceDisplayPipeModule, Carousel3dModule, CarouselModule, FilterPipeModule, InputTextareaComponent, InputCheckboxComponent, PopupModule, ContentViewMode, CoDialogWizardModule, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, ViewModeButtonsModule, FilterItemModule, FilterItemMode, PaginationModule, PaginationBarModule, IconCollapseHandleModule, ImageModule as ImageModule$1, InputScannerModule } from '@colijnit/corecomponents_v12';
|
|
@@ -130,6 +131,8 @@ import { TransactionLineType } from '@colijnit/transactionapi/build/enum/transac
|
|
|
130
131
|
import { RelationStatus } from '@colijnit/articleapi/build/enum/relation-status.enum';
|
|
131
132
|
import * as i9 from '@colijnit/relation';
|
|
132
133
|
import { RelationService, RelationContactOptionsModule } from '@colijnit/relation';
|
|
134
|
+
import * as i10 from '@colijnit/sharedcomponents';
|
|
135
|
+
import { SharedService, sendMethodsWithIcon, CalendarView, StatusbarModule, SendMethodDialogModule, KeyPadModule, StockModule, DocsignModule, DatePlanningModule, FilesUploadModule, ActivityListModule, ComponentActivityListModule, SimpleTagsModule } from '@colijnit/sharedcomponents';
|
|
133
136
|
import { ReceiveGoodsForPurchaseOrderRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo';
|
|
134
137
|
import { AllocateGoodsForSalesOrderRequest } from '@colijnit/transactionapi/build/model/allocate-goods-for-sales-order-request';
|
|
135
138
|
import { CreateTransactionRequest } from '@colijnit/transactionapi/build/model/create-transaction-request';
|
|
@@ -142,6 +145,8 @@ import { GoodsPickedRequestLine } from '@colijnit/transactionapi/build/model/goo
|
|
|
142
145
|
import { ArticleFlatTreeDTO } from '@colijnit/articleapi/build/model/article-flat-tree.bo';
|
|
143
146
|
import { ChangeLineQuantitySelectedLineRequest } from '@colijnit/transactionapi/build/model/change-line-quantity-selected-line-request';
|
|
144
147
|
import { OrderConfirmationTransactionLink } from '@colijnit/transactionapi/build/model/order-confirmation-transaction-link.bo';
|
|
148
|
+
import { ChangeServiceHeaderReportMessageRequest } from '@colijnit/transactionapi/build/model/change-service-header-report-message-request';
|
|
149
|
+
import { CreateServiceOrderWithSourceTransactionLineRequest } from '@colijnit/transactionapi/build/model/create-service-order-with-source-transaction-line-request';
|
|
145
150
|
import { FlexModule } from '@angular/flex-layout';
|
|
146
151
|
import { AddressType } from '@colijnit/relationapi/build/enum/address-type.enum';
|
|
147
152
|
import { RelationKind as RelationKind$2 } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
@@ -158,7 +163,6 @@ import { GetPurchaseOrderConfirmation } from '@colijnit/transactionapi/build/mod
|
|
|
158
163
|
import { PurchaseOrderConfirmationLineDetails } from '@colijnit/transactionapi/build/model/purchase-order-confirmation-line-details';
|
|
159
164
|
import { PdfInvoiceRequest } from '@colijnit/transactionapi/build/model/pdf-invoice-request';
|
|
160
165
|
import { CommunicationType } from '@colijnit/relationapi/build/enum/communication-type.enum';
|
|
161
|
-
import { sendMethodsWithIcon, CalendarView, StatusbarModule, SendMethodDialogModule, KeyPadModule, StockModule, DocsignModule, DatePlanningModule, FilesUploadModule, ActivityListModule, SimpleTagsModule } from '@colijnit/sharedcomponents';
|
|
162
166
|
import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
|
|
163
167
|
import { LayoutCode } from '@colijnit/transactionapi/build/enum/layout-code.enum';
|
|
164
168
|
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
@@ -211,12 +215,13 @@ import { ChangeHeaderCashOnDeliveryAmountRequest } from '@colijnit/transactionap
|
|
|
211
215
|
import { ChangeHeaderScoringChanceRequest } from '@colijnit/transactionapi/build/model/change-header-scoring-chance-request';
|
|
212
216
|
import { ChangeHeaderRetailStadiumRequest } from '@colijnit/transactionapi/build/model/change-header-retail-stadium-request';
|
|
213
217
|
import { ChangeHeaderExpectedScoringDateRequest } from '@colijnit/transactionapi/build/model/change-header-expected-scoring-date-request';
|
|
214
|
-
import { OrderLineSetDTO } from '@colijnit/transactionapi/build/model/order-line-set-dto';
|
|
215
|
-
import { TransactionAddOrderLineSetTextLineRequest } from '@colijnit/transactionapi/build/model/transaction-add-order-line-set-text-line-request';
|
|
216
|
-
import { CalculateAmountToPayRequest } from '@colijnit/transactionapi/build/model/calculate-amount-to-pay-request';
|
|
217
218
|
import { ExternalCatalogStartupInfoRequest } from '@colijnit/articleapi/build/model/external-catalog-startup-info-request';
|
|
218
219
|
import { ExternalCatalogTypes } from '@colijnit/transactionapi/build/enum/external-catalog-types.enum';
|
|
219
220
|
import { ProductConnectorService, ProductConnectorAdapterService, ProductSettingsService, ProductEventService, IoneProductModule, ProductExternalSourceModule } from '@colijnit/product';
|
|
221
|
+
import { ServiceWizardQuestion } from '@colijnit/transactionapi/build/model/service-wizard-question';
|
|
222
|
+
import { OrderLineSetDTO } from '@colijnit/transactionapi/build/model/order-line-set-dto';
|
|
223
|
+
import { TransactionAddOrderLineSetTextLineRequest } from '@colijnit/transactionapi/build/model/transaction-add-order-line-set-text-line-request';
|
|
224
|
+
import { CalculateAmountToPayRequest } from '@colijnit/transactionapi/build/model/calculate-amount-to-pay-request';
|
|
220
225
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo';
|
|
221
226
|
import { PurchaseOrderLineReceiptCorrectionDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo';
|
|
222
227
|
import { RouterModule } from '@angular/router';
|
|
@@ -239,6 +244,9 @@ import { take } from 'rxjs/operators';
|
|
|
239
244
|
import { TagCategory } from '@colijnit/mainapi/build/enum/tab-category.enum';
|
|
240
245
|
import { CssUtils } from '@colijnit/mainapi/build/utils/css-utils';
|
|
241
246
|
import { CashDrawersRequest } from '@colijnit/transactionapi/build/model/cash-drawers-request';
|
|
247
|
+
import { CreateServiceOrderWithSourceGoodRequest } from '@colijnit/transactionapi/build/model/create-service-order-with-source-good-request';
|
|
248
|
+
import { CreateServiceOrderWithSLARequest } from '@colijnit/transactionapi/build/model/create-service-order-with-SLA-request';
|
|
249
|
+
import { CreateServiceOrderWithSourceOrderNrAndArticleDescriptionRequest } from '@colijnit/transactionapi/build/model/create-service-order-with-source-ordernr-and-article-description-request';
|
|
242
250
|
import { CoDocument as CoDocument$1 } from '@colijnit/sharedapi/build/model/co-document.bo';
|
|
243
251
|
|
|
244
252
|
// this file is dynamically created, do not change this
|
|
@@ -246,8 +254,8 @@ class Version {
|
|
|
246
254
|
constructor() {
|
|
247
255
|
this.name = "@colijnit/transaction";
|
|
248
256
|
this.description = "Colijn IT transaction package";
|
|
249
|
-
this.symVer = "
|
|
250
|
-
this.publishDate = "
|
|
257
|
+
this.symVer = "254.1.2";
|
|
258
|
+
this.publishDate = "17-6-2024 14:24:34";
|
|
251
259
|
}
|
|
252
260
|
}
|
|
253
261
|
|
|
@@ -1069,6 +1077,7 @@ class TransactionEventService {
|
|
|
1069
1077
|
this.addTransactionText = new Subject();
|
|
1070
1078
|
this.editTransactionText = new Subject();
|
|
1071
1079
|
this.openSidePanel = new Subject();
|
|
1080
|
+
this.createServiceButtonClicked = new Subject();
|
|
1072
1081
|
this.selectAllSalesOrderLinesForPurchase = new Subject();
|
|
1073
1082
|
this.selectAllSalesOrderLinesForDelivery = new Subject();
|
|
1074
1083
|
this.selectAllSalesOrderLinesForInvoice = new Subject();
|
|
@@ -1132,6 +1141,7 @@ class TransactionEventService {
|
|
|
1132
1141
|
this.posOrderPayed = new Subject();
|
|
1133
1142
|
this.showLoader = new Subject();
|
|
1134
1143
|
this.createdSalesOrderFromCashRegisterOrder = new Subject();
|
|
1144
|
+
this.requestCreateServiceOrderFromTransactionLine = new Subject();
|
|
1135
1145
|
this.blockScreen = new BehaviorSubject(false);
|
|
1136
1146
|
}
|
|
1137
1147
|
}
|
|
@@ -1640,6 +1650,27 @@ class TransactionRelationConnectorService {
|
|
|
1640
1650
|
}
|
|
1641
1651
|
});
|
|
1642
1652
|
}
|
|
1653
|
+
// public async getAvailableStockForSupplier(relationId: number): Promise<SupplierArticleStockForecastDTO> {
|
|
1654
|
+
// const result: DataServiceResponseData = await this.connector.getAvailableStockForSupplier(relationId);
|
|
1655
|
+
// if (result.validationResult && result.validationResult.success) {
|
|
1656
|
+
// return this._boFactory.makeWithRawBackendData(SupplierArticleStockForecastDTO, result.resultObjects) as unknown as SupplierArticleStockForecastDTO;
|
|
1657
|
+
// } else {
|
|
1658
|
+
// this._handleExceptionFromResponse(result);
|
|
1659
|
+
// return [];
|
|
1660
|
+
// }
|
|
1661
|
+
// }
|
|
1662
|
+
getDirectSellSuppliers() {
|
|
1663
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1664
|
+
const result = yield this.connector.getDirectSellSuppliers();
|
|
1665
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1666
|
+
return this._boFactory.makeBOArrayFromRawBackendDataArray(RelationListObject, result.resultObjects);
|
|
1667
|
+
}
|
|
1668
|
+
else {
|
|
1669
|
+
this._handleExceptionFromResponse(result);
|
|
1670
|
+
return [];
|
|
1671
|
+
}
|
|
1672
|
+
});
|
|
1673
|
+
}
|
|
1643
1674
|
getRelationNumber(relationId) {
|
|
1644
1675
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1645
1676
|
const result = yield this.connector.getRelationNumber(relationId);
|
|
@@ -2682,6 +2713,66 @@ class TransactionConnectorAdapterService {
|
|
|
2682
2713
|
});
|
|
2683
2714
|
});
|
|
2684
2715
|
}
|
|
2716
|
+
createServiceOrderWithSourceTransactionLine(request) {
|
|
2717
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2718
|
+
return new Promise((resolve, reject) => {
|
|
2719
|
+
return this.connector.createServiceOrderWithSourceTransactionLine(request).then((result) => {
|
|
2720
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2721
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2722
|
+
}
|
|
2723
|
+
else {
|
|
2724
|
+
this._handleExceptionFromResponse(result);
|
|
2725
|
+
reject(null);
|
|
2726
|
+
}
|
|
2727
|
+
});
|
|
2728
|
+
});
|
|
2729
|
+
});
|
|
2730
|
+
}
|
|
2731
|
+
createServiceOrderWithSourceGood(request) {
|
|
2732
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2733
|
+
return new Promise((resolve, reject) => {
|
|
2734
|
+
return this.connector.createServiceOrderWithSourceGood(request).then((result) => {
|
|
2735
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2736
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2737
|
+
}
|
|
2738
|
+
else {
|
|
2739
|
+
this._handleExceptionFromResponse(result);
|
|
2740
|
+
reject(null);
|
|
2741
|
+
}
|
|
2742
|
+
});
|
|
2743
|
+
});
|
|
2744
|
+
});
|
|
2745
|
+
}
|
|
2746
|
+
createServiceOrderWithSourceOrderNrAndArticleDescription(request) {
|
|
2747
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2748
|
+
return new Promise((resolve, reject) => {
|
|
2749
|
+
return this.connector.createServiceOrderWithSourceOrderNrAndArticleDescription(request).then((result) => {
|
|
2750
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2751
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2752
|
+
}
|
|
2753
|
+
else {
|
|
2754
|
+
this._handleExceptionFromResponse(result);
|
|
2755
|
+
reject(null);
|
|
2756
|
+
}
|
|
2757
|
+
});
|
|
2758
|
+
});
|
|
2759
|
+
});
|
|
2760
|
+
}
|
|
2761
|
+
createServiceOrderWithSLA(request) {
|
|
2762
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2763
|
+
return new Promise((resolve, reject) => {
|
|
2764
|
+
return this.connector.createServiceOrderWithSLA(request).then((result) => {
|
|
2765
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2766
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2767
|
+
}
|
|
2768
|
+
else {
|
|
2769
|
+
this._handleExceptionFromResponse(result);
|
|
2770
|
+
reject(null);
|
|
2771
|
+
}
|
|
2772
|
+
});
|
|
2773
|
+
});
|
|
2774
|
+
});
|
|
2775
|
+
}
|
|
2685
2776
|
createSalesQuotation(request) {
|
|
2686
2777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2687
2778
|
return new Promise((resolve, reject) => {
|
|
@@ -3729,6 +3820,18 @@ class TransactionConnectorAdapterService {
|
|
|
3729
3820
|
}
|
|
3730
3821
|
});
|
|
3731
3822
|
}
|
|
3823
|
+
changeServiceHeaderReportMessage(request) {
|
|
3824
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3825
|
+
const response = yield this.connector.changeServiceHeaderReportMessage(request);
|
|
3826
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
3827
|
+
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
3828
|
+
}
|
|
3829
|
+
else {
|
|
3830
|
+
this._handleExceptionFromResponse(response);
|
|
3831
|
+
return null;
|
|
3832
|
+
}
|
|
3833
|
+
});
|
|
3834
|
+
}
|
|
3732
3835
|
changeTransactionLineCollectionCode(uuid, lineUuid, code) {
|
|
3733
3836
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3734
3837
|
const request = {
|
|
@@ -4064,6 +4167,30 @@ class TransactionConnectorAdapterService {
|
|
|
4064
4167
|
}
|
|
4065
4168
|
});
|
|
4066
4169
|
}
|
|
4170
|
+
getAvailableStockForSupplier(goodId, supplierRelationId) {
|
|
4171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4172
|
+
const response = yield this.connector.getAvailableStockForSupplier(goodId, supplierRelationId);
|
|
4173
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
4174
|
+
return this._boFactory.makeWithRawBackendData(SupplierArticleStockForecast, response.resultObject);
|
|
4175
|
+
}
|
|
4176
|
+
else {
|
|
4177
|
+
this._handleExceptionFromResponse(response);
|
|
4178
|
+
return null;
|
|
4179
|
+
}
|
|
4180
|
+
});
|
|
4181
|
+
}
|
|
4182
|
+
changeLineDirectSell(request) {
|
|
4183
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4184
|
+
const response = yield this.connector.changeLineDirectSell(request);
|
|
4185
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
4186
|
+
return response.resultObject;
|
|
4187
|
+
}
|
|
4188
|
+
else {
|
|
4189
|
+
this._handleExceptionFromResponse(response);
|
|
4190
|
+
return null;
|
|
4191
|
+
}
|
|
4192
|
+
});
|
|
4193
|
+
}
|
|
4067
4194
|
allocateGoodsForSalesOrder(request) {
|
|
4068
4195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4069
4196
|
const response = yield this.connector.allocateGoodsForSalesOrder(request);
|
|
@@ -5047,6 +5174,19 @@ class TransactionConnectorAdapterService {
|
|
|
5047
5174
|
}
|
|
5048
5175
|
});
|
|
5049
5176
|
}
|
|
5177
|
+
getServiceWizard() {
|
|
5178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5179
|
+
const response = yield this.connector.getServiceWizard();
|
|
5180
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
5181
|
+
// return <ServiceWizard><unknown>this._boFactory.makeWithRawBackendData(ServiceWizard, response.resultObjects);
|
|
5182
|
+
return response.resultObject;
|
|
5183
|
+
}
|
|
5184
|
+
else {
|
|
5185
|
+
this._handleExceptionFromResponse(response);
|
|
5186
|
+
return null;
|
|
5187
|
+
}
|
|
5188
|
+
});
|
|
5189
|
+
}
|
|
5050
5190
|
addOrderLineSet(request) {
|
|
5051
5191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5052
5192
|
const response = yield this.connector.addOrderLineSet(request);
|
|
@@ -5421,6 +5561,33 @@ class TransactionConnectorAdapterService {
|
|
|
5421
5561
|
});
|
|
5422
5562
|
});
|
|
5423
5563
|
}
|
|
5564
|
+
insertActivity(activity) {
|
|
5565
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5566
|
+
return new Promise((resolve, reject) => {
|
|
5567
|
+
return this.mainConnector.insertActivity(activity).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
5568
|
+
resolve(result.validationResult);
|
|
5569
|
+
}));
|
|
5570
|
+
});
|
|
5571
|
+
});
|
|
5572
|
+
}
|
|
5573
|
+
updateActivity(activity) {
|
|
5574
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5575
|
+
return new Promise((resolve, reject) => {
|
|
5576
|
+
return this.mainConnector.updateActivity(activity).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
5577
|
+
resolve(result.validationResult);
|
|
5578
|
+
}));
|
|
5579
|
+
});
|
|
5580
|
+
});
|
|
5581
|
+
}
|
|
5582
|
+
deleteActivity(activity) {
|
|
5583
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5584
|
+
return new Promise((resolve, reject) => {
|
|
5585
|
+
return this.mainConnector.deleteActivity(activity).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
5586
|
+
resolve(result.validationResult);
|
|
5587
|
+
}));
|
|
5588
|
+
});
|
|
5589
|
+
});
|
|
5590
|
+
}
|
|
5424
5591
|
getComponentActivitiesWithoutRelationFiltering(transactionId) {
|
|
5425
5592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5426
5593
|
const activeActivities = yield this.mainConnector.getComponentActivitiesWithoutRelationFiltering(TableName.Transactions, transactionId.toString());
|
|
@@ -5445,6 +5612,33 @@ class TransactionConnectorAdapterService {
|
|
|
5445
5612
|
}
|
|
5446
5613
|
});
|
|
5447
5614
|
}
|
|
5615
|
+
fireTrigger(workFlowProcessId, sequence, triggerId) {
|
|
5616
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5617
|
+
return new Promise((resolve, reject) => {
|
|
5618
|
+
return this.mainConnector.fireTrigger(workFlowProcessId, sequence, triggerId).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
5619
|
+
resolve(result.validationResult);
|
|
5620
|
+
}));
|
|
5621
|
+
});
|
|
5622
|
+
});
|
|
5623
|
+
}
|
|
5624
|
+
fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
|
|
5625
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5626
|
+
return new Promise((resolve, reject) => {
|
|
5627
|
+
return this.mainConnector.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
5628
|
+
resolve(result.validationResult);
|
|
5629
|
+
}));
|
|
5630
|
+
});
|
|
5631
|
+
});
|
|
5632
|
+
}
|
|
5633
|
+
lockTask(id) {
|
|
5634
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5635
|
+
return new Promise((resolve, reject) => {
|
|
5636
|
+
return this.mainConnector.lockTask(id).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
5637
|
+
resolve(result.validationResult);
|
|
5638
|
+
}));
|
|
5639
|
+
});
|
|
5640
|
+
});
|
|
5641
|
+
}
|
|
5448
5642
|
getPlanningSources() {
|
|
5449
5643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5450
5644
|
const response = yield this.connector.getPlanningSources();
|
|
@@ -5798,6 +5992,26 @@ class TransactionConnectorService {
|
|
|
5798
5992
|
return this._adapterService.createServiceOrder(request);
|
|
5799
5993
|
});
|
|
5800
5994
|
}
|
|
5995
|
+
createServiceOrderWithSourceTransactionLine(request) {
|
|
5996
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5997
|
+
return this._adapterService.createServiceOrderWithSourceTransactionLine(request);
|
|
5998
|
+
});
|
|
5999
|
+
}
|
|
6000
|
+
createServiceOrderWithSourceGood(request) {
|
|
6001
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6002
|
+
return this._adapterService.createServiceOrderWithSourceGood(request);
|
|
6003
|
+
});
|
|
6004
|
+
}
|
|
6005
|
+
createServiceOrderWithSourceOrderNrAndArticleDescription(request) {
|
|
6006
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6007
|
+
return this._adapterService.createServiceOrderWithSourceOrderNrAndArticleDescription(request);
|
|
6008
|
+
});
|
|
6009
|
+
}
|
|
6010
|
+
createServiceOrderWithSLA(request) {
|
|
6011
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6012
|
+
return this._adapterService.createServiceOrderWithSLA(request);
|
|
6013
|
+
});
|
|
6014
|
+
}
|
|
5801
6015
|
createSalesQuotation(request) {
|
|
5802
6016
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5803
6017
|
return this._adapterService.createSalesQuotation(request);
|
|
@@ -6316,6 +6530,11 @@ class TransactionConnectorService {
|
|
|
6316
6530
|
return this._adapterService.changeHeaderUseDepositRule(uuid, newUseDepositRule);
|
|
6317
6531
|
});
|
|
6318
6532
|
}
|
|
6533
|
+
changeServiceHeaderReportMessage(request) {
|
|
6534
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6535
|
+
return this._adapterService.changeServiceHeaderReportMessage(request);
|
|
6536
|
+
});
|
|
6537
|
+
}
|
|
6319
6538
|
createIonePaymentLinkAndQRCode(uuid, amount, paymentMethodCode) {
|
|
6320
6539
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6321
6540
|
return this._adapterService.createIonePaymentLinkAndQRCode(uuid, amount, paymentMethodCode);
|
|
@@ -6389,6 +6608,14 @@ class TransactionConnectorService {
|
|
|
6389
6608
|
return yield this._adapterService.getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr);
|
|
6390
6609
|
});
|
|
6391
6610
|
}
|
|
6611
|
+
getAvailableStockForSupplier(goodId, supplierRelationId) {
|
|
6612
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6613
|
+
return yield this._adapterService.getAvailableStockForSupplier(goodId, supplierRelationId);
|
|
6614
|
+
});
|
|
6615
|
+
}
|
|
6616
|
+
changeLineDirectSell(request) {
|
|
6617
|
+
return this._adapterService.changeLineDirectSell(request);
|
|
6618
|
+
}
|
|
6392
6619
|
allocateGoodsForSalesOrder(request) {
|
|
6393
6620
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6394
6621
|
return yield this._adapterService.allocateGoodsForSalesOrder(request);
|
|
@@ -6764,6 +6991,11 @@ class TransactionConnectorService {
|
|
|
6764
6991
|
return yield this._adapterService.getOrderLineSetCategories();
|
|
6765
6992
|
});
|
|
6766
6993
|
}
|
|
6994
|
+
getServiceWizard() {
|
|
6995
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6996
|
+
return yield this._adapterService.getServiceWizard();
|
|
6997
|
+
});
|
|
6998
|
+
}
|
|
6767
6999
|
addOrderLineSet(request) {
|
|
6768
7000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6769
7001
|
return yield this._adapterService.addOrderLineSet(request);
|
|
@@ -6913,6 +7145,16 @@ class TransactionConnectorService {
|
|
|
6913
7145
|
return yield this._adapterService.deleteDocument(documentId);
|
|
6914
7146
|
});
|
|
6915
7147
|
}
|
|
7148
|
+
insertActivity(activity) {
|
|
7149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7150
|
+
return yield this._adapterService.insertActivity(activity);
|
|
7151
|
+
});
|
|
7152
|
+
}
|
|
7153
|
+
updateActivity(activity) {
|
|
7154
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7155
|
+
return yield this._adapterService.updateActivity(activity);
|
|
7156
|
+
});
|
|
7157
|
+
}
|
|
6916
7158
|
getComponentActivitiesWithoutRelationFiltering(transactionId) {
|
|
6917
7159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6918
7160
|
return yield this._adapterService.getComponentActivitiesWithoutRelationFiltering(transactionId);
|
|
@@ -6948,6 +7190,26 @@ class TransactionConnectorService {
|
|
|
6948
7190
|
return yield this._adapterService.undoDeliveryByReportId(reportId);
|
|
6949
7191
|
});
|
|
6950
7192
|
}
|
|
7193
|
+
fireTrigger(workFlowProcessId, sequence, triggerId) {
|
|
7194
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7195
|
+
return yield this._adapterService.fireTrigger(workFlowProcessId, sequence, triggerId);
|
|
7196
|
+
});
|
|
7197
|
+
}
|
|
7198
|
+
fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
|
|
7199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7200
|
+
return yield this._adapterService.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId);
|
|
7201
|
+
});
|
|
7202
|
+
}
|
|
7203
|
+
lockTask(id) {
|
|
7204
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7205
|
+
return yield this._adapterService.lockTask(id);
|
|
7206
|
+
});
|
|
7207
|
+
}
|
|
7208
|
+
deleteActivity(activity) {
|
|
7209
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7210
|
+
return yield this._adapterService.deleteActivity(activity);
|
|
7211
|
+
});
|
|
7212
|
+
}
|
|
6951
7213
|
getDefaultEmailAddressListForPurchaseOrder(uuid) {
|
|
6952
7214
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6953
7215
|
return yield this._adapterService.getDefaultEmailAddressListForPurchaseOrder(uuid);
|
|
@@ -7729,7 +7991,7 @@ class DialogTransactionLineWarehouseCcComponent extends DialogTransactionBaseCom
|
|
|
7729
7991
|
}
|
|
7730
7992
|
ngOnInit() {
|
|
7731
7993
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7732
|
-
this.showDirectSell =
|
|
7994
|
+
// this.showDirectSell = await this.transactionService.getInternalParameter(InternalParam.SellDirectlyFromSuppl);
|
|
7733
7995
|
});
|
|
7734
7996
|
}
|
|
7735
7997
|
showDirectSellModal(value) {
|
|
@@ -7772,7 +8034,7 @@ DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
|
7772
8034
|
[headerTemplate]="dialogHeader"
|
|
7773
8035
|
[footerTemplate]="footerTemplate"
|
|
7774
8036
|
(closeClick)="handleCloseDialog($event, buttonType.Cancel)">
|
|
7775
|
-
<div class="transaction-line-warehouse-cc-section">
|
|
8037
|
+
<div class="transaction-line-warehouse-cc-section flex">
|
|
7776
8038
|
<co-input-number-picker
|
|
7777
8039
|
class="quantity-number-picker"
|
|
7778
8040
|
[(model)]="quantity" [min]="1"
|
|
@@ -7780,12 +8042,12 @@ DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
|
7780
8042
|
[leftIconData]="iconCacheService.getIcon(icons.CartShoppingRegular)"
|
|
7781
8043
|
(modelChange)="handleQuantityChange($event)">
|
|
7782
8044
|
</co-input-number-picker>
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
8045
|
+
<co-button
|
|
8046
|
+
*ngIf="showDirectSell"
|
|
8047
|
+
class="bordered"
|
|
8048
|
+
[iconData]="iconCacheService.getIcon(icons.IndustryRegular)"
|
|
8049
|
+
(click)="directSellModalVisible = true">
|
|
8050
|
+
</co-button>
|
|
7789
8051
|
</div>
|
|
7790
8052
|
<div class="transaction-line-warehouse-cc-section" *ngIf="transactionKind !== transKind.PurchaseOrder">
|
|
7791
8053
|
<div class="transaction-line-warehouse-cc-section-label" [textContent]="'COMMISSION_CODE' | localize"></div>
|
|
@@ -7820,6 +8082,9 @@ DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
|
7820
8082
|
|
|
7821
8083
|
<co-dialog-sell
|
|
7822
8084
|
*ngIf="directSellModalVisible"
|
|
8085
|
+
[transactionUuid]="transactionInfo.uuid"
|
|
8086
|
+
[lineUuid]="transactionLine.uuid"
|
|
8087
|
+
[goodId]="transactionLine.goodId"
|
|
7823
8088
|
(showDirectSellModal)="showDirectSellModal($event)">
|
|
7824
8089
|
</co-dialog-sell>
|
|
7825
8090
|
`,
|
|
@@ -8241,11 +8506,12 @@ class DialogService {
|
|
|
8241
8506
|
};
|
|
8242
8507
|
return this.dynamicComponentService.createComponent(CharacteristicAnswerComponent, data);
|
|
8243
8508
|
}
|
|
8244
|
-
showWarehouseCC(transactionKind, transactionLine) {
|
|
8509
|
+
showWarehouseCC(transactionKind, transactionLine, transactionInfo) {
|
|
8245
8510
|
const data = {
|
|
8246
8511
|
useModel: false,
|
|
8247
8512
|
transactionKind: transactionKind,
|
|
8248
|
-
transactionLine: transactionLine
|
|
8513
|
+
transactionLine: transactionLine,
|
|
8514
|
+
transactionInfo: transactionInfo !== null && transactionInfo !== void 0 ? transactionInfo : undefined
|
|
8249
8515
|
};
|
|
8250
8516
|
const provider = {
|
|
8251
8517
|
provide: BaseModuleScreenConfigService,
|
|
@@ -8382,6 +8648,12 @@ class TransactionRelationService {
|
|
|
8382
8648
|
return this._adapterService.getRelationListObjects(relationRequest);
|
|
8383
8649
|
// }).getValue(relationRequest);
|
|
8384
8650
|
}
|
|
8651
|
+
// public getAvailableStockForSupplier(relationId: number): Promise<SupplierArticleStockForecastDTO> {
|
|
8652
|
+
// return this._adapterService.getAvailableStockForSupplier(relationId);
|
|
8653
|
+
// }
|
|
8654
|
+
getDirectSellSuppliers() {
|
|
8655
|
+
return this._adapterService.getDirectSellSuppliers();
|
|
8656
|
+
}
|
|
8385
8657
|
getRelationById(id) {
|
|
8386
8658
|
return this._selectMultipleParameterizedCacheService.requestCache(RelationListObject, (id) => {
|
|
8387
8659
|
const request = new RelationRequest();
|
|
@@ -8499,7 +8771,7 @@ TransactionRelationService.ctorParameters = () => [
|
|
|
8499
8771
|
];
|
|
8500
8772
|
|
|
8501
8773
|
class TransactionBaseService extends BaseModuleService {
|
|
8502
|
-
constructor(optionsService, dialogService, connector, articleConnector, dictionaryService, transactionEventService, transactionRelationService, screenConfigService, relationService) {
|
|
8774
|
+
constructor(optionsService, dialogService, connector, articleConnector, dictionaryService, transactionEventService, transactionRelationService, screenConfigService, relationService, sharedService) {
|
|
8503
8775
|
super(screenConfigService);
|
|
8504
8776
|
this.optionsService = optionsService;
|
|
8505
8777
|
this.dialogService = dialogService;
|
|
@@ -8510,6 +8782,7 @@ class TransactionBaseService extends BaseModuleService {
|
|
|
8510
8782
|
this.transactionRelationService = transactionRelationService;
|
|
8511
8783
|
this.screenConfigService = screenConfigService;
|
|
8512
8784
|
this.relationService = relationService;
|
|
8785
|
+
this.sharedService = sharedService;
|
|
8513
8786
|
this._relationClassFromTransactionKind = new Map([
|
|
8514
8787
|
[TransactionKind.SalesOrder, CustomerFullObject],
|
|
8515
8788
|
[TransactionKind.PurchaseOrder, SupplierFullObject],
|
|
@@ -8684,6 +8957,7 @@ class TransactionBaseService extends BaseModuleService {
|
|
|
8684
8957
|
this.resetCurrentTransaction();
|
|
8685
8958
|
}
|
|
8686
8959
|
yield this.optionsService.initialize(options);
|
|
8960
|
+
yield this.sharedService.init(options);
|
|
8687
8961
|
yield this.relationService.init(options);
|
|
8688
8962
|
yield this.connector.connect();
|
|
8689
8963
|
});
|
|
@@ -9021,7 +9295,8 @@ TransactionBaseService.ctorParameters = () => [
|
|
|
9021
9295
|
{ type: TransactionEventService },
|
|
9022
9296
|
{ type: TransactionRelationService },
|
|
9023
9297
|
{ type: TransactionScreenConfigurationService },
|
|
9024
|
-
{ type: RelationService }
|
|
9298
|
+
{ type: RelationService },
|
|
9299
|
+
{ type: SharedService }
|
|
9025
9300
|
];
|
|
9026
9301
|
|
|
9027
9302
|
class PendingReasonService extends TransactionBaseService {
|
|
@@ -9108,7 +9383,7 @@ class PendingReasonService extends TransactionBaseService {
|
|
|
9108
9383
|
yield this._confirmAction(transactionLine.uuid, operationStatus.pendingReason, operationStatus.pendingReasonTranslation, operationStatus.pendingReasonType);
|
|
9109
9384
|
return true;
|
|
9110
9385
|
case PendingReasonType.INVALID_LOGISTICS:
|
|
9111
|
-
yield this._showWarehouseCcDialog(transaction.transactionInfo.transactionKind, operationStatus.uuid, transactionLine, operationStatus.pendingReason, operationStatus.pendingReasonType);
|
|
9386
|
+
yield this._showWarehouseCcDialog(transaction.transactionInfo.transactionKind, operationStatus.uuid, transactionLine, operationStatus.pendingReason, operationStatus.pendingReasonType, transaction.transactionInfo);
|
|
9112
9387
|
return true;
|
|
9113
9388
|
case PendingReasonType.NON_CRITICAL_DISCONTINUATION:
|
|
9114
9389
|
this._showReasonDialog(operationStatus.pendingReason);
|
|
@@ -9175,10 +9450,10 @@ class PendingReasonService extends TransactionBaseService {
|
|
|
9175
9450
|
yield this.resolvePendingLineReason(reasonRequest);
|
|
9176
9451
|
});
|
|
9177
9452
|
}
|
|
9178
|
-
_showWarehouseCcDialog(transactionKind, uuid, transactionLine, reason, type) {
|
|
9453
|
+
_showWarehouseCcDialog(transactionKind, uuid, transactionLine, reason, type, transactionInfo) {
|
|
9179
9454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9180
9455
|
const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
|
|
9181
|
-
const response = yield this.dialogService.showWarehouseCC(transactionKind, transactionLine);
|
|
9456
|
+
const response = yield this.dialogService.showWarehouseCC(transactionKind, transactionLine, transactionInfo);
|
|
9182
9457
|
if (response.button === AppPopupButtonType.Ok) {
|
|
9183
9458
|
reasonRequest.quantity = response.output.quantity;
|
|
9184
9459
|
reasonRequest.commissionCode = response.output.commissionCode;
|
|
@@ -9224,13 +9499,15 @@ class TransactionService extends PendingReasonService {
|
|
|
9224
9499
|
this._createTransactionMethods = new Map([
|
|
9225
9500
|
[TransactionKind.SalesOrder, (request) => this.createSalesOrder(request)],
|
|
9226
9501
|
[TransactionKind.PurchaseOrder, (request) => this.createPurchaseOrder(request)],
|
|
9227
|
-
[TransactionKind.SalesQuotation, (request) => this.createSalesQuotation(request)]
|
|
9502
|
+
[TransactionKind.SalesQuotation, (request) => this.createSalesQuotation(request)],
|
|
9503
|
+
[TransactionKind.ServiceOrder, (request) => this.createServiceOrder(request)]
|
|
9228
9504
|
]);
|
|
9229
9505
|
this._relationKindFromTransactionKind = new Map([
|
|
9230
9506
|
[TransactionKind.SalesOrder, RelationKind$1.Customer],
|
|
9231
9507
|
[TransactionKind.PurchaseOrder, RelationKind$1.Supplier],
|
|
9232
9508
|
[TransactionKind.SalesQuotation, RelationKind$1.Customer],
|
|
9233
|
-
[TransactionKind.CashDesk, RelationKind$1.Customer]
|
|
9509
|
+
[TransactionKind.CashDesk, RelationKind$1.Customer],
|
|
9510
|
+
[TransactionKind.ServiceOrder, RelationKind$1.Customer]
|
|
9234
9511
|
]);
|
|
9235
9512
|
this._focusStatusIndex = new Map([
|
|
9236
9513
|
[TransactionTypeCategory.SalesOrderPurchase, 0],
|
|
@@ -9246,6 +9523,18 @@ class TransactionService extends PendingReasonService {
|
|
|
9246
9523
|
return this.internalParameterJsPickingList;
|
|
9247
9524
|
});
|
|
9248
9525
|
}
|
|
9526
|
+
set transForServiceFromSalesTransactionLine(value) {
|
|
9527
|
+
this._transForServiceFromSalesTransactionLine = value;
|
|
9528
|
+
}
|
|
9529
|
+
get transForServiceFromSalesTransactionLine() {
|
|
9530
|
+
return this._transForServiceFromSalesTransactionLine;
|
|
9531
|
+
}
|
|
9532
|
+
set lineNrForServiceFromSalesTransactionLine(value) {
|
|
9533
|
+
this._lineNrForServiceFromSalesTransactionLine = value;
|
|
9534
|
+
}
|
|
9535
|
+
get lineNrForServiceFromSalesTransactionLine() {
|
|
9536
|
+
return this._lineNrForServiceFromSalesTransactionLine;
|
|
9537
|
+
}
|
|
9249
9538
|
logOut() {
|
|
9250
9539
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9251
9540
|
yield this.connector.logOut();
|
|
@@ -9682,6 +9971,22 @@ class TransactionService extends PendingReasonService {
|
|
|
9682
9971
|
}
|
|
9683
9972
|
});
|
|
9684
9973
|
}
|
|
9974
|
+
updateServiceHeaderReportMessage(message, saveTransaction) {
|
|
9975
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9976
|
+
const lockSuccess = yield this.tryToLockTransaction(this.currentTransaction.transactionInfo.id, this.currentTransaction.transactionInfo.version);
|
|
9977
|
+
if (lockSuccess) {
|
|
9978
|
+
let request = new ChangeServiceHeaderReportMessageRequest();
|
|
9979
|
+
request.transactionUuid = this.currentTransaction.transactionInfo.uuid;
|
|
9980
|
+
request.newReportMessage = message;
|
|
9981
|
+
const response = yield this.connector.changeServiceHeaderReportMessage(request);
|
|
9982
|
+
this.transactionDirty = true;
|
|
9983
|
+
return this.handleHeaderOperationStatuses(response, saveTransaction);
|
|
9984
|
+
}
|
|
9985
|
+
else {
|
|
9986
|
+
return false;
|
|
9987
|
+
}
|
|
9988
|
+
});
|
|
9989
|
+
}
|
|
9685
9990
|
updatePriceTransactionLine(uuid, lineUuid, price) {
|
|
9686
9991
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9687
9992
|
const response = yield this.connector.changeTransactionLinePrice(uuid, lineUuid, price);
|
|
@@ -9859,10 +10164,12 @@ class TransactionService extends PendingReasonService {
|
|
|
9859
10164
|
return response;
|
|
9860
10165
|
});
|
|
9861
10166
|
}
|
|
9862
|
-
saveRelation(commitTransaction = true) {
|
|
10167
|
+
saveRelation(commitTransaction = true, alsoInitialiseTransAndAdd = true) {
|
|
9863
10168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9864
10169
|
// this._cleanRelationBeforeSave();
|
|
9865
|
-
|
|
10170
|
+
if (alsoInitialiseTransAndAdd) {
|
|
10171
|
+
this.initializeTransaction();
|
|
10172
|
+
}
|
|
9866
10173
|
if (!this.relation.relationId) {
|
|
9867
10174
|
this.relation = yield this.transactionRelationService.insertRelation(this._relationKindFromTransactionKind.get(this.transactionKind), this.relation);
|
|
9868
10175
|
}
|
|
@@ -9877,7 +10184,7 @@ class TransactionService extends PendingReasonService {
|
|
|
9877
10184
|
}
|
|
9878
10185
|
}
|
|
9879
10186
|
// await this.relationService.commit();
|
|
9880
|
-
if (!this.currentTransaction.transactionInfo.relation) {
|
|
10187
|
+
if (alsoInitialiseTransAndAdd && !this.currentTransaction.transactionInfo.relation) {
|
|
9881
10188
|
return yield this.addRelationToTransaction(this.relation.relationId);
|
|
9882
10189
|
}
|
|
9883
10190
|
return true;
|
|
@@ -9939,6 +10246,18 @@ class TransactionService extends PendingReasonService {
|
|
|
9939
10246
|
if (!this.currentBranch) {
|
|
9940
10247
|
return reject();
|
|
9941
10248
|
}
|
|
10249
|
+
if (this._transForServiceFromSalesTransactionLine && !isNaN(this._lineNrForServiceFromSalesTransactionLine)) {
|
|
10250
|
+
resolve(yield this.createServiceOrderWithSourceTransactionLineRequest());
|
|
10251
|
+
}
|
|
10252
|
+
else {
|
|
10253
|
+
resolve(yield this.createRegularServiceOrder(request));
|
|
10254
|
+
}
|
|
10255
|
+
}));
|
|
10256
|
+
});
|
|
10257
|
+
}
|
|
10258
|
+
createRegularServiceOrder(request) {
|
|
10259
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10260
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
9942
10261
|
request.branchNr = this.currentBranch;
|
|
9943
10262
|
this.connector.createServiceOrder(request).then((response) => {
|
|
9944
10263
|
this.rememberCurrentTransaction(response);
|
|
@@ -9947,6 +10266,21 @@ class TransactionService extends PendingReasonService {
|
|
|
9947
10266
|
}));
|
|
9948
10267
|
});
|
|
9949
10268
|
}
|
|
10269
|
+
createServiceOrderWithSourceTransactionLineRequest() {
|
|
10270
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10271
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
10272
|
+
let request = new CreateServiceOrderWithSourceTransactionLineRequest();
|
|
10273
|
+
request.branchNr = this.currentBranch;
|
|
10274
|
+
request.customerRelationId = this._transForServiceFromSalesTransactionLine.transactionInfo.relation.relationId;
|
|
10275
|
+
request.sourceTransId = this._transForServiceFromSalesTransactionLine.transactionInfo.id;
|
|
10276
|
+
request.sourceLineNr = this._lineNrForServiceFromSalesTransactionLine;
|
|
10277
|
+
this.connector.createServiceOrderWithSourceTransactionLine(request).then((response) => {
|
|
10278
|
+
this.rememberCurrentTransaction(response);
|
|
10279
|
+
resolve(true);
|
|
10280
|
+
});
|
|
10281
|
+
}));
|
|
10282
|
+
});
|
|
10283
|
+
}
|
|
9950
10284
|
createSalesQuotation(request) {
|
|
9951
10285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9952
10286
|
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9968,11 +10302,17 @@ class TransactionService extends PendingReasonService {
|
|
|
9968
10302
|
if (!created) {
|
|
9969
10303
|
return false;
|
|
9970
10304
|
}
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
10305
|
+
if (!this._transForServiceFromSalesTransactionLine) {
|
|
10306
|
+
const response = yield this.connector.addRelationToTransaction(this.currentTransaction.transactionInfo.uuid, relationId);
|
|
10307
|
+
if (response) {
|
|
10308
|
+
return this.handleHeaderOperationStatuses(response);
|
|
10309
|
+
}
|
|
10310
|
+
return false;
|
|
10311
|
+
}
|
|
10312
|
+
else {
|
|
10313
|
+
this.resetDataForServiceFromSalesTransactionLine();
|
|
10314
|
+
return true;
|
|
9974
10315
|
}
|
|
9975
|
-
return false;
|
|
9976
10316
|
});
|
|
9977
10317
|
}
|
|
9978
10318
|
getCommissionCodes(languageCode) {
|
|
@@ -10385,6 +10725,14 @@ class TransactionService extends PendingReasonService {
|
|
|
10385
10725
|
return yield this.connector.getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr);
|
|
10386
10726
|
});
|
|
10387
10727
|
}
|
|
10728
|
+
getAvailableStockForSupplier(goodId, supplierRelationId) {
|
|
10729
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10730
|
+
return yield this.connector.getAvailableStockForSupplier(goodId, supplierRelationId);
|
|
10731
|
+
});
|
|
10732
|
+
}
|
|
10733
|
+
changeLineDirectSell(request) {
|
|
10734
|
+
return this.connector.changeLineDirectSell(request);
|
|
10735
|
+
}
|
|
10388
10736
|
getGoodsAllocationHistory(transId, lineNr) {
|
|
10389
10737
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10390
10738
|
return yield this.connector.getGoodsAllocationHistory(transId, lineNr);
|
|
@@ -10861,6 +11209,11 @@ class TransactionService extends PendingReasonService {
|
|
|
10861
11209
|
return yield this.connector.getOrderLineSetCategories();
|
|
10862
11210
|
});
|
|
10863
11211
|
}
|
|
11212
|
+
getServiceWizard() {
|
|
11213
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11214
|
+
return yield this.connector.getServiceWizard();
|
|
11215
|
+
});
|
|
11216
|
+
}
|
|
10864
11217
|
addOrderLineSet(request) {
|
|
10865
11218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10866
11219
|
const lockSuccess = yield this.tryToLockTransaction(this.currentTransaction.transactionInfo.id, this.currentTransaction.transactionInfo.version);
|
|
@@ -11081,6 +11434,21 @@ class TransactionService extends PendingReasonService {
|
|
|
11081
11434
|
return yield this.connector.getPlanOrder(transId);
|
|
11082
11435
|
});
|
|
11083
11436
|
}
|
|
11437
|
+
insertActivity(activity) {
|
|
11438
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11439
|
+
return yield this.connector.insertActivity(activity);
|
|
11440
|
+
});
|
|
11441
|
+
}
|
|
11442
|
+
updateActivity(activity) {
|
|
11443
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11444
|
+
return yield this.connector.updateActivity(activity);
|
|
11445
|
+
});
|
|
11446
|
+
}
|
|
11447
|
+
deleteActivity(activity) {
|
|
11448
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11449
|
+
return yield this.connector.deleteActivity(activity);
|
|
11450
|
+
});
|
|
11451
|
+
}
|
|
11084
11452
|
getActivitiesForTransaction(transactionId) {
|
|
11085
11453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11086
11454
|
const activeActivities = yield this.connector.getComponentActivitiesWithoutRelationFiltering(transactionId);
|
|
@@ -11099,6 +11467,31 @@ class TransactionService extends PendingReasonService {
|
|
|
11099
11467
|
}
|
|
11100
11468
|
});
|
|
11101
11469
|
}
|
|
11470
|
+
getHistoricActivities(transactionId) {
|
|
11471
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11472
|
+
return yield this.connector.getHistoricActivities(transactionId);
|
|
11473
|
+
});
|
|
11474
|
+
}
|
|
11475
|
+
getComponentActivitiesWithoutRelationFiltering(transactionId) {
|
|
11476
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11477
|
+
return yield this.connector.getComponentActivitiesWithoutRelationFiltering(transactionId);
|
|
11478
|
+
});
|
|
11479
|
+
}
|
|
11480
|
+
fireTrigger(workFlowProcessId, sequence, triggerId) {
|
|
11481
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11482
|
+
return yield this.connector.fireTrigger(workFlowProcessId, sequence, triggerId);
|
|
11483
|
+
});
|
|
11484
|
+
}
|
|
11485
|
+
fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
|
|
11486
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11487
|
+
return yield this.connector.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId);
|
|
11488
|
+
});
|
|
11489
|
+
}
|
|
11490
|
+
lockTask(id) {
|
|
11491
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11492
|
+
return yield this.connector.lockTask(id);
|
|
11493
|
+
});
|
|
11494
|
+
}
|
|
11102
11495
|
convertCashRegisterOrderToSalesOrder() {
|
|
11103
11496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11104
11497
|
if (this.currentTransaction.transactionInfo.uuid) {
|
|
@@ -11124,6 +11517,10 @@ class TransactionService extends PendingReasonService {
|
|
|
11124
11517
|
this.dialogService.showReprintCashRegisterReceiptPopup(this.currentTransaction);
|
|
11125
11518
|
});
|
|
11126
11519
|
}
|
|
11520
|
+
resetDataForServiceFromSalesTransactionLine() {
|
|
11521
|
+
this._transForServiceFromSalesTransactionLine = null;
|
|
11522
|
+
this._lineNrForServiceFromSalesTransactionLine = null;
|
|
11523
|
+
}
|
|
11127
11524
|
_handleBeforeRememberCurrentTransaction(transactionInfoResponse) {
|
|
11128
11525
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11129
11526
|
yield this.prepareMLocatInternalParam();
|
|
@@ -11178,7 +11575,7 @@ class TransactionService extends PendingReasonService {
|
|
|
11178
11575
|
});
|
|
11179
11576
|
}
|
|
11180
11577
|
}
|
|
11181
|
-
TransactionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionService_Factory() { return new TransactionService(i0.ɵɵinject(TransactionSettingsService), i0.ɵɵinject(DialogService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService), i0.ɵɵinject(DictionaryService), i0.ɵɵinject(TransactionEventService), i0.ɵɵinject(TransactionRelationService), i0.ɵɵinject(TransactionScreenConfigurationService), i0.ɵɵinject(i9.RelationService)); }, token: TransactionService, providedIn: "root" });
|
|
11578
|
+
TransactionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionService_Factory() { return new TransactionService(i0.ɵɵinject(TransactionSettingsService), i0.ɵɵinject(DialogService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService), i0.ɵɵinject(DictionaryService), i0.ɵɵinject(TransactionEventService), i0.ɵɵinject(TransactionRelationService), i0.ɵɵinject(TransactionScreenConfigurationService), i0.ɵɵinject(i9.RelationService), i0.ɵɵinject(i10.SharedService)); }, token: TransactionService, providedIn: "root" });
|
|
11182
11579
|
TransactionService.decorators = [
|
|
11183
11580
|
{ type: Injectable, args: [{
|
|
11184
11581
|
providedIn: "root"
|
|
@@ -11304,6 +11701,33 @@ class CheckoutComponent {
|
|
|
11304
11701
|
this.showOverview = false;
|
|
11305
11702
|
this._subs = [];
|
|
11306
11703
|
}
|
|
11704
|
+
/**
|
|
11705
|
+
* When set, this is the relation be used for the checkout
|
|
11706
|
+
*/
|
|
11707
|
+
set relationNr(value) {
|
|
11708
|
+
this._relationNr = value;
|
|
11709
|
+
if (this.service && this._relationNr) {
|
|
11710
|
+
this.service.setRelationOnTransaction(this._relationNr, this.relationType);
|
|
11711
|
+
}
|
|
11712
|
+
}
|
|
11713
|
+
get relationNr() {
|
|
11714
|
+
return this._relationNr;
|
|
11715
|
+
}
|
|
11716
|
+
set transForServiceFromSalesTransactionLine(value) {
|
|
11717
|
+
this.service.transForServiceFromSalesTransactionLine = value;
|
|
11718
|
+
if (this.service.transForServiceFromSalesTransactionLine) {
|
|
11719
|
+
this.relationNr = parseInt(this.service.transForServiceFromSalesTransactionLine.transactionInfo.relation.relationNr);
|
|
11720
|
+
}
|
|
11721
|
+
}
|
|
11722
|
+
get transForServiceFromSalesTransactionLine() {
|
|
11723
|
+
return this.service.transForServiceFromSalesTransactionLine;
|
|
11724
|
+
}
|
|
11725
|
+
set lineNrForServiceFromSalesTransactionLine(value) {
|
|
11726
|
+
this.service.lineNrForServiceFromSalesTransactionLine = value;
|
|
11727
|
+
}
|
|
11728
|
+
get lineNrForServiceFromSalesTransactionLine() {
|
|
11729
|
+
return this.service.lineNrForServiceFromSalesTransactionLine;
|
|
11730
|
+
}
|
|
11307
11731
|
showClass() {
|
|
11308
11732
|
return true;
|
|
11309
11733
|
}
|
|
@@ -11496,6 +11920,8 @@ CheckoutComponent.propDecorators = {
|
|
|
11496
11920
|
checkoutPayment: [{ type: ViewChild, args: ["checkoutPayment",] }],
|
|
11497
11921
|
newTransaction: [{ type: Input }],
|
|
11498
11922
|
relationNr: [{ type: Input }],
|
|
11923
|
+
transForServiceFromSalesTransactionLine: [{ type: Input }],
|
|
11924
|
+
lineNrForServiceFromSalesTransactionLine: [{ type: Input }],
|
|
11499
11925
|
sellerId: [{ type: Input }],
|
|
11500
11926
|
transactionType: [{ type: Input }],
|
|
11501
11927
|
showCreateTransactionButton: [{ type: Input }],
|
|
@@ -16716,6 +17142,7 @@ class TransactionLineActionButtonsPopupComponent {
|
|
|
16716
17142
|
this.addDocumentButtonClick = new EventEmitter();
|
|
16717
17143
|
this.articleTextButtonClick = new EventEmitter();
|
|
16718
17144
|
this.transactionTextButtonClick = new EventEmitter();
|
|
17145
|
+
this.createServiceButtonClick = new EventEmitter();
|
|
16719
17146
|
this.sidePanelButtonClick = new EventEmitter();
|
|
16720
17147
|
this.showClass = true;
|
|
16721
17148
|
}
|
|
@@ -16739,6 +17166,11 @@ class TransactionLineActionButtonsPopupComponent {
|
|
|
16739
17166
|
event.stopPropagation();
|
|
16740
17167
|
this.transactionTextButtonClick.emit();
|
|
16741
17168
|
}
|
|
17169
|
+
handleCreateServiceButtonClick(event) {
|
|
17170
|
+
event.preventDefault();
|
|
17171
|
+
event.stopPropagation();
|
|
17172
|
+
this.createServiceButtonClick.emit();
|
|
17173
|
+
}
|
|
16742
17174
|
handleSidePanelButtonClick(event) {
|
|
16743
17175
|
event.preventDefault();
|
|
16744
17176
|
event.stopPropagation();
|
|
@@ -16758,14 +17190,18 @@ TransactionLineActionButtonsPopupComponent.decorators = [
|
|
|
16758
17190
|
<co-icon [iconData]="iconCacheService.getIcon(icons.Attachments)"></co-icon>
|
|
16759
17191
|
<div class="action-button-description" [textContent]="'ADD_DOCUMENT' | localize"></div>
|
|
16760
17192
|
</div>
|
|
16761
|
-
|
|
16762
|
-
|
|
16763
|
-
|
|
16764
|
-
|
|
16765
|
-
|
|
16766
|
-
|
|
16767
|
-
|
|
16768
|
-
|
|
17193
|
+
<div class="action-button-wrapper" (click)="handleArticleTextButtonClick($event)" [screenConfigurationObject]="configNames?.addProductTextBtn" screenConfigNativeElement>
|
|
17194
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.TextSizeSolid)"></co-icon>
|
|
17195
|
+
<div class="action-button-description" [textContent]="'PRODUCT_DESCRIPTION_AND_TEXTS' | localize"></div>
|
|
17196
|
+
</div>
|
|
17197
|
+
<div class="action-button-wrapper" (click)="handleCreateServiceButtonClick($event)" [screenConfigurationObject]="configNames?.sidePanelBtn" screenConfigNativeElement>
|
|
17198
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.DetailView)"></co-icon>
|
|
17199
|
+
<div class="action-button-description" [textContent]="'SERVICEORDER' | localize"></div>
|
|
17200
|
+
</div>
|
|
17201
|
+
<div class="action-button-wrapper" (click)="handleSidePanelButtonClick($event)" [screenConfigurationObject]="configNames?.sidePanelBtn" screenConfigNativeElement>
|
|
17202
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.ObjectIntersectSolid)"></co-icon>
|
|
17203
|
+
<div class="action-button-description" [textContent]="'SIDE_PANEL' | localize"></div>
|
|
17204
|
+
</div>
|
|
16769
17205
|
</div>
|
|
16770
17206
|
`,
|
|
16771
17207
|
providers: [{
|
|
@@ -16787,18 +17223,18 @@ TransactionLineActionButtonsPopupComponent.propDecorators = {
|
|
|
16787
17223
|
addDocumentButtonClick: [{ type: Output }],
|
|
16788
17224
|
articleTextButtonClick: [{ type: Output }],
|
|
16789
17225
|
transactionTextButtonClick: [{ type: Output }],
|
|
17226
|
+
createServiceButtonClick: [{ type: Output }],
|
|
16790
17227
|
sidePanelButtonClick: [{ type: Output }],
|
|
16791
17228
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-action-buttons-popup",] }]
|
|
16792
17229
|
};
|
|
16793
17230
|
|
|
16794
17231
|
class TransactionLineActionButtonsComponent {
|
|
16795
|
-
constructor(elementRef, iconCacheService, _transactionService, _transactionEventService, _overlayService
|
|
17232
|
+
constructor(elementRef, iconCacheService, _transactionService, _transactionEventService, _overlayService) {
|
|
16796
17233
|
this.elementRef = elementRef;
|
|
16797
17234
|
this.iconCacheService = iconCacheService;
|
|
16798
17235
|
this._transactionService = _transactionService;
|
|
16799
17236
|
this._transactionEventService = _transactionEventService;
|
|
16800
17237
|
this._overlayService = _overlayService;
|
|
16801
|
-
this._eventService = _eventService;
|
|
16802
17238
|
this.icons = Icon;
|
|
16803
17239
|
this.isFirst = false;
|
|
16804
17240
|
this.waitingForUserAction = new EventEmitter();
|
|
@@ -16838,10 +17274,10 @@ class TransactionLineActionButtonsComponent {
|
|
|
16838
17274
|
}
|
|
16839
17275
|
}
|
|
16840
17276
|
reopenExternalOrderClick() {
|
|
16841
|
-
this.
|
|
17277
|
+
this._transactionEventService.reopenExternalOrderClicked.next(this._orderLineSet);
|
|
16842
17278
|
}
|
|
16843
17279
|
handleAddDocumentButtonClick() {
|
|
16844
|
-
this.
|
|
17280
|
+
this._transactionEventService.addDocumentToLineClicked.next(this.transactionLine);
|
|
16845
17281
|
this._hidePopup();
|
|
16846
17282
|
}
|
|
16847
17283
|
handleTransactionText() {
|
|
@@ -16854,6 +17290,10 @@ class TransactionLineActionButtonsComponent {
|
|
|
16854
17290
|
this.waitingForUserAction.next(true);
|
|
16855
17291
|
this._hidePopup();
|
|
16856
17292
|
}
|
|
17293
|
+
createServiceButtonClick() {
|
|
17294
|
+
this._transactionEventService.createServiceButtonClicked.next(this.transactionLine.lineNr);
|
|
17295
|
+
this._hidePopup();
|
|
17296
|
+
}
|
|
16857
17297
|
handleShowSidePanel() {
|
|
16858
17298
|
this._transactionEventService.openSidePanel.next(this.transactionLine);
|
|
16859
17299
|
this.waitingForUserAction.next(true);
|
|
@@ -16867,6 +17307,7 @@ class TransactionLineActionButtonsComponent {
|
|
|
16867
17307
|
addDocumentButtonClick: () => this.handleAddDocumentButtonClick(),
|
|
16868
17308
|
articleTextButtonClick: () => this.handleArticleText(),
|
|
16869
17309
|
transactionTextButtonClick: () => this.handleTransactionText(),
|
|
17310
|
+
createServiceButtonClick: () => this.createServiceButtonClick(),
|
|
16870
17311
|
sidePanelButtonClick: () => this.handleShowSidePanel()
|
|
16871
17312
|
});
|
|
16872
17313
|
}
|
|
@@ -16913,8 +17354,7 @@ TransactionLineActionButtonsComponent.ctorParameters = () => [
|
|
|
16913
17354
|
{ type: IconCacheService },
|
|
16914
17355
|
{ type: TransactionService },
|
|
16915
17356
|
{ type: TransactionEventService },
|
|
16916
|
-
{ type: OverlayService }
|
|
16917
|
-
{ type: TransactionEventService }
|
|
17357
|
+
{ type: OverlayService }
|
|
16918
17358
|
];
|
|
16919
17359
|
TransactionLineActionButtonsComponent.propDecorators = {
|
|
16920
17360
|
configNames: [{ type: Input }],
|
|
@@ -17124,7 +17564,6 @@ class TransactionOrderDeliveryLineBaseComponent extends TransactionBaseComponent
|
|
|
17124
17564
|
this.detectChanges();
|
|
17125
17565
|
}));
|
|
17126
17566
|
this._checkCheckbox();
|
|
17127
|
-
this.transactionLine.amountSelected = this.transactionLine.articleLineStatus.quantityToDeliver;
|
|
17128
17567
|
}
|
|
17129
17568
|
ngOnDestroy() {
|
|
17130
17569
|
super.ngOnDestroy();
|
|
@@ -19330,7 +19769,6 @@ class TransactionInvoiceLineBaseComponent extends TransactionBaseComponent {
|
|
|
19330
19769
|
this.detectChanges();
|
|
19331
19770
|
}));
|
|
19332
19771
|
this._checkCheckbox();
|
|
19333
|
-
this.transactionLine.amountSelected = this.transactionLine.articleLineStatus.quantityToInvoice;
|
|
19334
19772
|
}
|
|
19335
19773
|
ngOnDestroy() {
|
|
19336
19774
|
super.ngOnDestroy();
|
|
@@ -19345,6 +19783,9 @@ class TransactionInvoiceLineBaseComponent extends TransactionBaseComponent {
|
|
|
19345
19783
|
if (this.transactionLine.articleLineStatus) {
|
|
19346
19784
|
this.transactionLine.quantityToInvoice = this.lineQuantityToInvoice;
|
|
19347
19785
|
}
|
|
19786
|
+
if (this.transactionLine.amountSelected === undefined) {
|
|
19787
|
+
this.transactionLine.amountSelected = this.transactionLine.amount;
|
|
19788
|
+
}
|
|
19348
19789
|
}
|
|
19349
19790
|
handleLineClicked(mouseClick) {
|
|
19350
19791
|
if (this.transactionLine && this.transactionLine.commissionCode !== "1") {
|
|
@@ -20880,7 +21321,7 @@ class TransactionCreationService extends TransactionService {
|
|
|
20880
21321
|
});
|
|
20881
21322
|
}
|
|
20882
21323
|
}
|
|
20883
|
-
TransactionCreationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionCreationService_Factory() { return new TransactionCreationService(i0.ɵɵinject(TransactionSettingsService), i0.ɵɵinject(DialogService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService), i0.ɵɵinject(DictionaryService), i0.ɵɵinject(TransactionEventService), i0.ɵɵinject(TransactionRelationService), i0.ɵɵinject(TransactionScreenConfigurationService), i0.ɵɵinject(i9.RelationService)); }, token: TransactionCreationService, providedIn: "root" });
|
|
21324
|
+
TransactionCreationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionCreationService_Factory() { return new TransactionCreationService(i0.ɵɵinject(TransactionSettingsService), i0.ɵɵinject(DialogService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService), i0.ɵɵinject(DictionaryService), i0.ɵɵinject(TransactionEventService), i0.ɵɵinject(TransactionRelationService), i0.ɵɵinject(TransactionScreenConfigurationService), i0.ɵɵinject(i9.RelationService), i0.ɵɵinject(i10.SharedService)); }, token: TransactionCreationService, providedIn: "root" });
|
|
20884
21325
|
TransactionCreationService.decorators = [
|
|
20885
21326
|
{ type: Injectable, args: [{
|
|
20886
21327
|
providedIn: "root"
|
|
@@ -29819,7 +30260,15 @@ class RelationGeneralComponent extends RelationBaseComponent {
|
|
|
29819
30260
|
this.relType = RelationNameKind;
|
|
29820
30261
|
this.genderType = GenderType;
|
|
29821
30262
|
this.readonly = false;
|
|
29822
|
-
|
|
30263
|
+
// @Input()
|
|
30264
|
+
// public relationType: RelationNameKind = RelationNameKind.Private;
|
|
30265
|
+
this._relationType = RelationNameKind.Private;
|
|
30266
|
+
}
|
|
30267
|
+
get relationType() {
|
|
30268
|
+
return this._relationType;
|
|
30269
|
+
}
|
|
30270
|
+
set relationType(value) {
|
|
30271
|
+
this._relationType = value;
|
|
29823
30272
|
}
|
|
29824
30273
|
showClass() {
|
|
29825
30274
|
return true;
|
|
@@ -29859,27 +30308,27 @@ RelationGeneralComponent.decorators = [
|
|
|
29859
30308
|
<div *ngIf="relationType === relType.Private" class="collapseable" @showHidePrivateRelationFields>
|
|
29860
30309
|
<div class="default-data-row">
|
|
29861
30310
|
<co-input-text
|
|
29862
|
-
|
|
29863
|
-
|
|
29864
|
-
|
|
29865
|
-
|
|
29866
|
-
|
|
29867
|
-
|
|
30311
|
+
class="checkout-first-name"
|
|
30312
|
+
[screenConfigurationObject]="configNames?.relationFirstName"
|
|
30313
|
+
[readonly]="readonly"
|
|
30314
|
+
[(model)]="relation.firstName"
|
|
30315
|
+
[placeholder]="'FIRST_NAME' | localize"
|
|
30316
|
+
(modelChange)="firstNameChange($event)"
|
|
29868
30317
|
></co-input-text>
|
|
29869
30318
|
<co-input-text
|
|
29870
|
-
|
|
29871
|
-
|
|
29872
|
-
|
|
29873
|
-
|
|
29874
|
-
|
|
30319
|
+
class="checkout-prefix-name default-width"
|
|
30320
|
+
[screenConfigurationObject]="configNames?.relationPrefix"
|
|
30321
|
+
[readonly]="readonly"
|
|
30322
|
+
[(model)]="relation.prefix"
|
|
30323
|
+
[placeholder]="'PREFIX' | localize"
|
|
29875
30324
|
></co-input-text>
|
|
29876
30325
|
<co-input-text
|
|
29877
|
-
|
|
29878
|
-
|
|
29879
|
-
|
|
29880
|
-
|
|
29881
|
-
|
|
29882
|
-
|
|
30326
|
+
class="checkout-last-name"
|
|
30327
|
+
[screenConfigurationObject]="configNames?.relationLastName"
|
|
30328
|
+
[readonly]="readonly"
|
|
30329
|
+
[(model)]="relation.familyName"
|
|
30330
|
+
[placeholder]="'LAST_NAME' | localize"
|
|
30331
|
+
(modelChange)="familyNameChange($event)"
|
|
29883
30332
|
></co-input-text>
|
|
29884
30333
|
</div>
|
|
29885
30334
|
<div class="default-data-row" [screenConfigurationObject]="configNames?.relationGender" screenConfigNativeElement>
|
|
@@ -29958,10 +30407,10 @@ RelationGeneralComponent.ctorParameters = () => [
|
|
|
29958
30407
|
{ type: TransactionRelationService }
|
|
29959
30408
|
];
|
|
29960
30409
|
RelationGeneralComponent.propDecorators = {
|
|
30410
|
+
relationType: [{ type: Input }],
|
|
29961
30411
|
configNames: [{ type: Input }],
|
|
29962
30412
|
readonly: [{ type: Input }],
|
|
29963
30413
|
relationKind: [{ type: Input }],
|
|
29964
|
-
relationType: [{ type: Input }],
|
|
29965
30414
|
showClass: [{ type: HostBinding, args: ["class.co-relation-general",] }]
|
|
29966
30415
|
};
|
|
29967
30416
|
|
|
@@ -31657,6 +32106,8 @@ class TransactionHeaderPopupRelationComponent extends TransactionHeaderPopupBase
|
|
|
31657
32106
|
this.relationService = relationService;
|
|
31658
32107
|
this._suggestionsService = _suggestionsService;
|
|
31659
32108
|
this.addressType = AddressType;
|
|
32109
|
+
this.forceReadonly = false;
|
|
32110
|
+
this.showPrivacy = true;
|
|
31660
32111
|
this.inputChangeForSuggestions = new EventEmitter();
|
|
31661
32112
|
this.deliveryAddressNawNr = 0;
|
|
31662
32113
|
this.invoiceAddressNawNr = 0;
|
|
@@ -31705,6 +32156,9 @@ class TransactionHeaderPopupRelationComponent extends TransactionHeaderPopupBase
|
|
|
31705
32156
|
this.handleNavigationClick('PRIVACY_PREFERENCES');
|
|
31706
32157
|
}
|
|
31707
32158
|
}
|
|
32159
|
+
submit() {
|
|
32160
|
+
return this.formMasterService.submitSlaves();
|
|
32161
|
+
}
|
|
31708
32162
|
onRelationSuggestionClick(relationSuggested) {
|
|
31709
32163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31710
32164
|
if (relationSuggested) {
|
|
@@ -31824,22 +32278,22 @@ TransactionHeaderPopupRelationComponent.decorators = [
|
|
|
31824
32278
|
<div class="transaction-header-popup-section-label" [textContent]="'PERSONAL_DATA' | localize"></div>
|
|
31825
32279
|
<co-relation-type *ngIf="relationKind === relKind.Customer"
|
|
31826
32280
|
[screenConfigurationObject]="cfgNames.RelationType"
|
|
31827
|
-
[readonly]="readonly"
|
|
32281
|
+
[readonly]="readonly || forceReadonly"
|
|
31828
32282
|
[(relation)]="relation"
|
|
31829
32283
|
></co-relation-type>
|
|
31830
32284
|
<ng-container *ngIf="relationKind === relKind.Customer">
|
|
31831
32285
|
<relation-customer-groups
|
|
31832
32286
|
[screenConfigurationObject]="cfgNames.RelationCustomerGroup"
|
|
31833
|
-
[readonly]="readonly"
|
|
32287
|
+
[readonly]="readonly || forceReadonly"
|
|
31834
32288
|
[model]="customerGroup"
|
|
31835
32289
|
(modelChange)="handleChangeCustomGroup($event)"
|
|
31836
32290
|
></relation-customer-groups>
|
|
31837
32291
|
</ng-container>
|
|
31838
32292
|
<co-relation-general
|
|
31839
32293
|
[configNames]="relationGeneralConfigNames"
|
|
31840
|
-
[readonly]="readonly"
|
|
32294
|
+
[readonly]="readonly || forceReadonly"
|
|
31841
32295
|
[(relation)]="relation"
|
|
31842
|
-
[relationType]="
|
|
32296
|
+
[relationType]="relation.type"
|
|
31843
32297
|
[relationKind]="relationKind"
|
|
31844
32298
|
(inputChangeForSuggestions)="handleInputChange($event)"
|
|
31845
32299
|
></co-relation-general>
|
|
@@ -31847,7 +32301,7 @@ TransactionHeaderPopupRelationComponent.decorators = [
|
|
|
31847
32301
|
<div class="transaction-header-popup-section" [screenConfigurationObject]="cfgNames.RelationAddressesHeader" screenConfigNativeElement>
|
|
31848
32302
|
<div class="transaction-header-popup-section-label" [textContent]="'ADDRESSES' | localize"></div>
|
|
31849
32303
|
<co-relation-addresses
|
|
31850
|
-
[readonly]="readonly || headerReadonly"
|
|
32304
|
+
[readonly]="readonly || headerReadonly || forceReadonly"
|
|
31851
32305
|
[tooltip]="headerReadonly ? tooltipMessage : ''"
|
|
31852
32306
|
[(relation)]="relation"
|
|
31853
32307
|
[addresses]="relation.activeAddresses"
|
|
@@ -31857,7 +32311,7 @@ TransactionHeaderPopupRelationComponent.decorators = [
|
|
|
31857
32311
|
></co-relation-addresses>
|
|
31858
32312
|
<ng-container *ngIf="relationKind === relKind.Customer">
|
|
31859
32313
|
<div class="transaction-header-popup-section-label" [textContent]="'INVOICE_ADDRESS' | localize"></div>
|
|
31860
|
-
<co-input-checkbox [readonly]="readonly || headerReadonly"
|
|
32314
|
+
<co-input-checkbox [readonly]="readonly || headerReadonly || forceReadonly"
|
|
31861
32315
|
[(model)]="invoiceAddressSameAsDeliveryAddress"
|
|
31862
32316
|
[label]="'SAME_AS_DELIVERY' | localize"
|
|
31863
32317
|
[tooltip]="headerReadonly ? tooltipMessage : ''"
|
|
@@ -31865,7 +32319,7 @@ TransactionHeaderPopupRelationComponent.decorators = [
|
|
|
31865
32319
|
></co-input-checkbox>
|
|
31866
32320
|
<div class="overview-delivery-invoice-address" *ngIf="!invoiceAddressSameAsDeliveryAddress" @showHideInvoiceAddress>
|
|
31867
32321
|
<co-relation-addresses
|
|
31868
|
-
[readonly]="readonly || headerReadonly"
|
|
32322
|
+
[readonly]="readonly || headerReadonly || forceReadonly"
|
|
31869
32323
|
[tooltip]="headerReadonly ? tooltipMessage : ''"
|
|
31870
32324
|
[(relation)]="relation"
|
|
31871
32325
|
[addresses]="relation.activeAddresses"
|
|
@@ -31880,17 +32334,17 @@ TransactionHeaderPopupRelationComponent.decorators = [
|
|
|
31880
32334
|
<div class="transaction-header-popup-section-label" [textContent]="'CONTACT_DETAILS' | localize"></div>
|
|
31881
32335
|
<co-relation-contact-details
|
|
31882
32336
|
[configNames]="configNames?.contactDetails"
|
|
31883
|
-
[readonly]="readonly"
|
|
32337
|
+
[readonly]="readonly || forceReadonly"
|
|
31884
32338
|
[(relation)]="relation"
|
|
31885
32339
|
[relationKind]="relationKind"
|
|
31886
32340
|
(inputChangeForSuggestions)="inputChangeForSuggestions.emit($event)"
|
|
31887
32341
|
></co-relation-contact-details>
|
|
31888
32342
|
</div>
|
|
31889
32343
|
</div>
|
|
31890
|
-
<div class="header-relation-content">
|
|
32344
|
+
<div class="header-relation-content" *ngIf="showPrivacy">
|
|
31891
32345
|
<div class="transaction-header-popup-section">
|
|
31892
32346
|
<div class="transaction-header-popup-section-label" [textContent]="'PRIVACY_PREFERENCES' | localize"></div>
|
|
31893
|
-
<co-relation-preferences [readonly]="readonly" [relation]="relation"></co-relation-preferences>
|
|
32347
|
+
<co-relation-preferences [readonly]="readonly || forceReadonly" [relation]="relation"></co-relation-preferences>
|
|
31894
32348
|
</div>
|
|
31895
32349
|
</div>
|
|
31896
32350
|
</co-form>
|
|
@@ -31926,6 +32380,8 @@ TransactionHeaderPopupRelationComponent.ctorParameters = () => [
|
|
|
31926
32380
|
];
|
|
31927
32381
|
TransactionHeaderPopupRelationComponent.propDecorators = {
|
|
31928
32382
|
configNames: [{ type: Input }],
|
|
32383
|
+
forceReadonly: [{ type: Input }],
|
|
32384
|
+
showPrivacy: [{ type: Input }],
|
|
31929
32385
|
inputChangeForSuggestions: [{ type: Output }],
|
|
31930
32386
|
navigationItems: [{ type: ViewChild, args: ['navigationItems', { read: ElementRef },] }],
|
|
31931
32387
|
mainItems: [{ type: ViewChild, args: ['mainItems', { read: ElementRef },] }],
|
|
@@ -34378,6 +34834,643 @@ TransactionHeaderProjectCodeModule.decorators = [
|
|
|
34378
34834
|
},] }
|
|
34379
34835
|
];
|
|
34380
34836
|
|
|
34837
|
+
class TransactionHeaderPopupCreateServiceComponent {
|
|
34838
|
+
constructor(formMasterService) {
|
|
34839
|
+
this.formMasterService = formMasterService;
|
|
34840
|
+
this.forceReadonly = false;
|
|
34841
|
+
this.createViaTransLine = false;
|
|
34842
|
+
this.createViaProduct = false;
|
|
34843
|
+
this.createViaOldTrans = false;
|
|
34844
|
+
this.showCatalogPopup = false;
|
|
34845
|
+
this.salesOrderId = "";
|
|
34846
|
+
this.salesOrderLineNr = "";
|
|
34847
|
+
this.articleSearchText = "";
|
|
34848
|
+
this.oldOrderId = "";
|
|
34849
|
+
this.oldGoodId = "";
|
|
34850
|
+
this.catalogOptions = {
|
|
34851
|
+
searchOnStart: true,
|
|
34852
|
+
showAddToCart: false,
|
|
34853
|
+
showLookAtArticleButton: false,
|
|
34854
|
+
showAddArticleButton: false,
|
|
34855
|
+
onlyThreeD: false
|
|
34856
|
+
};
|
|
34857
|
+
this.catalogParameters = {};
|
|
34858
|
+
this._prepareCatalogRequest;
|
|
34859
|
+
}
|
|
34860
|
+
showClass() {
|
|
34861
|
+
return true;
|
|
34862
|
+
}
|
|
34863
|
+
ngOnInit() {
|
|
34864
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34865
|
+
});
|
|
34866
|
+
}
|
|
34867
|
+
submit() {
|
|
34868
|
+
return this.formMasterService.submitSlaves();
|
|
34869
|
+
}
|
|
34870
|
+
createOrderWithTransactionLineClicked() {
|
|
34871
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34872
|
+
this.createViaTransLine = true;
|
|
34873
|
+
this.createViaProduct = false;
|
|
34874
|
+
this.createViaOldTrans = false;
|
|
34875
|
+
});
|
|
34876
|
+
}
|
|
34877
|
+
createOrderWithArticleClicked() {
|
|
34878
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34879
|
+
this.createViaTransLine = false;
|
|
34880
|
+
this.createViaProduct = true;
|
|
34881
|
+
this.createViaOldTrans = false;
|
|
34882
|
+
});
|
|
34883
|
+
}
|
|
34884
|
+
createOrderFromSLAClicked() {
|
|
34885
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34886
|
+
this.createViaTransLine = false;
|
|
34887
|
+
this.createViaProduct = false;
|
|
34888
|
+
this.createViaOldTrans = true;
|
|
34889
|
+
});
|
|
34890
|
+
}
|
|
34891
|
+
searchArticleClicked_handler() {
|
|
34892
|
+
this.catalogParameters.general = this.articleSearchText;
|
|
34893
|
+
this.showCatalogPopup = true;
|
|
34894
|
+
}
|
|
34895
|
+
handleCatalogArticleClick(article) {
|
|
34896
|
+
this.showCatalogPopup = false;
|
|
34897
|
+
this.chosenArticle = article;
|
|
34898
|
+
this.articleSearchText = article.articleNumber;
|
|
34899
|
+
this.goodId = article.goodId;
|
|
34900
|
+
}
|
|
34901
|
+
_prepareCatalogRequest() {
|
|
34902
|
+
this.catalogParameters.general = this.articleSearchText;
|
|
34903
|
+
this.catalogParameters.searchOnStart = true;
|
|
34904
|
+
this.catalogParameters.doSync = 'A';
|
|
34905
|
+
this.catalogParameters.showRegularArticles = true;
|
|
34906
|
+
this.catalogParameters.showConfiguredArticles = true;
|
|
34907
|
+
this.catalogParameters.showConfigurableArticles = true;
|
|
34908
|
+
this.catalogParameters.showCompositionArticles = true;
|
|
34909
|
+
this.catalogParameters.showCustomizedArticles = true;
|
|
34910
|
+
this.catalogParameters.showInactiveArticles = true;
|
|
34911
|
+
this.catalogParameters.publicationCode = 71; // todo: fix this?
|
|
34912
|
+
}
|
|
34913
|
+
}
|
|
34914
|
+
TransactionHeaderPopupCreateServiceComponent.decorators = [
|
|
34915
|
+
{ type: Component, args: [{
|
|
34916
|
+
selector: 'co-transaction-header-popup-create-service',
|
|
34917
|
+
template: `
|
|
34918
|
+
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
34919
|
+
<co-form>
|
|
34920
|
+
<div class="header-relation-content">
|
|
34921
|
+
<div class="create-transaction-buttons">
|
|
34922
|
+
<co-button [label]="'SEARCH_ORDER' | localize" (click)="createOrderWithTransactionLineClicked()" [disabled]="forceReadonly"></co-button>
|
|
34923
|
+
<co-button [label]="'SEARCH_PRODUCT' | localize" (click)="createOrderWithArticleClicked()" [disabled]="forceReadonly"></co-button>
|
|
34924
|
+
<co-button [label]="'WITHOUT_PRODUCT' | localize" (click)="createOrderFromSLAClicked()" [disabled]="forceReadonly"></co-button>
|
|
34925
|
+
</div>
|
|
34926
|
+
<div *ngIf="createViaTransLine">
|
|
34927
|
+
<co-input-text [placeholder]="'TRANSACTION' | localize" [digitsOnly]="true" [(model)]="salesOrderId" [required]="createViaTransLine" [disabled]="forceReadonly"></co-input-text>
|
|
34928
|
+
<co-input-text [placeholder]="'LINE' | localize" [digitsOnly]="true" [(model)]="salesOrderLineNr" [required]="createViaTransLine" [disabled]="forceReadonly"></co-input-text>
|
|
34929
|
+
</div>
|
|
34930
|
+
<div *ngIf="createViaProduct" class="create-via-product">
|
|
34931
|
+
<co-input-search [useLeftIcon]="false" [useRightIcon]="true" [label]="'ARTICLE' | localize" (rightIconClick)="searchArticleClicked_handler()" [(model)]="articleSearchText"></co-input-search>
|
|
34932
|
+
<div class="create-via-product-result-display">
|
|
34933
|
+
<co-input-textarea [readonly]="true" [model]="chosenArticle?.description"></co-input-textarea>
|
|
34934
|
+
<co-image-display [model]="chosenArticle?.imageData"></co-image-display>
|
|
34935
|
+
</div>
|
|
34936
|
+
</div>
|
|
34937
|
+
<div *ngIf="createViaOldTrans">
|
|
34938
|
+
<co-input-text [placeholder]="'TRANSACTION' | localize" [(model)]="oldOrderId" [required]="createViaOldTrans" [disabled]="forceReadonly"></co-input-text>
|
|
34939
|
+
<co-input-text [placeholder]="'PRODUCT' | localize" [(model)]="oldGoodId" [required]="createViaOldTrans" [disabled]="forceReadonly"></co-input-text>
|
|
34940
|
+
</div>
|
|
34941
|
+
</div>
|
|
34942
|
+
</co-form>
|
|
34943
|
+
<co-dialog-catalog *ngIf="showCatalogPopup"
|
|
34944
|
+
[showNavigation]="false"
|
|
34945
|
+
[options]="catalogOptions"
|
|
34946
|
+
[parameters]="catalogParameters"
|
|
34947
|
+
[returnArticleOnTileClick]="true"
|
|
34948
|
+
(closeClick)="showCatalogPopup = false"
|
|
34949
|
+
(articleClicked)="handleCatalogArticleClick($event)"
|
|
34950
|
+
>
|
|
34951
|
+
</co-dialog-catalog>
|
|
34952
|
+
</div>
|
|
34953
|
+
`,
|
|
34954
|
+
providers: [
|
|
34955
|
+
FormMasterService
|
|
34956
|
+
],
|
|
34957
|
+
encapsulation: ViewEncapsulation.None
|
|
34958
|
+
},] }
|
|
34959
|
+
];
|
|
34960
|
+
TransactionHeaderPopupCreateServiceComponent.ctorParameters = () => [
|
|
34961
|
+
{ type: FormMasterService }
|
|
34962
|
+
];
|
|
34963
|
+
TransactionHeaderPopupCreateServiceComponent.propDecorators = {
|
|
34964
|
+
showClass: [{ type: HostBinding, args: ['class.co-transaction-header-popup-create-service',] }],
|
|
34965
|
+
forceReadonly: [{ type: Input }]
|
|
34966
|
+
};
|
|
34967
|
+
|
|
34968
|
+
class TransactionHeaderPopupServiceWizardComponent {
|
|
34969
|
+
constructor(formMasterService) {
|
|
34970
|
+
this.formMasterService = formMasterService;
|
|
34971
|
+
}
|
|
34972
|
+
showClass() {
|
|
34973
|
+
return true;
|
|
34974
|
+
}
|
|
34975
|
+
ngOnInit() {
|
|
34976
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34977
|
+
});
|
|
34978
|
+
}
|
|
34979
|
+
getQuaResult() {
|
|
34980
|
+
return this.wizard.qaResult;
|
|
34981
|
+
}
|
|
34982
|
+
}
|
|
34983
|
+
TransactionHeaderPopupServiceWizardComponent.decorators = [
|
|
34984
|
+
{ type: Component, args: [{
|
|
34985
|
+
selector: 'co-transaction-header-popup-service-wizard',
|
|
34986
|
+
template: `
|
|
34987
|
+
<div>
|
|
34988
|
+
<co-service-wizard-qa #wizard></co-service-wizard-qa>
|
|
34989
|
+
</div>
|
|
34990
|
+
`,
|
|
34991
|
+
providers: [
|
|
34992
|
+
FormMasterService
|
|
34993
|
+
],
|
|
34994
|
+
encapsulation: ViewEncapsulation.None
|
|
34995
|
+
},] }
|
|
34996
|
+
];
|
|
34997
|
+
TransactionHeaderPopupServiceWizardComponent.ctorParameters = () => [
|
|
34998
|
+
{ type: FormMasterService }
|
|
34999
|
+
];
|
|
35000
|
+
TransactionHeaderPopupServiceWizardComponent.propDecorators = {
|
|
35001
|
+
wizard: [{ type: ViewChild, args: ["wizard",] }],
|
|
35002
|
+
showClass: [{ type: HostBinding, args: ['class.co-transaction-header-popup-service-wizard',] }]
|
|
35003
|
+
};
|
|
35004
|
+
|
|
35005
|
+
class TransactionHeaderPopupServiceFieldsComponent {
|
|
35006
|
+
constructor(formMasterService) {
|
|
35007
|
+
this.formMasterService = formMasterService;
|
|
35008
|
+
this.serviceMessage = "";
|
|
35009
|
+
}
|
|
35010
|
+
showClass() {
|
|
35011
|
+
return true;
|
|
35012
|
+
}
|
|
35013
|
+
ngOnInit() {
|
|
35014
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35015
|
+
});
|
|
35016
|
+
}
|
|
35017
|
+
}
|
|
35018
|
+
TransactionHeaderPopupServiceFieldsComponent.decorators = [
|
|
35019
|
+
{ type: Component, args: [{
|
|
35020
|
+
selector: 'co-transaction-header-popup-service-fields',
|
|
35021
|
+
template: `
|
|
35022
|
+
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
35023
|
+
<co-form>
|
|
35024
|
+
<div>
|
|
35025
|
+
<co-input-textarea [placeholder]="'SERVICE_MESSAGE' | localize" [(model)]="serviceMessage"></co-input-textarea>
|
|
35026
|
+
</div>
|
|
35027
|
+
</co-form>
|
|
35028
|
+
</div>
|
|
35029
|
+
`,
|
|
35030
|
+
providers: [
|
|
35031
|
+
FormMasterService
|
|
35032
|
+
],
|
|
35033
|
+
encapsulation: ViewEncapsulation.None
|
|
35034
|
+
},] }
|
|
35035
|
+
];
|
|
35036
|
+
TransactionHeaderPopupServiceFieldsComponent.ctorParameters = () => [
|
|
35037
|
+
{ type: FormMasterService }
|
|
35038
|
+
];
|
|
35039
|
+
TransactionHeaderPopupServiceFieldsComponent.propDecorators = {
|
|
35040
|
+
showClass: [{ type: HostBinding, args: ['class.co-transaction-header-popup-service-fields',] }]
|
|
35041
|
+
};
|
|
35042
|
+
|
|
35043
|
+
class DialogCatalogComponent {
|
|
35044
|
+
constructor(_transactionService, _catalogService, _catalogEventService, _articleService, _dialogService, iconCacheService) {
|
|
35045
|
+
this._transactionService = _transactionService;
|
|
35046
|
+
this._catalogService = _catalogService;
|
|
35047
|
+
this._catalogEventService = _catalogEventService;
|
|
35048
|
+
this._articleService = _articleService;
|
|
35049
|
+
this._dialogService = _dialogService;
|
|
35050
|
+
this.iconCacheService = iconCacheService;
|
|
35051
|
+
this.icons = Icon;
|
|
35052
|
+
this.handleAddArticleInternally = true;
|
|
35053
|
+
this.showNavigation = true;
|
|
35054
|
+
this.returnArticleOnTileClick = false;
|
|
35055
|
+
this.closeClick = new EventEmitter();
|
|
35056
|
+
this.articleClicked = new EventEmitter();
|
|
35057
|
+
/*@Output()
|
|
35058
|
+
public handleAddArticleClicked: EventEmitter<ArticleExtended> = new EventEmitter<ArticleExtended>();*/
|
|
35059
|
+
this.iFrameFeedback = new EventEmitter();
|
|
35060
|
+
this.addArticleClicked = new EventEmitter();
|
|
35061
|
+
this.addCatFarmArticleClicked = new EventEmitter();
|
|
35062
|
+
this.addExternalArticleClicked = new EventEmitter();
|
|
35063
|
+
this.showExternalCatalog = false;
|
|
35064
|
+
this.showStock = false;
|
|
35065
|
+
this.showProduct = false;
|
|
35066
|
+
this.showExternalProduct = false;
|
|
35067
|
+
this.destroyed = false;
|
|
35068
|
+
this.externalCatalogOptions = {
|
|
35069
|
+
searchOnStart: true
|
|
35070
|
+
};
|
|
35071
|
+
this._subs = [];
|
|
35072
|
+
}
|
|
35073
|
+
showClass() {
|
|
35074
|
+
return true;
|
|
35075
|
+
}
|
|
35076
|
+
ngOnInit() {
|
|
35077
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35078
|
+
this.catalogSettings = Object.assign({}, this._transactionService.optionsService.settings);
|
|
35079
|
+
if (this.catalogSettings) {
|
|
35080
|
+
this.catalogSettings.createWebOrder = false;
|
|
35081
|
+
this.catalogSettings.options = this.options;
|
|
35082
|
+
this.catalogSettings.catalogParameters = this.parameters;
|
|
35083
|
+
yield this._catalogService.init(this.catalogSettings, true);
|
|
35084
|
+
}
|
|
35085
|
+
this._subs.push(this._catalogEventService.stockDetailsClick.subscribe((article) => {
|
|
35086
|
+
this.handleStockButtonClick(article);
|
|
35087
|
+
}));
|
|
35088
|
+
});
|
|
35089
|
+
}
|
|
35090
|
+
ngOnDestroy() {
|
|
35091
|
+
this.destroyed = true;
|
|
35092
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
35093
|
+
}
|
|
35094
|
+
handleStockButtonClick(article) {
|
|
35095
|
+
this.articleForStock = article;
|
|
35096
|
+
this.showStock = !this.showStock;
|
|
35097
|
+
}
|
|
35098
|
+
cancelStockButtonClick() {
|
|
35099
|
+
this.showStock = !this.showStock;
|
|
35100
|
+
this.articleForStock = undefined;
|
|
35101
|
+
}
|
|
35102
|
+
handleExternalSourceClick(source) {
|
|
35103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35104
|
+
if (source) {
|
|
35105
|
+
this.catalogDefinition = source.catalogDefinition;
|
|
35106
|
+
this.externalSource = source.externalSource;
|
|
35107
|
+
let info = new ExternalCatalogStartupInfo();
|
|
35108
|
+
if (this.checkIfOpeningIsAllowed()) {
|
|
35109
|
+
const request = this.buildExternalCatalogRequest();
|
|
35110
|
+
info = yield this._articleService.getWebViewStartupInfo(request);
|
|
35111
|
+
this.catalogInfo = info;
|
|
35112
|
+
this.showExternalCatalog = true;
|
|
35113
|
+
}
|
|
35114
|
+
else {
|
|
35115
|
+
this._dialogService.showToast("EXTERNAL_CATALOG_ITEMS_ALREADY_ORDERED", true);
|
|
35116
|
+
}
|
|
35117
|
+
}
|
|
35118
|
+
});
|
|
35119
|
+
}
|
|
35120
|
+
handleArticleClick(article) {
|
|
35121
|
+
if (!this.returnArticleOnTileClick) {
|
|
35122
|
+
this.sku = article.articleNumber;
|
|
35123
|
+
this.showProduct = true;
|
|
35124
|
+
}
|
|
35125
|
+
else {
|
|
35126
|
+
this.articleClicked.next(article);
|
|
35127
|
+
}
|
|
35128
|
+
}
|
|
35129
|
+
handleAddArticleClick(json) {
|
|
35130
|
+
this.addArticleClicked.next({ article: json, quantity: 1 });
|
|
35131
|
+
}
|
|
35132
|
+
handleAddArticleFromArticleClick(data) {
|
|
35133
|
+
this.addArticleClicked.next(data);
|
|
35134
|
+
}
|
|
35135
|
+
handleAddExternalArticleClick(json) {
|
|
35136
|
+
this.addExternalArticleClicked.next(json);
|
|
35137
|
+
}
|
|
35138
|
+
handleBackClick(event) {
|
|
35139
|
+
this.showExternalCatalog = false;
|
|
35140
|
+
}
|
|
35141
|
+
handleIFrameFeedback(json) {
|
|
35142
|
+
this.iFrameFeedback.emit({ jsonString: json, catalog: this.catalogDefinition.getId(), sourceType: this.externalSource.type });
|
|
35143
|
+
if (this.externalSource.type !== ExternalCatalogTypes.Webshop) {
|
|
35144
|
+
this.showExternalCatalog = false;
|
|
35145
|
+
}
|
|
35146
|
+
}
|
|
35147
|
+
handleCatFarmArticleClicked(data) {
|
|
35148
|
+
this.catSku = data.article.articleNumber;
|
|
35149
|
+
this.catArtName = data.article.name;
|
|
35150
|
+
this.showProduct = true;
|
|
35151
|
+
}
|
|
35152
|
+
handleAddCatFarmArticleClicked(data) {
|
|
35153
|
+
this.addCatFarmArticleClicked.emit({ quantity: data.quantity, jsonString: data.article, catalog: this.catalogDefinition.getId() });
|
|
35154
|
+
}
|
|
35155
|
+
checkIfOpeningIsAllowed() {
|
|
35156
|
+
if (this.transaction.transactionInfo.orderLineSets && this.transaction.transactionInfo.orderLineSets.length > 0) {
|
|
35157
|
+
let orderLineSetCodes = this.transaction.transactionInfo.orderLineSets.filter(o => o.catalogId = this.catalogDefinition.getId()).map(o => o.orderLineSetCode);
|
|
35158
|
+
this.transaction.transactionLines.forEach(l => {
|
|
35159
|
+
if ((orderLineSetCodes.findIndex(c => c === l.orderLineSetCode) >= 0)
|
|
35160
|
+
&& l.articleLineStatus && l.articleLineStatus.hasOwnProperty('quantityOrdered') && l.articleLineStatus.quantityOrdered > 0) {
|
|
35161
|
+
return false;
|
|
35162
|
+
}
|
|
35163
|
+
});
|
|
35164
|
+
return true;
|
|
35165
|
+
}
|
|
35166
|
+
else {
|
|
35167
|
+
return true;
|
|
35168
|
+
}
|
|
35169
|
+
}
|
|
35170
|
+
buildExternalCatalogRequest() {
|
|
35171
|
+
const request = new ExternalCatalogStartupInfoRequest();
|
|
35172
|
+
request.catalogId = this.catalogDefinition.getId();
|
|
35173
|
+
request.posEmployee = this.transaction.transactionInfo.handledBy;
|
|
35174
|
+
request.ioneOrderNr = this.transaction.transactionInfo.transactionNr.toString();
|
|
35175
|
+
if (this.transaction.transactionInfo.relation) {
|
|
35176
|
+
request.posName = this.transaction.transactionInfo.relation.familyName;
|
|
35177
|
+
}
|
|
35178
|
+
else {
|
|
35179
|
+
request.posName = 'NNB'; //Nog Niet Bepaald
|
|
35180
|
+
}
|
|
35181
|
+
this.expandExternalCatalogRequestIfNeeded(request);
|
|
35182
|
+
return request;
|
|
35183
|
+
}
|
|
35184
|
+
expandExternalCatalogRequestIfNeeded(request) {
|
|
35185
|
+
if (this.transaction.transactionInfo.orderLineSets && this.transaction.transactionInfo.orderLineSets.length > 0) {
|
|
35186
|
+
let orderLineSet = this.transaction.transactionInfo.orderLineSets.find(set => set.catalogId === this.catalogDefinition.getId());
|
|
35187
|
+
if (orderLineSet) {
|
|
35188
|
+
request.posAuping = orderLineSet.aupOrderNr;
|
|
35189
|
+
if (request.posAuping) {
|
|
35190
|
+
request.posStatus = 'Change';
|
|
35191
|
+
}
|
|
35192
|
+
if (orderLineSet.vdProjectId) {
|
|
35193
|
+
request.orderId = orderLineSet.vdProjectId;
|
|
35194
|
+
}
|
|
35195
|
+
else if (orderLineSet.wtProjectNr) {
|
|
35196
|
+
request.orderId = orderLineSet.wtProjectNr;
|
|
35197
|
+
}
|
|
35198
|
+
}
|
|
35199
|
+
}
|
|
35200
|
+
}
|
|
35201
|
+
}
|
|
35202
|
+
DialogCatalogComponent.decorators = [
|
|
35203
|
+
{ type: Component, args: [{
|
|
35204
|
+
selector: "co-dialog-catalog",
|
|
35205
|
+
template: `
|
|
35206
|
+
<co-dialog (closeClick)="closeClick.emit($event)" [@.disabled]="destroyed">
|
|
35207
|
+
<co-icon *ngIf="showExternalCatalog" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)"
|
|
35208
|
+
(click)="handleBackClick($event)"></co-icon>
|
|
35209
|
+
<ng-container *ngIf="!showExternalCatalog">
|
|
35210
|
+
<div class="dialog-catalog-product-wrapper" [class.show-product]="showProduct">
|
|
35211
|
+
<co-catalog-search
|
|
35212
|
+
[title]="'CATALOG' | localize"
|
|
35213
|
+
[subTitle]="'SEARCH_BY_ARTICLENUMBER_NAME_OR_DESCRIPTION' | localize"
|
|
35214
|
+
[searchPlaceholder]="'SEARCH_BY_ARTICLENUMBER_OR_DESCRIPTION' | localize"
|
|
35215
|
+
[createFrozenArticle]="handleAddArticleInternally"
|
|
35216
|
+
[showNavigation]="showNavigation"
|
|
35217
|
+
[settings]="catalogSettings"
|
|
35218
|
+
(onExternalSourceClick)="handleExternalSourceClick($event)"
|
|
35219
|
+
(onAddArticleButtonClick)="handleAddArticleClick($event)"
|
|
35220
|
+
(onLookAtArticleButtonClick)="handleArticleClick($event)"
|
|
35221
|
+
(onArticleClick)="handleArticleClick($event)">
|
|
35222
|
+
</co-catalog-search>
|
|
35223
|
+
<div class="catalog-article-wrapper">
|
|
35224
|
+
<co-icon class="back-button-product" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)"
|
|
35225
|
+
(click)="showProduct = false"></co-icon>
|
|
35226
|
+
<app-ione-product *ngIf="showProduct"
|
|
35227
|
+
[sku]="sku"
|
|
35228
|
+
[settings]="catalogSettings"
|
|
35229
|
+
[handleAddArticleInternally]="handleAddArticleInternally"
|
|
35230
|
+
(onAddToCart)="handleAddArticleFromArticleClick($event)"
|
|
35231
|
+
></app-ione-product>
|
|
35232
|
+
</div>
|
|
35233
|
+
</div>
|
|
35234
|
+
</ng-container>
|
|
35235
|
+
<ng-container *ngIf="showExternalCatalog">
|
|
35236
|
+
<div class="dialog-catalog-product-wrapper" [class.show-product]="showProduct">
|
|
35237
|
+
|
|
35238
|
+
<co-catalog-external-source
|
|
35239
|
+
[externalCatalogStartupInfo]="catalogInfo"
|
|
35240
|
+
[title]="'CATALOG' | localize | append: ' ' | append: externalCatalogName"
|
|
35241
|
+
[subTitle]="'SEARCH_BY_ARTICLENUMBER_NAME_OR_DESCRIPTION' | localize"
|
|
35242
|
+
[searchPlaceholder]="'SEARCH_BY_ARTICLENUMBER_OR_DESCRIPTION' | localize"
|
|
35243
|
+
[name]="externalCatalogName"
|
|
35244
|
+
[options]="externalCatalogOptions"
|
|
35245
|
+
[showNavigation]="false"
|
|
35246
|
+
(articleClick)="handleCatFarmArticleClicked($event)"
|
|
35247
|
+
(addArticleClick)="handleAddCatFarmArticleClicked($event)"
|
|
35248
|
+
(iFrameFeedbackReceived)="handleIFrameFeedback($event)"
|
|
35249
|
+
></co-catalog-external-source>
|
|
35250
|
+
|
|
35251
|
+
<div class="catalog-article-wrapper">
|
|
35252
|
+
<co-icon class="back-button-product" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)"
|
|
35253
|
+
(click)="showProduct = false"></co-icon>
|
|
35254
|
+
<co-product-external-source *ngIf="showProduct"
|
|
35255
|
+
[externalSource]="externalSource"
|
|
35256
|
+
[sku]="catSku"
|
|
35257
|
+
(addToCart)="handleAddCatFarmArticleClicked($event)"
|
|
35258
|
+
></co-product-external-source>
|
|
35259
|
+
</div>
|
|
35260
|
+
</div>
|
|
35261
|
+
</ng-container>
|
|
35262
|
+
</co-dialog>
|
|
35263
|
+
<co-dialog *ngIf="articleForStock && showStock" (closeClick)="cancelStockButtonClick()">
|
|
35264
|
+
<co-stock [article]="articleForStock" (cancelButtonClicked)="cancelStockButtonClick()"></co-stock>
|
|
35265
|
+
</co-dialog>
|
|
35266
|
+
`,
|
|
35267
|
+
providers: [
|
|
35268
|
+
CatalogService,
|
|
35269
|
+
ProductConnectorService,
|
|
35270
|
+
ProductConnectorAdapterService,
|
|
35271
|
+
ProductSettingsService,
|
|
35272
|
+
ProductEventService
|
|
35273
|
+
],
|
|
35274
|
+
animations: [
|
|
35275
|
+
trigger("showHideProduct", [
|
|
35276
|
+
state("true", style({ transform: "translateX(-50%)" })),
|
|
35277
|
+
state("false", style({ transform: "translateX(0)" })),
|
|
35278
|
+
transition("false <=> true", animate("200ms ease-in-out"))
|
|
35279
|
+
])
|
|
35280
|
+
],
|
|
35281
|
+
encapsulation: ViewEncapsulation.None
|
|
35282
|
+
},] }
|
|
35283
|
+
];
|
|
35284
|
+
DialogCatalogComponent.ctorParameters = () => [
|
|
35285
|
+
{ type: TransactionService },
|
|
35286
|
+
{ type: CatalogService },
|
|
35287
|
+
{ type: CatalogEventService },
|
|
35288
|
+
{ type: ArticleService },
|
|
35289
|
+
{ type: DialogService },
|
|
35290
|
+
{ type: IconCacheService }
|
|
35291
|
+
];
|
|
35292
|
+
DialogCatalogComponent.propDecorators = {
|
|
35293
|
+
handleAddArticleInternally: [{ type: Input }],
|
|
35294
|
+
options: [{ type: Input }],
|
|
35295
|
+
parameters: [{ type: Input }],
|
|
35296
|
+
showNavigation: [{ type: Input }],
|
|
35297
|
+
returnArticleOnTileClick: [{ type: Input }],
|
|
35298
|
+
transaction: [{ type: Input }],
|
|
35299
|
+
closeClick: [{ type: Output }],
|
|
35300
|
+
articleClicked: [{ type: Output }],
|
|
35301
|
+
iFrameFeedback: [{ type: Output }],
|
|
35302
|
+
addArticleClicked: [{ type: Output }],
|
|
35303
|
+
addCatFarmArticleClicked: [{ type: Output }],
|
|
35304
|
+
addExternalArticleClicked: [{ type: Output }],
|
|
35305
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-catalog",] }]
|
|
35306
|
+
};
|
|
35307
|
+
|
|
35308
|
+
class DialogCatalogModule {
|
|
35309
|
+
}
|
|
35310
|
+
DialogCatalogModule.decorators = [
|
|
35311
|
+
{ type: NgModule, args: [{
|
|
35312
|
+
imports: [
|
|
35313
|
+
CommonModule,
|
|
35314
|
+
CoDialogModule,
|
|
35315
|
+
CatalogSearchModule.ForRoot(),
|
|
35316
|
+
StockModule,
|
|
35317
|
+
PipeModule,
|
|
35318
|
+
CatalogExternalSourceModule,
|
|
35319
|
+
IconModule,
|
|
35320
|
+
IoneProductModule,
|
|
35321
|
+
ProductExternalSourceModule
|
|
35322
|
+
],
|
|
35323
|
+
declarations: [
|
|
35324
|
+
DialogCatalogComponent
|
|
35325
|
+
],
|
|
35326
|
+
exports: [
|
|
35327
|
+
DialogCatalogComponent
|
|
35328
|
+
]
|
|
35329
|
+
},] }
|
|
35330
|
+
];
|
|
35331
|
+
|
|
35332
|
+
class ServiceWizardQaComponent {
|
|
35333
|
+
constructor(transactionService) {
|
|
35334
|
+
this.transactionService = transactionService;
|
|
35335
|
+
this.serviceWizardQuestion = new ServiceWizardQuestion();
|
|
35336
|
+
this.qaResult = [];
|
|
35337
|
+
}
|
|
35338
|
+
ngOnInit() {
|
|
35339
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35340
|
+
yield this.transactionService.getServiceWizard().then(response => {
|
|
35341
|
+
this.serviceWizardQuestion = response.serviceWizardQuestion;
|
|
35342
|
+
});
|
|
35343
|
+
});
|
|
35344
|
+
}
|
|
35345
|
+
onQaResultChange(newVResult) {
|
|
35346
|
+
this.qaResult.push(newVResult);
|
|
35347
|
+
}
|
|
35348
|
+
}
|
|
35349
|
+
ServiceWizardQaComponent.decorators = [
|
|
35350
|
+
{ type: Component, args: [{
|
|
35351
|
+
selector: 'co-service-wizard-qa',
|
|
35352
|
+
template: `
|
|
35353
|
+
<co-question-answer-item
|
|
35354
|
+
[question]="serviceWizardQuestion.question"
|
|
35355
|
+
[answers]="serviceWizardQuestion.serviceWizardAnswerDTOList"
|
|
35356
|
+
(qaResultChange)="onQaResultChange($event)">
|
|
35357
|
+
</co-question-answer-item>
|
|
35358
|
+
`,
|
|
35359
|
+
encapsulation: ViewEncapsulation.None
|
|
35360
|
+
},] }
|
|
35361
|
+
];
|
|
35362
|
+
ServiceWizardQaComponent.ctorParameters = () => [
|
|
35363
|
+
{ type: TransactionService }
|
|
35364
|
+
];
|
|
35365
|
+
|
|
35366
|
+
class QuestionAnswerComponent {
|
|
35367
|
+
constructor() {
|
|
35368
|
+
this.qaResultChange = new EventEmitter();
|
|
35369
|
+
this.questionAnswered = false;
|
|
35370
|
+
this.qaResult = [];
|
|
35371
|
+
}
|
|
35372
|
+
showClass() {
|
|
35373
|
+
return true;
|
|
35374
|
+
}
|
|
35375
|
+
onSelectAnswer(selectedAnswer) {
|
|
35376
|
+
this.questionAnswered = true;
|
|
35377
|
+
if (this.selectedAnswer === selectedAnswer.answer) {
|
|
35378
|
+
return;
|
|
35379
|
+
}
|
|
35380
|
+
this.selectedAnswer = selectedAnswer.answer;
|
|
35381
|
+
this.qaResult.push({
|
|
35382
|
+
answerId: selectedAnswer.id,
|
|
35383
|
+
causeCode: selectedAnswer.causeCode,
|
|
35384
|
+
serviceType: selectedAnswer.serviceType
|
|
35385
|
+
});
|
|
35386
|
+
this.qaResultChange.emit(this.qaResult[0]);
|
|
35387
|
+
}
|
|
35388
|
+
onChangeAnswer(changedAnswer) {
|
|
35389
|
+
this.questionAnswered = false;
|
|
35390
|
+
this.selectedAnswer = '';
|
|
35391
|
+
}
|
|
35392
|
+
onQaResultChange(newVResult) {
|
|
35393
|
+
this.qaResultChange.emit(newVResult);
|
|
35394
|
+
}
|
|
35395
|
+
}
|
|
35396
|
+
QuestionAnswerComponent.decorators = [
|
|
35397
|
+
{ type: Component, args: [{
|
|
35398
|
+
selector: 'co-question-answer-item',
|
|
35399
|
+
template: `
|
|
35400
|
+
<section class="question-item">
|
|
35401
|
+
<h4 class="question">{{ question }}</h4>
|
|
35402
|
+
<br>
|
|
35403
|
+
<ng-container *ngFor="let answer of answers">
|
|
35404
|
+
<co-input-radio-button
|
|
35405
|
+
*ngIf="!questionAnswered"
|
|
35406
|
+
class="default-width"
|
|
35407
|
+
[label]="answer.answer"
|
|
35408
|
+
[model]="selectedAnswer === answer.answer"
|
|
35409
|
+
(modelChange)="onSelectAnswer(answer)">
|
|
35410
|
+
</co-input-radio-button>
|
|
35411
|
+
|
|
35412
|
+
<div *ngIf="selectedAnswer === answer.answer" class="answer-item">
|
|
35413
|
+
<span>{{ answer.answer }}</span>
|
|
35414
|
+
<span class="link" (click)="onChangeAnswer(answer)">Change</span>
|
|
35415
|
+
</div>
|
|
35416
|
+
|
|
35417
|
+
<div *ngIf="answer.goToQuestion && selectedAnswer === answer.answer">
|
|
35418
|
+
<co-question-answer-item
|
|
35419
|
+
[question]="answer.goToQuestion.question"
|
|
35420
|
+
[answers]="answer.goToQuestion.serviceWizardAnswerDTOList"
|
|
35421
|
+
(qaResultChange)="onQaResultChange($event)">
|
|
35422
|
+
</co-question-answer-item>
|
|
35423
|
+
</div>
|
|
35424
|
+
</ng-container>
|
|
35425
|
+
</section>
|
|
35426
|
+
`,
|
|
35427
|
+
encapsulation: ViewEncapsulation.None
|
|
35428
|
+
},] }
|
|
35429
|
+
];
|
|
35430
|
+
QuestionAnswerComponent.propDecorators = {
|
|
35431
|
+
question: [{ type: Input }],
|
|
35432
|
+
answers: [{ type: Input }],
|
|
35433
|
+
qaResultChange: [{ type: Output }],
|
|
35434
|
+
showClass: [{ type: HostBinding, args: ['class.co-question-answer-item',] }]
|
|
35435
|
+
};
|
|
35436
|
+
|
|
35437
|
+
class QuestionAnswerModule {
|
|
35438
|
+
}
|
|
35439
|
+
QuestionAnswerModule.decorators = [
|
|
35440
|
+
{ type: NgModule, args: [{
|
|
35441
|
+
imports: [
|
|
35442
|
+
CommonModule,
|
|
35443
|
+
InputRadioButtonModule,
|
|
35444
|
+
PipeModule
|
|
35445
|
+
],
|
|
35446
|
+
declarations: [
|
|
35447
|
+
QuestionAnswerComponent
|
|
35448
|
+
],
|
|
35449
|
+
exports: [
|
|
35450
|
+
QuestionAnswerComponent
|
|
35451
|
+
]
|
|
35452
|
+
},] }
|
|
35453
|
+
];
|
|
35454
|
+
|
|
35455
|
+
class ServiceWizardQaModule {
|
|
35456
|
+
}
|
|
35457
|
+
ServiceWizardQaModule.decorators = [
|
|
35458
|
+
{ type: NgModule, args: [{
|
|
35459
|
+
imports: [
|
|
35460
|
+
CommonModule,
|
|
35461
|
+
InputRadioButtonModule,
|
|
35462
|
+
PipeModule,
|
|
35463
|
+
QuestionAnswerModule
|
|
35464
|
+
],
|
|
35465
|
+
declarations: [
|
|
35466
|
+
ServiceWizardQaComponent
|
|
35467
|
+
],
|
|
35468
|
+
exports: [
|
|
35469
|
+
ServiceWizardQaComponent
|
|
35470
|
+
]
|
|
35471
|
+
},] }
|
|
35472
|
+
];
|
|
35473
|
+
|
|
34381
35474
|
class TransactionHeaderPopupModule {
|
|
34382
35475
|
}
|
|
34383
35476
|
TransactionHeaderPopupModule.decorators = [
|
|
@@ -34431,7 +35524,11 @@ TransactionHeaderPopupModule.decorators = [
|
|
|
34431
35524
|
TransactionHeaderUseDepositRuleModule,
|
|
34432
35525
|
TransactionHeaderPriceKindModule,
|
|
34433
35526
|
TransactionHeaderProjectCodeModule,
|
|
34434
|
-
RelationContactDetailsModule
|
|
35527
|
+
RelationContactDetailsModule,
|
|
35528
|
+
InputTextareaModule,
|
|
35529
|
+
DialogCatalogModule,
|
|
35530
|
+
InputSearchModule,
|
|
35531
|
+
ServiceWizardQaModule
|
|
34435
35532
|
],
|
|
34436
35533
|
declarations: [
|
|
34437
35534
|
TransactionHeaderPopupComponent,
|
|
@@ -34439,10 +35536,17 @@ TransactionHeaderPopupModule.decorators = [
|
|
|
34439
35536
|
TransactionHeaderPopupOrderComponent,
|
|
34440
35537
|
TransactionHeaderPopupDeliveryComponent,
|
|
34441
35538
|
TransactionHeaderPopupPaymentComponent,
|
|
34442
|
-
CashOnDeliveryModalComponent
|
|
35539
|
+
CashOnDeliveryModalComponent,
|
|
35540
|
+
TransactionHeaderPopupCreateServiceComponent,
|
|
35541
|
+
TransactionHeaderPopupServiceWizardComponent,
|
|
35542
|
+
TransactionHeaderPopupServiceFieldsComponent
|
|
34443
35543
|
],
|
|
34444
35544
|
exports: [
|
|
34445
|
-
TransactionHeaderPopupComponent
|
|
35545
|
+
TransactionHeaderPopupComponent,
|
|
35546
|
+
TransactionHeaderPopupRelationComponent,
|
|
35547
|
+
TransactionHeaderPopupCreateServiceComponent,
|
|
35548
|
+
TransactionHeaderPopupServiceWizardComponent,
|
|
35549
|
+
TransactionHeaderPopupServiceFieldsComponent
|
|
34446
35550
|
]
|
|
34447
35551
|
},] }
|
|
34448
35552
|
];
|
|
@@ -34995,7 +36099,7 @@ class TransactionInternalComponent {
|
|
|
34995
36099
|
}
|
|
34996
36100
|
}), this.transactionEventService.transactionLineDraggedOver.subscribe((lineNr) => {
|
|
34997
36101
|
this.lineDraggedOver = lineNr;
|
|
34998
|
-
}), this._transactionEventService.openSidePanel.subscribe((line) => this.handleShowSidePanel(line)), this._transactionEventService.openArticleTextOverview.subscribe((line) => this.handleShowArticleTextOverview(line)), this._transactionEventService.addTransactionText.subscribe((line) => this.handleShowTransactionText(line)), this._transactionEventService.addArticleText.subscribe((line) => this.handleShowArticleText(line)), this._transactionEventService.editTransactionText.subscribe((line) => this.handleEditTransactionText(line)), this._transactionEventService.editArticleText.subscribe((line) => this.handleEditArticleText(line)), this._transactionEventService.historicReportLinesToShow
|
|
36102
|
+
}), this._transactionEventService.openSidePanel.subscribe((line) => this.handleShowSidePanel(line)), this._transactionEventService.openArticleTextOverview.subscribe((line) => this.handleShowArticleTextOverview(line)), this._transactionEventService.addTransactionText.subscribe((line) => this.handleShowTransactionText(line)), this._transactionEventService.addArticleText.subscribe((line) => this.handleShowArticleText(line)), this._transactionEventService.editTransactionText.subscribe((line) => this.handleEditTransactionText(line)), this._transactionEventService.editArticleText.subscribe((line) => this.handleEditArticleText(line)), this._transactionEventService.createServiceButtonClicked.subscribe((lineNr) => this.handleCreateServiceRequest(lineNr)), this._transactionEventService.historicReportLinesToShow
|
|
34999
36103
|
.subscribe((lines) => this.historicTransactionLines = lines), this._transactionEventService.showError.subscribe((e) => this._dialogService.showError(e.message, e.localize, e.details)), this._transactionEventService.copyOrder.subscribe(() => this.showCopyOrderDialog = true));
|
|
35000
36104
|
this.screenWidth = window.innerWidth;
|
|
35001
36105
|
}
|
|
@@ -35122,6 +36226,20 @@ class TransactionInternalComponent {
|
|
|
35122
36226
|
this._hideArticleTextOverviewDialog();
|
|
35123
36227
|
this.showArticleTextDialog();
|
|
35124
36228
|
}
|
|
36229
|
+
handleCreateServiceRequest(lineNr) {
|
|
36230
|
+
if (lineNr && this.transaction) { /*
|
|
36231
|
+
let request:CreateServiceOrderWithSourceTransactionLineRequest = new CreateServiceOrderWithSourceTransactionLineRequest();
|
|
36232
|
+
request.sourceLineNr = line.lineNr;
|
|
36233
|
+
request.sourceTransId = this.transaction.transactionInfo.id;
|
|
36234
|
+
request.customerRelationId = this.transaction.transactionInfo.relation.relationId;
|
|
36235
|
+
request.branchNr = this.transaction.transactionInfo.branch.relationNr;*/
|
|
36236
|
+
/*this._transactionConnectorService.createServiceOrderWithSourceTransactionLine(request).then((result: TransactionInfoResponse) => {
|
|
36237
|
+
if(result) {*/
|
|
36238
|
+
this._transactionEventService.requestCreateServiceOrderFromTransactionLine.next({ transaction: this.transaction, lineNr: lineNr });
|
|
36239
|
+
/* }
|
|
36240
|
+
});*/
|
|
36241
|
+
}
|
|
36242
|
+
}
|
|
35125
36243
|
closeArticleText() {
|
|
35126
36244
|
this._hideArticleTextDialog();
|
|
35127
36245
|
}
|
|
@@ -36495,288 +37613,6 @@ TransactionQuickAccessReceivedGoodsModule.decorators = [
|
|
|
36495
37613
|
},] }
|
|
36496
37614
|
];
|
|
36497
37615
|
|
|
36498
|
-
class DialogCatalogComponent {
|
|
36499
|
-
constructor(_transactionService, _catalogService, _catalogEventService, _articleService, _dialogService, iconCacheService) {
|
|
36500
|
-
this._transactionService = _transactionService;
|
|
36501
|
-
this._catalogService = _catalogService;
|
|
36502
|
-
this._catalogEventService = _catalogEventService;
|
|
36503
|
-
this._articleService = _articleService;
|
|
36504
|
-
this._dialogService = _dialogService;
|
|
36505
|
-
this.iconCacheService = iconCacheService;
|
|
36506
|
-
this.icons = Icon;
|
|
36507
|
-
this.handleAddArticleInternally = true;
|
|
36508
|
-
this.showNavigation = true;
|
|
36509
|
-
this.closeClick = new EventEmitter();
|
|
36510
|
-
this.articleClicked = new EventEmitter();
|
|
36511
|
-
/*@Output()
|
|
36512
|
-
public handleAddArticleClicked: EventEmitter<ArticleExtended> = new EventEmitter<ArticleExtended>();*/
|
|
36513
|
-
this.iFrameFeedback = new EventEmitter();
|
|
36514
|
-
this.addArticleClicked = new EventEmitter();
|
|
36515
|
-
this.addCatFarmArticleClicked = new EventEmitter();
|
|
36516
|
-
this.addExternalArticleClicked = new EventEmitter();
|
|
36517
|
-
this.showExternalCatalog = false;
|
|
36518
|
-
this.showStock = false;
|
|
36519
|
-
this.showProduct = false;
|
|
36520
|
-
this.showExternalProduct = false;
|
|
36521
|
-
this.destroyed = false;
|
|
36522
|
-
this.externalCatalogOptions = {
|
|
36523
|
-
searchOnStart: true
|
|
36524
|
-
};
|
|
36525
|
-
this._subs = [];
|
|
36526
|
-
}
|
|
36527
|
-
showClass() {
|
|
36528
|
-
return true;
|
|
36529
|
-
}
|
|
36530
|
-
ngOnInit() {
|
|
36531
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
36532
|
-
this.catalogSettings = Object.assign({}, this._transactionService.optionsService.settings);
|
|
36533
|
-
if (this.catalogSettings) {
|
|
36534
|
-
this.catalogSettings.createWebOrder = false;
|
|
36535
|
-
this.catalogSettings.options = this.options;
|
|
36536
|
-
this.catalogSettings.catalogParameters = this.parameters;
|
|
36537
|
-
yield this._catalogService.init(this.catalogSettings, true);
|
|
36538
|
-
}
|
|
36539
|
-
this._subs.push(this._catalogEventService.stockDetailsClick.subscribe((article) => {
|
|
36540
|
-
this.handleStockButtonClick(article);
|
|
36541
|
-
}));
|
|
36542
|
-
});
|
|
36543
|
-
}
|
|
36544
|
-
ngOnDestroy() {
|
|
36545
|
-
this.destroyed = true;
|
|
36546
|
-
this._subs.forEach(s => s.unsubscribe());
|
|
36547
|
-
}
|
|
36548
|
-
handleStockButtonClick(article) {
|
|
36549
|
-
this.articleForStock = article;
|
|
36550
|
-
this.showStock = !this.showStock;
|
|
36551
|
-
}
|
|
36552
|
-
cancelStockButtonClick() {
|
|
36553
|
-
this.showStock = !this.showStock;
|
|
36554
|
-
this.articleForStock = undefined;
|
|
36555
|
-
}
|
|
36556
|
-
handleExternalSourceClick(source) {
|
|
36557
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
36558
|
-
if (source) {
|
|
36559
|
-
this.catalogDefinition = source.catalogDefinition;
|
|
36560
|
-
this.externalSource = source.externalSource;
|
|
36561
|
-
let info = new ExternalCatalogStartupInfo();
|
|
36562
|
-
if (this.checkIfOpeningIsAllowed()) {
|
|
36563
|
-
const request = this.buildExternalCatalogRequest();
|
|
36564
|
-
info = yield this._articleService.getWebViewStartupInfo(request);
|
|
36565
|
-
this.catalogInfo = info;
|
|
36566
|
-
this.showExternalCatalog = true;
|
|
36567
|
-
}
|
|
36568
|
-
else {
|
|
36569
|
-
this._dialogService.showToast("EXTERNAL_CATALOG_ITEMS_ALREADY_ORDERED", true);
|
|
36570
|
-
}
|
|
36571
|
-
}
|
|
36572
|
-
});
|
|
36573
|
-
}
|
|
36574
|
-
handleArticleClick(article) {
|
|
36575
|
-
this.sku = article.articleNumber;
|
|
36576
|
-
this.showProduct = true;
|
|
36577
|
-
}
|
|
36578
|
-
handleAddArticleClick(json) {
|
|
36579
|
-
this.addArticleClicked.next({ article: json, quantity: 1 });
|
|
36580
|
-
}
|
|
36581
|
-
handleAddArticleFromArticleClick(data) {
|
|
36582
|
-
this.addArticleClicked.next(data);
|
|
36583
|
-
}
|
|
36584
|
-
handleAddExternalArticleClick(json) {
|
|
36585
|
-
this.addExternalArticleClicked.next(json);
|
|
36586
|
-
}
|
|
36587
|
-
handleBackClick(event) {
|
|
36588
|
-
this.showExternalCatalog = false;
|
|
36589
|
-
}
|
|
36590
|
-
handleIFrameFeedback(json) {
|
|
36591
|
-
this.iFrameFeedback.emit({ jsonString: json, catalog: this.catalogDefinition.getId(), sourceType: this.externalSource.type });
|
|
36592
|
-
if (this.externalSource.type !== ExternalCatalogTypes.Webshop) {
|
|
36593
|
-
this.showExternalCatalog = false;
|
|
36594
|
-
}
|
|
36595
|
-
}
|
|
36596
|
-
handleCatFarmArticleClicked(data) {
|
|
36597
|
-
this.catSku = data.article.articleNumber;
|
|
36598
|
-
this.catArtName = data.article.name;
|
|
36599
|
-
this.showProduct = true;
|
|
36600
|
-
}
|
|
36601
|
-
handleAddCatFarmArticleClicked(data) {
|
|
36602
|
-
this.addCatFarmArticleClicked.emit({ quantity: data.quantity, jsonString: data.article, catalog: this.catalogDefinition.getId() });
|
|
36603
|
-
}
|
|
36604
|
-
checkIfOpeningIsAllowed() {
|
|
36605
|
-
if (this.transaction.transactionInfo.orderLineSets && this.transaction.transactionInfo.orderLineSets.length > 0) {
|
|
36606
|
-
let orderLineSetCodes = this.transaction.transactionInfo.orderLineSets.filter(o => o.catalogId = this.catalogDefinition.getId()).map(o => o.orderLineSetCode);
|
|
36607
|
-
this.transaction.transactionLines.forEach(l => {
|
|
36608
|
-
if ((orderLineSetCodes.findIndex(c => c === l.orderLineSetCode) >= 0)
|
|
36609
|
-
&& l.articleLineStatus && l.articleLineStatus.hasOwnProperty('quantityOrdered') && l.articleLineStatus.quantityOrdered > 0) {
|
|
36610
|
-
return false;
|
|
36611
|
-
}
|
|
36612
|
-
});
|
|
36613
|
-
return true;
|
|
36614
|
-
}
|
|
36615
|
-
else {
|
|
36616
|
-
return true;
|
|
36617
|
-
}
|
|
36618
|
-
}
|
|
36619
|
-
buildExternalCatalogRequest() {
|
|
36620
|
-
const request = new ExternalCatalogStartupInfoRequest();
|
|
36621
|
-
request.catalogId = this.catalogDefinition.getId();
|
|
36622
|
-
request.posEmployee = this.transaction.transactionInfo.handledBy;
|
|
36623
|
-
request.ioneOrderNr = this.transaction.transactionInfo.transactionNr.toString();
|
|
36624
|
-
if (this.transaction.transactionInfo.relation) {
|
|
36625
|
-
request.posName = this.transaction.transactionInfo.relation.familyName;
|
|
36626
|
-
}
|
|
36627
|
-
else {
|
|
36628
|
-
request.posName = 'NNB'; //Nog Niet Bepaald
|
|
36629
|
-
}
|
|
36630
|
-
this.expandExternalCatalogRequestIfNeeded(request);
|
|
36631
|
-
return request;
|
|
36632
|
-
}
|
|
36633
|
-
expandExternalCatalogRequestIfNeeded(request) {
|
|
36634
|
-
if (this.transaction.transactionInfo.orderLineSets && this.transaction.transactionInfo.orderLineSets.length > 0) {
|
|
36635
|
-
let orderLineSet = this.transaction.transactionInfo.orderLineSets.find(set => set.catalogId === this.catalogDefinition.getId());
|
|
36636
|
-
if (orderLineSet) {
|
|
36637
|
-
request.posAuping = orderLineSet.aupOrderNr;
|
|
36638
|
-
if (request.posAuping) {
|
|
36639
|
-
request.posStatus = 'Change';
|
|
36640
|
-
}
|
|
36641
|
-
if (orderLineSet.vdProjectId) {
|
|
36642
|
-
request.orderId = orderLineSet.vdProjectId;
|
|
36643
|
-
}
|
|
36644
|
-
else if (orderLineSet.wtProjectNr) {
|
|
36645
|
-
request.orderId = orderLineSet.wtProjectNr;
|
|
36646
|
-
}
|
|
36647
|
-
}
|
|
36648
|
-
}
|
|
36649
|
-
}
|
|
36650
|
-
}
|
|
36651
|
-
DialogCatalogComponent.decorators = [
|
|
36652
|
-
{ type: Component, args: [{
|
|
36653
|
-
selector: "co-dialog-catalog",
|
|
36654
|
-
template: `
|
|
36655
|
-
<co-dialog (closeClick)="closeClick.emit($event)" [@.disabled]="destroyed">
|
|
36656
|
-
<co-icon *ngIf="showExternalCatalog" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)"
|
|
36657
|
-
(click)="handleBackClick($event)"></co-icon>
|
|
36658
|
-
<ng-container *ngIf="!showExternalCatalog">
|
|
36659
|
-
<div class="dialog-catalog-product-wrapper" [class.show-product]="showProduct">
|
|
36660
|
-
<co-catalog-search
|
|
36661
|
-
[title]="'CATALOG' | localize"
|
|
36662
|
-
[subTitle]="'SEARCH_BY_ARTICLENUMBER_NAME_OR_DESCRIPTION' | localize"
|
|
36663
|
-
[searchPlaceholder]="'SEARCH_BY_ARTICLENUMBER_OR_DESCRIPTION' | localize"
|
|
36664
|
-
[createFrozenArticle]="handleAddArticleInternally"
|
|
36665
|
-
[showNavigation]="true"
|
|
36666
|
-
[settings]="catalogSettings"
|
|
36667
|
-
(onExternalSourceClick)="handleExternalSourceClick($event)"
|
|
36668
|
-
(onAddArticleButtonClick)="handleAddArticleClick($event)"
|
|
36669
|
-
(onLookAtArticleButtonClick)="handleArticleClick($event)"
|
|
36670
|
-
(onArticleClick)="handleArticleClick($event)">
|
|
36671
|
-
</co-catalog-search>
|
|
36672
|
-
<div class="catalog-article-wrapper">
|
|
36673
|
-
<co-icon class="back-button-product" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)"
|
|
36674
|
-
(click)="showProduct = false"></co-icon>
|
|
36675
|
-
<app-ione-product *ngIf="showProduct"
|
|
36676
|
-
[sku]="sku"
|
|
36677
|
-
[settings]="catalogSettings"
|
|
36678
|
-
[handleAddArticleInternally]="handleAddArticleInternally"
|
|
36679
|
-
(onAddToCart)="handleAddArticleFromArticleClick($event)"
|
|
36680
|
-
></app-ione-product>
|
|
36681
|
-
</div>
|
|
36682
|
-
</div>
|
|
36683
|
-
</ng-container>
|
|
36684
|
-
<ng-container *ngIf="showExternalCatalog">
|
|
36685
|
-
<div class="dialog-catalog-product-wrapper" [class.show-product]="showProduct">
|
|
36686
|
-
|
|
36687
|
-
<co-catalog-external-source
|
|
36688
|
-
[externalCatalogStartupInfo]="catalogInfo"
|
|
36689
|
-
[title]="'CATALOG' | localize | append: ' ' | append: externalCatalogName"
|
|
36690
|
-
[subTitle]="'SEARCH_BY_ARTICLENUMBER_NAME_OR_DESCRIPTION' | localize"
|
|
36691
|
-
[searchPlaceholder]="'SEARCH_BY_ARTICLENUMBER_OR_DESCRIPTION' | localize"
|
|
36692
|
-
[name]="externalCatalogName"
|
|
36693
|
-
[options]="externalCatalogOptions"
|
|
36694
|
-
[showNavigation]="false"
|
|
36695
|
-
(articleClick)="handleCatFarmArticleClicked($event)"
|
|
36696
|
-
(addArticleClick)="handleAddCatFarmArticleClicked($event)"
|
|
36697
|
-
(iFrameFeedbackReceived)="handleIFrameFeedback($event)"
|
|
36698
|
-
></co-catalog-external-source>
|
|
36699
|
-
|
|
36700
|
-
<div class="catalog-article-wrapper">
|
|
36701
|
-
<co-icon class="back-button-product" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)"
|
|
36702
|
-
(click)="showProduct = false"></co-icon>
|
|
36703
|
-
<co-product-external-source *ngIf="showProduct"
|
|
36704
|
-
[externalSource]="externalSource"
|
|
36705
|
-
[sku]="catSku"
|
|
36706
|
-
(addToCart)="handleAddCatFarmArticleClicked($event)"
|
|
36707
|
-
></co-product-external-source>
|
|
36708
|
-
</div>
|
|
36709
|
-
</div>
|
|
36710
|
-
</ng-container>
|
|
36711
|
-
</co-dialog>
|
|
36712
|
-
<co-dialog *ngIf="articleForStock && showStock" (closeClick)="cancelStockButtonClick()">
|
|
36713
|
-
<co-stock [article]="articleForStock" (cancelButtonClicked)="cancelStockButtonClick()"></co-stock>
|
|
36714
|
-
</co-dialog>
|
|
36715
|
-
`,
|
|
36716
|
-
providers: [
|
|
36717
|
-
CatalogService,
|
|
36718
|
-
ProductConnectorService,
|
|
36719
|
-
ProductConnectorAdapterService,
|
|
36720
|
-
ProductSettingsService,
|
|
36721
|
-
ProductEventService
|
|
36722
|
-
],
|
|
36723
|
-
animations: [
|
|
36724
|
-
trigger("showHideProduct", [
|
|
36725
|
-
state("true", style({ transform: "translateX(-50%)" })),
|
|
36726
|
-
state("false", style({ transform: "translateX(0)" })),
|
|
36727
|
-
transition("false <=> true", animate("200ms ease-in-out"))
|
|
36728
|
-
])
|
|
36729
|
-
],
|
|
36730
|
-
encapsulation: ViewEncapsulation.None
|
|
36731
|
-
},] }
|
|
36732
|
-
];
|
|
36733
|
-
DialogCatalogComponent.ctorParameters = () => [
|
|
36734
|
-
{ type: TransactionService },
|
|
36735
|
-
{ type: CatalogService },
|
|
36736
|
-
{ type: CatalogEventService },
|
|
36737
|
-
{ type: ArticleService },
|
|
36738
|
-
{ type: DialogService },
|
|
36739
|
-
{ type: IconCacheService }
|
|
36740
|
-
];
|
|
36741
|
-
DialogCatalogComponent.propDecorators = {
|
|
36742
|
-
handleAddArticleInternally: [{ type: Input }],
|
|
36743
|
-
options: [{ type: Input }],
|
|
36744
|
-
parameters: [{ type: Input }],
|
|
36745
|
-
showNavigation: [{ type: Input }],
|
|
36746
|
-
transaction: [{ type: Input }],
|
|
36747
|
-
closeClick: [{ type: Output }],
|
|
36748
|
-
articleClicked: [{ type: Output }],
|
|
36749
|
-
iFrameFeedback: [{ type: Output }],
|
|
36750
|
-
addArticleClicked: [{ type: Output }],
|
|
36751
|
-
addCatFarmArticleClicked: [{ type: Output }],
|
|
36752
|
-
addExternalArticleClicked: [{ type: Output }],
|
|
36753
|
-
showClass: [{ type: HostBinding, args: ["class.co-dialog-catalog",] }]
|
|
36754
|
-
};
|
|
36755
|
-
|
|
36756
|
-
class DialogCatalogModule {
|
|
36757
|
-
}
|
|
36758
|
-
DialogCatalogModule.decorators = [
|
|
36759
|
-
{ type: NgModule, args: [{
|
|
36760
|
-
imports: [
|
|
36761
|
-
CommonModule,
|
|
36762
|
-
CoDialogModule,
|
|
36763
|
-
CatalogSearchModule.ForRoot(),
|
|
36764
|
-
StockModule,
|
|
36765
|
-
PipeModule,
|
|
36766
|
-
CatalogExternalSourceModule,
|
|
36767
|
-
IconModule,
|
|
36768
|
-
IoneProductModule,
|
|
36769
|
-
ProductExternalSourceModule
|
|
36770
|
-
],
|
|
36771
|
-
declarations: [
|
|
36772
|
-
DialogCatalogComponent
|
|
36773
|
-
],
|
|
36774
|
-
exports: [
|
|
36775
|
-
DialogCatalogComponent
|
|
36776
|
-
]
|
|
36777
|
-
},] }
|
|
36778
|
-
];
|
|
36779
|
-
|
|
36780
37616
|
class TransactionSendDocumentsModule {
|
|
36781
37617
|
}
|
|
36782
37618
|
TransactionSendDocumentsModule.decorators = [
|
|
@@ -41135,7 +41971,7 @@ TransactionPurchaseOrderFilterContentArticleComponent.decorators = [
|
|
|
41135
41971
|
<co-transaction-filter-item [placeholder]="'ARTICLE_NR'"
|
|
41136
41972
|
[minSearchCharsToLoadCollection]="3"
|
|
41137
41973
|
[collectionLoadFn]="getArticles"
|
|
41138
|
-
[mode]="modes.
|
|
41974
|
+
[mode]="modes.Filterlist"
|
|
41139
41975
|
[model]="searchService.searchRequest.articleNr">
|
|
41140
41976
|
</co-transaction-filter-item>
|
|
41141
41977
|
</div>
|
|
@@ -41369,7 +42205,7 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
41369
42205
|
<co-transaction-filter-item [placeholder]="'WAREHOUSE'"
|
|
41370
42206
|
[collection]="warehouses"
|
|
41371
42207
|
[(model)]="searchService.searchRequest.warehouse"
|
|
41372
|
-
[mode]="modes.
|
|
42208
|
+
[mode]="modes.Filterlist">
|
|
41373
42209
|
</co-transaction-filter-item>
|
|
41374
42210
|
</div>
|
|
41375
42211
|
|
|
@@ -41377,7 +42213,7 @@ TransactionPurchaseOrderFilterContentLogisticsComponent.decorators = [
|
|
|
41377
42213
|
<div class="filter-item-wrapper">
|
|
41378
42214
|
<co-transaction-filter-item [placeholder]="'SOURCE_WAREHOUSE'"
|
|
41379
42215
|
[(model)]="searchService.searchRequest.sourceWarehouse"
|
|
41380
|
-
[mode]="modes.
|
|
42216
|
+
[mode]="modes.Filterlist"
|
|
41381
42217
|
[collection]="sourceWarehouses"
|
|
41382
42218
|
(modelChange)="modelChange($event)">
|
|
41383
42219
|
</co-transaction-filter-item>
|
|
@@ -41870,7 +42706,7 @@ TransactionSalesOrderFilterContentArticleComponent.decorators = [
|
|
|
41870
42706
|
[collectionLoadFn]="getArticles"
|
|
41871
42707
|
[minSearchCharsToLoadCollection]="3"
|
|
41872
42708
|
[(model)]="searchService.searchRequest.articleNr"
|
|
41873
|
-
[mode]="modes.
|
|
42709
|
+
[mode]="modes.Filterlist">
|
|
41874
42710
|
</co-transaction-filter-item>
|
|
41875
42711
|
</div>
|
|
41876
42712
|
|
|
@@ -42116,7 +42952,7 @@ TransactionSalesOrderFilterContentLogisticsComponent.decorators = [
|
|
|
42116
42952
|
<co-transaction-filter-item [placeholder]="'WAREHOUSE'"
|
|
42117
42953
|
[collection]="warehouses"
|
|
42118
42954
|
[(model)]="searchService.searchRequest.warehouse"
|
|
42119
|
-
[mode]="modes.
|
|
42955
|
+
[mode]="modes.Filterlist">
|
|
42120
42956
|
</co-transaction-filter-item>
|
|
42121
42957
|
</div>
|
|
42122
42958
|
|
|
@@ -42125,7 +42961,7 @@ TransactionSalesOrderFilterContentLogisticsComponent.decorators = [
|
|
|
42125
42961
|
<co-transaction-filter-item [placeholder]="'SOURCE_WAREHOUSE'"
|
|
42126
42962
|
[collection]="sourceWarehouses"
|
|
42127
42963
|
[(model)]="searchService.searchRequest.sourceWarehouse"
|
|
42128
|
-
[mode]="modes.
|
|
42964
|
+
[mode]="modes.Filterlist">
|
|
42129
42965
|
</co-transaction-filter-item>
|
|
42130
42966
|
</div>
|
|
42131
42967
|
|
|
@@ -42460,7 +43296,7 @@ TransactionSalesOrderFilterContentOrderComponent.decorators = [
|
|
|
42460
43296
|
<div class="filter-item-wrapper">
|
|
42461
43297
|
<co-transaction-filter-item [placeholder]="'CUSTOMER_GROUP'"
|
|
42462
43298
|
[(model)]="searchService.searchRequest.customerGroupId"
|
|
42463
|
-
[mode]="modes.
|
|
43299
|
+
[mode]="modes.Filterlist"
|
|
42464
43300
|
[collection]="customerGroups">
|
|
42465
43301
|
</co-transaction-filter-item>
|
|
42466
43302
|
</div>
|
|
@@ -43588,7 +44424,7 @@ TransactionSalesQuotationFilterContentOrderComponent.decorators = [
|
|
|
43588
44424
|
<div class="filter-item-wrapper">
|
|
43589
44425
|
<co-transaction-filter-item [placeholder]="'CUSTOMER_GROUP'"
|
|
43590
44426
|
[(model)]="searchRequest.customerGroupId"
|
|
43591
|
-
[mode]="modes.
|
|
44427
|
+
[mode]="modes.Filterlist"
|
|
43592
44428
|
[collection]="customerGroups">
|
|
43593
44429
|
</co-transaction-filter-item>
|
|
43594
44430
|
</div>
|
|
@@ -43693,7 +44529,7 @@ TransactionSalesQuotationFilterContentLogisticsComponent.decorators = [
|
|
|
43693
44529
|
<co-transaction-filter-item [placeholder]="'WAREHOUSE'"
|
|
43694
44530
|
[collection]="warehouses"
|
|
43695
44531
|
[(model)]="searchRequest.warehouse"
|
|
43696
|
-
[mode]="modes.
|
|
44532
|
+
[mode]="modes.Filterlist">
|
|
43697
44533
|
</co-transaction-filter-item>
|
|
43698
44534
|
</div>
|
|
43699
44535
|
|
|
@@ -43793,7 +44629,7 @@ TransactionSalesQuotationFilterContentArticleComponent.decorators = [
|
|
|
43793
44629
|
[collectionLoadFn]="getArticles"
|
|
43794
44630
|
[minSearchCharsToLoadCollection]="3"
|
|
43795
44631
|
[(model)]="searchRequest.articleNr"
|
|
43796
|
-
[mode]="modes.
|
|
44632
|
+
[mode]="modes.Filterlist">
|
|
43797
44633
|
</co-transaction-filter-item>
|
|
43798
44634
|
</div>
|
|
43799
44635
|
|
|
@@ -43938,7 +44774,7 @@ TransactionCashDeskFilterContentArticleComponent.decorators = [
|
|
|
43938
44774
|
[collectionLoadFn]="getArticles"
|
|
43939
44775
|
[minSearchCharsToLoadCollection]="3"
|
|
43940
44776
|
[(model)]="searchService.searchRequest.articleNr"
|
|
43941
|
-
[mode]="modes.
|
|
44777
|
+
[mode]="modes.Filterlist">
|
|
43942
44778
|
</co-transaction-filter-item>
|
|
43943
44779
|
</div>
|
|
43944
44780
|
|
|
@@ -44184,7 +45020,7 @@ TransactionCashDeskFilterContentLogisticsComponent.decorators = [
|
|
|
44184
45020
|
<co-transaction-filter-item [placeholder]="'WAREHOUSE'"
|
|
44185
45021
|
[collection]="warehouses"
|
|
44186
45022
|
[(model)]="searchService.searchRequest.warehouse"
|
|
44187
|
-
[mode]="modes.
|
|
45023
|
+
[mode]="modes.Filterlist">
|
|
44188
45024
|
</co-transaction-filter-item>
|
|
44189
45025
|
</div>
|
|
44190
45026
|
|
|
@@ -44193,7 +45029,7 @@ TransactionCashDeskFilterContentLogisticsComponent.decorators = [
|
|
|
44193
45029
|
<co-transaction-filter-item [placeholder]="'SOURCE_WAREHOUSE'"
|
|
44194
45030
|
[collection]="sourceWarehouses"
|
|
44195
45031
|
[(model)]="searchService.searchRequest.sourceWarehouse"
|
|
44196
|
-
[mode]="modes.
|
|
45032
|
+
[mode]="modes.Filterlist">
|
|
44197
45033
|
</co-transaction-filter-item>
|
|
44198
45034
|
</div>
|
|
44199
45035
|
|
|
@@ -44528,7 +45364,7 @@ TransactionCashDeskFilterContentOrderComponent.decorators = [
|
|
|
44528
45364
|
<div class="filter-item-wrapper">
|
|
44529
45365
|
<co-transaction-filter-item [placeholder]="'CUSTOMER_GROUP'"
|
|
44530
45366
|
[(model)]="searchService.searchRequest.customerGroupId"
|
|
44531
|
-
[mode]="modes.
|
|
45367
|
+
[mode]="modes.Filterlist"
|
|
44532
45368
|
[collection]="customerGroups">
|
|
44533
45369
|
</co-transaction-filter-item>
|
|
44534
45370
|
</div>
|
|
@@ -47555,6 +48391,7 @@ class TransactionServiceOverviewComponent extends TransactionBaseComponent {
|
|
|
47555
48391
|
this.transactionService = transactionService;
|
|
47556
48392
|
this.changeDetector = changeDetector;
|
|
47557
48393
|
this._dialogService = _dialogService;
|
|
48394
|
+
this.TableName = TableName;
|
|
47558
48395
|
this.Icon = Icon;
|
|
47559
48396
|
this.priorityDomainColl = [];
|
|
47560
48397
|
this.causeCodeColl = [];
|
|
@@ -47578,7 +48415,7 @@ class TransactionServiceOverviewComponent extends TransactionBaseComponent {
|
|
|
47578
48415
|
this.documents = fetchedDocuments;
|
|
47579
48416
|
this.documents.forEach((d) => __awaiter(this, void 0, void 0, function* () { return d.documentBody = yield this.transactionService.loadDocumentContent(d.documentId); }));
|
|
47580
48417
|
});
|
|
47581
|
-
this.
|
|
48418
|
+
this.getActivities();
|
|
47582
48419
|
});
|
|
47583
48420
|
}
|
|
47584
48421
|
ngOnDestroy() {
|
|
@@ -47589,6 +48426,32 @@ class TransactionServiceOverviewComponent extends TransactionBaseComponent {
|
|
|
47589
48426
|
this.priorityModel = this.priorityDomainColl.find(p => p.codeAsNumber === value.priority);
|
|
47590
48427
|
}
|
|
47591
48428
|
}*/
|
|
48429
|
+
getActivities() {
|
|
48430
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
48431
|
+
this.activities = yield this.transactionService.getHistoricActivities(this.transactionInfo.id);
|
|
48432
|
+
});
|
|
48433
|
+
}
|
|
48434
|
+
//TODO figure this out
|
|
48435
|
+
canFireTrigger() {
|
|
48436
|
+
return (actTaskObject) => {
|
|
48437
|
+
return Promise.resolve(true);
|
|
48438
|
+
};
|
|
48439
|
+
/*return (actTaskObject: {activity:Activity, task: Task }) => {
|
|
48440
|
+
if (actTaskObject.activity && actTaskObject.activity.isNew) {
|
|
48441
|
+
this.transactionService.insertActivity(actTaskObject.activity);
|
|
48442
|
+
} else {
|
|
48443
|
+
this.transactionService.updateActivity(actTaskObject.activity);
|
|
48444
|
+
}
|
|
48445
|
+
if (actTaskObject.task && !actTaskObject.task.workMandatory) {
|
|
48446
|
+
return Promise.resolve(true);
|
|
48447
|
+
}
|
|
48448
|
+
const activities: Activity[] = Promise.resolve(this.transactionService.getActivitiesForTransaction(actTaskObject.task.taskId.toString()));
|
|
48449
|
+
|
|
48450
|
+
};*/
|
|
48451
|
+
}
|
|
48452
|
+
refreshRequested() {
|
|
48453
|
+
this.getActivities();
|
|
48454
|
+
}
|
|
47592
48455
|
setPriority(priority) {
|
|
47593
48456
|
if (priority) {
|
|
47594
48457
|
this.priorityModel = this.priorityDomainColl.find(p => p.code === priority.code);
|
|
@@ -47683,6 +48546,8 @@ TransactionServiceOverviewComponent.decorators = [
|
|
|
47683
48546
|
[documents]="documents"></co-files-upload>
|
|
47684
48547
|
</div>
|
|
47685
48548
|
<co-activity-list [activities]="activities"></co-activity-list>
|
|
48549
|
+
<co-component-activity-list [table]="TableName.Transactions" [key]="transactionInfo.id.toString()" (refreshRequested)="refreshRequested()" >
|
|
48550
|
+
</co-component-activity-list>
|
|
47686
48551
|
|
|
47687
48552
|
<div class="task-button-wrapper">
|
|
47688
48553
|
<co-button [iconData]="iconCacheService.getIcon(icons.ListRegular)"></co-button>
|
|
@@ -47725,7 +48590,8 @@ TransactionServiceOverviewModule.decorators = [
|
|
|
47725
48590
|
CollapsibleModule,
|
|
47726
48591
|
CommonModule,
|
|
47727
48592
|
FilesUploadModule,
|
|
47728
|
-
ActivityListModule
|
|
48593
|
+
ActivityListModule,
|
|
48594
|
+
ComponentActivityListModule
|
|
47729
48595
|
],
|
|
47730
48596
|
declarations: [
|
|
47731
48597
|
TransactionServiceOverviewComponent
|
|
@@ -49435,27 +50301,161 @@ TransactionBaseGridModule.decorators = [
|
|
|
49435
50301
|
];
|
|
49436
50302
|
|
|
49437
50303
|
class DialogDirectSellComponent {
|
|
49438
|
-
constructor(iconCacheService) {
|
|
50304
|
+
constructor(iconCacheService, transactionService, _relationService) {
|
|
49439
50305
|
this.iconCacheService = iconCacheService;
|
|
50306
|
+
this.transactionService = transactionService;
|
|
50307
|
+
this._relationService = _relationService;
|
|
49440
50308
|
this.showDirectSellModal = new EventEmitter();
|
|
49441
50309
|
this.icons = Icon;
|
|
50310
|
+
this.directSellSuppliers = [];
|
|
50311
|
+
this.supplierStockRowSelected = false;
|
|
50312
|
+
this.tempObject = {
|
|
50313
|
+
articleNumber: 'articleNumber 123',
|
|
50314
|
+
availableStock: 10,
|
|
50315
|
+
supplierStockForecasts: [
|
|
50316
|
+
{
|
|
50317
|
+
purchaseOrderNumber: 1,
|
|
50318
|
+
amount: 11,
|
|
50319
|
+
amountReserved: 7,
|
|
50320
|
+
amountAvailable: 4,
|
|
50321
|
+
deliveryDate: new Date(),
|
|
50322
|
+
confirmedDeliveryDate: new Date(),
|
|
50323
|
+
arrivalDate: new Date()
|
|
50324
|
+
},
|
|
50325
|
+
{
|
|
50326
|
+
purchaseOrderNumber: 2,
|
|
50327
|
+
amount: 14,
|
|
50328
|
+
amountReserved: 7,
|
|
50329
|
+
amountAvailable: 7,
|
|
50330
|
+
deliveryDate: new Date(),
|
|
50331
|
+
confirmedDeliveryDate: new Date(),
|
|
50332
|
+
arrivalDate: new Date()
|
|
50333
|
+
},
|
|
50334
|
+
{
|
|
50335
|
+
purchaseOrderNumber: 3,
|
|
50336
|
+
amount: 5,
|
|
50337
|
+
amountReserved: 1,
|
|
50338
|
+
amountAvailable: 4,
|
|
50339
|
+
deliveryDate: new Date(),
|
|
50340
|
+
confirmedDeliveryDate: new Date(),
|
|
50341
|
+
arrivalDate: new Date()
|
|
50342
|
+
}
|
|
50343
|
+
]
|
|
50344
|
+
};
|
|
50345
|
+
}
|
|
50346
|
+
ngOnInit() {
|
|
50347
|
+
this._getDirectSellSuppliers();
|
|
49442
50348
|
}
|
|
49443
50349
|
hideModal() {
|
|
49444
50350
|
this.showDirectSellModal.emit(false);
|
|
49445
50351
|
}
|
|
50352
|
+
handleSupplierChanged(supplier) {
|
|
50353
|
+
this._getAvailableStock();
|
|
50354
|
+
}
|
|
50355
|
+
handleChecked(event, row, index) {
|
|
50356
|
+
event.preventDefault();
|
|
50357
|
+
event.stopPropagation();
|
|
50358
|
+
console.log(event);
|
|
50359
|
+
console.log(row);
|
|
50360
|
+
const checkbox = this.checkboxes.toArray()[index];
|
|
50361
|
+
checkbox.model = !checkbox.model;
|
|
50362
|
+
}
|
|
50363
|
+
onOkClick() {
|
|
50364
|
+
const changeLineDirectSellRequest = {
|
|
50365
|
+
transactionUuid: this.transactionUuid,
|
|
50366
|
+
lineUuid: this.lineUuid,
|
|
50367
|
+
newDirectSell: true
|
|
50368
|
+
};
|
|
50369
|
+
console.log(changeLineDirectSellRequest);
|
|
50370
|
+
// this.transactionService.changeLineDirectSell(changeLineDirectSellRequest).then((response) => {
|
|
50371
|
+
// console.log(response);
|
|
50372
|
+
// });
|
|
50373
|
+
this.hideModal();
|
|
50374
|
+
}
|
|
50375
|
+
_getAvailableStock() {
|
|
50376
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50377
|
+
// TODO this method doesn't retrieve any data for now, until we fix ESB instance as this is a call to a third party
|
|
50378
|
+
// await this.transactionService.getAvailableStockForSupplier(this.goodId, this.selectedSupplier.relationId).then((availableStock) => {
|
|
50379
|
+
// this.availableStockCollection = availableStock;
|
|
50380
|
+
// });
|
|
50381
|
+
// For now, we will use dummy data
|
|
50382
|
+
this.availableStockCollection = this.tempObject;
|
|
50383
|
+
console.log('this.availableStockCollection', this.availableStockCollection);
|
|
50384
|
+
});
|
|
50385
|
+
}
|
|
50386
|
+
_getDirectSellSuppliers() {
|
|
50387
|
+
this._relationService.getDirectSellSuppliers().then((suppliers) => {
|
|
50388
|
+
this.directSellSuppliers = suppliers;
|
|
50389
|
+
});
|
|
50390
|
+
}
|
|
49446
50391
|
}
|
|
49447
50392
|
DialogDirectSellComponent.decorators = [
|
|
49448
50393
|
{ type: Component, args: [{
|
|
49449
50394
|
selector: 'co-dialog-sell',
|
|
49450
50395
|
template: `
|
|
49451
50396
|
<co-dialog
|
|
49452
|
-
class="
|
|
50397
|
+
class="direct-sell-modal"
|
|
49453
50398
|
[showCloseIcon]="true"
|
|
49454
50399
|
[modal]="true"
|
|
49455
50400
|
[headerTemplate]="headerTemplate"
|
|
49456
50401
|
[footerTemplate]="footerTemplate"
|
|
49457
50402
|
(closeClick)="hideModal()">
|
|
49458
|
-
<div>
|
|
50403
|
+
<div class="supplier-list-wrapper flex">
|
|
50404
|
+
<co-list-of-values
|
|
50405
|
+
class="supplier-list"
|
|
50406
|
+
label="Direct Sell Supplier"
|
|
50407
|
+
[required]="true"
|
|
50408
|
+
[noClickFocus]="true"
|
|
50409
|
+
[searchPlaceholder]="'SEARCH' | localize"
|
|
50410
|
+
[collection]="directSellSuppliers"
|
|
50411
|
+
[displayField]="'supplierName'"
|
|
50412
|
+
[(model)]="selectedSupplier"
|
|
50413
|
+
(modelChange)="handleSupplierChanged($event)">
|
|
50414
|
+
</co-list-of-values>
|
|
50415
|
+
</div>
|
|
50416
|
+
|
|
50417
|
+
<div class="available-stock checkbox-list-wrapper" *ngIf="selectedSupplier">
|
|
50418
|
+
<div class="checkbox-list-item">
|
|
50419
|
+
<div class="cell">
|
|
50420
|
+
<div class="checkbox-wrapper">
|
|
50421
|
+
<co-input-checkbox [model]="false"></co-input-checkbox>
|
|
50422
|
+
</div>
|
|
50423
|
+
</div>
|
|
50424
|
+
<div class="cell">Uit vooraad</div>
|
|
50425
|
+
<div class="cell"><strong>{{availableStockCollection.availableStock}}</strong></div>
|
|
50426
|
+
</div>
|
|
50427
|
+
</div>
|
|
50428
|
+
|
|
50429
|
+
<div class="forecast-table" *ngIf="selectedSupplier">
|
|
50430
|
+
<div class="forecast-table-header">
|
|
50431
|
+
<div class="cell"></div>
|
|
50432
|
+
<div class="cell">Order</div>
|
|
50433
|
+
<div class="cell">Beschikbaar</div>
|
|
50434
|
+
<div class="cell">Leverdatum</div>
|
|
50435
|
+
<div class="cell">Leverdatum Bevestigd</div>
|
|
50436
|
+
<div class="cell">Aankomst Datum</div>
|
|
50437
|
+
</div>
|
|
50438
|
+
|
|
50439
|
+
<div class="checkbox-list-wrapper co-small-scrollbar">
|
|
50440
|
+
<div
|
|
50441
|
+
*ngFor="let row of availableStockCollection.supplierStockForecasts; let i = index"
|
|
50442
|
+
#scrollingItem
|
|
50443
|
+
class="checkbox-list-item"
|
|
50444
|
+
[class.checked]="checkbox.model"
|
|
50445
|
+
(click)="handleChecked($event, row, i)">
|
|
50446
|
+
<div class="cell">
|
|
50447
|
+
<div class="checkbox-wrapper">
|
|
50448
|
+
<co-input-checkbox #checkbox [model]="false"></co-input-checkbox>
|
|
50449
|
+
</div>
|
|
50450
|
+
</div>
|
|
50451
|
+
<div class="cell">{{row.purchaseOrderNumber}}</div>
|
|
50452
|
+
<div class="cell">{{row.amount}}</div>
|
|
50453
|
+
<div class="cell">{{row.deliveryDate | date}}</div>
|
|
50454
|
+
<div class="cell">{{row.confirmedDeliveryDate | date}}</div>
|
|
50455
|
+
<div class="cell">{{row.arrivalDate | date}}</div>
|
|
50456
|
+
</div>
|
|
50457
|
+
</div>
|
|
50458
|
+
</div>
|
|
49459
50459
|
</co-dialog>
|
|
49460
50460
|
<ng-template #headerTemplate>
|
|
49461
50461
|
<co-icon [iconData]="iconCacheService.getIcon(icons.IndustryRegular)"></co-icon>
|
|
@@ -49465,11 +50465,19 @@ DialogDirectSellComponent.decorators = [
|
|
|
49465
50465
|
<div class="co-dialog-footer-button-wrapper">
|
|
49466
50466
|
<co-button
|
|
49467
50467
|
class="save-button"
|
|
49468
|
-
[
|
|
50468
|
+
[disabled]="true"
|
|
50469
|
+
[iconData]="iconCacheService.getIcon(icons.CheckDuotone)"
|
|
50470
|
+
(click)="onOkClick()">
|
|
49469
50471
|
</co-button>
|
|
49470
50472
|
<co-button
|
|
49471
50473
|
class="close-button"
|
|
49472
|
-
[iconData]="iconCacheService.getIcon(icons.Crossskinny)"
|
|
50474
|
+
[iconData]="iconCacheService.getIcon(icons.Crossskinny)"
|
|
50475
|
+
(click)="hideModal()">
|
|
50476
|
+
</co-button>
|
|
50477
|
+
<co-button
|
|
50478
|
+
class="close-button"
|
|
50479
|
+
[iconData]="iconCacheService.getIcon(icons.TrashCanLight)"
|
|
50480
|
+
(click)="hideModal()">
|
|
49473
50481
|
</co-button>
|
|
49474
50482
|
</div>
|
|
49475
50483
|
</ng-template>
|
|
@@ -49478,10 +50486,16 @@ DialogDirectSellComponent.decorators = [
|
|
|
49478
50486
|
},] }
|
|
49479
50487
|
];
|
|
49480
50488
|
DialogDirectSellComponent.ctorParameters = () => [
|
|
49481
|
-
{ type: IconCacheService }
|
|
50489
|
+
{ type: IconCacheService },
|
|
50490
|
+
{ type: TransactionService },
|
|
50491
|
+
{ type: TransactionRelationService }
|
|
49482
50492
|
];
|
|
49483
50493
|
DialogDirectSellComponent.propDecorators = {
|
|
49484
|
-
|
|
50494
|
+
transactionUuid: [{ type: Input }],
|
|
50495
|
+
lineUuid: [{ type: Input }],
|
|
50496
|
+
goodId: [{ type: Input }],
|
|
50497
|
+
showDirectSellModal: [{ type: Output }],
|
|
50498
|
+
checkboxes: [{ type: ViewChildren, args: ['checkbox',] }]
|
|
49485
50499
|
};
|
|
49486
50500
|
|
|
49487
50501
|
class DialogTransactionLineWarehouseCcModule {
|
|
@@ -49497,7 +50511,9 @@ DialogTransactionLineWarehouseCcModule.decorators = [
|
|
|
49497
50511
|
TransactionLineWarehouseModule,
|
|
49498
50512
|
InputNumberPickerModule,
|
|
49499
50513
|
ButtonModule,
|
|
49500
|
-
IconModule
|
|
50514
|
+
IconModule,
|
|
50515
|
+
ListOfValuesModule,
|
|
50516
|
+
InputCheckboxModule
|
|
49501
50517
|
],
|
|
49502
50518
|
declarations: [
|
|
49503
50519
|
DialogTransactionLineWarehouseCcComponent,
|
|
@@ -50295,6 +51311,1011 @@ TransactionCashRegisterDialogModule.decorators = [
|
|
|
50295
51311
|
},] }
|
|
50296
51312
|
];
|
|
50297
51313
|
|
|
51314
|
+
class TransactionCreateService extends TransactionService {
|
|
51315
|
+
createServiceOrderWithTransactionLine(transId, lineNr) {
|
|
51316
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51317
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
51318
|
+
let request = new CreateServiceOrderWithSourceTransactionLineRequest();
|
|
51319
|
+
request.branchNr = this.currentBranch;
|
|
51320
|
+
request.customerRelationId = this.relation.relationId;
|
|
51321
|
+
request.sourceTransId = transId;
|
|
51322
|
+
request.sourceLineNr = lineNr;
|
|
51323
|
+
this.connector.createServiceOrderWithSourceTransactionLine(request).then((response) => {
|
|
51324
|
+
this.rememberCurrentTransaction(response);
|
|
51325
|
+
resolve(true);
|
|
51326
|
+
});
|
|
51327
|
+
}));
|
|
51328
|
+
});
|
|
51329
|
+
}
|
|
51330
|
+
createServiceOrderWithSourceGood(goodId) {
|
|
51331
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51332
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
51333
|
+
let request = new CreateServiceOrderWithSourceGoodRequest();
|
|
51334
|
+
request.branchNr = this.currentBranch;
|
|
51335
|
+
request.customerRelationId = this.relation.relationId;
|
|
51336
|
+
request.sourceGoodId = goodId;
|
|
51337
|
+
this.connector.createServiceOrderWithSourceGood(request).then((response) => {
|
|
51338
|
+
this.rememberCurrentTransaction(response);
|
|
51339
|
+
resolve(true);
|
|
51340
|
+
});
|
|
51341
|
+
}));
|
|
51342
|
+
});
|
|
51343
|
+
}
|
|
51344
|
+
createServiceOrderWithSLA(productName) {
|
|
51345
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51346
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
51347
|
+
let request = new CreateServiceOrderWithSLARequest();
|
|
51348
|
+
request.branchNr = this.currentBranch;
|
|
51349
|
+
request.customerRelationId = this.relation.relationId;
|
|
51350
|
+
request.productName = productName;
|
|
51351
|
+
this.connector.createServiceOrderWithSLA(request).then((response) => {
|
|
51352
|
+
this.rememberCurrentTransaction(response);
|
|
51353
|
+
resolve(true);
|
|
51354
|
+
});
|
|
51355
|
+
}));
|
|
51356
|
+
});
|
|
51357
|
+
}
|
|
51358
|
+
createServiceOrderWithSourceOrderNrAndArticleDescription(orderNr, articleDescription) {
|
|
51359
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51360
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
51361
|
+
let request = new CreateServiceOrderWithSourceOrderNrAndArticleDescriptionRequest();
|
|
51362
|
+
request.branchNr = this.currentBranch;
|
|
51363
|
+
request.customerRelationId = this.relation.relationId;
|
|
51364
|
+
request.sourceOrderNumber = orderNr;
|
|
51365
|
+
request.sourceArticleDescription = articleDescription;
|
|
51366
|
+
this.connector.createServiceOrderWithSourceOrderNrAndArticleDescription(request).then((response) => {
|
|
51367
|
+
this.rememberCurrentTransaction(response);
|
|
51368
|
+
resolve(true);
|
|
51369
|
+
});
|
|
51370
|
+
}));
|
|
51371
|
+
});
|
|
51372
|
+
}
|
|
51373
|
+
}
|
|
51374
|
+
|
|
51375
|
+
class TransactionCreateWizardComponent {
|
|
51376
|
+
constructor(createService, transactionScreenConfigurationService) {
|
|
51377
|
+
this.createService = createService;
|
|
51378
|
+
this.transactionScreenConfigurationService = transactionScreenConfigurationService;
|
|
51379
|
+
this.transKind = TransactionKind;
|
|
51380
|
+
this.transactionType = TransactionKind.SalesOrder;
|
|
51381
|
+
this.transactionFinished = new EventEmitter();
|
|
51382
|
+
}
|
|
51383
|
+
showClass() {
|
|
51384
|
+
return true;
|
|
51385
|
+
}
|
|
51386
|
+
ngOnInit() {
|
|
51387
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51388
|
+
yield this.transactionScreenConfigurationService.loadConfig(['V']);
|
|
51389
|
+
this.createService.transactionKind = this.transactionType;
|
|
51390
|
+
this.relationType = this.createService.getRelationKindFromTransactionKind();
|
|
51391
|
+
});
|
|
51392
|
+
}
|
|
51393
|
+
handleRelationValidation() {
|
|
51394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51395
|
+
let valid = this.relationSection.submit();
|
|
51396
|
+
if (valid) {
|
|
51397
|
+
this.stepRelationSection.completed = yield this.createService.saveRelation(true, false);
|
|
51398
|
+
}
|
|
51399
|
+
return valid;
|
|
51400
|
+
});
|
|
51401
|
+
}
|
|
51402
|
+
handleTransactionValidation() {
|
|
51403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51404
|
+
let valid = false;
|
|
51405
|
+
if (!this.createService.currentTransaction.transactionInfo.uuid) {
|
|
51406
|
+
if (this.transactionSection.createViaTransLine) {
|
|
51407
|
+
this.stepTransactionSection.completed = yield this.createService.createServiceOrderWithTransactionLine(Number(this.transactionSection.salesOrderId), Number(this.transactionSection.salesOrderLineNr));
|
|
51408
|
+
}
|
|
51409
|
+
else if (this.transactionSection.createViaProduct) {
|
|
51410
|
+
valid = yield this._validateForArticleTransaction();
|
|
51411
|
+
}
|
|
51412
|
+
else if (this.transactionSection.createViaOldTrans) {
|
|
51413
|
+
this.stepTransactionSection.completed = yield this.createService.createServiceOrderWithSourceOrderNrAndArticleDescription(this.transactionSection.oldOrderId, this.transactionSection.oldGoodId);
|
|
51414
|
+
}
|
|
51415
|
+
}
|
|
51416
|
+
else {
|
|
51417
|
+
valid = true;
|
|
51418
|
+
this.stepTransactionSection.completed = true;
|
|
51419
|
+
}
|
|
51420
|
+
return valid;
|
|
51421
|
+
});
|
|
51422
|
+
}
|
|
51423
|
+
handleWizardValidation() {
|
|
51424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51425
|
+
let valid = false;
|
|
51426
|
+
if (this.wizardSection.getQuaResult().length != 0) {
|
|
51427
|
+
valid = true;
|
|
51428
|
+
this.stepWizardSection.completed = true;
|
|
51429
|
+
}
|
|
51430
|
+
return valid;
|
|
51431
|
+
});
|
|
51432
|
+
}
|
|
51433
|
+
handleServiceInfoValidation() {
|
|
51434
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51435
|
+
//TODO add proper validation here should that be necessary
|
|
51436
|
+
let valid = true;
|
|
51437
|
+
if (valid && this.createService.currentTransaction.transactionInfo.uuid) {
|
|
51438
|
+
this.stepServiceFieldsSection.completed = yield this.createService.updateServiceHeaderReportMessage(this.serviceFieldsSection.serviceMessage, true);
|
|
51439
|
+
}
|
|
51440
|
+
yield this.createService.saveTransaction();
|
|
51441
|
+
this.transactionFinished.emit(this.createService.currentTransaction.transactionInfo.transactionNr);
|
|
51442
|
+
return valid;
|
|
51443
|
+
});
|
|
51444
|
+
}
|
|
51445
|
+
_validateForArticleTransaction() {
|
|
51446
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51447
|
+
let valid = false;
|
|
51448
|
+
if (this.transactionSection.chosenArticle) {
|
|
51449
|
+
valid = true;
|
|
51450
|
+
this.stepTransactionSection.completed = yield this.createService.createServiceOrderWithSourceGood(this.transactionSection.chosenArticle.goodId);
|
|
51451
|
+
}
|
|
51452
|
+
else {
|
|
51453
|
+
valid = false;
|
|
51454
|
+
this.stepTransactionSection.completed;
|
|
51455
|
+
this.transactionSection.showCatalogPopup = true;
|
|
51456
|
+
}
|
|
51457
|
+
return valid;
|
|
51458
|
+
});
|
|
51459
|
+
}
|
|
51460
|
+
}
|
|
51461
|
+
TransactionCreateWizardComponent.decorators = [
|
|
51462
|
+
{ type: Component, args: [{
|
|
51463
|
+
selector: "co-transaction-create-wizard",
|
|
51464
|
+
template: `
|
|
51465
|
+
<co-stepper [title]="'CREATE_SERVICE' | localize" showCreate="false">
|
|
51466
|
+
<co-stepper-step #stepRelationSection [index]="1" [label]="'PERSONAL_DATA' | localize" (validateStep)="handleRelationValidation()">
|
|
51467
|
+
<co-transaction-header-popup-relation #relationSection *ngIf="stepRelationSection.show" class="category-content" [(relation)]="createService.relation"
|
|
51468
|
+
[forceReadonly]="(createService.currentTransaction.transactionInfo.uuid !== undefined)" [showPrivacy]="false"
|
|
51469
|
+
></co-transaction-header-popup-relation>
|
|
51470
|
+
</co-stepper-step>
|
|
51471
|
+
<co-stepper-step #stepTransactionSection [index]="2" [label]="'HOW_TO_CREATE_SERVICE' | localize" (validateStep)="handleTransactionValidation()">
|
|
51472
|
+
<co-transaction-header-popup-create-service #transactionSection [forceReadonly]="(createService.currentTransaction.transactionInfo.uuid !== undefined)"></co-transaction-header-popup-create-service>
|
|
51473
|
+
</co-stepper-step>
|
|
51474
|
+
<co-stepper-step #stepWizardSection [index]="3" [label]="'SERVICE_WIZARD' | localize" (validateStep)="handleWizardValidation()">
|
|
51475
|
+
<co-transaction-header-popup-service-wizard #wizardSection></co-transaction-header-popup-service-wizard>
|
|
51476
|
+
</co-stepper-step>
|
|
51477
|
+
<co-stepper-step #stepServiceFieldsSection [index]="4" [label]="'SERVICE_INFO' | localize" (validateStep)="handleServiceInfoValidation()">
|
|
51478
|
+
<co-transaction-header-popup-service-fields #serviceFieldsSection></co-transaction-header-popup-service-fields>
|
|
51479
|
+
</co-stepper-step>
|
|
51480
|
+
<co-stepper-step [index]="5" [label]="'FINISH' | localize">
|
|
51481
|
+
</co-stepper-step>
|
|
51482
|
+
</co-stepper>
|
|
51483
|
+
|
|
51484
|
+
`,
|
|
51485
|
+
providers: [TransactionCreateService],
|
|
51486
|
+
encapsulation: ViewEncapsulation.None
|
|
51487
|
+
},] }
|
|
51488
|
+
];
|
|
51489
|
+
TransactionCreateWizardComponent.ctorParameters = () => [
|
|
51490
|
+
{ type: TransactionCreateService },
|
|
51491
|
+
{ type: TransactionScreenConfigurationService }
|
|
51492
|
+
];
|
|
51493
|
+
TransactionCreateWizardComponent.propDecorators = {
|
|
51494
|
+
stepRelationSection: [{ type: ViewChild, args: ["stepRelationSection",] }],
|
|
51495
|
+
relationSection: [{ type: ViewChild, args: ["relationSection",] }],
|
|
51496
|
+
stepTransactionSection: [{ type: ViewChild, args: ["stepTransactionSection",] }],
|
|
51497
|
+
transactionSection: [{ type: ViewChild, args: ["transactionSection",] }],
|
|
51498
|
+
stepWizardSection: [{ type: ViewChild, args: ["stepWizardSection",] }],
|
|
51499
|
+
wizardSection: [{ type: ViewChild, args: ["wizardSection",] }],
|
|
51500
|
+
stepServiceFieldsSection: [{ type: ViewChild, args: ["stepServiceFieldsSection",] }],
|
|
51501
|
+
serviceFieldsSection: [{ type: ViewChild, args: ["serviceFieldsSection",] }],
|
|
51502
|
+
transactionType: [{ type: Input }],
|
|
51503
|
+
transactionFinished: [{ type: Output }],
|
|
51504
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-create-wizard",] }]
|
|
51505
|
+
};
|
|
51506
|
+
|
|
51507
|
+
class CheckoutSimpleComponent {
|
|
51508
|
+
constructor(service, _dictionary, _dialogService) {
|
|
51509
|
+
this.service = service;
|
|
51510
|
+
this._dictionary = _dictionary;
|
|
51511
|
+
this._dialogService = _dialogService;
|
|
51512
|
+
this.transKind = TransactionKind;
|
|
51513
|
+
this.newTransaction = false;
|
|
51514
|
+
this.transactionType = TransactionKind.SalesOrder;
|
|
51515
|
+
this.showCreateTransactionButton = false;
|
|
51516
|
+
this.transactionFinished = new EventEmitter();
|
|
51517
|
+
this.editCartClick = new EventEmitter();
|
|
51518
|
+
this.deliveryAddressNawNr = 0;
|
|
51519
|
+
this.invoiceAddressNawNr = 0;
|
|
51520
|
+
}
|
|
51521
|
+
showClass() {
|
|
51522
|
+
return true;
|
|
51523
|
+
}
|
|
51524
|
+
ngOnInit() {
|
|
51525
|
+
if (this.newTransaction) {
|
|
51526
|
+
this.service.resetCurrentTransaction();
|
|
51527
|
+
}
|
|
51528
|
+
this.service.transactionKind = this.transactionType;
|
|
51529
|
+
this.relationType = this.service.getRelationKindFromTransactionKind();
|
|
51530
|
+
this.service.createNewRelation();
|
|
51531
|
+
}
|
|
51532
|
+
handleCreateTransaction(event) {
|
|
51533
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51534
|
+
let success = true;
|
|
51535
|
+
if (this.stepper.activeStep === 0 && (yield this.handleRelationValidation())) {
|
|
51536
|
+
success = yield this.service.saveRelation();
|
|
51537
|
+
if (success) {
|
|
51538
|
+
yield this.service.updateHeaderTransactionDefinitive(this.service.currentTransaction.transactionInfo.uuid, true, true);
|
|
51539
|
+
}
|
|
51540
|
+
}
|
|
51541
|
+
if (!success) {
|
|
51542
|
+
return;
|
|
51543
|
+
}
|
|
51544
|
+
const saveSuccess = yield this.service.saveTransactionAndCommit();
|
|
51545
|
+
if (saveSuccess) {
|
|
51546
|
+
this.handleTransactionFinished(this.service.currentTransaction.transactionInfo.transactionNr);
|
|
51547
|
+
}
|
|
51548
|
+
});
|
|
51549
|
+
}
|
|
51550
|
+
handleRelationValidation() {
|
|
51551
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51552
|
+
if (this.checkoutRelation && this.stepRelation) {
|
|
51553
|
+
const valid = this.checkoutRelation.submit();
|
|
51554
|
+
if (valid) {
|
|
51555
|
+
this.stepRelation.completed = yield this.saveRelation();
|
|
51556
|
+
}
|
|
51557
|
+
return valid;
|
|
51558
|
+
}
|
|
51559
|
+
});
|
|
51560
|
+
}
|
|
51561
|
+
handleDeliveryValidation() {
|
|
51562
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51563
|
+
if (this.checkoutDelivery && this.stepDelivery) {
|
|
51564
|
+
const valid = this.checkoutDelivery.submit();
|
|
51565
|
+
if (valid) {
|
|
51566
|
+
const saveSuccess = yield this.service.saveTransactionAndCommit();
|
|
51567
|
+
if (saveSuccess) {
|
|
51568
|
+
const lockSuccess = yield this.service.tryToLockTransaction(this.service.currentTransaction.transactionInfo.id, this.service.currentTransaction.transactionInfo.version);
|
|
51569
|
+
if (lockSuccess) {
|
|
51570
|
+
this.stepDelivery.completed = yield this.handleSaveDelivery();
|
|
51571
|
+
}
|
|
51572
|
+
}
|
|
51573
|
+
}
|
|
51574
|
+
return valid;
|
|
51575
|
+
}
|
|
51576
|
+
});
|
|
51577
|
+
}
|
|
51578
|
+
saveRelation() {
|
|
51579
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51580
|
+
const success = yield this.service.saveRelation();
|
|
51581
|
+
if (success) {
|
|
51582
|
+
if (this.deliveryAddressNawNr === null || this.deliveryAddressNawNr === undefined || this.deliveryAddressNawNr === 0 && this.service.relation.addresses && this.service.relation.addresses.length === 1) {
|
|
51583
|
+
this.deliveryAddressNawNr = this.service.relation.addresses[0].nawNr;
|
|
51584
|
+
}
|
|
51585
|
+
if (this.deliveryAddressNawNr && this.service.currentTransaction.transactionInfo.transactionAddress !== this.deliveryAddressNawNr) {
|
|
51586
|
+
yield this.service.updateHeaderDeliveryAddress(this.service.currentTransaction.transactionInfo.uuid, this.deliveryAddressNawNr);
|
|
51587
|
+
}
|
|
51588
|
+
const invoiceAddressNawNr = this.invoiceAddressNawNr ? this.invoiceAddressNawNr : this.deliveryAddressNawNr;
|
|
51589
|
+
if (this.service.currentTransaction.transactionInfo.invoiceAddress !== invoiceAddressNawNr) {
|
|
51590
|
+
yield this.service.updateHeaderInvoiceAddress(this.service.currentTransaction.transactionInfo.uuid, invoiceAddressNawNr);
|
|
51591
|
+
}
|
|
51592
|
+
}
|
|
51593
|
+
return success;
|
|
51594
|
+
});
|
|
51595
|
+
}
|
|
51596
|
+
handleSaveDelivery() {
|
|
51597
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51598
|
+
return true;
|
|
51599
|
+
});
|
|
51600
|
+
}
|
|
51601
|
+
handleDeliveryAddressChange(nawNr) {
|
|
51602
|
+
this.deliveryAddressNawNr = nawNr;
|
|
51603
|
+
}
|
|
51604
|
+
handleInvoiceAddressChange(nawNr) {
|
|
51605
|
+
this.invoiceAddressNawNr = nawNr;
|
|
51606
|
+
}
|
|
51607
|
+
handleTransactionFinished(id) {
|
|
51608
|
+
this.service.resetCurrentTransaction();
|
|
51609
|
+
this.transactionFinished.emit({ id: id, fromCheckout: this.showCreateTransactionButton });
|
|
51610
|
+
}
|
|
51611
|
+
}
|
|
51612
|
+
CheckoutSimpleComponent.decorators = [
|
|
51613
|
+
{ type: Component, args: [{
|
|
51614
|
+
selector: "co-checkout-simple",
|
|
51615
|
+
template: `
|
|
51616
|
+
<co-stepper #stepper
|
|
51617
|
+
[title]="service.titleForCheckout"
|
|
51618
|
+
[showStepper]="transactionType !== transKind.PurchaseOrder"
|
|
51619
|
+
[titleIcon]="service.iconForCheckout"
|
|
51620
|
+
[finishButtonLabel]="'CHECKOUT_FINISH' | localize"
|
|
51621
|
+
(createClicked)="handleCreateTransaction($event)"
|
|
51622
|
+
>
|
|
51623
|
+
<co-stepper-step #stepRelation [index]="1" [label]="'YOUR_DATA' | localize" (validateStep)="handleRelationValidation()">
|
|
51624
|
+
<co-checkout-simple-overview-relation-edit #checkoutRelation *ngIf="stepRelation.show"
|
|
51625
|
+
[(relation)]="service.relation"
|
|
51626
|
+
[relationKind]="relationType"
|
|
51627
|
+
[deliveryAddressNawNr]="deliveryAddressNawNr"
|
|
51628
|
+
[invoiceAddressNawNr]="invoiceAddressNawNr"
|
|
51629
|
+
(deliveryAddressChange)="handleDeliveryAddressChange($event)"
|
|
51630
|
+
(invoiceAddressChange)="handleInvoiceAddressChange($event)"
|
|
51631
|
+
(relationChange)="service.relation = $event"
|
|
51632
|
+
></co-checkout-simple-overview-relation-edit>
|
|
51633
|
+
</co-stepper-step>
|
|
51634
|
+
<co-stepper-step #stepDelivery [index]="2" [label]="'DELIVERY' | localize" (validateStep)="handleDeliveryValidation()">
|
|
51635
|
+
<co-checkout-simple-overview-delivery-edit #checkoutDelivery *ngIf="stepDelivery.show"
|
|
51636
|
+
[transaction]="service.currentTransaction"
|
|
51637
|
+
></co-checkout-simple-overview-delivery-edit>
|
|
51638
|
+
</co-stepper-step>
|
|
51639
|
+
<co-stepper-step #stepOverview [index]="3" [label]="service.paymentStepTitleForCheckout | localize">
|
|
51640
|
+
<co-checkout-simple-overview-payment *ngIf="stepOverview.show"
|
|
51641
|
+
[relation]="service.relation"
|
|
51642
|
+
[transaction]="service.currentTransaction"
|
|
51643
|
+
[showPayment]="transactionType === transKind.SalesOrder"
|
|
51644
|
+
(changeYourDataClick)="stepper.goto(0)"
|
|
51645
|
+
(changeDeliveryClick)="stepper.goto(1)"
|
|
51646
|
+
(payed)="handleTransactionFinished($event)"
|
|
51647
|
+
></co-checkout-simple-overview-payment>
|
|
51648
|
+
</co-stepper-step>
|
|
51649
|
+
<div class="co-checkout-right-panel">
|
|
51650
|
+
<div class="co-checkout-right-panel-relation">
|
|
51651
|
+
<co-avatar [relationId]="sellerId"></co-avatar>
|
|
51652
|
+
</div>
|
|
51653
|
+
<co-shopping-cart-preview *ngIf="!showCreateTransactionButton"
|
|
51654
|
+
[showCheckoutButton]="false"
|
|
51655
|
+
[withoutBorder]="true"
|
|
51656
|
+
(editCartClick)="editCartClick.emit($event)"
|
|
51657
|
+
></co-shopping-cart-preview>
|
|
51658
|
+
</div>
|
|
51659
|
+
</co-stepper>
|
|
51660
|
+
`,
|
|
51661
|
+
encapsulation: ViewEncapsulation.None
|
|
51662
|
+
},] }
|
|
51663
|
+
];
|
|
51664
|
+
CheckoutSimpleComponent.ctorParameters = () => [
|
|
51665
|
+
{ type: TransactionService },
|
|
51666
|
+
{ type: DictionaryService },
|
|
51667
|
+
{ type: DialogService }
|
|
51668
|
+
];
|
|
51669
|
+
CheckoutSimpleComponent.propDecorators = {
|
|
51670
|
+
stepper: [{ type: ViewChild, args: ["stepper",] }],
|
|
51671
|
+
stepRelation: [{ type: ViewChild, args: ["stepRelation",] }],
|
|
51672
|
+
stepDelivery: [{ type: ViewChild, args: ["stepDelivery",] }],
|
|
51673
|
+
stepOverview: [{ type: ViewChild, args: ["stepOverview",] }],
|
|
51674
|
+
stepPay: [{ type: ViewChild, args: ["stepPay",] }],
|
|
51675
|
+
checkoutRelation: [{ type: ViewChild, args: ["checkoutRelation",] }],
|
|
51676
|
+
checkoutDelivery: [{ type: ViewChild, args: ["checkoutDelivery",] }],
|
|
51677
|
+
checkoutPayment: [{ type: ViewChild, args: ["checkoutPayment",] }],
|
|
51678
|
+
newTransaction: [{ type: Input }],
|
|
51679
|
+
sellerId: [{ type: Input }],
|
|
51680
|
+
transactionType: [{ type: Input }],
|
|
51681
|
+
showCreateTransactionButton: [{ type: Input }],
|
|
51682
|
+
transactionFinished: [{ type: Output }],
|
|
51683
|
+
editCartClick: [{ type: Output }],
|
|
51684
|
+
showClass: [{ type: HostBinding, args: ["class.co-checkout-simple",] }]
|
|
51685
|
+
};
|
|
51686
|
+
|
|
51687
|
+
class CheckoutSimpleOverviewRelationEditComponent {
|
|
51688
|
+
constructor(_formMaster, service) {
|
|
51689
|
+
this._formMaster = _formMaster;
|
|
51690
|
+
this.service = service;
|
|
51691
|
+
this.relKind = RelationKind;
|
|
51692
|
+
this.icons = Icon;
|
|
51693
|
+
this.addressType = AddressType;
|
|
51694
|
+
this.validSubmit = new EventEmitter();
|
|
51695
|
+
this.invalidSubmit = new EventEmitter();
|
|
51696
|
+
this.deliveryAddressChange = new EventEmitter();
|
|
51697
|
+
this.invoiceAddressChange = new EventEmitter();
|
|
51698
|
+
this.relationChange = new EventEmitter();
|
|
51699
|
+
this._relation = new CustomerFullObject();
|
|
51700
|
+
this._relationKind = RelationKind.Customer;
|
|
51701
|
+
this.relationType = RelationNameKind.Private;
|
|
51702
|
+
}
|
|
51703
|
+
set relation(value) {
|
|
51704
|
+
if (this._relation && value && this._relation.relationId === value.relationId) {
|
|
51705
|
+
return;
|
|
51706
|
+
}
|
|
51707
|
+
this._relation = value;
|
|
51708
|
+
if (this._relation) {
|
|
51709
|
+
if (this._relation instanceof SupplierFullObject) {
|
|
51710
|
+
this._relation.type = RelationNameKind.Company;
|
|
51711
|
+
this.relationType = RelationNameKind.Company;
|
|
51712
|
+
}
|
|
51713
|
+
if (this._relation instanceof CustomerFullObject) {
|
|
51714
|
+
this.customerGroup = this._relation.customerGroup;
|
|
51715
|
+
}
|
|
51716
|
+
this.address = this._relation.getFirstAddressOrCreateNew();
|
|
51717
|
+
}
|
|
51718
|
+
}
|
|
51719
|
+
get relation() {
|
|
51720
|
+
return this._relation;
|
|
51721
|
+
}
|
|
51722
|
+
set relationKind(value) {
|
|
51723
|
+
this._relationKind = value;
|
|
51724
|
+
if (this._relationKind === RelationKind.Supplier) {
|
|
51725
|
+
this.relationType = RelationNameKind.Company;
|
|
51726
|
+
}
|
|
51727
|
+
}
|
|
51728
|
+
get relationKind() {
|
|
51729
|
+
return this._relationKind;
|
|
51730
|
+
}
|
|
51731
|
+
showClass() {
|
|
51732
|
+
return true;
|
|
51733
|
+
}
|
|
51734
|
+
get applicationUser() {
|
|
51735
|
+
return this.service.applicationUser;
|
|
51736
|
+
}
|
|
51737
|
+
ngOnInit() {
|
|
51738
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51739
|
+
if (this._relation) {
|
|
51740
|
+
this.address = this._relation.getFirstAddressOrCreateNew();
|
|
51741
|
+
}
|
|
51742
|
+
});
|
|
51743
|
+
}
|
|
51744
|
+
ngAfterViewInit() {
|
|
51745
|
+
const firstActiveAddress = this._relation.activeAddresses.length > 0 ? this._relation.activeAddresses[0] : undefined;
|
|
51746
|
+
if (!this.deliveryAddressNawNr) {
|
|
51747
|
+
this.deliveryAddressNawNr = firstActiveAddress ? firstActiveAddress.nawNr : 0;
|
|
51748
|
+
this.deliveryAddressChange.emit(this.deliveryAddressNawNr);
|
|
51749
|
+
}
|
|
51750
|
+
if (!this.invoiceAddressNawNr) {
|
|
51751
|
+
this.invoiceAddressNawNr = firstActiveAddress ? firstActiveAddress.nawNr : 0;
|
|
51752
|
+
this.invoiceAddressChange.emit(this.invoiceAddressNawNr);
|
|
51753
|
+
}
|
|
51754
|
+
}
|
|
51755
|
+
handleRelationTypeChange(relation) {
|
|
51756
|
+
this.relationType = relation.type;
|
|
51757
|
+
}
|
|
51758
|
+
emptyRelation(event) {
|
|
51759
|
+
this.service.createNewRelation();
|
|
51760
|
+
this.updateRelation(this.service.relation);
|
|
51761
|
+
}
|
|
51762
|
+
handleCustomerGroupChange(group) {
|
|
51763
|
+
this.customerGroup = group;
|
|
51764
|
+
if (this._relation instanceof CustomerFullObject) {
|
|
51765
|
+
this._relation.customerGroup = this.customerGroup;
|
|
51766
|
+
}
|
|
51767
|
+
}
|
|
51768
|
+
updateRelation(rel) {
|
|
51769
|
+
this.relation = rel;
|
|
51770
|
+
const firstActiveAddress = this._relation.activeAddresses.length > 0 ? this._relation.activeAddresses[0] : undefined;
|
|
51771
|
+
this.address = firstActiveAddress;
|
|
51772
|
+
this.deliveryAddressNawNr = firstActiveAddress ? firstActiveAddress.nawNr : 0;
|
|
51773
|
+
this.deliveryAddressChange.emit(this.deliveryAddressNawNr);
|
|
51774
|
+
this.invoiceAddressNawNr = firstActiveAddress ? firstActiveAddress.nawNr : 0;
|
|
51775
|
+
this.invoiceAddressChange.emit(this.invoiceAddressNawNr);
|
|
51776
|
+
this.relationChange.emit(this.relation);
|
|
51777
|
+
}
|
|
51778
|
+
submit() {
|
|
51779
|
+
return this._formMaster.submitSlaves();
|
|
51780
|
+
}
|
|
51781
|
+
handleDeliveryAddressChange(nawNr) {
|
|
51782
|
+
this.deliveryAddressChange.emit(nawNr);
|
|
51783
|
+
if (this.service.invoiceAddressSameAsDelivery) {
|
|
51784
|
+
this.invoiceAddressChange.emit(nawNr);
|
|
51785
|
+
}
|
|
51786
|
+
}
|
|
51787
|
+
checkSameAddress(checked) {
|
|
51788
|
+
this.invoiceAddressNawNr = this.deliveryAddressNawNr;
|
|
51789
|
+
this.invoiceAddressChange.next(this.invoiceAddressNawNr);
|
|
51790
|
+
}
|
|
51791
|
+
_setCountryNameToAddress(address) {
|
|
51792
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51793
|
+
if (address.countryId && !address.countryName) {
|
|
51794
|
+
const country = yield this.service.getCountry(address.countryId);
|
|
51795
|
+
address.countryName = country.description;
|
|
51796
|
+
}
|
|
51797
|
+
});
|
|
51798
|
+
}
|
|
51799
|
+
}
|
|
51800
|
+
CheckoutSimpleOverviewRelationEditComponent.decorators = [
|
|
51801
|
+
{ type: Component, args: [{
|
|
51802
|
+
selector: "co-checkout-simple-overview-relation-edit",
|
|
51803
|
+
template: `
|
|
51804
|
+
<div class="relation-edit-content">
|
|
51805
|
+
<co-form>
|
|
51806
|
+
<div class="checkout-form-wrapper">
|
|
51807
|
+
<div class="checkout-label-column">
|
|
51808
|
+
<span>01</span>
|
|
51809
|
+
<span class="label-description" [textContent]="'PERSONAL_DATA' | localize"></span>
|
|
51810
|
+
</div>
|
|
51811
|
+
<div class="checkout-data-column">
|
|
51812
|
+
<div class="checkout-data-row">
|
|
51813
|
+
<co-relation-type *ngIf="relationKind === relKind.Customer"
|
|
51814
|
+
[relation]="relation"
|
|
51815
|
+
(relationChange)="handleRelationTypeChange($event)"
|
|
51816
|
+
></co-relation-type>
|
|
51817
|
+
<co-button class="empty-relation-button default-width" [label]="'EMPTY' | localize" (click)="emptyRelation($event)"></co-button>
|
|
51818
|
+
</div>
|
|
51819
|
+
<div class="checkout-data-row" *ngIf="relationKind === relKind.Customer">
|
|
51820
|
+
<relation-customer-groups [model]="customerGroup" (modelChange)="handleCustomerGroupChange($event)" required></relation-customer-groups>
|
|
51821
|
+
</div>
|
|
51822
|
+
<div class="checkout-data-row">
|
|
51823
|
+
<co-relation-general [relation]="relation" [relationType]="relationType" (relationChange)="updateRelation($event)"></co-relation-general>
|
|
51824
|
+
</div>
|
|
51825
|
+
<div class="checkout-data-row">
|
|
51826
|
+
<co-relation-address [address]="address"></co-relation-address>
|
|
51827
|
+
</div>
|
|
51828
|
+
</div>
|
|
51829
|
+
<div class="checkout-data-column">
|
|
51830
|
+
<div class="checkout-data-row">
|
|
51831
|
+
<co-relation-addresses
|
|
51832
|
+
[relation]="relation"
|
|
51833
|
+
[addresses]="relation.addresses"
|
|
51834
|
+
[type]="addressType.DeliveryAddress"
|
|
51835
|
+
[selectedNawNr]="deliveryAddressNawNr"
|
|
51836
|
+
(selectedNawNrChange)="handleDeliveryAddressChange($event)"
|
|
51837
|
+
></co-relation-addresses>
|
|
51838
|
+
</div>
|
|
51839
|
+
</div>
|
|
51840
|
+
<div class="checkout-label-column" *ngIf="relationKind === relKind.Customer">
|
|
51841
|
+
<span>02</span>
|
|
51842
|
+
<span class="label-description" [textContent]="'INVOICE_ADDRESS' | localize"></span>
|
|
51843
|
+
</div>
|
|
51844
|
+
<div class="checkout-data-column" *ngIf="relationKind === relKind.Customer">
|
|
51845
|
+
<div class="checkout-data-row">
|
|
51846
|
+
<co-input-checkbox [(model)]="service.invoiceAddressSameAsDelivery" (modelChange)="checkSameAddress($event)" [label]="'SAME_AS_DELIVERY' | localize"></co-input-checkbox>
|
|
51847
|
+
</div>
|
|
51848
|
+
<div class="overview-delivery-invoice-address" *ngIf="!service.invoiceAddressSameAsDelivery" @showHideInvoiceAddress>
|
|
51849
|
+
<div class="checkout-data-row">
|
|
51850
|
+
<co-relation-addresses
|
|
51851
|
+
[relation]="relation"
|
|
51852
|
+
[addresses]="relation.activeAddresses"
|
|
51853
|
+
[type]="addressType.BillingAddress"
|
|
51854
|
+
[selectedNawNr]="invoiceAddressNawNr"
|
|
51855
|
+
(selectedNawNrChange)="invoiceAddressChange.emit($event)"
|
|
51856
|
+
></co-relation-addresses>
|
|
51857
|
+
</div>
|
|
51858
|
+
</div>
|
|
51859
|
+
</div>
|
|
51860
|
+
<div class="checkout-label-column">
|
|
51861
|
+
<span>{{ relationKind === relKind.Customer ? '03' : '02'}}</span>
|
|
51862
|
+
<span class="label-description" [textContent]="'CONTACT_DETAILS' | localize"></span>
|
|
51863
|
+
</div>
|
|
51864
|
+
<div class="checkout-data-column">
|
|
51865
|
+
<div class="checkout-data-row">
|
|
51866
|
+
<co-relation-contact-details [showPhone]="false" [(relation)]="relation" [relationKind]="relationKind"></co-relation-contact-details>
|
|
51867
|
+
</div>
|
|
51868
|
+
</div>
|
|
51869
|
+
<ng-container *ngIf="relationKind === relKind.Customer">
|
|
51870
|
+
<div class="checkout-label-column">
|
|
51871
|
+
<span>04</span>
|
|
51872
|
+
<span class="label-description" [textContent]="'PRIVACY_PREFERENCES' | localize"></span>
|
|
51873
|
+
</div>
|
|
51874
|
+
<div class="checkout-data-column">
|
|
51875
|
+
<div class="checkout-data-row">
|
|
51876
|
+
<co-relation-preferences [(relation)]="relation"></co-relation-preferences>
|
|
51877
|
+
</div>
|
|
51878
|
+
</div>
|
|
51879
|
+
</ng-container>
|
|
51880
|
+
</div>
|
|
51881
|
+
</co-form>
|
|
51882
|
+
</div>
|
|
51883
|
+
`,
|
|
51884
|
+
providers: [
|
|
51885
|
+
FormMasterService
|
|
51886
|
+
],
|
|
51887
|
+
animations: [
|
|
51888
|
+
trigger("showHidePrivateRelationFields", [
|
|
51889
|
+
state("void", style({ height: 0 })),
|
|
51890
|
+
state("*", style({ height: "*" })),
|
|
51891
|
+
transition("void => *", animate("200ms ease-in-out")),
|
|
51892
|
+
transition("* => void", animate("200ms ease-out"))
|
|
51893
|
+
]),
|
|
51894
|
+
trigger("showHideCompanyRelationFields", [
|
|
51895
|
+
state("void", style({ height: 0 })),
|
|
51896
|
+
state("*", style({ height: "*" })),
|
|
51897
|
+
transition("void => *", animate("200ms ease-in-out")),
|
|
51898
|
+
transition("* => void", animate("200ms ease-out"))
|
|
51899
|
+
]),
|
|
51900
|
+
trigger("showHideSidebar", [
|
|
51901
|
+
state("void", style({ transform: "translateX(100%)" })),
|
|
51902
|
+
state("*", style({ transform: "translateX(0)" })),
|
|
51903
|
+
transition("void <=> *", animate("200ms ease-in-out"))
|
|
51904
|
+
]),
|
|
51905
|
+
trigger("showHideInvoiceAddress", [
|
|
51906
|
+
state("void", style({ height: 0, opacity: 0 })),
|
|
51907
|
+
state("*", style({ height: "*", opacity: 1 })),
|
|
51908
|
+
transition("void => *", animate("200ms ease-in-out")),
|
|
51909
|
+
transition("* => void", animate("200ms ease-out"))
|
|
51910
|
+
])
|
|
51911
|
+
],
|
|
51912
|
+
encapsulation: ViewEncapsulation.None
|
|
51913
|
+
},] }
|
|
51914
|
+
];
|
|
51915
|
+
CheckoutSimpleOverviewRelationEditComponent.ctorParameters = () => [
|
|
51916
|
+
{ type: FormMasterService },
|
|
51917
|
+
{ type: TransactionService }
|
|
51918
|
+
];
|
|
51919
|
+
CheckoutSimpleOverviewRelationEditComponent.propDecorators = {
|
|
51920
|
+
relation: [{ type: Input }],
|
|
51921
|
+
relationKind: [{ type: Input }],
|
|
51922
|
+
deliveryAddressNawNr: [{ type: Input }],
|
|
51923
|
+
invoiceAddressNawNr: [{ type: Input }],
|
|
51924
|
+
validSubmit: [{ type: Output }],
|
|
51925
|
+
invalidSubmit: [{ type: Output }],
|
|
51926
|
+
deliveryAddressChange: [{ type: Output }],
|
|
51927
|
+
invoiceAddressChange: [{ type: Output }],
|
|
51928
|
+
relationChange: [{ type: Output }],
|
|
51929
|
+
showClass: [{ type: HostBinding, args: ["class.co-checkout-simple-overview-relation-edit",] }]
|
|
51930
|
+
};
|
|
51931
|
+
|
|
51932
|
+
class CheckoutSimpleOverviewDeliveryEditComponent {
|
|
51933
|
+
constructor(_dictionaryService, _formMasterService, service, iconService) {
|
|
51934
|
+
this._dictionaryService = _dictionaryService;
|
|
51935
|
+
this._formMasterService = _formMasterService;
|
|
51936
|
+
this.service = service;
|
|
51937
|
+
this.iconService = iconService;
|
|
51938
|
+
this.icons = Icon;
|
|
51939
|
+
this.validSubmit = new EventEmitter();
|
|
51940
|
+
this.invalidSubmit = new EventEmitter();
|
|
51941
|
+
// public deliveryTypes: DeliveryType[] = [
|
|
51942
|
+
// {code: '1', description: 'Bezorgen', icon: this.icons.DeliveryTruck, price: 89},
|
|
51943
|
+
// {code: '2', description: 'Bezorgen & monteren', icon: this.icons.CalendarDay, price: 119},
|
|
51944
|
+
// {code: '3', description: 'Meenemen', icon: this.icons.Truck},
|
|
51945
|
+
// ];
|
|
51946
|
+
this.deliveryOptionList = [];
|
|
51947
|
+
this.deliveryOptions = [];
|
|
51948
|
+
this.deliveryOptionFields = { text: "description", value: "code" };
|
|
51949
|
+
this.deliveryMethods = [];
|
|
51950
|
+
this.deliveryMethodFields = { text: "description", value: "code" };
|
|
51951
|
+
this.deliveryTypeIdx = 0;
|
|
51952
|
+
this.changeLocationPopup = false;
|
|
51953
|
+
this.transactionDefinitive = false;
|
|
51954
|
+
this.preferredDateOptions = [
|
|
51955
|
+
{ text: "NOT_AFTER", value: ">" },
|
|
51956
|
+
{ text: "NOT_BEFORE", value: "<" },
|
|
51957
|
+
{ text: "ON_DATE", value: "=" },
|
|
51958
|
+
];
|
|
51959
|
+
this.preferredDate = new Date();
|
|
51960
|
+
this.marketing = [];
|
|
51961
|
+
this.marketingFields = { text: "description", value: "code" };
|
|
51962
|
+
// TODO: Deze velden nog opnemen in Transaction!!
|
|
51963
|
+
this.deliveryDateFinal = false;
|
|
51964
|
+
this.assemblyDate = new Date();
|
|
51965
|
+
this.totalAssemblyTime = "";
|
|
51966
|
+
this.dropshipment = false;
|
|
51967
|
+
}
|
|
51968
|
+
showClass() {
|
|
51969
|
+
return true;
|
|
51970
|
+
}
|
|
51971
|
+
get deliveryDate() {
|
|
51972
|
+
if (this.transaction.transactionInfo.deliveryDate === undefined) {
|
|
51973
|
+
this.transaction.transactionInfo.deliveryDate = new Date();
|
|
51974
|
+
}
|
|
51975
|
+
return this.transaction.transactionInfo.deliveryDate;
|
|
51976
|
+
}
|
|
51977
|
+
set deliveryDate(value) {
|
|
51978
|
+
this.transaction.transactionInfo.deliveryDate = value;
|
|
51979
|
+
}
|
|
51980
|
+
ngOnInit() {
|
|
51981
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51982
|
+
if (this.service.currentTransaction.transactionInfo.id) {
|
|
51983
|
+
yield this.service.tryToLockTransaction(this.service.currentTransaction.transactionInfo.id, this.service.currentTransaction.transactionInfo.version);
|
|
51984
|
+
}
|
|
51985
|
+
this.deliveryCosts = this.calculateDeliveryCosts();
|
|
51986
|
+
this.assemblyCosts = this.calculateAssemblyCosts();
|
|
51987
|
+
this.service.getDeliveryMethods().then((methods) => {
|
|
51988
|
+
this.deliveryMethods = methods.filter(m => m.webshop);
|
|
51989
|
+
this.currentDeliveryMethod = this.deliveryMethods.find(d => d.code === this.transaction.transactionInfo.deliveryMethod);
|
|
51990
|
+
});
|
|
51991
|
+
this.service.getDeliveryOptions().then((options) => {
|
|
51992
|
+
this.deliveryOptionList = options;
|
|
51993
|
+
});
|
|
51994
|
+
this.service.getMarketingCodes().then((marketingCodes) => {
|
|
51995
|
+
this.marketing = marketingCodes;
|
|
51996
|
+
});
|
|
51997
|
+
});
|
|
51998
|
+
}
|
|
51999
|
+
submit() {
|
|
52000
|
+
return this._formMasterService.submitSlaves();
|
|
52001
|
+
}
|
|
52002
|
+
selectDeliveryOptionsByDeliveryMethod(deliveryMethod) {
|
|
52003
|
+
return this.deliveryOptionList.filter(deliveryOption => deliveryMethod.deliveryOptions.indexOf(deliveryOption.code) !== -1);
|
|
52004
|
+
}
|
|
52005
|
+
calculateDeliveryCosts() {
|
|
52006
|
+
return 0;
|
|
52007
|
+
}
|
|
52008
|
+
calculateAssemblyCosts() {
|
|
52009
|
+
return 0;
|
|
52010
|
+
}
|
|
52011
|
+
}
|
|
52012
|
+
CheckoutSimpleOverviewDeliveryEditComponent.decorators = [
|
|
52013
|
+
{ type: Component, args: [{
|
|
52014
|
+
selector: "co-checkout-simple-overview-delivery-edit",
|
|
52015
|
+
template: `
|
|
52016
|
+
<div class="delivery-edit-content">
|
|
52017
|
+
<co-form>
|
|
52018
|
+
<div class="checkout-form-wrapper">
|
|
52019
|
+
<div class="checkout-label-column">
|
|
52020
|
+
<span>01</span>
|
|
52021
|
+
<span class="label-description" [textContent]="'DELIVERY_DATA' | localize"></span>
|
|
52022
|
+
</div>
|
|
52023
|
+
<div class="checkout-data-column">
|
|
52024
|
+
<div class="checkout-data-row">
|
|
52025
|
+
<co-transaction-header-delivery-method
|
|
52026
|
+
[transactionInfo]="transaction.transactionInfo"
|
|
52027
|
+
[filterOnWizard]="true"
|
|
52028
|
+
(deliveryMethodChange)="currentDeliveryMethod = $event"
|
|
52029
|
+
></co-transaction-header-delivery-method>
|
|
52030
|
+
</div>
|
|
52031
|
+
<div class="checkout-data-row">
|
|
52032
|
+
<co-transaction-header-delivery-date class="header-delivery-deliverydate" [readonly]="true"
|
|
52033
|
+
[transactionInfo]="transaction.transactionInfo"
|
|
52034
|
+
></co-transaction-header-delivery-date>
|
|
52035
|
+
<co-transaction-header-preferred-delivery-date class="header-delivery-deliverydate"
|
|
52036
|
+
[transactionInfo]="transaction.transactionInfo"
|
|
52037
|
+
></co-transaction-header-preferred-delivery-date>
|
|
52038
|
+
</div>
|
|
52039
|
+
<div class="checkout-data-row">
|
|
52040
|
+
<co-transaction-header-partial-delivery [transactionInfo]="transaction.transactionInfo" [readonly]="true"></co-transaction-header-partial-delivery>
|
|
52041
|
+
</div>
|
|
52042
|
+
<div class="checkout-data-row">
|
|
52043
|
+
<co-collapsible [headerTitle]="'ADD_DELIVERY_OPTION' | localize" [iconData]="iconService.getIcon(icons.TriangleDown)">
|
|
52044
|
+
<div class="checkout-data-row">
|
|
52045
|
+
<co-transaction-header-delivery-options [transactionInfo]="transaction.transactionInfo"></co-transaction-header-delivery-options>
|
|
52046
|
+
</div>
|
|
52047
|
+
</co-collapsible>
|
|
52048
|
+
</div>
|
|
52049
|
+
<div class="checkout-data-row">
|
|
52050
|
+
<co-collapsible [headerTitle]="'ADD_REMARK' | localize" [iconData]="iconService.getIcon(icons.TriangleDown)">
|
|
52051
|
+
<div class="checkout-data-row">
|
|
52052
|
+
<co-transaction-header-remarks [transactionInfo]="transaction.transactionInfo"></co-transaction-header-remarks>
|
|
52053
|
+
</div>
|
|
52054
|
+
</co-collapsible>
|
|
52055
|
+
</div>
|
|
52056
|
+
<div class="checkout-data-row">
|
|
52057
|
+
<co-collapsible [headerTitle]="'ADD_REFERENCE' | localize" [iconData]="iconService.getIcon(icons.TriangleDown)">
|
|
52058
|
+
<div class="checkout-data-row">
|
|
52059
|
+
<co-transaction-header-reference [transactionInfo]="transaction.transactionInfo"></co-transaction-header-reference>
|
|
52060
|
+
</div>
|
|
52061
|
+
<div class="checkout-data-row">
|
|
52062
|
+
<co-transaction-header-relation-reference [transactionInfo]="transaction.transactionInfo"></co-transaction-header-relation-reference>
|
|
52063
|
+
</div>
|
|
52064
|
+
</co-collapsible>
|
|
52065
|
+
</div>
|
|
52066
|
+
<!--
|
|
52067
|
+
<div class="checkout-data-row">
|
|
52068
|
+
<co-input-date [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'ASSEMBLY_DATE' | localize"></co-input-date>
|
|
52069
|
+
</div>
|
|
52070
|
+
-->
|
|
52071
|
+
</div>
|
|
52072
|
+
<div class="checkout-label-column">
|
|
52073
|
+
<span>02</span>
|
|
52074
|
+
<span class="label-description" [textContent]="'DOWNPAYMENT' | localize"></span>
|
|
52075
|
+
</div>
|
|
52076
|
+
<div class="checkout-data-column">
|
|
52077
|
+
<div class="checkout-data-row">
|
|
52078
|
+
<co-transaction-header-deposit-percentage [transactionInfo]="transaction.transactionInfo" [readonly]="true"></co-transaction-header-deposit-percentage>
|
|
52079
|
+
<co-transaction-header-deposit-amount [transaction]="transaction" [readonly]="true"></co-transaction-header-deposit-amount>
|
|
52080
|
+
</div>
|
|
52081
|
+
<!--
|
|
52082
|
+
<div class="checkout-data-row">
|
|
52083
|
+
<co-input-text [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'DOWNPAYMENT_BY_BR' | localize"></co-input-text>
|
|
52084
|
+
</div>
|
|
52085
|
+
<div class="checkout-data-row">
|
|
52086
|
+
<co-input-text [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'DOWNPAYMENT_ON_DELIVERY' | localize"></co-input-text>
|
|
52087
|
+
</div>
|
|
52088
|
+
-->
|
|
52089
|
+
</div>
|
|
52090
|
+
<div class="checkout-label-column">
|
|
52091
|
+
<span>03</span>
|
|
52092
|
+
<span class="label-description" [textContent]="'ORDER_DATA' | localize"></span>
|
|
52093
|
+
</div>
|
|
52094
|
+
<div class="checkout-data-column">
|
|
52095
|
+
<div class="checkout-data-row">
|
|
52096
|
+
<co-transaction-header-branch [simple]="true" [transaction]="transaction" [transactionInfo]="transaction.transactionInfo"></co-transaction-header-branch>
|
|
52097
|
+
<co-transaction-header-administrative-relation [transactionInfo]="transaction.transactionInfo"></co-transaction-header-administrative-relation>
|
|
52098
|
+
</div>
|
|
52099
|
+
<div class="checkout-data-row">
|
|
52100
|
+
<span class="label" [textContent]="'MARKETING_CODE' | localize"></span>
|
|
52101
|
+
</div>
|
|
52102
|
+
<div class="checkout-data-row">
|
|
52103
|
+
<co-transaction-header-marketing [transactionInfo]="transaction.transactionInfo"></co-transaction-header-marketing>
|
|
52104
|
+
</div>
|
|
52105
|
+
<div class="checkout-data-row">
|
|
52106
|
+
<span class="label" [textContent]="'ORDER_PARAMETERS' | localize"></span>
|
|
52107
|
+
</div>
|
|
52108
|
+
<div class="checkout-data-row">
|
|
52109
|
+
<co-transaction-header-definitive [transactionInfo]="transaction.transactionInfo"></co-transaction-header-definitive>
|
|
52110
|
+
</div>
|
|
52111
|
+
<div class="checkout-data-row" *ngIf="!transaction.transactionInfo.transactionDefinitive">
|
|
52112
|
+
<co-transaction-header-hold-codes [transactionInfo]="transaction.transactionInfo"></co-transaction-header-hold-codes>
|
|
52113
|
+
</div>
|
|
52114
|
+
</div>
|
|
52115
|
+
</div>
|
|
52116
|
+
</co-form>
|
|
52117
|
+
</div>
|
|
52118
|
+
`,
|
|
52119
|
+
providers: [
|
|
52120
|
+
FormMasterService
|
|
52121
|
+
],
|
|
52122
|
+
encapsulation: ViewEncapsulation.None
|
|
52123
|
+
},] }
|
|
52124
|
+
];
|
|
52125
|
+
CheckoutSimpleOverviewDeliveryEditComponent.ctorParameters = () => [
|
|
52126
|
+
{ type: DictionaryService },
|
|
52127
|
+
{ type: FormMasterService },
|
|
52128
|
+
{ type: TransactionService },
|
|
52129
|
+
{ type: IconCacheService }
|
|
52130
|
+
];
|
|
52131
|
+
CheckoutSimpleOverviewDeliveryEditComponent.propDecorators = {
|
|
52132
|
+
transaction: [{ type: Input }],
|
|
52133
|
+
validSubmit: [{ type: Output }],
|
|
52134
|
+
invalidSubmit: [{ type: Output }],
|
|
52135
|
+
showClass: [{ type: HostBinding, args: ["class.co-checkout-simple-overview-delivery-edit",] }]
|
|
52136
|
+
};
|
|
52137
|
+
|
|
52138
|
+
class CheckoutSimpleOverviewPaymentComponent {
|
|
52139
|
+
constructor(_transactionService) {
|
|
52140
|
+
this._transactionService = _transactionService;
|
|
52141
|
+
this.icons = Icon;
|
|
52142
|
+
this.showPayment = true;
|
|
52143
|
+
this.changeYourDataClick = new EventEmitter();
|
|
52144
|
+
this.changeDeliveryClick = new EventEmitter();
|
|
52145
|
+
this.payed = new EventEmitter();
|
|
52146
|
+
this.deliveryAddress = new Address();
|
|
52147
|
+
this.invoiceAddress = new Address();
|
|
52148
|
+
}
|
|
52149
|
+
showClass() {
|
|
52150
|
+
return true;
|
|
52151
|
+
}
|
|
52152
|
+
ngOnInit() {
|
|
52153
|
+
if (this.relation) {
|
|
52154
|
+
const delAddress = this.relation.addresses.find(a => a.nawNr === this.transaction.transactionInfo.transactionAddress);
|
|
52155
|
+
if (delAddress) {
|
|
52156
|
+
this.deliveryAddress = delAddress;
|
|
52157
|
+
}
|
|
52158
|
+
const invAddress = this.relation.addresses.find(a => a.nawNr === this.transaction.transactionInfo.invoiceAddress);
|
|
52159
|
+
if (invAddress) {
|
|
52160
|
+
this.invoiceAddress = invAddress;
|
|
52161
|
+
}
|
|
52162
|
+
}
|
|
52163
|
+
}
|
|
52164
|
+
handlePayed() {
|
|
52165
|
+
const id = this._transactionService.currentTransaction.transactionInfo.transactionNr;
|
|
52166
|
+
this.payed.emit(id);
|
|
52167
|
+
}
|
|
52168
|
+
}
|
|
52169
|
+
CheckoutSimpleOverviewPaymentComponent.decorators = [
|
|
52170
|
+
{ type: Component, args: [{
|
|
52171
|
+
selector: "co-checkout-simple-overview-payment",
|
|
52172
|
+
template: `
|
|
52173
|
+
<div class="checkout-overview-section">
|
|
52174
|
+
<span class="overview-section-title" [textContent]="'YOUR_DATA' | localize"></span>
|
|
52175
|
+
<div class="two-column-grid">
|
|
52176
|
+
<div class="overview-address">
|
|
52177
|
+
<span class="overview-address-title" [textContent]="'DELIVERY_ADDRESS' | localize"></span>
|
|
52178
|
+
<span [textContent]="relation.displayName"></span>
|
|
52179
|
+
<span [textContent]="deliveryAddress.displayAddress"></span>
|
|
52180
|
+
<span [textContent]="deliveryAddress.displayPostal"></span>
|
|
52181
|
+
</div>
|
|
52182
|
+
<div class="overview-address">
|
|
52183
|
+
<span class="overview-address-title" [textContent]="'INVOICE_ADDRESS' | localize"></span>
|
|
52184
|
+
<span [textContent]="relation.displayName"></span>
|
|
52185
|
+
<span [textContent]="invoiceAddress.displayAddress"></span>
|
|
52186
|
+
<span [textContent]="invoiceAddress.displayPostal"></span>
|
|
52187
|
+
</div>
|
|
52188
|
+
</div>
|
|
52189
|
+
<div class="overview-address">
|
|
52190
|
+
<span class="overview-address-title" [textContent]="'CONTACT_DETAILS' | localize"></span>
|
|
52191
|
+
<span [textContent]="relation.primaryEmail"></span>
|
|
52192
|
+
<span [textContent]="relation.primaryPhoneNumber"></span>
|
|
52193
|
+
</div>
|
|
52194
|
+
<div class="overview-section-change-link">
|
|
52195
|
+
<icon class="overview-section-change-icon" [icon]="icons.ArrowPointRight"></icon>
|
|
52196
|
+
<div [textContent]="'CHANGE_DATA' | localize" (click)="changeYourDataClick.emit()"></div>
|
|
52197
|
+
</div>
|
|
52198
|
+
</div>
|
|
52199
|
+
<div class="checkout-overview-section">
|
|
52200
|
+
<span class="overview-section-title" [textContent]="'DELIVERY' | localize"></span>
|
|
52201
|
+
<div class="overview-address">
|
|
52202
|
+
<div class="overview-row">
|
|
52203
|
+
<span [textContent]="'EXPECTED_DELIVERY_DATE' | localize | append:':'"></span><span [textContent]="transaction.transactionInfo.deliveryDate | date:'dd MMM yyyy'"></span>
|
|
52204
|
+
</div>
|
|
52205
|
+
<div class="overview-row">
|
|
52206
|
+
<span [textContent]="'DELIVERY_METHOD' | localize | append:':'"></span><span [textContent]="transaction.transactionInfo.deliveryMethod"></span>
|
|
52207
|
+
</div>
|
|
52208
|
+
</div>
|
|
52209
|
+
<div class="overview-section-change-link">
|
|
52210
|
+
<icon class="overview-section-change-icon" [icon]="icons.ArrowPointRight"></icon>
|
|
52211
|
+
<div [textContent]="'CHANGE_DATA' | localize" (click)="changeDeliveryClick.emit()"></div>
|
|
52212
|
+
</div>
|
|
52213
|
+
</div>
|
|
52214
|
+
<co-payment *ngIf="showPayment"
|
|
52215
|
+
[transId]="transaction.transactionInfo.id"
|
|
52216
|
+
[branch]="transaction.transactionInfo.branch?.relationNr"
|
|
52217
|
+
[transactionUuid]="transaction.transactionInfo.uuid"
|
|
52218
|
+
[amount]="transaction.transactionInfo.depositAmount || transaction.transactionTotal.netAmount"
|
|
52219
|
+
[currencyId]="transaction.transactionInfo.currencyId"
|
|
52220
|
+
(payed)="handlePayed()"
|
|
52221
|
+
></co-payment>
|
|
52222
|
+
`,
|
|
52223
|
+
encapsulation: ViewEncapsulation.None
|
|
52224
|
+
},] }
|
|
52225
|
+
];
|
|
52226
|
+
CheckoutSimpleOverviewPaymentComponent.ctorParameters = () => [
|
|
52227
|
+
{ type: TransactionService }
|
|
52228
|
+
];
|
|
52229
|
+
CheckoutSimpleOverviewPaymentComponent.propDecorators = {
|
|
52230
|
+
transaction: [{ type: Input }],
|
|
52231
|
+
relation: [{ type: Input }],
|
|
52232
|
+
showPayment: [{ type: Input }],
|
|
52233
|
+
changeYourDataClick: [{ type: Output }],
|
|
52234
|
+
changeDeliveryClick: [{ type: Output }],
|
|
52235
|
+
payed: [{ type: Output }],
|
|
52236
|
+
showClass: [{ type: HostBinding, args: ["class.co-checkout-simple-overview-payment",] }]
|
|
52237
|
+
};
|
|
52238
|
+
|
|
52239
|
+
class CheckoutSimpleModule {
|
|
52240
|
+
}
|
|
52241
|
+
CheckoutSimpleModule.decorators = [
|
|
52242
|
+
{ type: NgModule, args: [{
|
|
52243
|
+
imports: [
|
|
52244
|
+
CoreModule,
|
|
52245
|
+
CommonModule,
|
|
52246
|
+
StepperModule,
|
|
52247
|
+
PipeModule,
|
|
52248
|
+
AvatarModule,
|
|
52249
|
+
ShoppingCartPreviewModule,
|
|
52250
|
+
RelationPreferencesModule,
|
|
52251
|
+
RelationContactDetailsModule,
|
|
52252
|
+
RelationAddressesModule,
|
|
52253
|
+
InputCheckboxModule$1,
|
|
52254
|
+
RelationAddressModule,
|
|
52255
|
+
RelationGeneralModule,
|
|
52256
|
+
RelationTypeModule,
|
|
52257
|
+
PaymentModule,
|
|
52258
|
+
TransactionHeaderDeliveryMethodModule,
|
|
52259
|
+
TransactionHeaderPreferredDeliveryDateModule,
|
|
52260
|
+
TransactionHeaderPartialDeliveryModule,
|
|
52261
|
+
CollapsibleModule,
|
|
52262
|
+
TransactionHeaderRemarksModule,
|
|
52263
|
+
TransactionHeaderReferenceModule,
|
|
52264
|
+
TransactionHeaderRelationReferenceModule,
|
|
52265
|
+
TransactionHeaderDepositPercentageModule,
|
|
52266
|
+
TransactionHeaderDepositAmountModule,
|
|
52267
|
+
TransactionHeaderBranchModule,
|
|
52268
|
+
TransactionHeaderAdministrativeRelationModule,
|
|
52269
|
+
TransactionHeaderDefinitiveModule,
|
|
52270
|
+
TransactionHeaderHoldCodesModule,
|
|
52271
|
+
ButtonModule,
|
|
52272
|
+
FormModule,
|
|
52273
|
+
TransactionHeaderMarketingModule,
|
|
52274
|
+
TransactionHeaderDeliveryOptionsModule,
|
|
52275
|
+
TransactionHeaderDeliveryDateModule
|
|
52276
|
+
],
|
|
52277
|
+
declarations: [
|
|
52278
|
+
CheckoutSimpleComponent,
|
|
52279
|
+
CheckoutSimpleOverviewRelationEditComponent,
|
|
52280
|
+
CheckoutSimpleOverviewDeliveryEditComponent,
|
|
52281
|
+
CheckoutSimpleOverviewPaymentComponent,
|
|
52282
|
+
],
|
|
52283
|
+
providers: [
|
|
52284
|
+
TransactionSettingsService
|
|
52285
|
+
],
|
|
52286
|
+
exports: [CheckoutSimpleComponent],
|
|
52287
|
+
bootstrap: [CheckoutSimpleComponent]
|
|
52288
|
+
},] }
|
|
52289
|
+
];
|
|
52290
|
+
|
|
52291
|
+
class TransactionCreateWizardModule {
|
|
52292
|
+
}
|
|
52293
|
+
TransactionCreateWizardModule.decorators = [
|
|
52294
|
+
{ type: NgModule, args: [{
|
|
52295
|
+
imports: [
|
|
52296
|
+
StepperModule,
|
|
52297
|
+
CheckoutSimpleModule,
|
|
52298
|
+
CommonModule,
|
|
52299
|
+
TransactionHeaderPopupModule,
|
|
52300
|
+
PipeModule,
|
|
52301
|
+
ButtonModule,
|
|
52302
|
+
CheckoutModule,
|
|
52303
|
+
InputTextModule,
|
|
52304
|
+
InputTextareaModule
|
|
52305
|
+
],
|
|
52306
|
+
declarations: [
|
|
52307
|
+
TransactionCreateWizardComponent
|
|
52308
|
+
],
|
|
52309
|
+
providers: [
|
|
52310
|
+
{ provide: BaseModuleScreenConfigService, useExisting: TransactionScreenConfigurationService }
|
|
52311
|
+
],
|
|
52312
|
+
exports: [
|
|
52313
|
+
TransactionCreateWizardComponent
|
|
52314
|
+
],
|
|
52315
|
+
bootstrap: []
|
|
52316
|
+
},] }
|
|
52317
|
+
];
|
|
52318
|
+
|
|
50298
52319
|
class SharedConnectorService {
|
|
50299
52320
|
constructor(_optionsService) {
|
|
50300
52321
|
this._optionsService = _optionsService;
|
|
@@ -50356,5 +52377,5 @@ SharedConnectorService.ctorParameters = () => [
|
|
|
50356
52377
|
* Generated bundle index. Do not edit.
|
|
50357
52378
|
*/
|
|
50358
52379
|
|
|
50359
|
-
export { AddProductComponent, AddProductModule, CheckoutComponent, CheckoutModule, DatePeriod, DeliveryPlanningCalendarModes, DeliveryPlanningComponent, DeliveryPlanningModes, DeliveryPlanningModule, DeliveryPlanningViewModes, FastDateRangePickerComponent, FastDateRangePickerModule, FilterRequestService, LineSelectionService, LoaderComponent, LoaderModule, PosOrderData, PurchaseConfirmationService, QuickSendButtonComponent, QuickSendButtonModule, SearchViewMode, SearchbarViewMode, SharedConnectorService, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionBusinessObjectCacheManagerService, TransactionCashRegisterDialogComponent, TransactionCashRegisterDialogModule, TransactionCfgName, TransactionComponent, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionConnectorAdapterService, TransactionConnectorService, TransactionCreateDateLabelComponent, TransactionCreateDateLabelModule, TransactionEventService, TransactionFilterComponent, TransactionFilterModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineSidePanelArticleDetailsComponent, TransactionLineSidePanelArticleDetailsModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionMarginComponent, TransactionMarginModule, TransactionModule, TransactionNumberLabelComponent, TransactionNumberLabelModule, TransactionPaymentConnectorService, TransactionPaymentService, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionRelationConnectorService, TransactionRelationService, TransactionScreenConfigurationService, TransactionSearchComponent, TransactionSearchModule, TransactionSearchResultComponent, TransactionSearchResultModule, TransactionSearchService, TransactionSelectMultipleCacheService, TransactionSelectMultipleParameterizedCacheService, TransactionSelectSingleCacheService, TransactionSelectSingleParameterizedCacheService, TransactionService, TransactionSettings, TransactionSettingsOptions, TransactionSettingsService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTagsComponent, TransactionTagsModule, TransactionTotalsComponent, TransactionTotalsModule, Version, CheckoutModuleService as ɵa, CheckoutScreenConfigurationService as ɵb, WarehouseModule as ɵba, WarehouseComponent as ɵbb, ToastModule as ɵbc, ToastComponent as ɵbd, ImageDisplayComponent as ɵbe, IconComponent as ɵbf, CustomerGroupsComponent as ɵbg, CustomerLanguagesComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LazyRenderMasterDirective as ɵbj, LazyRenderDirective as ɵbk, RelationAddressModule as ɵbl, RelationAddressComponent as ɵbm, RelationBaseComponent as ɵbn, RelationAddressSelectModule as ɵbo, RelationAddressTileModule as ɵbp, TileModule as ɵbq, TileComponent as ɵbr, RelationAddressTileComponent as ɵbs, RelationAddressSelectComponent as ɵbt, StepperModule as ɵbu, StepperComponent as ɵbv, StepperStepComponent as ɵbw, TransactionLineModule as ɵbx, TransactionTextLineModule as ɵby, TransactionTextLineComponent as ɵbz, DictionaryService as ɵc, TransactionBaseComponent as ɵca, TransactionImageService as ɵcb, OrderLineSetService as ɵcc, TransactionOverviewLineModule as ɵcd, TransactionArticleTextModule as ɵce, TransactionLineImageAndDescriptionModule as ɵcf, TransactionLineDescriptionModule as ɵcg, TransactionLineDescriptionComponent as ɵch, TransactionInputFieldBaseComponent as ɵci, TransactionLineImageAndDescriptionComponent as ɵcj, TransactionArticleTextComponent as ɵck, TransactionArticleTextOverviewModule as ɵcl, TransactionArticleTextOverviewComponent as ɵcm, TransactionLineActionButtonsModule as ɵcn, TransactionLineActionButtonsComponent as ɵco, TransactionLineActionButtonsPopupComponent as ɵcp, EditableLabelModule as ɵcq, EditableLabelComponent as ɵcr, TransactionLinePriceModule as ɵcs, TransactionLinePriceComponent as ɵct, TransactionBaseLineModule as ɵcu, TransactionBaseLineComponent as ɵcv, TransactionLineCommissionButtonModule as ɵcw, DialogTransactionLineCommissionCodeModule as ɵcx, TransactionLineCommissionCodeModule as ɵcy, TransactionLineCheckboxModule as ɵcz, CacheField as ɵd, TransactionLineCheckboxListComponent as ɵda, TransactionLineCommissionCodeComponent as ɵdb, TransactionFilterPopupBaseComponent as ɵdc, DialogHeaderSearchModule as ɵdd, DialogHeaderSearchComponent as ɵde, DialogTransactionLineCommissionCodeComponent as ɵdf, DialogTransactionBaseComponent as ɵdg, TransactionButtonModule as ɵdh, TransactionButtonComponent as ɵdi, TransactionLineCommissionButtonComponent as ɵdj, TransactionLineWarehouseButtonModule as ɵdk, DialogTransactionLineWarehouseModule as ɵdl, TransactionLineWarehouseModule as ɵdm, TransactionLineWarehouseComponent as ɵdn, DialogTransactionLineWarehouseComponent as ɵdo, TransactionLineWarehouseButtonComponent as ɵdp, TransactionLineDeliveryButtonModule as ɵdq, DialogTransactionLineDeliveryMethodModule as ɵdr, TransactionLineDeliveryMethodModule as ɵds, TransactionLineDeliveryMethodComponent as ɵdt, DialogTransactionLineDeliveryMethodComponent as ɵdu, TransactionLineDeliveryButtonComponent as ɵdv, TransactionLineDeliveryDateButtonModule as ɵdw, TransactionDateSelectModule as ɵdx, TransactionDateSelectComponent as ɵdy, TransactionLineDeliveryDateButtonComponent as ɵdz, ErrorService as ɵe, DialogTransactionLineVatModule as ɵea, TransactionLineVatModule as ɵeb, TransactionLineVatComponent as ɵec, DialogTransactionLineVatComponent as ɵed, DialogTransactionLineDiscountModule as ɵee, TransactionLinePriceListModule as ɵef, TransactionLinePriceListComponent as ɵeg, TransactionLineDiscountPercentageModule as ɵeh, TransactionLineDiscountPercentageComponent as ɵei, TransactionLineDiscountAmountModule as ɵej, TransactionLineDiscountAmountComponent as ɵek, TransactionLineQuantumDiscountModule as ɵel, TransactionLineQuantumDiscountComponent as ɵem, TransactionLineSpecialDiscountModule as ɵen, TransactionLineSpecialDiscountComponent as ɵeo, DialogTransactionLinePriceListModule as ɵep, DialogTransactionLinePriceListComponent as ɵeq, DialogTransactionLineDiscountComponent as ɵer, TransactionLineAmountModule as ɵes, TransactionLineAmountComponent as ɵet, TransactionLineVatButtonModule as ɵeu, TransactionLineVatButtonComponent as ɵev, TransactionLineDiscountButtonModule as ɵew, TransactionLineDiscountButtonComponent as ɵex, TransactionLineDeliveryDateModule as ɵey, TransactionLineDeliveryDateComponent as ɵez, DialogService as ɵf, TransactionMarginInfoLineModule as ɵfa, TransactionMarginInfoLineComponent as ɵfb, TransactionPlanningLineModule as ɵfc, TransactionPlanningLineComponent as ɵfd, DeliveryPlanningService as ɵfe, TransactionOverviewLineComponent as ɵff, TransactionPurchaseLineModule as ɵfg, TransactionLineSupplierButtonModule as ɵfh, TransactionLineSupplierModule as ɵfi, TransactionLineSupplierComponent as ɵfj, DialogTransactionLineSupplierModule as ɵfk, DialogTransactionLineSupplierComponent as ɵfl, TransactionLineSupplierButtonComponent as ɵfm, TransactionNavigationButtonModule as ɵfn, TransactionNavigationButtonComponent as ɵfo, TransactionLineDropShipmentButtonModule as ɵfp, TransactionLineDropShipmentButtonComponent as ɵfq, TransactionNavigationButtonListModule as ɵfr, TransactionNavigationButtonListComponent as ɵfs, TransactionLineConfirmedDeliveryDateButtonModule as ɵft, TransactionLineConfirmedDeliveryDateButtonComponent as ɵfu, TransactionPurchaseLineComponent as ɵfv, TransactionPurchaseLineBaseComponent as ɵfw, TransactionGoodsAllocationLineModule as ɵfx, TransactionLineWarehouseLocationButtonModule as ɵfy, DialogTransactionLineWarehouseLocationModule as ɵfz, DynamicComponentService as ɵg, TransactionLineWarehouseLocationModule as ɵga, TransactionLineWarehouseLocationComponent as ɵgb, ArticleService as ɵgc, DialogTransactionLineWarehouseLocationComponent as ɵgd, TransactionLineWarehouseLocationButtonComponent as ɵge, TransactionGoodsAllocationLineComponent as ɵgf, TransactionOrderDeliveryLineModule as ɵgg, TransactionOrderDeliveryLineComponent as ɵgh, TransactionOrderDeliveryLineBaseComponent as ɵgi, TransactionInvoiceLineModule as ɵgj, TransactionInvoiceLineComponent as ɵgk, TransactionInvoiceLineBaseComponent as ɵgl, TransactionPickedLineModule as ɵgm, TransactionPickedLineComponent as ɵgn, TransactionToBePickedLineModule as ɵgo, TransactionToBePickedLineComponent as ɵgp, TransactionPurchaseOverviewLineModule as ɵgq, TransactionPurchaseOverviewLineComponent as ɵgr, TransactionReceiveGoodsLineModule as ɵgs, TransactionPrintPackageStickerModule as ɵgt, TransactionPrintPackageStickerComponent as ɵgu, TransactionQuickAccessSendMethodBaseComponent as ɵgv, TransactionReceiveGoodsLineComponent as ɵgw, TransactionReceiveGoodsLineBaseComponent as ɵgx, TransactionPurchaseOrderLineModule as ɵgy, TransactionPurchasePortalLineGrossOrderPriceModule as ɵgz, ArticleConnectorService as ɵh, TransactionPurchasePortalLineGrossOrderPriceComponent as ɵha, TransactionPurchasePortalLineNetOrderPriceModule as ɵhb, TransactionPurchasePortalLineNetOrderPriceComponent as ɵhc, TransactionPurchasePortalLineDeliveryDateModule as ɵhd, TransactionPurchasePortalLineDeliveryDateComponent as ɵhe, TransactionPurchasePortalLineConfirmedDeliveryDateModule as ɵhf, TransactionPurchasePortalLineConfirmedDeliveryDateComponent as ɵhg, TransactionLineSupplierDeliveryDateButtonModule as ɵhh, TransactionLineSupplierDeliveryDateButtonComponent as ɵhi, TransactionLineConfirmedPriceModule as ɵhj, TransactionLineConfirmedPriceComponent as ɵhk, TransactionPurchaseOrderLineComponent as ɵhl, TransactionPurchaseOrderLineBaseComponent as ɵhm, TransactionCashRegisterOrderLineModule as ɵhn, TransactionCashRegisterOrderLineComponent as ɵho, TransactionSalesOrderQuotationLineModule as ɵhp, TransactionSalesOrderQuotationLineComponent as ɵhq, TransactionLineComponent as ɵhr, TransactionMappingService as ɵhs, TransactionLinesBaseComponent as ɵht, DialogTransactionHeaderDiscountModule as ɵhu, TransactionHeaderDiscountPercentageModule as ɵhv, TransactionHeaderDiscountPercentageComponent as ɵhw, TransactionHeaderDiscountAmountModule as ɵhx, TransactionHeaderDiscountAmountComponent as ɵhy, TransactionHeaderDiscountTransactionTotalModule as ɵhz, PendingReasonService as ɵi, TransactionHeaderDiscountTransactionTotalComponent as ɵia, DialogTransactionHeaderDiscountComponent as ɵib, AvatarModule as ɵic, AvatarComponent as ɵid, DeliveryTypeTileModule as ɵie, DeliveryTypeTileComponent as ɵif, PaymentModule as ɵig, PaymentTileModule as ɵih, PaymentTileComponent as ɵii, PaymentQrCodeModule as ɵij, PaymentQrCodeComponent as ɵik, DepositPaymentModule as ɵil, DepositPaymentComponent as ɵim, PaymentToPayModule as ɵin, PaymentToPayComponent as ɵio, PaymentComponent as ɵip, TransactionPaymentBaseComponent as ɵiq, RelationTypeModule as ɵir, RelationTypeComponent as ɵis, RelationGeneralModule as ɵit, RelationContactDetailsModule as ɵiu, RelationContactDetailsComponent as ɵiv, RelationGeneralComponent as ɵiw, RelationAddressesModule as ɵix, RelationAddressesComponent as ɵiy, RelationPreferencesModule as ɵiz, TransactionBaseService as ɵj, RelationPreferencesComponent as ɵja, TransactionHeaderBlockModule as ɵjb, TransactionHeaderBlockComponent as ɵjc, TransactionHeaderDeliveryDateModule as ɵjd, TransactionHeaderDeliveryDateComponent as ɵje, TransactionHeaderDeliveryOptionsModule as ɵjf, TransactionHeaderDeliveryOptionsComponent as ɵjg, TransactionHeaderRemarksModule as ɵjh, TransactionHeaderRemarksComponent as ɵji, TransactionHeaderReferenceModule as ɵjj, TransactionHeaderReferenceComponent as ɵjk, TransactionHeaderRelationReferenceModule as ɵjl, TransactionHeaderRelationReferenceComponent as ɵjm, TransactionHeaderDeliveryMethodModule as ɵjn, TransactionHeaderDeliveryMethodComponent as ɵjo, TransactionHeaderPreferredDeliveryDateModule as ɵjp, TransactionHeaderPreferredDeliveryDateComponent as ɵjq, DialogTransactionHeaderDeliveryMethodModule as ɵjr, DialogTransactionHeaderDeliveryMethodComponent as ɵjs, TransactionHeaderPopupModule as ɵjt, TransactionFilterCategoriesModule as ɵju, TransactionFilterCategoriesComponent as ɵjv, TransactionHeaderBranchModule as ɵjw, TransactionHeaderBranchComponent as ɵjx, TransactionHeaderSalesPersonModule as ɵjy, TransactionHeaderSalesPersonComponent as ɵjz, CoreModule as ɵk, TransactionHeaderAdministrativeRelationModule as ɵka, TransactionHeaderAdministrativeRelationComponent as ɵkb, TransactionHeaderPriceKindModule as ɵkc, TransactionHeaderPriceKindComponent as ɵkd, TransactionHeaderCurrencyModule as ɵke, TransactionHeaderCurrencyComponent as ɵkf, TransactionHeaderPaymentConditionModule as ɵkg, TransactionHeaderPaymentConditionComponent as ɵkh, TransactionHeaderHoldCodesModule as ɵki, TransactionHeaderHoldCodesComponent as ɵkj, TransactionHeaderMarketingModule as ɵkk, TransactionHeaderMarketingComponent as ɵkl, TransactionHeaderDeliveryMethodButtonModule as ɵkm, TransactionHeaderDeliveryMethodButtonComponent as ɵkn, TransactionHeaderDefinitiveModule as ɵko, TransactionHeaderDefinitiveComponent as ɵkp, TransactionHeaderDeliverydateDefinitiveButtonModule as ɵkq, TransactionHeaderDeliverydateDefinitiveButtonComponent as ɵkr, TransactionHeaderDepositPercentageModule as ɵks, TransactionHeaderDepositPercentageComponent as ɵkt, TransactionHeaderDepositAmountModule as ɵku, TransactionHeaderDepositAmountComponent as ɵkv, TransactionHeaderPaymentButtonModule as ɵkw, TransactionHeaderPaymentButtonComponent as ɵkx, TransactionHeaderDivideEvenlyModule as ɵky, TransactionHeaderDivideEvenlyComponent as ɵkz, ConfirmationDialogModule as ɵl, TransactionHeaderAmountToSettleModule as ɵla, TransactionHeaderAmountToSettleComponent as ɵlb, TransactionHeaderScoringChanceModule as ɵlc, TransactionHeaderScoringChanceComponent as ɵld, TransactionHeaderRetailStadiumModule as ɵle, TransactionHeaderRetailStadiumComponent as ɵlf, TransactionHeaderScoringDateModule as ɵlg, TransactionHeaderScoringDateComponent as ɵlh, TransactionHeaderPartialDeliveryModule as ɵli, TransactionHeaderPartialDeliveryComponent as ɵlj, TransactionHeaderAutoRecalculateDepositModule as ɵlk, TransactionHeaderAutoRecalculateDepositComponent as ɵll, TransactionHeaderUseDepositRuleModule as ɵlm, TransactionHeaderUseDepositRuleComponent as ɵln, TransactionHeaderProjectCodeModule as ɵlo, TransactionHeaderProjectCodeComponent as ɵlp, TransactionHeaderPopupComponent as ɵlq, TransactionHeaderPopupRelationComponent as ɵlr, TransactionHeaderPopupBaseComponent as ɵls, RelationSuggestionsService as ɵlt, TransactionHeaderPopupOrderComponent as ɵlu, TransactionHeaderPopupDeliveryComponent as ɵlv, TransactionHeaderPopupPaymentComponent as ɵlw, CashOnDeliveryModalComponent as ɵlx, RelationSuggestionsListModule as ɵly, RelationSuggestionsListItemModule as ɵlz, PipeModule as ɵm, RelationSuggestionsListItemComponent as ɵma, RelationSuggestionsListComponent as ɵmb, SuggestionsSidebarModule as ɵmc, SuggestionsSidebarComponent as ɵmd, CheckoutOverviewRelationEditComponent as ɵme, CheckoutOverviewDeliveryEditComponent as ɵmf, CheckoutOverviewPaymentComponent as ɵmg, TransactionInternalModule as ɵmh, TransactionHeaderPaymentModule as ɵmi, TransactionHeaderRemainingAmountModule as ɵmj, TransactionHeaderRemainingAmountComponent as ɵmk, TransactionHeaderPaymentComponent as ɵml, TransactionLabeledWarehouseLocationButtonModule as ɵmm, TransactionLabeledWarehouseLocationButtonComponent as ɵmn, TransactionQuickAccessOverviewModule as ɵmo, DialogCatalogModule as ɵmp, DialogCatalogComponent as ɵmq, TransactionSendDocumentsModule as ɵmr, TransactionSendDocumentsComponent as ɵms, DigitalSignatureModule as ɵmt, DigitalSignatureComponent as ɵmu, TransactionQuickAccessOverviewComponent as ɵmv, TransactionQuickAccessOrderDeliveryModule as ɵmw, TransactionButtonBarModule as ɵmx, AnimatedCheckboxModule as ɵmy, AnimatedCheckboxComponent as ɵmz, AppendPipe as ɵn, TransactionButtonBarComponent as ɵna, TransactionButtonBarButtonComponent as ɵnb, TransactionButtonBarButtonBaseComponent as ɵnc, TransactionSalesPurchaseButtonBarButtonComponent as ɵnd, TransactionPurchaseReceiveGoodsButtonBarButtonComponent as ɵne, TransactionSalesAllocationButtonBarButtonComponent as ɵnf, TransactionPurchaseConfirmationButtonBarButtonComponent as ɵng, TransactionSalesDeliveryButtonBarButtonComponent as ɵnh, TransactionSalesInvoiceButtonBarButtonComponent as ɵni, TransactionPurchaseInvoiceButtonBarButtonComponent as ɵnj, TransactionSalesPickingButtonBarButtonComponent as ɵnk, TransactionSalesOverviewButtonBarButtonComponent as ɵnl, TransactionServiceServiceButtonBarButtonComponent as ɵnm, TransactionSalesPlanningButtonBarButtonComponent as ɵnn, TransactionUndoDeliveryModule as ɵno, TransactionUndoDeliveryComponent as ɵnp, TransactionQuickAccessOrderDeliveryComponent as ɵnq, TransactionQuickAccessOrderPurchaseModule as ɵnr, TransactionQuickAccessOrderPurchaseComponent as ɵns, TransactionQuickAccessGoodsAllocationModule as ɵnt, TransactionQuickAccessGoodsAllocationComponent as ɵnu, TransactionQuickAccessPurchaseOrderOverviewModule as ɵnv, TransactionQuickAccessPurchaseOrderOverviewComponent as ɵnw, TransactionQuickAccessInvoiceModule as ɵnx, TransactionQuickAccessInvoiceComponent as ɵny, TransactionQuickAccessToBePickedModule as ɵnz, DeliveryTimePipe as ɵo, TransactionQuickAccessToBePickedComponent as ɵoa, TransactionQuickAccessPickedModule as ɵob, TransactionQuickAccessPickedComponent as ɵoc, TransactionQuickAccessSalesQuotationModule as ɵod, TransactionQuickAccessSalesQuotationComponent as ɵoe, TransactionCreationService as ɵof, TransactionQuickAccessPlanningModule as ɵog, TransactionLineSidePanelPlanningModule as ɵoh, TransactionHistoryGridModule as ɵoi, TransactionHistoryGridStatusModule as ɵoj, TransactionHistoryGridStatusComponent as ɵok, TransactionHistoryGridComponent as ɵol, TransactionReceivingGoodsHistoryModule as ɵom, TransactionReceivingGoodsHistoryComponent as ɵon, TransactionLineSidePanelDefaultModule as ɵoo, TransactionLineQuantityModule as ɵop, TransactionLineQuantityComponent as ɵoq, TransactionLineReferenceModule as ɵor, TransactionLineReferenceComponent as ɵos, TransactionLineSidePanelDefaultComponent as ɵot, TransactionAvailableStockGridModule as ɵou, TransactionAvailableStockGridComponent as ɵov, TransactionLinePurchaseReceiveGoodsModule as ɵow, TransactionLinePurchaseReceiveGoodsComponent as ɵox, TransactionLinePurchaseConfirmationModule as ɵoy, DefaultOkCancelButtonsModule as ɵoz, DateDurationPipe as ɵp, DefaultOkCancelButtonsComponent as ɵpa, TransactionLabeledPriceInputModule as ɵpb, TransactionLabeledPriceInputComponent as ɵpc, PurchaseConfirmationLinesModule as ɵpd, TransactionLinesPopupModule as ɵpe, TransactionLinesPopupComponent as ɵpf, PurchaseConfirmationLinesComponent as ɵpg, TransactionLinePurchaseConfirmationComponent as ɵph, DeliveryPlanningMainModule as ɵpi, DeliveryPlanningModeSelectionModule as ɵpj, DeliveryPlanningModeSelectionComponent as ɵpk, DeliveryPlanningSelectionModule as ɵpl, DeliveryPlanningSelectionComponent as ɵpm, DeliveryPlanningOverviewModule as ɵpn, DeliveryPlanningOverviewTileModule as ɵpo, DeliveryPlanningOverviewTileLineModule as ɵpp, DeliveryPlanningOverviewTileLineComponent as ɵpq, DeliveryPlanningTileStatusModule as ɵpr, DeliveryPlanningTileStatusComponent as ɵps, DeliveryPlanningOverviewShortLineModule as ɵpt, DeliveryPlanningOverviewShortLineComponent as ɵpu, DeliveryPlanningOverviewTileComponent as ɵpv, DeliveryPlanningOverviewComponent as ɵpw, DeliveryPlanningOverviewPopupComponent as ɵpx, TransactionSearchSalesOrderTileModule as ɵpy, TransactionSearchSalesOrderTileComponent as ɵpz, LocalizePipe as ɵq, TransactionSearchTileBaseComponent as ɵqa, TransactionSearchPurchaseOrderTileModule as ɵqb, TransactionSearchPurchaseOrderTileComponent as ɵqc, TransactionSearchSalesOrderGridModule as ɵqd, TransactionSearchSalesOrderGridComponent as ɵqe, TransactionSearchGridBaseComponent as ɵqf, TransactionSearchPurchaseOrderGridModule as ɵqg, TransactionSearchPurchaseOrderGridComponent as ɵqh, TransactionSearchSalesQuotationGridModule as ɵqi, TransactionSearchSalesQuotationGridComponent as ɵqj, TransactionSearchPosGridModule as ɵqk, TransactionSearchPosGridComponent as ɵql, TransactionSearchSalesQuotationTileModule as ɵqm, TransactionSearchSalesQuotationTileComponent as ɵqn, TransactionSearchPosOrderTileModule as ɵqo, TransactionSearchPosOrderTileComponent as ɵqp, TransactionSearchGridModule as ɵqq, TransactionSearchGridComponent as ɵqr, TransactionSearchTileModule as ɵqs, TransactionSearchTileComponent as ɵqt, TransactionSalesOrderFilterModule as ɵqu, TransactionSalesOrderFilterContentOrderModule as ɵqv, TransactionFilterItemModule as ɵqw, TransactionFilterItemComponent as ɵqx, TransactionSalesOrderFilterContentOrderComponent as ɵqy, TransactionFilterContentBaseComponent as ɵqz, CoCurrencyPipe as ɵr, TransactionSalesOrderFilterContentLogisticsModule as ɵra, TransactionFilterHistoricStateModule as ɵrb, TransactionFilterHistoricStateComponent as ɵrc, TransactionSalesOrderFilterContentLogisticsComponent as ɵrd, TransactionSalesOrderFilterContentArticleModule as ɵre, TransactionSalesOrderFilterContentArticleComponent as ɵrf, TransactionSalesOrderFilterComponent as ɵrg, TransactionFilterBaseComponent as ɵrh, TransactionPurchaseOrderFilterModule as ɵri, TransactionPurchaseOrderFilterContentOrderModule as ɵrj, TransactionPurchaseOrderFilterContentOrderComponent as ɵrk, TransactionPurchaseOrderFilterContentLogisticsModule as ɵrl, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵrm, TransactionPurchaseOrderFilterContentArticleModule as ɵrn, TransactionPurchaseOrderFilterContentArticleComponent as ɵro, TransactionPurchaseOrderFilterComponent as ɵrp, TransactionSalesQuotationFilterModule as ɵrq, TransactionSalesQuotationFilterContentOrderModule as ɵrr, TransactionSalesQuotationFilterContentOrderComponent as ɵrs, TransactionSalesQuotationFilterContentLogisticsModule as ɵrt, TransactionSalesQuotationFilterContentLogisticsComponent as ɵru, TransactionSalesQuotationFilterContentArticleModule as ɵrv, TransactionSalesQuotationFilterContentArticleComponent as ɵrw, TransactionSalesQuotationFilterComponent as ɵrx, TransactionCashDeskFilterModule as ɵry, TransactionCashDeskFilterContentArticleModule as ɵrz, SafeStylePipe as ɵs, TransactionCashDeskFilterContentArticleComponent as ɵsa, TransactionCashDeskFilterContentLogisticsModule as ɵsb, TransactionCashDeskFilterContentLogisticsComponent as ɵsc, TransactionCashDeskFilterContentOrderModule as ɵsd, TransactionCashDeskFilterContentOrderComponent as ɵse, TransactionCashDeskFilterComponent as ɵsf, SearchFeatureModule as ɵsg, SearchHeaderButtonsModule as ɵsh, SearchHeaderButtonsComponent as ɵsi, SearchViewModeService as ɵsj, SearchFilterPanelModule as ɵsk, SearchFilterPanelComponent as ɵsl, SearchComponent as ɵsm, DeliveryPlanningMainComponent as ɵsn, DeliveryPlanningPlanOrderListComponent as ɵso, DeliveryPlanningPlanOrderListTileComponent as ɵsp, TransactionLineSidePanelPlanningComponent as ɵsq, TransactionQuickAccessPlanningComponent as ɵsr, TransactionQuickAccessPlanningPopupComponent as ɵss, TransactionCardModule as ɵst, TransactionCardPurchaseOverviewModule as ɵsu, TransactionCardHeaderModule as ɵsv, TransactionCardHeaderComponent as ɵsw, TransactionCardFooterModule as ɵsx, TransactionCardFooterComponent as ɵsy, TransactionCardPurchaseOverviewComponent as ɵsz, SafeHtmlPipe as ɵt, TransactionCardSalesOverviewModule as ɵta, TransactionCardSalesOverviewComponent as ɵtb, TransactionCardReceiveGoodsModule as ɵtc, TransactionCardReceiveGoodsComponent as ɵtd, TransactionCardInvoiceModule as ɵte, TransactionCardInvoiceComponent as ɵtf, TransactionCardOrderDeliveryModule as ɵtg, TransactionCardOrderDeliveryComponent as ɵth, TransactionCardPurchaseModule as ɵti, TransactionCardPurchaseComponent as ɵtj, TransactionCardGoodsAllocationModule as ɵtk, TransactionCardGoodsAllocationComponent as ɵtl, TransactionCardToBePickedModule as ɵtm, TransactionCardToBePickedComponent as ɵtn, TransactionCardPickedModule as ɵto, TransactionCardPickedComponent as ɵtp, TransactionCardPurchaseConfirmationModule as ɵtq, TransactionBaseCardModule as ɵtr, TransactionBaseCardComponent as ɵts, TransactionCardPurchaseConfirmationComponent as ɵtt, TransactionCardPlanningModule as ɵtu, TransactionCardPlanningComponent as ɵtv, TransactionCardMarginModule as ɵtw, TransactionCardMarginComponent as ɵtx, TransactionCardComponent as ɵty, TransactionLineSidePanelModule as ɵtz, PrependPipe as ɵu, TransactionLineSidePanelPurchaseModule as ɵua, TransactionLineSidePanelPurchaseComponent as ɵub, TransactionLineSidePanelSalesModule as ɵuc, TransactionAllocateGoodsHistoryModule as ɵud, TransactionAllocateGoodsHistoryComponent as ɵue, TransactionLineSalesAllocationModule as ɵuf, TransactionLineSalesAllocationComponent as ɵug, TransactionLineSalesDeliveryModule as ɵuh, TransactionLineDeliveryHistoryModule as ɵui, TransactionLineDeliveryHistoryComponent as ɵuj, TransactionLineSalesDeliveryComponent as ɵuk, TransactionLineSalesInvoiceModule as ɵul, TransactionLineInvoiceHistoryModule as ɵum, TransactionLineInvoiceHistoryComponent as ɵun, TransactionLineSalesInvoiceComponent as ɵuo, TransactionLineSidePanelToBePickedModule as ɵup, TransactionPickingHistoryModule as ɵuq, TransactionPickingHistoryComponent as ɵur, TransactionLineSidePanelToBePickedComponent as ɵus, TransactionLineSidePanelPickedModule as ɵut, TransactionLineSidePanelPickedComponent as ɵuu, TransactionLineSidePanelSalesComponent as ɵuv, TransactionLineSidePanelComponent as ɵuw, TransactionCopyOrderModule as ɵux, DefaultConfirmCancelButtonsModule as ɵuy, DefaultConfirmCancelButtonsComponent as ɵuz, ConfirmationDialogComponent as ɵv, TransactionCopyOrderComponent as ɵva, TransactionLinesSidePanelModule as ɵvb, TransactionLinesSidePanelCashDeskModule as ɵvc, TransactionCashRegisterPaymentDialogModule as ɵvd, TransactionCashRegisterPaymentPinModule as ɵve, TransactionCashRegisterPaymentButtonsModule as ɵvf, TransactionCashRegisterPaymentButtonsComponent as ɵvg, TransactionCashRegisterPaymentPinComponent as ɵvh, TransactionCashRegisterPaymentCashModule as ɵvi, RegisteredPaymentModule as ɵvj, RegisteredPaymentComponent as ɵvk, TransactionCashRegisterPaymentCashComponent as ɵvl, TransactionCashRegisterPaymentDoneModule as ɵvm, TransactionCashRegisterPaymentDoneComponent as ɵvn, TransactionCashRegisterPaymentMethodModule as ɵvo, TransactionCashRegisterPaymentMethodComponent as ɵvp, TransactionCashRegisterPaymentQrCodeModule as ɵvq, TransactionCashRegisterPaymentQrCodeComponent as ɵvr, TransactionCashRegisterPaymentDialogComponent as ɵvs, TransactionCashRegisterOrderExpenseDialogModule as ɵvt, TransactionCashRegisterOrderExpenseDialogComponent as ɵvu, TransactionLinesSidePanelCashDeskComponent as ɵvv, TransactionLinesSidePanelServiceOrderModule as ɵvw, TransactionLinesSidePanelServiceOrderComponent as ɵvx, TransactionLinesSidePanelComponent as ɵvy, TransactionServiceOverviewModule as ɵvz, DialogBaseComponent as ɵw, TransactionServiceOverviewComponent as ɵwa, TransactionCardsModule as ɵwb, TransactionCardsComponent as ɵwc, TransactionMarginBlockComponent as ɵwd, TransactionMarginLineComponent as ɵwe, ClickBlockModule as ɵwf, ClickBlockComponent as ɵwg, TransactionInternalComponent as ɵwh, TransactionGridModule as ɵwi, TransactionLinesGridModule as ɵwj, TransactionBaseGridModule as ɵwk, TransactionBaseGridComponent as ɵwl, TransactionGridBaseComponent as ɵwm, DialogTransactionLineWarehouseCcModule as ɵwn, DialogTransactionLineWarehouseCcComponent as ɵwo, DialogDirectSellComponent as ɵwp, DialogTransactionHeaderBranchModule as ɵwq, DialogTransactionHeaderBranchComponent as ɵwr, TransactionLinesGridComponent as ɵws, TransactionOrderConfirmationGridModule as ɵwt, TransactionOrderConfirmationGridComponent as ɵwu, TransactionGridComponent as ɵwv, TransactionCashRegisterOrderReceiptDialogModule as ɵww, TransactionCashRegisterOrderReceiptDialogComponent as ɵwx, TransactionTagComponent as ɵwy, IconCacheService as ɵx, CharacteristicAnswerModule as ɵy, CharacteristicAnswerComponent as ɵz };
|
|
52380
|
+
export { AddProductComponent, AddProductModule, CheckoutComponent, CheckoutModule, DatePeriod, DeliveryPlanningCalendarModes, DeliveryPlanningComponent, DeliveryPlanningModes, DeliveryPlanningModule, DeliveryPlanningViewModes, FastDateRangePickerComponent, FastDateRangePickerModule, FilterRequestService, LineSelectionService, LoaderComponent, LoaderModule, PosOrderData, PurchaseConfirmationService, QuickSendButtonComponent, QuickSendButtonModule, SearchViewMode, SearchbarViewMode, SharedConnectorService, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionBusinessObjectCacheManagerService, TransactionCashRegisterDialogComponent, TransactionCashRegisterDialogModule, TransactionCfgName, TransactionComponent, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionConnectorAdapterService, TransactionConnectorService, TransactionCreateDateLabelComponent, TransactionCreateDateLabelModule, TransactionCreateWizardComponent, TransactionCreateWizardModule, TransactionEventService, TransactionFilterComponent, TransactionFilterModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineSidePanelArticleDetailsComponent, TransactionLineSidePanelArticleDetailsModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionMarginComponent, TransactionMarginModule, TransactionModule, TransactionNumberLabelComponent, TransactionNumberLabelModule, TransactionPaymentConnectorService, TransactionPaymentService, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionRelationConnectorService, TransactionRelationService, TransactionScreenConfigurationService, TransactionSearchComponent, TransactionSearchModule, TransactionSearchResultComponent, TransactionSearchResultModule, TransactionSearchService, TransactionSelectMultipleCacheService, TransactionSelectMultipleParameterizedCacheService, TransactionSelectSingleCacheService, TransactionSelectSingleParameterizedCacheService, TransactionService, TransactionSettings, TransactionSettingsOptions, TransactionSettingsService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTagsComponent, TransactionTagsModule, TransactionTotalsComponent, TransactionTotalsModule, Version, CheckoutModuleService as ɵa, CheckoutScreenConfigurationService as ɵb, WarehouseModule as ɵba, WarehouseComponent as ɵbb, ToastModule as ɵbc, ToastComponent as ɵbd, ImageDisplayComponent as ɵbe, IconComponent as ɵbf, CustomerGroupsComponent as ɵbg, CustomerLanguagesComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LazyRenderMasterDirective as ɵbj, LazyRenderDirective as ɵbk, RelationAddressModule as ɵbl, RelationAddressComponent as ɵbm, RelationBaseComponent as ɵbn, RelationAddressSelectModule as ɵbo, RelationAddressTileModule as ɵbp, TileModule as ɵbq, TileComponent as ɵbr, RelationAddressTileComponent as ɵbs, RelationAddressSelectComponent as ɵbt, StepperModule as ɵbu, StepperComponent as ɵbv, StepperStepComponent as ɵbw, TransactionLineModule as ɵbx, TransactionTextLineModule as ɵby, TransactionTextLineComponent as ɵbz, DictionaryService as ɵc, TransactionBaseComponent as ɵca, TransactionImageService as ɵcb, OrderLineSetService as ɵcc, TransactionOverviewLineModule as ɵcd, TransactionArticleTextModule as ɵce, TransactionLineImageAndDescriptionModule as ɵcf, TransactionLineDescriptionModule as ɵcg, TransactionLineDescriptionComponent as ɵch, TransactionInputFieldBaseComponent as ɵci, TransactionLineImageAndDescriptionComponent as ɵcj, TransactionArticleTextComponent as ɵck, TransactionArticleTextOverviewModule as ɵcl, TransactionArticleTextOverviewComponent as ɵcm, TransactionLineActionButtonsModule as ɵcn, TransactionLineActionButtonsComponent as ɵco, TransactionLineActionButtonsPopupComponent as ɵcp, EditableLabelModule as ɵcq, EditableLabelComponent as ɵcr, TransactionLinePriceModule as ɵcs, TransactionLinePriceComponent as ɵct, TransactionBaseLineModule as ɵcu, TransactionBaseLineComponent as ɵcv, TransactionLineCommissionButtonModule as ɵcw, DialogTransactionLineCommissionCodeModule as ɵcx, TransactionLineCommissionCodeModule as ɵcy, TransactionLineCheckboxModule as ɵcz, CacheField as ɵd, TransactionLineCheckboxListComponent as ɵda, TransactionLineCommissionCodeComponent as ɵdb, TransactionFilterPopupBaseComponent as ɵdc, DialogHeaderSearchModule as ɵdd, DialogHeaderSearchComponent as ɵde, DialogTransactionLineCommissionCodeComponent as ɵdf, DialogTransactionBaseComponent as ɵdg, TransactionButtonModule as ɵdh, TransactionButtonComponent as ɵdi, TransactionLineCommissionButtonComponent as ɵdj, TransactionLineWarehouseButtonModule as ɵdk, DialogTransactionLineWarehouseModule as ɵdl, TransactionLineWarehouseModule as ɵdm, TransactionLineWarehouseComponent as ɵdn, DialogTransactionLineWarehouseComponent as ɵdo, TransactionLineWarehouseButtonComponent as ɵdp, TransactionLineDeliveryButtonModule as ɵdq, DialogTransactionLineDeliveryMethodModule as ɵdr, TransactionLineDeliveryMethodModule as ɵds, TransactionLineDeliveryMethodComponent as ɵdt, DialogTransactionLineDeliveryMethodComponent as ɵdu, TransactionLineDeliveryButtonComponent as ɵdv, TransactionLineDeliveryDateButtonModule as ɵdw, TransactionDateSelectModule as ɵdx, TransactionDateSelectComponent as ɵdy, TransactionLineDeliveryDateButtonComponent as ɵdz, ErrorService as ɵe, DialogTransactionLineVatModule as ɵea, TransactionLineVatModule as ɵeb, TransactionLineVatComponent as ɵec, DialogTransactionLineVatComponent as ɵed, DialogTransactionLineDiscountModule as ɵee, TransactionLinePriceListModule as ɵef, TransactionLinePriceListComponent as ɵeg, TransactionLineDiscountPercentageModule as ɵeh, TransactionLineDiscountPercentageComponent as ɵei, TransactionLineDiscountAmountModule as ɵej, TransactionLineDiscountAmountComponent as ɵek, TransactionLineQuantumDiscountModule as ɵel, TransactionLineQuantumDiscountComponent as ɵem, TransactionLineSpecialDiscountModule as ɵen, TransactionLineSpecialDiscountComponent as ɵeo, DialogTransactionLinePriceListModule as ɵep, DialogTransactionLinePriceListComponent as ɵeq, DialogTransactionLineDiscountComponent as ɵer, TransactionLineAmountModule as ɵes, TransactionLineAmountComponent as ɵet, TransactionLineVatButtonModule as ɵeu, TransactionLineVatButtonComponent as ɵev, TransactionLineDiscountButtonModule as ɵew, TransactionLineDiscountButtonComponent as ɵex, TransactionLineDeliveryDateModule as ɵey, TransactionLineDeliveryDateComponent as ɵez, DialogService as ɵf, TransactionMarginInfoLineModule as ɵfa, TransactionMarginInfoLineComponent as ɵfb, TransactionPlanningLineModule as ɵfc, TransactionPlanningLineComponent as ɵfd, DeliveryPlanningService as ɵfe, TransactionOverviewLineComponent as ɵff, TransactionPurchaseLineModule as ɵfg, TransactionLineSupplierButtonModule as ɵfh, TransactionLineSupplierModule as ɵfi, TransactionLineSupplierComponent as ɵfj, DialogTransactionLineSupplierModule as ɵfk, DialogTransactionLineSupplierComponent as ɵfl, TransactionLineSupplierButtonComponent as ɵfm, TransactionNavigationButtonModule as ɵfn, TransactionNavigationButtonComponent as ɵfo, TransactionLineDropShipmentButtonModule as ɵfp, TransactionLineDropShipmentButtonComponent as ɵfq, TransactionNavigationButtonListModule as ɵfr, TransactionNavigationButtonListComponent as ɵfs, TransactionLineConfirmedDeliveryDateButtonModule as ɵft, TransactionLineConfirmedDeliveryDateButtonComponent as ɵfu, TransactionPurchaseLineComponent as ɵfv, TransactionPurchaseLineBaseComponent as ɵfw, TransactionGoodsAllocationLineModule as ɵfx, TransactionLineWarehouseLocationButtonModule as ɵfy, DialogTransactionLineWarehouseLocationModule as ɵfz, DynamicComponentService as ɵg, TransactionLineWarehouseLocationModule as ɵga, TransactionLineWarehouseLocationComponent as ɵgb, ArticleService as ɵgc, DialogTransactionLineWarehouseLocationComponent as ɵgd, TransactionLineWarehouseLocationButtonComponent as ɵge, TransactionGoodsAllocationLineComponent as ɵgf, TransactionOrderDeliveryLineModule as ɵgg, TransactionOrderDeliveryLineComponent as ɵgh, TransactionOrderDeliveryLineBaseComponent as ɵgi, TransactionInvoiceLineModule as ɵgj, TransactionInvoiceLineComponent as ɵgk, TransactionInvoiceLineBaseComponent as ɵgl, TransactionPickedLineModule as ɵgm, TransactionPickedLineComponent as ɵgn, TransactionToBePickedLineModule as ɵgo, TransactionToBePickedLineComponent as ɵgp, TransactionPurchaseOverviewLineModule as ɵgq, TransactionPurchaseOverviewLineComponent as ɵgr, TransactionReceiveGoodsLineModule as ɵgs, TransactionPrintPackageStickerModule as ɵgt, TransactionPrintPackageStickerComponent as ɵgu, TransactionQuickAccessSendMethodBaseComponent as ɵgv, TransactionReceiveGoodsLineComponent as ɵgw, TransactionReceiveGoodsLineBaseComponent as ɵgx, TransactionPurchaseOrderLineModule as ɵgy, TransactionPurchasePortalLineGrossOrderPriceModule as ɵgz, ArticleConnectorService as ɵh, TransactionPurchasePortalLineGrossOrderPriceComponent as ɵha, TransactionPurchasePortalLineNetOrderPriceModule as ɵhb, TransactionPurchasePortalLineNetOrderPriceComponent as ɵhc, TransactionPurchasePortalLineDeliveryDateModule as ɵhd, TransactionPurchasePortalLineDeliveryDateComponent as ɵhe, TransactionPurchasePortalLineConfirmedDeliveryDateModule as ɵhf, TransactionPurchasePortalLineConfirmedDeliveryDateComponent as ɵhg, TransactionLineSupplierDeliveryDateButtonModule as ɵhh, TransactionLineSupplierDeliveryDateButtonComponent as ɵhi, TransactionLineConfirmedPriceModule as ɵhj, TransactionLineConfirmedPriceComponent as ɵhk, TransactionPurchaseOrderLineComponent as ɵhl, TransactionPurchaseOrderLineBaseComponent as ɵhm, TransactionCashRegisterOrderLineModule as ɵhn, TransactionCashRegisterOrderLineComponent as ɵho, TransactionSalesOrderQuotationLineModule as ɵhp, TransactionSalesOrderQuotationLineComponent as ɵhq, TransactionLineComponent as ɵhr, TransactionMappingService as ɵhs, TransactionLinesBaseComponent as ɵht, DialogTransactionHeaderDiscountModule as ɵhu, TransactionHeaderDiscountPercentageModule as ɵhv, TransactionHeaderDiscountPercentageComponent as ɵhw, TransactionHeaderDiscountAmountModule as ɵhx, TransactionHeaderDiscountAmountComponent as ɵhy, TransactionHeaderDiscountTransactionTotalModule as ɵhz, PendingReasonService as ɵi, TransactionHeaderDiscountTransactionTotalComponent as ɵia, DialogTransactionHeaderDiscountComponent as ɵib, AvatarModule as ɵic, AvatarComponent as ɵid, DeliveryTypeTileModule as ɵie, DeliveryTypeTileComponent as ɵif, PaymentModule as ɵig, PaymentTileModule as ɵih, PaymentTileComponent as ɵii, PaymentQrCodeModule as ɵij, PaymentQrCodeComponent as ɵik, DepositPaymentModule as ɵil, DepositPaymentComponent as ɵim, PaymentToPayModule as ɵin, PaymentToPayComponent as ɵio, PaymentComponent as ɵip, TransactionPaymentBaseComponent as ɵiq, RelationTypeModule as ɵir, RelationTypeComponent as ɵis, RelationGeneralModule as ɵit, RelationContactDetailsModule as ɵiu, RelationContactDetailsComponent as ɵiv, RelationGeneralComponent as ɵiw, RelationAddressesModule as ɵix, RelationAddressesComponent as ɵiy, RelationPreferencesModule as ɵiz, TransactionBaseService as ɵj, RelationPreferencesComponent as ɵja, TransactionHeaderBlockModule as ɵjb, TransactionHeaderBlockComponent as ɵjc, TransactionHeaderDeliveryDateModule as ɵjd, TransactionHeaderDeliveryDateComponent as ɵje, TransactionHeaderDeliveryOptionsModule as ɵjf, TransactionHeaderDeliveryOptionsComponent as ɵjg, TransactionHeaderRemarksModule as ɵjh, TransactionHeaderRemarksComponent as ɵji, TransactionHeaderReferenceModule as ɵjj, TransactionHeaderReferenceComponent as ɵjk, TransactionHeaderRelationReferenceModule as ɵjl, TransactionHeaderRelationReferenceComponent as ɵjm, TransactionHeaderDeliveryMethodModule as ɵjn, TransactionHeaderDeliveryMethodComponent as ɵjo, TransactionHeaderPreferredDeliveryDateModule as ɵjp, TransactionHeaderPreferredDeliveryDateComponent as ɵjq, DialogTransactionHeaderDeliveryMethodModule as ɵjr, DialogTransactionHeaderDeliveryMethodComponent as ɵjs, TransactionHeaderPopupModule as ɵjt, TransactionFilterCategoriesModule as ɵju, TransactionFilterCategoriesComponent as ɵjv, TransactionHeaderBranchModule as ɵjw, TransactionHeaderBranchComponent as ɵjx, TransactionHeaderSalesPersonModule as ɵjy, TransactionHeaderSalesPersonComponent as ɵjz, CoreModule as ɵk, TransactionHeaderAdministrativeRelationModule as ɵka, TransactionHeaderAdministrativeRelationComponent as ɵkb, TransactionHeaderPriceKindModule as ɵkc, TransactionHeaderPriceKindComponent as ɵkd, TransactionHeaderCurrencyModule as ɵke, TransactionHeaderCurrencyComponent as ɵkf, TransactionHeaderPaymentConditionModule as ɵkg, TransactionHeaderPaymentConditionComponent as ɵkh, TransactionHeaderHoldCodesModule as ɵki, TransactionHeaderHoldCodesComponent as ɵkj, TransactionHeaderMarketingModule as ɵkk, TransactionHeaderMarketingComponent as ɵkl, TransactionHeaderDeliveryMethodButtonModule as ɵkm, TransactionHeaderDeliveryMethodButtonComponent as ɵkn, TransactionHeaderDefinitiveModule as ɵko, TransactionHeaderDefinitiveComponent as ɵkp, TransactionHeaderDeliverydateDefinitiveButtonModule as ɵkq, TransactionHeaderDeliverydateDefinitiveButtonComponent as ɵkr, TransactionHeaderDepositPercentageModule as ɵks, TransactionHeaderDepositPercentageComponent as ɵkt, TransactionHeaderDepositAmountModule as ɵku, TransactionHeaderDepositAmountComponent as ɵkv, TransactionHeaderPaymentButtonModule as ɵkw, TransactionHeaderPaymentButtonComponent as ɵkx, TransactionHeaderDivideEvenlyModule as ɵky, TransactionHeaderDivideEvenlyComponent as ɵkz, ConfirmationDialogModule as ɵl, TransactionHeaderAmountToSettleModule as ɵla, TransactionHeaderAmountToSettleComponent as ɵlb, TransactionHeaderScoringChanceModule as ɵlc, TransactionHeaderScoringChanceComponent as ɵld, TransactionHeaderRetailStadiumModule as ɵle, TransactionHeaderRetailStadiumComponent as ɵlf, TransactionHeaderScoringDateModule as ɵlg, TransactionHeaderScoringDateComponent as ɵlh, TransactionHeaderPartialDeliveryModule as ɵli, TransactionHeaderPartialDeliveryComponent as ɵlj, TransactionHeaderAutoRecalculateDepositModule as ɵlk, TransactionHeaderAutoRecalculateDepositComponent as ɵll, TransactionHeaderUseDepositRuleModule as ɵlm, TransactionHeaderUseDepositRuleComponent as ɵln, TransactionHeaderProjectCodeModule as ɵlo, TransactionHeaderProjectCodeComponent as ɵlp, DialogCatalogModule as ɵlq, DialogCatalogComponent as ɵlr, ServiceWizardQaModule as ɵls, QuestionAnswerModule as ɵlt, QuestionAnswerComponent as ɵlu, ServiceWizardQaComponent as ɵlv, TransactionHeaderPopupComponent as ɵlw, TransactionHeaderPopupRelationComponent as ɵlx, TransactionHeaderPopupBaseComponent as ɵly, RelationSuggestionsService as ɵlz, PipeModule as ɵm, TransactionHeaderPopupOrderComponent as ɵma, TransactionHeaderPopupDeliveryComponent as ɵmb, TransactionHeaderPopupPaymentComponent as ɵmc, CashOnDeliveryModalComponent as ɵmd, TransactionHeaderPopupCreateServiceComponent as ɵme, TransactionHeaderPopupServiceWizardComponent as ɵmf, TransactionHeaderPopupServiceFieldsComponent as ɵmg, RelationSuggestionsListModule as ɵmh, RelationSuggestionsListItemModule as ɵmi, RelationSuggestionsListItemComponent as ɵmj, RelationSuggestionsListComponent as ɵmk, SuggestionsSidebarModule as ɵml, SuggestionsSidebarComponent as ɵmm, CheckoutOverviewRelationEditComponent as ɵmn, CheckoutOverviewDeliveryEditComponent as ɵmo, CheckoutOverviewPaymentComponent as ɵmp, TransactionInternalModule as ɵmq, TransactionHeaderPaymentModule as ɵmr, TransactionHeaderRemainingAmountModule as ɵms, TransactionHeaderRemainingAmountComponent as ɵmt, TransactionHeaderPaymentComponent as ɵmu, TransactionLabeledWarehouseLocationButtonModule as ɵmv, TransactionLabeledWarehouseLocationButtonComponent as ɵmw, TransactionQuickAccessOverviewModule as ɵmx, TransactionSendDocumentsModule as ɵmy, TransactionSendDocumentsComponent as ɵmz, AppendPipe as ɵn, DigitalSignatureModule as ɵna, DigitalSignatureComponent as ɵnb, TransactionQuickAccessOverviewComponent as ɵnc, TransactionQuickAccessOrderDeliveryModule as ɵnd, TransactionButtonBarModule as ɵne, AnimatedCheckboxModule as ɵnf, AnimatedCheckboxComponent as ɵng, TransactionButtonBarComponent as ɵnh, TransactionButtonBarButtonComponent as ɵni, TransactionButtonBarButtonBaseComponent as ɵnj, TransactionSalesPurchaseButtonBarButtonComponent as ɵnk, TransactionPurchaseReceiveGoodsButtonBarButtonComponent as ɵnl, TransactionSalesAllocationButtonBarButtonComponent as ɵnm, TransactionPurchaseConfirmationButtonBarButtonComponent as ɵnn, TransactionSalesDeliveryButtonBarButtonComponent as ɵno, TransactionSalesInvoiceButtonBarButtonComponent as ɵnp, TransactionPurchaseInvoiceButtonBarButtonComponent as ɵnq, TransactionSalesPickingButtonBarButtonComponent as ɵnr, TransactionSalesOverviewButtonBarButtonComponent as ɵns, TransactionServiceServiceButtonBarButtonComponent as ɵnt, TransactionSalesPlanningButtonBarButtonComponent as ɵnu, TransactionUndoDeliveryModule as ɵnv, TransactionUndoDeliveryComponent as ɵnw, TransactionQuickAccessOrderDeliveryComponent as ɵnx, TransactionQuickAccessOrderPurchaseModule as ɵny, TransactionQuickAccessOrderPurchaseComponent as ɵnz, DeliveryTimePipe as ɵo, TransactionQuickAccessGoodsAllocationModule as ɵoa, TransactionQuickAccessGoodsAllocationComponent as ɵob, TransactionQuickAccessPurchaseOrderOverviewModule as ɵoc, TransactionQuickAccessPurchaseOrderOverviewComponent as ɵod, TransactionQuickAccessInvoiceModule as ɵoe, TransactionQuickAccessInvoiceComponent as ɵof, TransactionQuickAccessToBePickedModule as ɵog, TransactionQuickAccessToBePickedComponent as ɵoh, TransactionQuickAccessPickedModule as ɵoi, TransactionQuickAccessPickedComponent as ɵoj, TransactionQuickAccessSalesQuotationModule as ɵok, TransactionQuickAccessSalesQuotationComponent as ɵol, TransactionCreationService as ɵom, TransactionQuickAccessPlanningModule as ɵon, TransactionLineSidePanelPlanningModule as ɵoo, TransactionHistoryGridModule as ɵop, TransactionHistoryGridStatusModule as ɵoq, TransactionHistoryGridStatusComponent as ɵor, TransactionHistoryGridComponent as ɵos, TransactionReceivingGoodsHistoryModule as ɵot, TransactionReceivingGoodsHistoryComponent as ɵou, TransactionLineSidePanelDefaultModule as ɵov, TransactionLineQuantityModule as ɵow, TransactionLineQuantityComponent as ɵox, TransactionLineReferenceModule as ɵoy, TransactionLineReferenceComponent as ɵoz, DateDurationPipe as ɵp, TransactionLineSidePanelDefaultComponent as ɵpa, TransactionAvailableStockGridModule as ɵpb, TransactionAvailableStockGridComponent as ɵpc, TransactionLinePurchaseReceiveGoodsModule as ɵpd, TransactionLinePurchaseReceiveGoodsComponent as ɵpe, TransactionLinePurchaseConfirmationModule as ɵpf, DefaultOkCancelButtonsModule as ɵpg, DefaultOkCancelButtonsComponent as ɵph, TransactionLabeledPriceInputModule as ɵpi, TransactionLabeledPriceInputComponent as ɵpj, PurchaseConfirmationLinesModule as ɵpk, TransactionLinesPopupModule as ɵpl, TransactionLinesPopupComponent as ɵpm, PurchaseConfirmationLinesComponent as ɵpn, TransactionLinePurchaseConfirmationComponent as ɵpo, DeliveryPlanningMainModule as ɵpp, DeliveryPlanningModeSelectionModule as ɵpq, DeliveryPlanningModeSelectionComponent as ɵpr, DeliveryPlanningSelectionModule as ɵps, DeliveryPlanningSelectionComponent as ɵpt, DeliveryPlanningOverviewModule as ɵpu, DeliveryPlanningOverviewTileModule as ɵpv, DeliveryPlanningOverviewTileLineModule as ɵpw, DeliveryPlanningOverviewTileLineComponent as ɵpx, DeliveryPlanningTileStatusModule as ɵpy, DeliveryPlanningTileStatusComponent as ɵpz, LocalizePipe as ɵq, DeliveryPlanningOverviewShortLineModule as ɵqa, DeliveryPlanningOverviewShortLineComponent as ɵqb, DeliveryPlanningOverviewTileComponent as ɵqc, DeliveryPlanningOverviewComponent as ɵqd, DeliveryPlanningOverviewPopupComponent as ɵqe, TransactionSearchSalesOrderTileModule as ɵqf, TransactionSearchSalesOrderTileComponent as ɵqg, TransactionSearchTileBaseComponent as ɵqh, TransactionSearchPurchaseOrderTileModule as ɵqi, TransactionSearchPurchaseOrderTileComponent as ɵqj, TransactionSearchSalesOrderGridModule as ɵqk, TransactionSearchSalesOrderGridComponent as ɵql, TransactionSearchGridBaseComponent as ɵqm, TransactionSearchPurchaseOrderGridModule as ɵqn, TransactionSearchPurchaseOrderGridComponent as ɵqo, TransactionSearchSalesQuotationGridModule as ɵqp, TransactionSearchSalesQuotationGridComponent as ɵqq, TransactionSearchPosGridModule as ɵqr, TransactionSearchPosGridComponent as ɵqs, TransactionSearchSalesQuotationTileModule as ɵqt, TransactionSearchSalesQuotationTileComponent as ɵqu, TransactionSearchPosOrderTileModule as ɵqv, TransactionSearchPosOrderTileComponent as ɵqw, TransactionSearchGridModule as ɵqx, TransactionSearchGridComponent as ɵqy, TransactionSearchTileModule as ɵqz, CoCurrencyPipe as ɵr, TransactionSearchTileComponent as ɵra, TransactionSalesOrderFilterModule as ɵrb, TransactionSalesOrderFilterContentOrderModule as ɵrc, TransactionFilterItemModule as ɵrd, TransactionFilterItemComponent as ɵre, TransactionSalesOrderFilterContentOrderComponent as ɵrf, TransactionFilterContentBaseComponent as ɵrg, TransactionSalesOrderFilterContentLogisticsModule as ɵrh, TransactionFilterHistoricStateModule as ɵri, TransactionFilterHistoricStateComponent as ɵrj, TransactionSalesOrderFilterContentLogisticsComponent as ɵrk, TransactionSalesOrderFilterContentArticleModule as ɵrl, TransactionSalesOrderFilterContentArticleComponent as ɵrm, TransactionSalesOrderFilterComponent as ɵrn, TransactionFilterBaseComponent as ɵro, TransactionPurchaseOrderFilterModule as ɵrp, TransactionPurchaseOrderFilterContentOrderModule as ɵrq, TransactionPurchaseOrderFilterContentOrderComponent as ɵrr, TransactionPurchaseOrderFilterContentLogisticsModule as ɵrs, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵrt, TransactionPurchaseOrderFilterContentArticleModule as ɵru, TransactionPurchaseOrderFilterContentArticleComponent as ɵrv, TransactionPurchaseOrderFilterComponent as ɵrw, TransactionSalesQuotationFilterModule as ɵrx, TransactionSalesQuotationFilterContentOrderModule as ɵry, TransactionSalesQuotationFilterContentOrderComponent as ɵrz, SafeStylePipe as ɵs, TransactionSalesQuotationFilterContentLogisticsModule as ɵsa, TransactionSalesQuotationFilterContentLogisticsComponent as ɵsb, TransactionSalesQuotationFilterContentArticleModule as ɵsc, TransactionSalesQuotationFilterContentArticleComponent as ɵsd, TransactionSalesQuotationFilterComponent as ɵse, TransactionCashDeskFilterModule as ɵsf, TransactionCashDeskFilterContentArticleModule as ɵsg, TransactionCashDeskFilterContentArticleComponent as ɵsh, TransactionCashDeskFilterContentLogisticsModule as ɵsi, TransactionCashDeskFilterContentLogisticsComponent as ɵsj, TransactionCashDeskFilterContentOrderModule as ɵsk, TransactionCashDeskFilterContentOrderComponent as ɵsl, TransactionCashDeskFilterComponent as ɵsm, SearchFeatureModule as ɵsn, SearchHeaderButtonsModule as ɵso, SearchHeaderButtonsComponent as ɵsp, SearchViewModeService as ɵsq, SearchFilterPanelModule as ɵsr, SearchFilterPanelComponent as ɵss, SearchComponent as ɵst, DeliveryPlanningMainComponent as ɵsu, DeliveryPlanningPlanOrderListComponent as ɵsv, DeliveryPlanningPlanOrderListTileComponent as ɵsw, TransactionLineSidePanelPlanningComponent as ɵsx, TransactionQuickAccessPlanningComponent as ɵsy, TransactionQuickAccessPlanningPopupComponent as ɵsz, SafeHtmlPipe as ɵt, TransactionCardModule as ɵta, TransactionCardPurchaseOverviewModule as ɵtb, TransactionCardHeaderModule as ɵtc, TransactionCardHeaderComponent as ɵtd, TransactionCardFooterModule as ɵte, TransactionCardFooterComponent as ɵtf, TransactionCardPurchaseOverviewComponent as ɵtg, TransactionCardSalesOverviewModule as ɵth, TransactionCardSalesOverviewComponent as ɵti, TransactionCardReceiveGoodsModule as ɵtj, TransactionCardReceiveGoodsComponent as ɵtk, TransactionCardInvoiceModule as ɵtl, TransactionCardInvoiceComponent as ɵtm, TransactionCardOrderDeliveryModule as ɵtn, TransactionCardOrderDeliveryComponent as ɵto, TransactionCardPurchaseModule as ɵtp, TransactionCardPurchaseComponent as ɵtq, TransactionCardGoodsAllocationModule as ɵtr, TransactionCardGoodsAllocationComponent as ɵts, TransactionCardToBePickedModule as ɵtt, TransactionCardToBePickedComponent as ɵtu, TransactionCardPickedModule as ɵtv, TransactionCardPickedComponent as ɵtw, TransactionCardPurchaseConfirmationModule as ɵtx, TransactionBaseCardModule as ɵty, TransactionBaseCardComponent as ɵtz, PrependPipe as ɵu, TransactionCardPurchaseConfirmationComponent as ɵua, TransactionCardPlanningModule as ɵub, TransactionCardPlanningComponent as ɵuc, TransactionCardMarginModule as ɵud, TransactionCardMarginComponent as ɵue, TransactionCardComponent as ɵuf, TransactionLineSidePanelModule as ɵug, TransactionLineSidePanelPurchaseModule as ɵuh, TransactionLineSidePanelPurchaseComponent as ɵui, TransactionLineSidePanelSalesModule as ɵuj, TransactionAllocateGoodsHistoryModule as ɵuk, TransactionAllocateGoodsHistoryComponent as ɵul, TransactionLineSalesAllocationModule as ɵum, TransactionLineSalesAllocationComponent as ɵun, TransactionLineSalesDeliveryModule as ɵuo, TransactionLineDeliveryHistoryModule as ɵup, TransactionLineDeliveryHistoryComponent as ɵuq, TransactionLineSalesDeliveryComponent as ɵur, TransactionLineSalesInvoiceModule as ɵus, TransactionLineInvoiceHistoryModule as ɵut, TransactionLineInvoiceHistoryComponent as ɵuu, TransactionLineSalesInvoiceComponent as ɵuv, TransactionLineSidePanelToBePickedModule as ɵuw, TransactionPickingHistoryModule as ɵux, TransactionPickingHistoryComponent as ɵuy, TransactionLineSidePanelToBePickedComponent as ɵuz, ConfirmationDialogComponent as ɵv, TransactionLineSidePanelPickedModule as ɵva, TransactionLineSidePanelPickedComponent as ɵvb, TransactionLineSidePanelSalesComponent as ɵvc, TransactionLineSidePanelComponent as ɵvd, TransactionCopyOrderModule as ɵve, DefaultConfirmCancelButtonsModule as ɵvf, DefaultConfirmCancelButtonsComponent as ɵvg, TransactionCopyOrderComponent as ɵvh, TransactionLinesSidePanelModule as ɵvi, TransactionLinesSidePanelCashDeskModule as ɵvj, TransactionCashRegisterPaymentDialogModule as ɵvk, TransactionCashRegisterPaymentPinModule as ɵvl, TransactionCashRegisterPaymentButtonsModule as ɵvm, TransactionCashRegisterPaymentButtonsComponent as ɵvn, TransactionCashRegisterPaymentPinComponent as ɵvo, TransactionCashRegisterPaymentCashModule as ɵvp, RegisteredPaymentModule as ɵvq, RegisteredPaymentComponent as ɵvr, TransactionCashRegisterPaymentCashComponent as ɵvs, TransactionCashRegisterPaymentDoneModule as ɵvt, TransactionCashRegisterPaymentDoneComponent as ɵvu, TransactionCashRegisterPaymentMethodModule as ɵvv, TransactionCashRegisterPaymentMethodComponent as ɵvw, TransactionCashRegisterPaymentQrCodeModule as ɵvx, TransactionCashRegisterPaymentQrCodeComponent as ɵvy, TransactionCashRegisterPaymentDialogComponent as ɵvz, DialogBaseComponent as ɵw, TransactionCashRegisterOrderExpenseDialogModule as ɵwa, TransactionCashRegisterOrderExpenseDialogComponent as ɵwb, TransactionLinesSidePanelCashDeskComponent as ɵwc, TransactionLinesSidePanelServiceOrderModule as ɵwd, TransactionLinesSidePanelServiceOrderComponent as ɵwe, TransactionLinesSidePanelComponent as ɵwf, TransactionServiceOverviewModule as ɵwg, TransactionServiceOverviewComponent as ɵwh, TransactionCardsModule as ɵwi, TransactionCardsComponent as ɵwj, TransactionMarginBlockComponent as ɵwk, TransactionMarginLineComponent as ɵwl, ClickBlockModule as ɵwm, ClickBlockComponent as ɵwn, TransactionInternalComponent as ɵwo, TransactionGridModule as ɵwp, TransactionLinesGridModule as ɵwq, TransactionBaseGridModule as ɵwr, TransactionBaseGridComponent as ɵws, TransactionGridBaseComponent as ɵwt, DialogTransactionLineWarehouseCcModule as ɵwu, DialogTransactionLineWarehouseCcComponent as ɵwv, DialogDirectSellComponent as ɵww, DialogTransactionHeaderBranchModule as ɵwx, DialogTransactionHeaderBranchComponent as ɵwy, TransactionLinesGridComponent as ɵwz, IconCacheService as ɵx, TransactionOrderConfirmationGridModule as ɵxa, TransactionOrderConfirmationGridComponent as ɵxb, TransactionGridComponent as ɵxc, TransactionCashRegisterOrderReceiptDialogModule as ɵxd, TransactionCashRegisterOrderReceiptDialogComponent as ɵxe, TransactionTagComponent as ɵxf, CheckoutSimpleModule as ɵxg, CheckoutSimpleComponent as ɵxh, CheckoutSimpleOverviewRelationEditComponent as ɵxi, CheckoutSimpleOverviewDeliveryEditComponent as ɵxj, CheckoutSimpleOverviewPaymentComponent as ɵxk, TransactionCreateService as ɵxl, CharacteristicAnswerModule as ɵy, CharacteristicAnswerComponent as ɵz };
|
|
50360
52381
|
//# sourceMappingURL=colijnit-transaction.js.map
|