@colijnit/transaction 12.1.41 → 12.1.43
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 +673 -381
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction-12.1.43.tgz +0 -0
- package/colijnit-transaction.d.ts +173 -169
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +174 -170
- package/esm2015/lib/assets/dictionary/text.properties.js +15 -1
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +6 -4
- package/esm2015/lib/component/core/base/transaction-base.component.js +45 -29
- package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +5 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +80 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.module.js +31 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +2 -2
- package/esm2015/lib/component/relation/relation-address/relation-address.component.js +3 -21
- package/esm2015/lib/component/relation/relation-address-select/relation-address-select.component.js +1 -3
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +34 -11
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.module.js +5 -3
- package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +8 -1
- package/esm2015/lib/component/transaction/transaction.component.js +11 -5
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +11 -4
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.module.js +6 -2
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +9 -7
- package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.component.js +5 -3
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +49 -22
- package/esm2015/lib/component/transaction-line/transaction-line.module.js +3 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +2 -2
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-checkbox-list.module.js +23 -0
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +79 -0
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +6 -4
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +5 -3
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +35 -23
- package/esm2015/lib/interface/dialog-response.interface.js +2 -0
- package/esm2015/lib/model/relation-any-type.js +3 -0
- package/esm2015/lib/service/dialog.service.js +12 -2
- package/esm2015/lib/service/dynamic-component.service.js +2 -2
- package/esm2015/lib/service/pending-reason.service.js +73 -24
- package/esm2015/lib/service/transaction-connector-adapter.service.js +14 -1
- package/esm2015/lib/service/transaction-connector.service.js +7 -1
- package/esm2015/lib/service/transaction.service.js +1 -11
- package/fesm2015/colijnit-transaction.js +524 -164
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +6 -3
- package/lib/component/core/base/transaction-base.component.d.ts +7 -7
- package/lib/component/core/base/transaction-filter-popup-base.component.d.ts +1 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_layout.scss +5 -2
- package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.d.ts +12 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.module.d.ts +2 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_layout.scss +27 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_material-definition.scss +11 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_theme.scss +8 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/material.scss +4 -0
- package/lib/component/relation/relation-address/relation-address.component.d.ts +1 -4
- package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +4 -1
- package/lib/component/relation/relation-addresses/style/_layout.scss +8 -0
- package/lib/component/shopping-cart/shopping-cart.component.d.ts +2 -0
- package/lib/component/transaction/style/_material-definition.scss +2 -2
- package/lib/component/transaction/transaction.component.d.ts +2 -0
- package/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.d.ts +5 -2
- package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts +2 -1
- package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +2 -2
- package/lib/component/transaction-header/transaction-header-relation/style/_theme.scss +0 -4
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +9 -0
- package/lib/component/transaction-line/style/_material-definition.scss +1 -1
- package/lib/component/transaction-line-statusbar/style/_layout.scss +4 -0
- package/lib/component/transaction-line-statusbar/style/_material-definition.scss +1 -0
- package/lib/component/transaction-line-statusbar/style/_theme.scss +4 -0
- package/lib/component/transaction-line-statusbar/style/material.scss +4 -0
- package/lib/component/transaction-line-statusbar/transaction-line-checkbox-list.module.d.ts +2 -0
- package/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.d.ts +22 -0
- package/lib/component/transaction-search/style/_layout.scss +10 -29
- package/lib/component/transaction-search/transaction-search-header/style/_layout.scss +4 -1
- package/lib/interface/dialog-response.interface.d.ts +5 -0
- package/lib/model/relation-any-type.d.ts +3 -0
- package/lib/service/dialog.service.d.ts +9 -7
- package/lib/service/dynamic-component.service.d.ts +2 -1
- package/lib/service/pending-reason.service.d.ts +10 -3
- package/lib/service/transaction-connector-adapter.service.d.ts +2 -0
- package/lib/service/transaction-connector.service.d.ts +2 -0
- package/lib/service/transaction.service.d.ts +0 -1
- package/package.json +2 -2
|
@@ -5,7 +5,6 @@ import { PendingReasonType } from '@colijnit/transactionapi/build/enum/pending-r
|
|
|
5
5
|
import { SequenceName } from '@colijnit/transactionapi/build/enum/sequence-name.enum';
|
|
6
6
|
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
7
7
|
import { TransactionLineType } from '@colijnit/transactionapi/build/enum/transaction-line-type.enum';
|
|
8
|
-
import { NULL_CUSTOMER_FULL_OBJECT, NULL_RELATION_OBJECT } from '@colijnit/transactionapi/build/model/nul-relation-object';
|
|
9
8
|
import { BehaviorSubject, Subject, throwError } from 'rxjs';
|
|
10
9
|
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
11
10
|
import { Marketing } from '@colijnit/transactionapi/build/model/marketing.bo';
|
|
@@ -54,6 +53,7 @@ import { PaymentLinkStatus } from '@colijnit/transactionapi/build/model/payment-
|
|
|
54
53
|
import * as i1 from '@angular/platform-browser';
|
|
55
54
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
56
55
|
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
|
|
56
|
+
import { SupplierFullObject } from '@colijnit/transactionapi/build/model/supplier-full-object.bo';
|
|
57
57
|
import { RelationStatus } from '@colijnit/transactionapi/build/enum/relation-status.enum';
|
|
58
58
|
import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
|
|
59
59
|
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
@@ -63,6 +63,8 @@ import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-gr
|
|
|
63
63
|
import { MainArticle } from '@colijnit/articleapi/build/model/main-article.bo';
|
|
64
64
|
import { ResolveHeaderPendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo';
|
|
65
65
|
import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
|
|
66
|
+
import { NULL_CUSTOMER_FULL_OBJECT, NULL_RELATION_OBJECT } from '@colijnit/transactionapi/build/model/nul-relation-object';
|
|
67
|
+
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
66
68
|
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputListboxModule, DropDownModule, ClickoutsideModule, InputTextComponent, InputSearchModule, InputDatePickerComponent, InputDatePickerModule, InputNumberPickerModule, PriceDisplayPipeModule, Carousel3dModule, InputTextareaComponent, InputTextareaModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, CarouselModule, ColumnAlign, SimpleGridColumnDirective, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
67
69
|
import { FlexModule } from '@angular/flex-layout';
|
|
68
70
|
import { AddressType } from '@colijnit/transactionapi/build/enum/address-type.enum';
|
|
@@ -78,15 +80,15 @@ import { DiscountType } from '@colijnit/transactionapi/build/enum/discount-type.
|
|
|
78
80
|
import { RelationRequest } from '@colijnit/transactionapi/build/model/relation-request';
|
|
79
81
|
import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
|
|
80
82
|
import { CoDocument } from '@colijnit/sharedapi/build/model/co-document.bo';
|
|
81
|
-
import { KeyPadModule } from '@colijnit/sharedcomponents';
|
|
83
|
+
import { KeyPadModule, StatusbarModule } from '@colijnit/sharedcomponents';
|
|
82
84
|
import { RelationNameKind } from '@colijnit/transactionapi/build/enum/relation-name-kind.enum';
|
|
83
85
|
import { GenderType } from '@colijnit/transactionapi/build/enum/gender-type.enum';
|
|
84
86
|
import { FunctionUtils } from '@colijnit/transactionapi/build/utils/function-utils';
|
|
85
87
|
import { CommunicationType } from '@colijnit/transactionapi/build/enum/communication-type.enum';
|
|
86
88
|
import { ContactOption } from '@colijnit/transactionapi/build/model/contact-option.bo';
|
|
87
89
|
import { BusinessObjectUtils } from '@colijnit/transactionapi/build/utils/business-object-utils';
|
|
90
|
+
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
88
91
|
import { RelationSmallObject } from '@colijnit/transactionapi/build/model/relation-small-object.bo';
|
|
89
|
-
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
90
92
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo';
|
|
91
93
|
import { PurchaseOrderLineReceiptCorrectionDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo';
|
|
92
94
|
import { PurchaseOrderLineReceiptDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo';
|
|
@@ -227,6 +229,7 @@ class Dictionary {
|
|
|
227
229
|
"COMPANY": "Bedrijf",
|
|
228
230
|
"COMPANY_NAME": "Bedrijfsnaam",
|
|
229
231
|
"COMMISSION_CODE": "Commisiecode",
|
|
232
|
+
"COMMISSION_CODE_WAREHOUSE_SELECTION": "Commisiecode en magazijnselectie",
|
|
230
233
|
"CONFIRMED": "Bevestigd",
|
|
231
234
|
"CONFIRMATION": "Bevestiging",
|
|
232
235
|
"CONFIRMED_DATE": "Bevestigde datum",
|
|
@@ -341,6 +344,7 @@ class Dictionary {
|
|
|
341
344
|
"NET_LINE_TOTAL": "Regeltotaal",
|
|
342
345
|
"NETT": "Netto",
|
|
343
346
|
"NETTO_PRICE": "Netto prijs",
|
|
347
|
+
"NEW_ADDRESS": "Nieuw adres",
|
|
344
348
|
"NEW_AT": "Nieuw bij ",
|
|
345
349
|
"NEW_LOCATION": "Nieuwe locatie",
|
|
346
350
|
"NEXT": "Volgende",
|
|
@@ -398,7 +402,10 @@ class Dictionary {
|
|
|
398
402
|
"PICKED": "Gepickt",
|
|
399
403
|
"PHONE_NO": "Telefoonnummer",
|
|
400
404
|
"PHYSICAL_STOCK": "Fysieke voorraad",
|
|
405
|
+
"PLANNED": "Gepland",
|
|
401
406
|
"PLANNING": "Planning",
|
|
407
|
+
"PLANNING_REQUESTED": "Voorkeur aangevraagd",
|
|
408
|
+
"PLANNING_PREFERRED_DATE_ENTERED": "Voorkeur bekend",
|
|
402
409
|
"POSTAL_CODE": "Postcode",
|
|
403
410
|
"PREFERRED_DATE": "Voorkeursdatum",
|
|
404
411
|
"PREFIX": "Tussenvoegsel",
|
|
@@ -475,6 +482,7 @@ class Dictionary {
|
|
|
475
482
|
"TEXT_ARTICLE_BOUND": "Text bij artikel |~",
|
|
476
483
|
"TO_REPORT_IN": 'Binnen te melden',
|
|
477
484
|
"TO_BE_PICKED": "Te picken",
|
|
485
|
+
"TO_ORDER": "Te bestellen",
|
|
478
486
|
"TO_DELIVER": "Te leveren",
|
|
479
487
|
"TO_PAY": "Te betalen",
|
|
480
488
|
"TOTAL_AMOUNT": "Totaalbedrag",
|
|
@@ -488,6 +496,7 @@ class Dictionary {
|
|
|
488
496
|
"TRANSACTION_SUM_I": "Ordertotaal incl. BTW",
|
|
489
497
|
"TRANSACTION_TOTAL": "Transactie totaal",
|
|
490
498
|
"TRANSPORT": "Transport",
|
|
499
|
+
"TRANSPORT_NOTIFICATION": "Transport notificatie",
|
|
491
500
|
"TRANSPORT_COST": "Transportkosten",
|
|
492
501
|
"TRANSPORT_COST_LINE_TOTAL": "Transportkosten regeltotaal",
|
|
493
502
|
"TURNOVER_GROUP": "Omzetgroep",
|
|
@@ -559,6 +568,7 @@ class Dictionary {
|
|
|
559
568
|
"COMPANY": "Company",
|
|
560
569
|
"COMPANY_NAME": "Company name",
|
|
561
570
|
"COMMISSION_CODE": "Commission code",
|
|
571
|
+
"COMMISSION_CODE_WAREHOUSE_SELECTION": "Commission code and warehouse selection",
|
|
562
572
|
"CONFIRMATION": "Confirmation",
|
|
563
573
|
"CONFIRMED_DATE": "Confirmed date",
|
|
564
574
|
"CONFIRMED_DELIVERY_DATE": "Confirmed delivery date",
|
|
@@ -671,6 +681,7 @@ class Dictionary {
|
|
|
671
681
|
"NET_LINE_TOTAL": "Linetotal",
|
|
672
682
|
"NETT": "Net",
|
|
673
683
|
"NETTO_PRICE": "Netto price",
|
|
684
|
+
"NEW_ADDRESS": "New address",
|
|
674
685
|
"NEW_AT": "New at ",
|
|
675
686
|
"NEW_LOCATION": "New location",
|
|
676
687
|
"NEXT": "Next",
|
|
@@ -737,6 +748,9 @@ class Dictionary {
|
|
|
737
748
|
"PRICING": "Pricing",
|
|
738
749
|
"PRIVACY_PREFERENCES": "Privacy preferences",
|
|
739
750
|
"PRIVATE_PERSON": "Private",
|
|
751
|
+
"PLANNED": "Planned",
|
|
752
|
+
"PLANNING_REQUESTED": "Planning requested",
|
|
753
|
+
"PLANNING_PREFERRED_DATE_ENTERED": "Planning preferred date entered",
|
|
740
754
|
"PRODUCT": "Product",
|
|
741
755
|
"PRODUCT_TYPE": "Product type",
|
|
742
756
|
"PURCHASE": "Purchase",
|
|
@@ -796,6 +810,7 @@ class Dictionary {
|
|
|
796
810
|
"TO_REPORT_IN": 'To report in',
|
|
797
811
|
"TO_BE_PICKED": "Te be picked",
|
|
798
812
|
"TO_DELIVER": "To deliver",
|
|
813
|
+
"TO_ORDER": "To order",
|
|
799
814
|
"TO_PAY": "To pay",
|
|
800
815
|
"TOTAL_AMOUNT": "Total amount",
|
|
801
816
|
"TOTAL_ASSEMBLY_TIME": "Total assembly time",
|
|
@@ -810,6 +825,7 @@ class Dictionary {
|
|
|
810
825
|
"TRANSPORT": "Transport",
|
|
811
826
|
"TRANSPORT_COST": "Transportcosts",
|
|
812
827
|
"TRANSPORT_COST_LINE_TOTAL": "Transportcosts linetotal",
|
|
828
|
+
"TRANSPORT_NOTIFICATION": "Transport notification",
|
|
813
829
|
"TURNOVER_GROUP": "Turnover group",
|
|
814
830
|
"TYPE": "Type",
|
|
815
831
|
"UNKNOWN": "unknown",
|
|
@@ -2366,7 +2382,9 @@ class TransactionFilterPopupBaseComponent {
|
|
|
2366
2382
|
this.viewModels.push({
|
|
2367
2383
|
value: d[this.codeField],
|
|
2368
2384
|
propsForLabel: labels,
|
|
2369
|
-
checked: (this.useModel && this.model && this.checkField) ?
|
|
2385
|
+
checked: (this.useModel && this.model && this.checkField) ?
|
|
2386
|
+
this.model[this.checkField] === d[this.codeField] :
|
|
2387
|
+
(this.value ? this.value === d[this.codeField] : index === 0)
|
|
2370
2388
|
});
|
|
2371
2389
|
});
|
|
2372
2390
|
this.viewModelsFiltered = this.viewModels.slice();
|
|
@@ -2402,6 +2420,7 @@ TransactionFilterPopupBaseComponent.propDecorators = {
|
|
|
2402
2420
|
autoClose: [{ type: Input }],
|
|
2403
2421
|
useModel: [{ type: Input }],
|
|
2404
2422
|
searchText: [{ type: Input }],
|
|
2423
|
+
value: [{ type: Input }],
|
|
2405
2424
|
valueChange: [{ type: Output }],
|
|
2406
2425
|
closeAfterCommit: [{ type: Output }]
|
|
2407
2426
|
};
|
|
@@ -2598,7 +2617,7 @@ class DynamicComponentService {
|
|
|
2598
2617
|
}
|
|
2599
2618
|
}
|
|
2600
2619
|
}
|
|
2601
|
-
resolve(output ? output :
|
|
2620
|
+
resolve({ button: button, output: output ? output : undefined });
|
|
2602
2621
|
};
|
|
2603
2622
|
});
|
|
2604
2623
|
}
|
|
@@ -2624,7 +2643,7 @@ DialogTransactionLineWarehouseLocationComponent.decorators = [
|
|
|
2624
2643
|
{ type: Component, args: [{
|
|
2625
2644
|
selector: "co-dialog-transaction-line-warehouse-location",
|
|
2626
2645
|
template: `
|
|
2627
|
-
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="
|
|
2646
|
+
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="true" (closeClick)="onClose(buttonType.Ok)">
|
|
2628
2647
|
<co-transaction-line-warehouse-location
|
|
2629
2648
|
[autoClose]="autoClose"
|
|
2630
2649
|
[useModel]="useModel"
|
|
@@ -2652,6 +2671,83 @@ DialogTransactionLineWarehouseLocationComponent.propDecorators = {
|
|
|
2652
2671
|
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-warehouse-location",] }]
|
|
2653
2672
|
};
|
|
2654
2673
|
|
|
2674
|
+
class DialogTransactionLineWarehouseCcComponent extends DialogTransactionLineBaseComponent {
|
|
2675
|
+
constructor() {
|
|
2676
|
+
super(...arguments);
|
|
2677
|
+
this.quantity = 1;
|
|
2678
|
+
}
|
|
2679
|
+
showClass() {
|
|
2680
|
+
return true;
|
|
2681
|
+
}
|
|
2682
|
+
handleQuantityChange(value) {
|
|
2683
|
+
this.quantity = value;
|
|
2684
|
+
}
|
|
2685
|
+
handleCommissionCodeChange(value) {
|
|
2686
|
+
this.commissionCode = value;
|
|
2687
|
+
}
|
|
2688
|
+
handleWarehouseChange(value) {
|
|
2689
|
+
this.warehouse = value;
|
|
2690
|
+
}
|
|
2691
|
+
handleOkClick() {
|
|
2692
|
+
const output = {
|
|
2693
|
+
quantity: this.quantity,
|
|
2694
|
+
commissionCode: this.commissionCode,
|
|
2695
|
+
warehouseNr: this.warehouse,
|
|
2696
|
+
};
|
|
2697
|
+
this.onClose(AppPopupButtonType.Ok, output);
|
|
2698
|
+
}
|
|
2699
|
+
handleDialogClose() {
|
|
2700
|
+
this.handleClose(AppPopupButtonType.Cancel);
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
2704
|
+
{ type: Component, args: [{
|
|
2705
|
+
selector: "co-dialog-transaction-line-warehouse-cc",
|
|
2706
|
+
template: `
|
|
2707
|
+
<co-dialog
|
|
2708
|
+
[customCssClass]="'co-transaction-small-toolbar'"
|
|
2709
|
+
[headerTemplate]="dialogHeader"
|
|
2710
|
+
[footerTemplate]="footerTemplate"
|
|
2711
|
+
(closeClick)="handleDialogClose()">
|
|
2712
|
+
<div class="transaction-line-warehouse-cc-section">
|
|
2713
|
+
<co-input-number-picker class="quantity-number-picker"
|
|
2714
|
+
[(model)]="quantity" [min]="1"
|
|
2715
|
+
(modelChange)="handleQuantityChange($event)"></co-input-number-picker>
|
|
2716
|
+
</div>
|
|
2717
|
+
<div class="transaction-line-warehouse-cc-section">
|
|
2718
|
+
<div class="transaction-line-warehouse-cc-section-label" [textContent]="'COMMISSION_CODE' | localize"></div>
|
|
2719
|
+
<co-transaction-line-commission-code
|
|
2720
|
+
[value]="commissionCode"
|
|
2721
|
+
[useModel]="false"
|
|
2722
|
+
(valueChange)="handleCommissionCodeChange($event)"></co-transaction-line-commission-code>
|
|
2723
|
+
</div>
|
|
2724
|
+
<div class="transaction-line-warehouse-cc-section">
|
|
2725
|
+
<div class="transaction-line-warehouse-cc-section-label" [textContent]="'WAREHOUSE' | localize"></div>
|
|
2726
|
+
<co-transaction-line-warehouse
|
|
2727
|
+
[value]="warehouse"
|
|
2728
|
+
[useModel]="false"
|
|
2729
|
+
(valueChange)="handleWarehouseChange($event)"></co-transaction-line-warehouse>
|
|
2730
|
+
</div>
|
|
2731
|
+
</co-dialog>
|
|
2732
|
+
<ng-template #dialogHeader>
|
|
2733
|
+
<div class="dialog-header-title" [textContent]="'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize"></div>
|
|
2734
|
+
</ng-template>
|
|
2735
|
+
<ng-template #footerTemplate>
|
|
2736
|
+
<div class="dialog-footer-button-wrapper">
|
|
2737
|
+
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
2738
|
+
</div>
|
|
2739
|
+
</ng-template>
|
|
2740
|
+
`,
|
|
2741
|
+
encapsulation: ViewEncapsulation.None
|
|
2742
|
+
},] }
|
|
2743
|
+
];
|
|
2744
|
+
DialogTransactionLineWarehouseCcComponent.propDecorators = {
|
|
2745
|
+
quantity: [{ type: Input }],
|
|
2746
|
+
commissionCode: [{ type: Input }],
|
|
2747
|
+
warehouse: [{ type: Input }],
|
|
2748
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-warehouse-cc",] }]
|
|
2749
|
+
};
|
|
2750
|
+
|
|
2655
2751
|
class DialogService {
|
|
2656
2752
|
constructor(_compFactoryResolver, appRef, injector, dynamicComponentService) {
|
|
2657
2753
|
this._compFactoryResolver = _compFactoryResolver;
|
|
@@ -2668,7 +2764,7 @@ class DialogService {
|
|
|
2668
2764
|
type: AppPopupType.Confirmation
|
|
2669
2765
|
};
|
|
2670
2766
|
const response = yield this.dynamicComponentService.createComponent(ConfirmationDialogComponent, data);
|
|
2671
|
-
return response === AppPopupButtonType.Yes;
|
|
2767
|
+
return response.button === AppPopupButtonType.Yes;
|
|
2672
2768
|
});
|
|
2673
2769
|
}
|
|
2674
2770
|
showError(message, details) {
|
|
@@ -2710,6 +2806,15 @@ class DialogService {
|
|
|
2710
2806
|
};
|
|
2711
2807
|
return this.dynamicComponentService.createComponent(CharacteristicAnswerComponent, data);
|
|
2712
2808
|
}
|
|
2809
|
+
showWarehouseCC(quantity, commissionCode, warehouseNr) {
|
|
2810
|
+
const data = {
|
|
2811
|
+
useModel: false,
|
|
2812
|
+
quantity: quantity,
|
|
2813
|
+
commissionCode: commissionCode,
|
|
2814
|
+
warehouse: warehouseNr,
|
|
2815
|
+
};
|
|
2816
|
+
return this.dynamicComponentService.createComponent(DialogTransactionLineWarehouseCcComponent, data);
|
|
2817
|
+
}
|
|
2713
2818
|
showWarehouse() {
|
|
2714
2819
|
const data = {
|
|
2715
2820
|
useModel: false
|
|
@@ -2967,6 +3072,18 @@ class TransactionConnectorAdapterService {
|
|
|
2967
3072
|
}
|
|
2968
3073
|
});
|
|
2969
3074
|
}
|
|
3075
|
+
getSupplierFullObject(relationNo) {
|
|
3076
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3077
|
+
const result = yield this.connector.getSupplierFullObject(relationNo);
|
|
3078
|
+
if (result.validationResult && result.validationResult.success) {
|
|
3079
|
+
return this._boFactory.makeWithRawBackendData(SupplierFullObject, result.resultObject);
|
|
3080
|
+
}
|
|
3081
|
+
else {
|
|
3082
|
+
this._handleExceptionFromResponse(result);
|
|
3083
|
+
return null;
|
|
3084
|
+
}
|
|
3085
|
+
});
|
|
3086
|
+
}
|
|
2970
3087
|
getCashRegisters(branch, group) {
|
|
2971
3088
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2972
3089
|
const result = yield this.connector.getCashRegister(branch, group);
|
|
@@ -4257,6 +4374,11 @@ class TransactionConnectorService {
|
|
|
4257
4374
|
return this._adapterService.getCustomerFullObject(relationNo);
|
|
4258
4375
|
}).getValue();
|
|
4259
4376
|
}
|
|
4377
|
+
getSupplierFullObject(relationNo) {
|
|
4378
|
+
return this._selectSingleCacheService.requestCache(SupplierFullObject, relationNo, () => {
|
|
4379
|
+
return this._adapterService.getSupplierFullObject(relationNo);
|
|
4380
|
+
}).getValue();
|
|
4381
|
+
}
|
|
4260
4382
|
getCashRegisters(branch, group) {
|
|
4261
4383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4262
4384
|
const params = {
|
|
@@ -4792,13 +4914,23 @@ class PendingReasonService {
|
|
|
4792
4914
|
this.articleConnector = articleConnector;
|
|
4793
4915
|
this.logout = new Subject();
|
|
4794
4916
|
this.transactionUpdated = new BehaviorSubject(undefined);
|
|
4917
|
+
this.relationUpdated = new BehaviorSubject(undefined);
|
|
4795
4918
|
this.applicationUser = false;
|
|
4796
4919
|
this.invoiceAddressSameAsDelivery = true;
|
|
4797
4920
|
this.currentTransaction = new TransactionInfoResponse();
|
|
4798
|
-
this.relation = new CustomerFullObject();
|
|
4799
4921
|
this.purchasePortalLine = new PurchasePortalLine();
|
|
4800
4922
|
this.docDeliveryBatch = new DocDeliveryBatch();
|
|
4801
4923
|
this.articleAmount = 0;
|
|
4924
|
+
this._relation = new CustomerFullObject();
|
|
4925
|
+
}
|
|
4926
|
+
set relation(value) {
|
|
4927
|
+
if (value) {
|
|
4928
|
+
this._relation = value;
|
|
4929
|
+
this.relationUpdated.next(this._relation);
|
|
4930
|
+
}
|
|
4931
|
+
}
|
|
4932
|
+
get relation() {
|
|
4933
|
+
return this._relation;
|
|
4802
4934
|
}
|
|
4803
4935
|
init(options) {
|
|
4804
4936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4844,6 +4976,9 @@ class PendingReasonService {
|
|
|
4844
4976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4845
4977
|
this.currentTransaction = value;
|
|
4846
4978
|
this._setAmount();
|
|
4979
|
+
if (this.currentTransaction.transactionInfo.relation && this.currentTransaction.transactionInfo.relation.relationId) {
|
|
4980
|
+
this._getRelation(this.currentTransaction.transactionInfo.relation);
|
|
4981
|
+
}
|
|
4847
4982
|
this.transactionUpdated.next(this.currentTransaction);
|
|
4848
4983
|
});
|
|
4849
4984
|
}
|
|
@@ -4852,7 +4987,9 @@ class PendingReasonService {
|
|
|
4852
4987
|
this.relation = new CustomerFullObject();
|
|
4853
4988
|
}
|
|
4854
4989
|
if (!this.relation.relationId) {
|
|
4855
|
-
this.relation.
|
|
4990
|
+
if (this.relation.relationType === RelationKind.Customer) {
|
|
4991
|
+
this.relation.relationStatus = RelationStatus.RegularCustomer;
|
|
4992
|
+
}
|
|
4856
4993
|
this.relation.startDate = new Date();
|
|
4857
4994
|
}
|
|
4858
4995
|
if (this.currentTransaction.transactionInfo.preferredDeliveryDate2 === undefined) {
|
|
@@ -4889,15 +5026,8 @@ class PendingReasonService {
|
|
|
4889
5026
|
yield this._confirmAction(transactionLine.uuid, operationStatus.pendingReason, operationStatus.pendingReasonType);
|
|
4890
5027
|
return false;
|
|
4891
5028
|
case PendingReasonType.INVALID_LOGISTICS:
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
this._showCommissionCodeDialog(operationStatus.uuid, operationStatus.pendingReason, operationStatus.pendingReasonType);
|
|
4895
|
-
break;
|
|
4896
|
-
default:
|
|
4897
|
-
this._showWarehouseDialog(operationStatus.uuid, operationStatus.pendingReason, operationStatus.pendingReasonType);
|
|
4898
|
-
break;
|
|
4899
|
-
}
|
|
4900
|
-
break;
|
|
5029
|
+
yield this._showWarehouseCcDialog(operationStatus.uuid, transactionLine.amount, transactionLine.commissionCode, transactionLine.warehouseNumber, operationStatus.pendingReason, operationStatus.pendingReasonType);
|
|
5030
|
+
return true;
|
|
4901
5031
|
case PendingReasonType.NON_CRITICAL_DISCONTINUATION:
|
|
4902
5032
|
this._showReasonDialog(operationStatus.pendingReason);
|
|
4903
5033
|
break;
|
|
@@ -4939,6 +5069,24 @@ class PendingReasonService {
|
|
|
4939
5069
|
return this.handleHeaderOperationStatuses(response);
|
|
4940
5070
|
});
|
|
4941
5071
|
}
|
|
5072
|
+
getCustomerFullObjectByRelationId(relationId) {
|
|
5073
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5074
|
+
const relationNr = yield this.connector.getRelationNumber(relationId);
|
|
5075
|
+
if (relationNr) {
|
|
5076
|
+
return yield this.connector.getCustomerFullObject(Number(relationNr));
|
|
5077
|
+
}
|
|
5078
|
+
return NULL_CUSTOMER_FULL_OBJECT;
|
|
5079
|
+
});
|
|
5080
|
+
}
|
|
5081
|
+
getSupplierFullObjectByRelationId(relationId) {
|
|
5082
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5083
|
+
const relationNr = yield this.connector.getRelationNumber(relationId);
|
|
5084
|
+
if (relationNr) {
|
|
5085
|
+
return yield this.connector.getSupplierFullObject(Number(relationNr));
|
|
5086
|
+
}
|
|
5087
|
+
return new SupplierFullObject();
|
|
5088
|
+
});
|
|
5089
|
+
}
|
|
4942
5090
|
_confirmAction(uuid, reason, type) {
|
|
4943
5091
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4944
5092
|
const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
|
|
@@ -4951,23 +5099,28 @@ class PendingReasonService {
|
|
|
4951
5099
|
_showCharacteristicDialog(uuid, characteristics, reason, type) {
|
|
4952
5100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4953
5101
|
const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
4961
|
-
const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
|
|
4962
|
-
reasonRequest.warehouseNr = yield this.dialogService.showWarehouse();
|
|
5102
|
+
let char;
|
|
5103
|
+
const response = yield this.dialogService.showCharacteristics(characteristics.question, characteristics.transactionLineCharacteristicChoices, characteristics.value);
|
|
5104
|
+
if (response.button === AppPopupButtonType.Ok) {
|
|
5105
|
+
char = response.output;
|
|
5106
|
+
}
|
|
5107
|
+
reasonRequest.textualUserInput = char;
|
|
4963
5108
|
yield this.resolvePendingLineReason(reasonRequest);
|
|
4964
5109
|
});
|
|
4965
5110
|
}
|
|
4966
|
-
|
|
5111
|
+
_showWarehouseCcDialog(uuid, quantity, commissionCode, warehouseNr, reason, type) {
|
|
4967
5112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4968
5113
|
const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
|
|
4969
|
-
|
|
4970
|
-
|
|
5114
|
+
const response = yield this.dialogService.showWarehouseCC(quantity, commissionCode, warehouseNr);
|
|
5115
|
+
if (response.button === AppPopupButtonType.Ok) {
|
|
5116
|
+
reasonRequest.quantity = response.output.quantity;
|
|
5117
|
+
reasonRequest.commissionCode = response.output.commissionCode;
|
|
5118
|
+
reasonRequest.warehouseNr = response.output.warehouseNr;
|
|
5119
|
+
yield this.resolvePendingLineReason(reasonRequest);
|
|
5120
|
+
}
|
|
5121
|
+
else {
|
|
5122
|
+
this._cancelArticle(uuid);
|
|
5123
|
+
}
|
|
4971
5124
|
});
|
|
4972
5125
|
}
|
|
4973
5126
|
_confirmHeaderAction(uuid, reason, type) {
|
|
@@ -4996,6 +5149,20 @@ class PendingReasonService {
|
|
|
4996
5149
|
});
|
|
4997
5150
|
});
|
|
4998
5151
|
}
|
|
5152
|
+
_getRelation(relation) {
|
|
5153
|
+
if (relation) {
|
|
5154
|
+
if (relation.relationType === RelationKind.Customer) {
|
|
5155
|
+
this.getCustomerFullObjectByRelationId(relation.relationId).then((customer) => {
|
|
5156
|
+
this.relation = customer;
|
|
5157
|
+
});
|
|
5158
|
+
}
|
|
5159
|
+
else if (relation.relationType === RelationKind.Supplier) {
|
|
5160
|
+
this.getSupplierFullObjectByRelationId(relation.relationId).then((supplier) => {
|
|
5161
|
+
this.relation = supplier;
|
|
5162
|
+
});
|
|
5163
|
+
}
|
|
5164
|
+
}
|
|
5165
|
+
}
|
|
4999
5166
|
}
|
|
5000
5167
|
PendingReasonService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PendingReasonService_Factory() { return new PendingReasonService(i0.ɵɵinject(DialogService), i0.ɵɵinject(OptionsService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService)); }, token: PendingReasonService, providedIn: "root" });
|
|
5001
5168
|
PendingReasonService.decorators = [
|
|
@@ -5579,15 +5746,6 @@ class TransactionService extends PendingReasonService {
|
|
|
5579
5746
|
});
|
|
5580
5747
|
});
|
|
5581
5748
|
}
|
|
5582
|
-
getCustomerFullObjectByRelationId(relationId) {
|
|
5583
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5584
|
-
const relationNr = yield this.connector.getRelationNumber(relationId);
|
|
5585
|
-
if (relationNr) {
|
|
5586
|
-
return yield this.connector.getCustomerFullObject(Number(relationNr));
|
|
5587
|
-
}
|
|
5588
|
-
return NULL_CUSTOMER_FULL_OBJECT;
|
|
5589
|
-
});
|
|
5590
|
-
}
|
|
5591
5749
|
// public async setRelationByUser(username: string, password: string): Promise<boolean> {
|
|
5592
5750
|
// const response: boolean = await this.connector.setRelationByUser(this.currentTransaction.uuid, username, password);
|
|
5593
5751
|
// return response;
|
|
@@ -5846,6 +6004,7 @@ class CheckoutOverviewRelationEditComponent {
|
|
|
5846
6004
|
this._formMaster = _formMaster;
|
|
5847
6005
|
this._boFactory = _boFactory;
|
|
5848
6006
|
this.service = service;
|
|
6007
|
+
this.relationKind = RelationKind;
|
|
5849
6008
|
this.icons = Icon;
|
|
5850
6009
|
this.addressType = AddressType;
|
|
5851
6010
|
this.validSubmit = new EventEmitter();
|
|
@@ -5859,7 +6018,7 @@ class CheckoutOverviewRelationEditComponent {
|
|
|
5859
6018
|
// public gender: GenderType = GenderType.Unspecified;
|
|
5860
6019
|
// public privacySettings: RelationPrivacySetting[];
|
|
5861
6020
|
// public addresses: Address[] = [];
|
|
5862
|
-
this._relation =
|
|
6021
|
+
this._relation = new CustomerFullObject();
|
|
5863
6022
|
this.deliveryAddressIdx = 0;
|
|
5864
6023
|
this.invoiceAddressIdx = 0;
|
|
5865
6024
|
this.editAddressType = AddressType.DeliveryAddress;
|
|
@@ -6048,7 +6207,7 @@ CheckoutOverviewRelationEditComponent.decorators = [
|
|
|
6048
6207
|
<relation-customer-groups [(model)]="relation.customerGroup" required></relation-customer-groups>
|
|
6049
6208
|
</div>
|
|
6050
6209
|
<co-relation-general [relation]="relation" (relationChange)="updateRelation($event)"></co-relation-general>
|
|
6051
|
-
<co-relation-address [address]="address"
|
|
6210
|
+
<co-relation-address [address]="address"></co-relation-address>
|
|
6052
6211
|
</div>
|
|
6053
6212
|
<div class="checkout-data-column">
|
|
6054
6213
|
<co-relation-addresses
|
|
@@ -7325,8 +7484,6 @@ RelationAddressSelectComponent.decorators = [
|
|
|
7325
7484
|
<co-dialog *ngIf="showDialog">
|
|
7326
7485
|
<co-relation-address
|
|
7327
7486
|
[relation]="relation"
|
|
7328
|
-
(saveClick)="saveAddress($event)"
|
|
7329
|
-
(cancelClick)="showDialog = false"
|
|
7330
7487
|
></co-relation-address>
|
|
7331
7488
|
</co-dialog>
|
|
7332
7489
|
`,
|
|
@@ -7366,9 +7523,7 @@ class RelationAddressComponent extends RelationBaseComponent {
|
|
|
7366
7523
|
this._connector = _connector;
|
|
7367
7524
|
this._formMasterService = _formMasterService;
|
|
7368
7525
|
this.address = new Address();
|
|
7369
|
-
this.
|
|
7370
|
-
this.saveClick = new EventEmitter();
|
|
7371
|
-
this.cancelClick = new EventEmitter();
|
|
7526
|
+
this.addressChange = new EventEmitter();
|
|
7372
7527
|
this.countries = [];
|
|
7373
7528
|
this.fields = { text: "description", value: "code" };
|
|
7374
7529
|
this.postalCodeCheckErrorMessage = "";
|
|
@@ -7384,11 +7539,6 @@ class RelationAddressComponent extends RelationBaseComponent {
|
|
|
7384
7539
|
});
|
|
7385
7540
|
});
|
|
7386
7541
|
}
|
|
7387
|
-
submitForm() {
|
|
7388
|
-
if (this._formMasterService.submitSlaves()) {
|
|
7389
|
-
this.saveClick.next(this.address);
|
|
7390
|
-
}
|
|
7391
|
-
}
|
|
7392
7542
|
checkForPostalCodeCheckError() {
|
|
7393
7543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7394
7544
|
if (!this.address.postalCode || isNill$1(this.address.houseNo)) {
|
|
@@ -7421,7 +7571,6 @@ RelationAddressComponent.decorators = [
|
|
|
7421
7571
|
<label *ngIf=label [textContent]="label | localize"
|
|
7422
7572
|
class="checkout-label-h3"
|
|
7423
7573
|
></label>
|
|
7424
|
-
<co-form>
|
|
7425
7574
|
<div class="relation-address-data-row default">
|
|
7426
7575
|
<co-input-combo-box [(model)]="address.countryId"
|
|
7427
7576
|
[collection]="countries"
|
|
@@ -7453,15 +7602,7 @@ RelationAddressComponent.decorators = [
|
|
|
7453
7602
|
<div class="relation-address-data-row default">
|
|
7454
7603
|
<co-input-text [(model)]="address.city" [placeholder]="'CITY' | localize" required></co-input-text>
|
|
7455
7604
|
</div>
|
|
7456
|
-
<div class="relation-address-button-wrapper" *ngIf="showButtons">
|
|
7457
|
-
<co-button [label]="'SAVE' | localize" (click)="submitForm()"></co-button>
|
|
7458
|
-
<co-button [label]="'CANCEL' | localize" (click)="cancelClick.emit()"></co-button>
|
|
7459
|
-
</div>
|
|
7460
|
-
</co-form>
|
|
7461
7605
|
`,
|
|
7462
|
-
providers: [
|
|
7463
|
-
FormMasterService
|
|
7464
|
-
],
|
|
7465
7606
|
encapsulation: ViewEncapsulation.None
|
|
7466
7607
|
},] }
|
|
7467
7608
|
];
|
|
@@ -7473,9 +7614,7 @@ RelationAddressComponent.ctorParameters = () => [
|
|
|
7473
7614
|
RelationAddressComponent.propDecorators = {
|
|
7474
7615
|
address: [{ type: Input }],
|
|
7475
7616
|
label: [{ type: Input }],
|
|
7476
|
-
|
|
7477
|
-
saveClick: [{ type: Output }],
|
|
7478
|
-
cancelClick: [{ type: Output }],
|
|
7617
|
+
addressChange: [{ type: Output }],
|
|
7479
7618
|
showClass: [{ type: HostBinding, args: ["class.co-relation-address",] }]
|
|
7480
7619
|
};
|
|
7481
7620
|
|
|
@@ -9272,7 +9411,7 @@ TransactionLineCommissionCodeComponent.decorators = [
|
|
|
9272
9411
|
selector: "co-transaction-line-commission-code",
|
|
9273
9412
|
template: `
|
|
9274
9413
|
<co-transaction-line-checkbox-list
|
|
9275
|
-
[collection]="
|
|
9414
|
+
[collection]="viewModelsFiltered"
|
|
9276
9415
|
[readonly]="readonly"
|
|
9277
9416
|
(checked)="handleChecked($event)"
|
|
9278
9417
|
></co-transaction-line-checkbox-list>
|
|
@@ -10136,6 +10275,29 @@ TransactionLineDeliveryDateModule.decorators = [
|
|
|
10136
10275
|
},] }
|
|
10137
10276
|
];
|
|
10138
10277
|
|
|
10278
|
+
class DialogTransactionLineWarehouseCcModule {
|
|
10279
|
+
}
|
|
10280
|
+
DialogTransactionLineWarehouseCcModule.decorators = [
|
|
10281
|
+
{ type: NgModule, args: [{
|
|
10282
|
+
imports: [
|
|
10283
|
+
CommonModule,
|
|
10284
|
+
CoDialogModule,
|
|
10285
|
+
PipeModule,
|
|
10286
|
+
TransactionLineCheckboxModule,
|
|
10287
|
+
TransactionLineCommissionCodeModule,
|
|
10288
|
+
TransactionLineWarehouseModule,
|
|
10289
|
+
InputNumberPickerModule,
|
|
10290
|
+
ButtonModule
|
|
10291
|
+
],
|
|
10292
|
+
declarations: [
|
|
10293
|
+
DialogTransactionLineWarehouseCcComponent
|
|
10294
|
+
],
|
|
10295
|
+
exports: [
|
|
10296
|
+
DialogTransactionLineWarehouseCcComponent
|
|
10297
|
+
]
|
|
10298
|
+
},] }
|
|
10299
|
+
];
|
|
10300
|
+
|
|
10139
10301
|
class TransactionLineModule {
|
|
10140
10302
|
}
|
|
10141
10303
|
TransactionLineModule.decorators = [
|
|
@@ -10159,6 +10321,7 @@ TransactionLineModule.decorators = [
|
|
|
10159
10321
|
DialogTransactionLineVatModule,
|
|
10160
10322
|
DialogTransactionLineWarehouseModule,
|
|
10161
10323
|
DialogTransactionLineDiscountModule,
|
|
10324
|
+
DialogTransactionLineWarehouseCcModule,
|
|
10162
10325
|
TransactionLineDeliveryDateModule
|
|
10163
10326
|
],
|
|
10164
10327
|
declarations: [
|
|
@@ -11398,9 +11561,10 @@ RelationGeneralModule.decorators = [
|
|
|
11398
11561
|
];
|
|
11399
11562
|
|
|
11400
11563
|
class RelationAddressesComponent extends RelationBaseComponent {
|
|
11401
|
-
constructor(_boFactory) {
|
|
11564
|
+
constructor(_boFactory, _formMasterService) {
|
|
11402
11565
|
super();
|
|
11403
11566
|
this._boFactory = _boFactory;
|
|
11567
|
+
this._formMasterService = _formMasterService;
|
|
11404
11568
|
this.icons = Icon;
|
|
11405
11569
|
this.addresses = [];
|
|
11406
11570
|
this.type = AddressType.DeliveryAddress;
|
|
@@ -11412,8 +11576,13 @@ class RelationAddressesComponent extends RelationBaseComponent {
|
|
|
11412
11576
|
showClass() {
|
|
11413
11577
|
return true;
|
|
11414
11578
|
}
|
|
11579
|
+
submitForm() {
|
|
11580
|
+
if (this._formMasterService.submitSlaves()) {
|
|
11581
|
+
this.saveAddress(this.addressToEdit);
|
|
11582
|
+
}
|
|
11583
|
+
}
|
|
11415
11584
|
saveAddress(address) {
|
|
11416
|
-
if (!
|
|
11585
|
+
if (!address.nawNr) { // new address
|
|
11417
11586
|
address.addressType = this.type;
|
|
11418
11587
|
this.addresses.push(address);
|
|
11419
11588
|
}
|
|
@@ -11426,7 +11595,7 @@ class RelationAddressesComponent extends RelationBaseComponent {
|
|
|
11426
11595
|
this.showEditAddressDialog = false;
|
|
11427
11596
|
}
|
|
11428
11597
|
showNewAddressDialog() {
|
|
11429
|
-
this.addressToEdit =
|
|
11598
|
+
this.addressToEdit = new Address();
|
|
11430
11599
|
this.showEditAddressDialog = true;
|
|
11431
11600
|
}
|
|
11432
11601
|
setIndexAddress(idx) {
|
|
@@ -11463,19 +11632,35 @@ RelationAddressesComponent.decorators = [
|
|
|
11463
11632
|
<div [textContent]="'ADDRESS_ADD' | localize" (click)="showNewAddressDialog()"></div>
|
|
11464
11633
|
</div>
|
|
11465
11634
|
</div>
|
|
11466
|
-
<co-dialog *ngIf="showEditAddressDialog"
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11635
|
+
<co-dialog class="dialog-relation-addresses-create-address" *ngIf="showEditAddressDialog"
|
|
11636
|
+
[footerTemplate]="templateFooter"
|
|
11637
|
+
[headerTemplate]="templateHeader">
|
|
11638
|
+
<co-form>
|
|
11639
|
+
<co-relation-address
|
|
11640
|
+
[relation]="relation"
|
|
11641
|
+
[(address)]="addressToEdit"
|
|
11642
|
+
></co-relation-address>
|
|
11643
|
+
</co-form>
|
|
11644
|
+
<ng-template #templateHeader>
|
|
11645
|
+
<div class="title" [textContent]="'NEW_ADDRESS' | localize"></div>
|
|
11646
|
+
</ng-template>
|
|
11647
|
+
<ng-template #templateFooter>
|
|
11648
|
+
<div class="dialog-footer-button-wrapper">
|
|
11649
|
+
<co-button [label]="'SAVE' | localize" (click)="submitForm()"></co-button>
|
|
11650
|
+
<co-button [label]="'CANCEL' | localize" (click)="showEditAddressDialog = false"></co-button>
|
|
11651
|
+
</div>
|
|
11652
|
+
</ng-template>
|
|
11472
11653
|
</co-dialog>
|
|
11473
11654
|
`,
|
|
11655
|
+
providers: [
|
|
11656
|
+
FormMasterService
|
|
11657
|
+
],
|
|
11474
11658
|
encapsulation: ViewEncapsulation.None
|
|
11475
11659
|
},] }
|
|
11476
11660
|
];
|
|
11477
11661
|
RelationAddressesComponent.ctorParameters = () => [
|
|
11478
|
-
{ type: BusinessObjectFactory }
|
|
11662
|
+
{ type: BusinessObjectFactory },
|
|
11663
|
+
{ type: FormMasterService }
|
|
11479
11664
|
];
|
|
11480
11665
|
RelationAddressesComponent.propDecorators = {
|
|
11481
11666
|
addresses: [{ type: Input }],
|
|
@@ -11497,7 +11682,9 @@ RelationAddressesModule.decorators = [
|
|
|
11497
11682
|
CoreModule,
|
|
11498
11683
|
PipeModule,
|
|
11499
11684
|
CoDialogModule,
|
|
11500
|
-
RelationAddressModule
|
|
11685
|
+
RelationAddressModule,
|
|
11686
|
+
FormModule,
|
|
11687
|
+
ButtonModule
|
|
11501
11688
|
],
|
|
11502
11689
|
declarations: [
|
|
11503
11690
|
RelationAddressesComponent
|
|
@@ -11762,9 +11949,31 @@ CheckoutOverviewPaymentComponent.propDecorators = {
|
|
|
11762
11949
|
class TransactionBaseComponent {
|
|
11763
11950
|
constructor(service) {
|
|
11764
11951
|
this.service = service;
|
|
11952
|
+
this.relationKind = RelationKind$1;
|
|
11953
|
+
// @Input()
|
|
11954
|
+
// public set relationId(value: number) {
|
|
11955
|
+
// if (value !== undefined) {
|
|
11956
|
+
// this._relationId = value;
|
|
11957
|
+
// }
|
|
11958
|
+
// }
|
|
11959
|
+
//
|
|
11960
|
+
// public get relationId(): number {
|
|
11961
|
+
// return this._relationId;
|
|
11962
|
+
// }
|
|
11963
|
+
//
|
|
11765
11964
|
// @Input()
|
|
11766
|
-
// public
|
|
11767
|
-
|
|
11965
|
+
// public relationType: string;
|
|
11966
|
+
//
|
|
11967
|
+
// @Input()
|
|
11968
|
+
// public set relation(value: RelationAnyType) {
|
|
11969
|
+
// if (value) {
|
|
11970
|
+
// this._relation = value;
|
|
11971
|
+
// }
|
|
11972
|
+
// }
|
|
11973
|
+
//
|
|
11974
|
+
// public get relation(): RelationAnyType {
|
|
11975
|
+
// return this._relation;
|
|
11976
|
+
// }
|
|
11768
11977
|
this.expanded = true;
|
|
11769
11978
|
this.isService = false;
|
|
11770
11979
|
this.lineOperationStatuses = [];
|
|
@@ -11792,34 +12001,30 @@ class TransactionBaseComponent {
|
|
|
11792
12001
|
get transaction() {
|
|
11793
12002
|
return this._transaction;
|
|
11794
12003
|
}
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
// if (value !== undefined) {
|
|
11798
|
-
// this._relationId = value;
|
|
11799
|
-
// this._retrieveRelation();
|
|
11800
|
-
// }
|
|
11801
|
-
// }
|
|
11802
|
-
//
|
|
11803
|
-
// public get relationId(): number {
|
|
11804
|
-
// return this._relationId;
|
|
11805
|
-
// }
|
|
11806
|
-
set customerId(value) {
|
|
11807
|
-
if (value !== undefined) {
|
|
11808
|
-
this._customerId = value;
|
|
11809
|
-
this._retrieveCustomer();
|
|
11810
|
-
}
|
|
11811
|
-
}
|
|
11812
|
-
get customerId() {
|
|
11813
|
-
return this._customerId;
|
|
12004
|
+
ngAfterViewInit() {
|
|
12005
|
+
// this._retrieveRelation();
|
|
11814
12006
|
}
|
|
11815
12007
|
transactionSet() {
|
|
11816
12008
|
// overridden by descendents
|
|
11817
12009
|
}
|
|
11818
|
-
|
|
11819
|
-
|
|
11820
|
-
|
|
11821
|
-
|
|
11822
|
-
|
|
12010
|
+
relationSet() {
|
|
12011
|
+
// overridden by descendents
|
|
12012
|
+
}
|
|
12013
|
+
_retrieveRelation() {
|
|
12014
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12015
|
+
// if (this._relationId && this.relationType) {
|
|
12016
|
+
// if (this.relationType === RelationKind.Customer) {
|
|
12017
|
+
// this.service.getCustomerFullObjectByRelationId(this._relationId).then((customer: CustomerFullObject) => {
|
|
12018
|
+
// this.relation = customer;
|
|
12019
|
+
// this.relationSet();
|
|
12020
|
+
// });
|
|
12021
|
+
// } else {
|
|
12022
|
+
// this.service.getSupplierFullObjectByRelationId(this._relationId).then((supplier: SupplierFullObject) => {
|
|
12023
|
+
// this.relation = supplier;
|
|
12024
|
+
// this.relationSet();
|
|
12025
|
+
// });
|
|
12026
|
+
// }
|
|
12027
|
+
// }
|
|
11823
12028
|
});
|
|
11824
12029
|
}
|
|
11825
12030
|
}
|
|
@@ -11831,8 +12036,6 @@ TransactionBaseComponent.ctorParameters = () => [
|
|
|
11831
12036
|
];
|
|
11832
12037
|
TransactionBaseComponent.propDecorators = {
|
|
11833
12038
|
transaction: [{ type: Input }],
|
|
11834
|
-
customerId: [{ type: Input }],
|
|
11835
|
-
customer: [{ type: Input }],
|
|
11836
12039
|
expanded: [{ type: Input }]
|
|
11837
12040
|
};
|
|
11838
12041
|
|
|
@@ -13439,11 +13642,16 @@ class ShoppingCartComponent {
|
|
|
13439
13642
|
this.closeCart = new EventEmitter();
|
|
13440
13643
|
this.checkout = new EventEmitter();
|
|
13441
13644
|
this.transaction = new TransactionInfoResponse();
|
|
13645
|
+
this.relation = new CustomerFullObject();
|
|
13442
13646
|
this._subs = [];
|
|
13443
13647
|
this._subs.push(this.service.transactionUpdated.subscribe((transaction) => {
|
|
13444
13648
|
if (transaction) {
|
|
13445
13649
|
this.transaction = transaction;
|
|
13446
13650
|
}
|
|
13651
|
+
}), this.service.relationUpdated.subscribe((relation) => {
|
|
13652
|
+
if (relation) {
|
|
13653
|
+
this.relation = relation;
|
|
13654
|
+
}
|
|
13447
13655
|
}));
|
|
13448
13656
|
}
|
|
13449
13657
|
showClass() {
|
|
@@ -13465,6 +13673,7 @@ ShoppingCartComponent.decorators = [
|
|
|
13465
13673
|
[showHeader]="false"
|
|
13466
13674
|
[showQuickAccess]="false"
|
|
13467
13675
|
[showButtonBar]="false"
|
|
13676
|
+
[relation]="relation"
|
|
13468
13677
|
[transaction]="transaction"
|
|
13469
13678
|
></co-transaction>
|
|
13470
13679
|
</div>
|
|
@@ -13658,6 +13867,7 @@ class TransactionComponent {
|
|
|
13658
13867
|
this.dynamicComponentService = dynamicComponentService;
|
|
13659
13868
|
this.viewModes = ContentViewMode;
|
|
13660
13869
|
this.icons = Icon;
|
|
13870
|
+
this.relation = new CustomerFullObject();
|
|
13661
13871
|
this.showHeader = true;
|
|
13662
13872
|
this.showQuickAccess = true;
|
|
13663
13873
|
this.showButtonBar = true;
|
|
@@ -13665,11 +13875,15 @@ class TransactionComponent {
|
|
|
13665
13875
|
this.showDiscountsSidebar = false;
|
|
13666
13876
|
this._subs = [];
|
|
13667
13877
|
this._transaction = new TransactionInfoResponse();
|
|
13668
|
-
this._subs.push(this._service.transactionUpdated.subscribe((transaction) =>
|
|
13878
|
+
this._subs.push(this._service.transactionUpdated.subscribe((transaction) => {
|
|
13669
13879
|
if (transaction) {
|
|
13670
13880
|
this.transaction = transaction;
|
|
13671
13881
|
}
|
|
13672
|
-
}))
|
|
13882
|
+
}), this._service.relationUpdated.subscribe((relation) => {
|
|
13883
|
+
if (relation) {
|
|
13884
|
+
this.relation = relation;
|
|
13885
|
+
}
|
|
13886
|
+
}));
|
|
13673
13887
|
}
|
|
13674
13888
|
set transaction(value) {
|
|
13675
13889
|
if (value) {
|
|
@@ -13724,7 +13938,7 @@ TransactionComponent.decorators = [
|
|
|
13724
13938
|
{ type: Component, args: [{
|
|
13725
13939
|
selector: "co-transaction",
|
|
13726
13940
|
template: `
|
|
13727
|
-
<co-transaction-header *ngIf="showHeader" [transaction]="transaction"></co-transaction-header>
|
|
13941
|
+
<co-transaction-header *ngIf="showHeader" [transaction]="transaction" [relation]="relation"></co-transaction-header>
|
|
13728
13942
|
|
|
13729
13943
|
<div class="transaction-lines-header">
|
|
13730
13944
|
<co-transaction-quick-access *ngIf="showQuickAccess" class="transaction-lines-header-item"
|
|
@@ -13788,6 +14002,7 @@ TransactionComponent.ctorParameters = () => [
|
|
|
13788
14002
|
{ type: DynamicComponentService }
|
|
13789
14003
|
];
|
|
13790
14004
|
TransactionComponent.propDecorators = {
|
|
14005
|
+
relation: [{ type: Input }],
|
|
13791
14006
|
transaction: [{ type: Input }],
|
|
13792
14007
|
transactionId: [{ type: Input }],
|
|
13793
14008
|
showHeader: [{ type: Input }],
|
|
@@ -13799,12 +14014,12 @@ TransactionComponent.propDecorators = {
|
|
|
13799
14014
|
class TransactionHeaderComponent {
|
|
13800
14015
|
constructor() {
|
|
13801
14016
|
this.icons = Icon;
|
|
14017
|
+
this.relation = new CustomerFullObject();
|
|
13802
14018
|
this._transaction = new TransactionInfoResponse();
|
|
13803
14019
|
}
|
|
13804
14020
|
set transaction(value) {
|
|
13805
14021
|
if (value) {
|
|
13806
14022
|
this._transaction = value;
|
|
13807
|
-
this.relationId = this.transaction.transactionInfo && this.transaction.transactionInfo.relation ? this.transaction.transactionInfo.relation.relationId : undefined;
|
|
13808
14023
|
}
|
|
13809
14024
|
}
|
|
13810
14025
|
get transaction() {
|
|
@@ -13820,7 +14035,7 @@ TransactionHeaderComponent.decorators = [
|
|
|
13820
14035
|
template: `
|
|
13821
14036
|
<div class="transaction-header-wrapper">
|
|
13822
14037
|
<co-carousel>
|
|
13823
|
-
<co-transaction-header-relation #carouselItem [
|
|
14038
|
+
<co-transaction-header-relation #carouselItem [relation]="relation"></co-transaction-header-relation>
|
|
13824
14039
|
<div class="transaction-header-divider"> </div>
|
|
13825
14040
|
<co-transaction-header-order #carouselItem [transaction]="transaction"></co-transaction-header-order>
|
|
13826
14041
|
<div class="transaction-header-divider"> </div>
|
|
@@ -13834,6 +14049,7 @@ TransactionHeaderComponent.decorators = [
|
|
|
13834
14049
|
},] }
|
|
13835
14050
|
];
|
|
13836
14051
|
TransactionHeaderComponent.propDecorators = {
|
|
14052
|
+
relation: [{ type: Input }],
|
|
13837
14053
|
transaction: [{ type: Input }],
|
|
13838
14054
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-header",] }]
|
|
13839
14055
|
};
|
|
@@ -13849,12 +14065,23 @@ class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
|
13849
14065
|
this.invoiceAddressSameAsDeliveryAddress = true;
|
|
13850
14066
|
this.showDialog = false;
|
|
13851
14067
|
this.categories = [this._dictionary.get('CLIENT_DATA'), this._dictionary.get('PRIVACY_PREFERENCES')];
|
|
14068
|
+
this.relationType = RelationKind.Customer;
|
|
14069
|
+
this._relation = new CustomerFullObject();
|
|
14070
|
+
}
|
|
14071
|
+
set relation(value) {
|
|
14072
|
+
if (value) {
|
|
14073
|
+
this._relation = value;
|
|
14074
|
+
this.relationType = this._relation.relationType;
|
|
14075
|
+
}
|
|
14076
|
+
}
|
|
14077
|
+
get relation() {
|
|
14078
|
+
return this._relation;
|
|
13852
14079
|
}
|
|
13853
14080
|
showClass() {
|
|
13854
14081
|
return true;
|
|
13855
14082
|
}
|
|
13856
14083
|
updateRelation(rel) {
|
|
13857
|
-
this.
|
|
14084
|
+
// this.relation = rel;
|
|
13858
14085
|
}
|
|
13859
14086
|
setIndexDeliveryAddress(idx) {
|
|
13860
14087
|
this.deliveryAddressIdx = idx;
|
|
@@ -13880,6 +14107,17 @@ class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
|
13880
14107
|
this.navigationItems.nativeElement.scrollLeft = this.preferenceItems.nativeElement.offsetLeft - this.navigationItems.nativeElement.offsetLeft;
|
|
13881
14108
|
}
|
|
13882
14109
|
}
|
|
14110
|
+
handleChangeCustomGroup(group) {
|
|
14111
|
+
this.customerGroup = group.groepsnummer;
|
|
14112
|
+
if (this.relationType === RelationKind.Customer) {
|
|
14113
|
+
this.relation.customerGroup = this.customerGroup;
|
|
14114
|
+
}
|
|
14115
|
+
}
|
|
14116
|
+
relationSet() {
|
|
14117
|
+
if (this.relationType === RelationKind.Customer) {
|
|
14118
|
+
this.customerGroup = this.relation.customerGroup;
|
|
14119
|
+
}
|
|
14120
|
+
}
|
|
13883
14121
|
}
|
|
13884
14122
|
TransactionHeaderRelationComponent.decorators = [
|
|
13885
14123
|
{ type: Component, args: [{
|
|
@@ -13894,15 +14132,15 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
13894
14132
|
>
|
|
13895
14133
|
</co-transaction-header-block>
|
|
13896
14134
|
<ng-template #headerBlock>
|
|
13897
|
-
<div class="header-block-label" [textContent]="
|
|
14135
|
+
<div class="header-block-label" [textContent]="relation.displayName"></div>
|
|
13898
14136
|
</ng-template>
|
|
13899
14137
|
<ng-template #firstBlock>
|
|
13900
|
-
<div class="header-relation-address" [textContent]="
|
|
13901
|
-
<div class="header-relation-postal" [textContent]="
|
|
14138
|
+
<div class="header-relation-address" [textContent]="relation.displayFirstAddress"></div>
|
|
14139
|
+
<div class="header-relation-postal" [textContent]="relation.displayFirstPostal"></div>
|
|
13902
14140
|
</ng-template>
|
|
13903
14141
|
<ng-template #secondBlock>
|
|
13904
|
-
<div class="header-relation-email" [textContent]="
|
|
13905
|
-
<div class="header-relation-phone" [textContent]="
|
|
14142
|
+
<div class="header-relation-email" [textContent]="relation.primaryEmail"></div>
|
|
14143
|
+
<div class="header-relation-phone" [textContent]="relation.primaryPhoneOrMobileNumber"></div>
|
|
13906
14144
|
</ng-template>
|
|
13907
14145
|
<co-dialog class="transaction-header-relation-dialog" [customCssClass]="'co-transaction-small-toolbar'" *ngIf="showDialog" [headerTemplate]="dialogHeader" (closeClick)="showDialog = false">
|
|
13908
14146
|
<ng-template #dialogHeader>
|
|
@@ -13916,40 +14154,42 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
13916
14154
|
</ng-template>
|
|
13917
14155
|
<div #navigationItems class="header-relation-navigation-wrapper">
|
|
13918
14156
|
<div #mainItems class="header-relation-navigation-content">
|
|
13919
|
-
<div class="section">
|
|
13920
|
-
<div class="label" [textContent]="'PERSONAL_DATA' | localize"></div>
|
|
14157
|
+
<div class="header-relation-section">
|
|
14158
|
+
<div class="header-relation-section-label" [textContent]="'PERSONAL_DATA' | localize"></div>
|
|
13921
14159
|
<co-relation-type
|
|
13922
|
-
[relation]="
|
|
14160
|
+
[relation]="relation"
|
|
13923
14161
|
></co-relation-type>
|
|
13924
|
-
<
|
|
13925
|
-
|
|
14162
|
+
<ng-container *ngIf="relationType === relationKind.Customer">
|
|
14163
|
+
<relation-customer-groups [model]="customerGroup" (modelChange)="handleChangeCustomGroup($event)" required></relation-customer-groups>
|
|
14164
|
+
</ng-container>
|
|
14165
|
+
<co-relation-general [relation]="relation" (relationChange)="updateRelation($event)"></co-relation-general>
|
|
13926
14166
|
</div>
|
|
13927
|
-
<div class="section">
|
|
13928
|
-
<div class="label" [textContent]="'ADDRESSES' | localize"></div>
|
|
14167
|
+
<div class="header-relation-section">
|
|
14168
|
+
<div class="header-relation-section-label" [textContent]="'ADDRESSES' | localize"></div>
|
|
13929
14169
|
<co-relation-addresses
|
|
13930
|
-
[addresses]="
|
|
14170
|
+
[addresses]="relation.activeAddresses"
|
|
13931
14171
|
[type]="addressType.DeliveryAddress"
|
|
13932
14172
|
[selectedAddressIdx]="deliveryAddressIdx"
|
|
13933
14173
|
(selectedAddressChange)="setIndexDeliveryAddress($event)"
|
|
13934
14174
|
></co-relation-addresses>
|
|
13935
|
-
<div class="label" [textContent]="'INVOICE_ADDRESS' | localize"></div>
|
|
14175
|
+
<div class="header-relation-section-label" [textContent]="'INVOICE_ADDRESS' | localize"></div>
|
|
13936
14176
|
<co-input-checkbox [(model)]="invoiceAddressSameAsDeliveryAddress" (modelChange)="checkSameAddress($event)" [label]="'SAME_AS_DELIVERY' | localize"></co-input-checkbox>
|
|
13937
14177
|
<div class="overview-delivery-invoice-address" *ngIf="!invoiceAddressSameAsDeliveryAddress" @showHideInvoiceAddress>
|
|
13938
14178
|
<co-relation-addresses
|
|
13939
|
-
[addresses]="
|
|
14179
|
+
[addresses]="relation.activeAddresses"
|
|
13940
14180
|
[type]="addressType.BillingAddress"
|
|
13941
14181
|
[selectedAddressIdx]="invoiceAddressIdx"
|
|
13942
14182
|
(selectedAddressChange)="setIndexInvoiceAddress($event)"
|
|
13943
14183
|
></co-relation-addresses>
|
|
13944
14184
|
</div>
|
|
13945
14185
|
</div>
|
|
13946
|
-
<div class="section">
|
|
13947
|
-
<div class="label" [textContent]="'CONTACT_DETAILS' | localize"></div>
|
|
13948
|
-
<co-relation-contact-details [relation]="
|
|
14186
|
+
<div class="header-relation-section">
|
|
14187
|
+
<div class="header-relation-section-label" [textContent]="'CONTACT_DETAILS' | localize"></div>
|
|
14188
|
+
<co-relation-contact-details [relation]="relation"></co-relation-contact-details>
|
|
13949
14189
|
</div>
|
|
13950
14190
|
</div>
|
|
13951
14191
|
<div #preferenceItems class="header-relation-navigation-content">
|
|
13952
|
-
<co-relation-preferences [relation]="
|
|
14192
|
+
<co-relation-preferences [relation]="relation"></co-relation-preferences>
|
|
13953
14193
|
</div>
|
|
13954
14194
|
</div>
|
|
13955
14195
|
</co-dialog>
|
|
@@ -13973,6 +14213,7 @@ TransactionHeaderRelationComponent.propDecorators = {
|
|
|
13973
14213
|
navigationItems: [{ type: ViewChild, args: ['navigationItems', { read: ElementRef },] }],
|
|
13974
14214
|
mainItems: [{ type: ViewChild, args: ['mainItems', { read: ElementRef },] }],
|
|
13975
14215
|
preferenceItems: [{ type: ViewChild, args: ['preferenceItems', { read: ElementRef },] }],
|
|
14216
|
+
relation: [{ type: Input }],
|
|
13976
14217
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-relation",] }]
|
|
13977
14218
|
};
|
|
13978
14219
|
|
|
@@ -14262,6 +14503,100 @@ TransactionHeaderModule.decorators = [
|
|
|
14262
14503
|
},] }
|
|
14263
14504
|
];
|
|
14264
14505
|
|
|
14506
|
+
class TransactionLineStatusbarComponent {
|
|
14507
|
+
constructor(_dictionary) {
|
|
14508
|
+
this._dictionary = _dictionary;
|
|
14509
|
+
this.showClass = true;
|
|
14510
|
+
}
|
|
14511
|
+
set transaction(value) {
|
|
14512
|
+
this._transaction = value;
|
|
14513
|
+
this._total = value.amount;
|
|
14514
|
+
}
|
|
14515
|
+
get transaction() {
|
|
14516
|
+
return this._transaction;
|
|
14517
|
+
}
|
|
14518
|
+
ngOnInit() {
|
|
14519
|
+
this.setStatusbarData();
|
|
14520
|
+
}
|
|
14521
|
+
setStatusbarData() {
|
|
14522
|
+
if (this.transactionKind === TransactionKind.PurchaseOrder) {
|
|
14523
|
+
this.setStatusbarDataForPurchaseOrder();
|
|
14524
|
+
}
|
|
14525
|
+
else {
|
|
14526
|
+
this.setStatusbardataForSalesOrder();
|
|
14527
|
+
}
|
|
14528
|
+
}
|
|
14529
|
+
setStatusbardataForSalesOrder() {
|
|
14530
|
+
const transaction = this._transaction;
|
|
14531
|
+
this.statusbarData = [
|
|
14532
|
+
this.getStatusbarLine("TO_ORDER", transaction.amount),
|
|
14533
|
+
this.getStatusbarLine("ALLOCATED", transaction.quantityAllocatedFromStock),
|
|
14534
|
+
this.getStatusbarLine("PLANNING_REQUESTED", transaction.quantityPlanningRequested),
|
|
14535
|
+
this.getStatusbarLine("PLANNING_PREFERRED_DATE_ENTERED", transaction.quantityPlanningPreferredDateEntered),
|
|
14536
|
+
this.getStatusbarLine("TO_BE_PICKED", transaction.quantityToBePicked),
|
|
14537
|
+
this.getStatusbarLine("PICKED", transaction.quantityPicked),
|
|
14538
|
+
this.getStatusbarLine("PLANNED", transaction.quantityPlanned),
|
|
14539
|
+
this.getStatusbarLine("DELIVERED", transaction.quantityDelivered),
|
|
14540
|
+
this.getStatusbarLine("INVOICED", transaction.quantityInvoiced), //Gefactureerd
|
|
14541
|
+
];
|
|
14542
|
+
}
|
|
14543
|
+
setStatusbarDataForPurchaseOrder() {
|
|
14544
|
+
const transaction = this._transaction;
|
|
14545
|
+
this.statusbarData = [
|
|
14546
|
+
this.getStatusbarLine("IN_ORDER", transaction.amount),
|
|
14547
|
+
this.getStatusbarLine("CONFIRMED", transaction.quantityPurchaseConfirmed),
|
|
14548
|
+
this.getStatusbarLine("TRANSPORT_NOTIFICATION", transaction.quantityTransportNotification), //Transport notificatie
|
|
14549
|
+
//todo: Vooraangemeld
|
|
14550
|
+
//todo: Binnengemeld
|
|
14551
|
+
//todo: Factuurcheck
|
|
14552
|
+
];
|
|
14553
|
+
}
|
|
14554
|
+
getStatusbarLine(label, property) {
|
|
14555
|
+
return { label: this._dictionary.get(label), percentage: this.calculatePercentage(property, this._total), count: property };
|
|
14556
|
+
}
|
|
14557
|
+
calculatePercentage(amount, totalAmount) {
|
|
14558
|
+
if (amount === 0 || totalAmount === 0) {
|
|
14559
|
+
return 0;
|
|
14560
|
+
}
|
|
14561
|
+
return Math.floor((amount / totalAmount) * 100);
|
|
14562
|
+
}
|
|
14563
|
+
}
|
|
14564
|
+
TransactionLineStatusbarComponent.decorators = [
|
|
14565
|
+
{ type: Component, args: [{
|
|
14566
|
+
selector: "co-transaction-line-statusbar",
|
|
14567
|
+
template: `
|
|
14568
|
+
<co-statusbar [statusbarData]="statusbarData"></co-statusbar>
|
|
14569
|
+
`,
|
|
14570
|
+
encapsulation: ViewEncapsulation.None
|
|
14571
|
+
},] }
|
|
14572
|
+
];
|
|
14573
|
+
TransactionLineStatusbarComponent.ctorParameters = () => [
|
|
14574
|
+
{ type: DictionaryService }
|
|
14575
|
+
];
|
|
14576
|
+
TransactionLineStatusbarComponent.propDecorators = {
|
|
14577
|
+
transaction: [{ type: Input }],
|
|
14578
|
+
transactionKind: [{ type: Input }],
|
|
14579
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-statusbar",] }]
|
|
14580
|
+
};
|
|
14581
|
+
|
|
14582
|
+
class TransactionLineStatusbarModule {
|
|
14583
|
+
}
|
|
14584
|
+
TransactionLineStatusbarModule.decorators = [
|
|
14585
|
+
{ type: NgModule, args: [{
|
|
14586
|
+
imports: [
|
|
14587
|
+
CommonModule,
|
|
14588
|
+
CoreModule,
|
|
14589
|
+
StatusbarModule
|
|
14590
|
+
],
|
|
14591
|
+
declarations: [
|
|
14592
|
+
TransactionLineStatusbarComponent
|
|
14593
|
+
],
|
|
14594
|
+
exports: [
|
|
14595
|
+
TransactionLineStatusbarComponent
|
|
14596
|
+
]
|
|
14597
|
+
},] }
|
|
14598
|
+
];
|
|
14599
|
+
|
|
14265
14600
|
class TransactionGridBaseComponent {
|
|
14266
14601
|
constructor(imageService) {
|
|
14267
14602
|
this.imageService = imageService;
|
|
@@ -14323,6 +14658,9 @@ class TransactionLinesGridComponent extends TransactionGridBaseComponent {
|
|
|
14323
14658
|
showClass() {
|
|
14324
14659
|
return true;
|
|
14325
14660
|
}
|
|
14661
|
+
ngOnInit() {
|
|
14662
|
+
this.transactionKind = this.service.currentTransaction.transactionInfo.transactionKind;
|
|
14663
|
+
}
|
|
14326
14664
|
changeLineAmount(row, amount) {
|
|
14327
14665
|
this.service.changeTransactionLineQuantity(row.uuid, amount).then((value) => {
|
|
14328
14666
|
if (!value || !value.isSuccess) {
|
|
@@ -14370,7 +14708,11 @@ TransactionLinesGridComponent.decorators = [
|
|
|
14370
14708
|
</co-simple-grid-column>
|
|
14371
14709
|
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'" [textAlign]="align.Right" [width]="75" [resizable]="false" [order]="50"></co-simple-grid-column>
|
|
14372
14710
|
<co-simple-grid-column [headerText]="'TO_DELIVER' | localize" [textAlign]="align.Right" [width]="75" [resizable]="false" [order]="60"></co-simple-grid-column>
|
|
14373
|
-
<co-simple-grid-column [headerText]="'STATUS' | localize" [textAlign]="align.
|
|
14711
|
+
<co-simple-grid-column [headerText]="'STATUS' | localize" [textAlign]="align.Left" [width]="100" [resizable]="false" [order]="70">
|
|
14712
|
+
<ng-template #template let-row = "row">
|
|
14713
|
+
<co-transaction-line-statusbar [transaction]="row" [transactionKind]="transactionKind"></co-transaction-line-statusbar>
|
|
14714
|
+
</ng-template>
|
|
14715
|
+
</co-simple-grid-column>
|
|
14374
14716
|
<co-simple-grid-column [headerText]="'PRICE' | localize" [textAlign]="align.Right" [order]="80">
|
|
14375
14717
|
<ng-template #template let-row = "row">
|
|
14376
14718
|
<div [textContent]="row.price | priceDisplay"></div>
|
|
@@ -15173,9 +15515,10 @@ class TransactionReceivingGoodsDetailsComponent {
|
|
|
15173
15515
|
}
|
|
15174
15516
|
openWarehouseLocationDialog() {
|
|
15175
15517
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15176
|
-
yield this._dialogService.showWarehouseLocation(this.receiptDetails.warehouseNr)
|
|
15177
|
-
|
|
15178
|
-
|
|
15518
|
+
const response = yield this._dialogService.showWarehouseLocation(this.receiptDetails.warehouseNr);
|
|
15519
|
+
if (response.button === AppPopupButtonType.Ok) {
|
|
15520
|
+
this.receiptDetails.locationNr = response.output;
|
|
15521
|
+
}
|
|
15179
15522
|
});
|
|
15180
15523
|
}
|
|
15181
15524
|
}
|
|
@@ -15313,8 +15656,10 @@ class TransactionSearchService {
|
|
|
15313
15656
|
this._transactionType = TransactionKind.SalesOrder;
|
|
15314
15657
|
}
|
|
15315
15658
|
set transactionType(value) {
|
|
15316
|
-
this.
|
|
15317
|
-
|
|
15659
|
+
if (this._transactionType !== value) {
|
|
15660
|
+
this._resetRequest();
|
|
15661
|
+
this.transactions.length = 0;
|
|
15662
|
+
}
|
|
15318
15663
|
this._transactionType = value;
|
|
15319
15664
|
}
|
|
15320
15665
|
get transactionType() {
|
|
@@ -16074,7 +16419,7 @@ class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent
|
|
|
16074
16419
|
handleRowVisible(row) {
|
|
16075
16420
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16076
16421
|
if (row.isArticle) {
|
|
16077
|
-
|
|
16422
|
+
this._transactionService.getGoodsReceiptStatus(this.transactionId, row.lineNr)
|
|
16078
16423
|
.then((result) => {
|
|
16079
16424
|
this.rowViewModels.set(row, new ReceiveGoodsViewModel(row, result, result.quantityToReceive === 0, result.quantityToReceive));
|
|
16080
16425
|
});
|
|
@@ -16087,7 +16432,7 @@ class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent
|
|
|
16087
16432
|
handleDropDownSelected(warehouseNr) {
|
|
16088
16433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16089
16434
|
if (!this.locations) {
|
|
16090
|
-
|
|
16435
|
+
this._articleService.getWarehouseLocations(warehouseNr).then((result) => {
|
|
16091
16436
|
this.locations = result;
|
|
16092
16437
|
});
|
|
16093
16438
|
}
|
|
@@ -16114,7 +16459,7 @@ class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent
|
|
|
16114
16459
|
detail.locationNr = row.location;
|
|
16115
16460
|
receivedGoodsRequest.purchaseOrderLineReceiptDetailsDTOS.push(detail);
|
|
16116
16461
|
});
|
|
16117
|
-
|
|
16462
|
+
this._transactionService.receiveGoodsForPurchaseOrder(receivedGoodsRequest).then(() => {
|
|
16118
16463
|
this._handleAfterCommitReceivedOrders(selectedRows);
|
|
16119
16464
|
});
|
|
16120
16465
|
}
|
|
@@ -16137,9 +16482,10 @@ class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent
|
|
|
16137
16482
|
}
|
|
16138
16483
|
openWarehouseLocationDialog(line) {
|
|
16139
16484
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16140
|
-
yield this._dialogService.showWarehouseLocation(line.warehouseNumber)
|
|
16141
|
-
|
|
16142
|
-
|
|
16485
|
+
const response = yield this._dialogService.showWarehouseLocation(line.warehouseNumber);
|
|
16486
|
+
if (response.button === AppPopupButtonType.Ok) {
|
|
16487
|
+
this.getRowViewModel(line).location = response.output;
|
|
16488
|
+
}
|
|
16143
16489
|
});
|
|
16144
16490
|
}
|
|
16145
16491
|
}
|
|
@@ -16883,7 +17229,9 @@ TransactionLinesGridModule.decorators = [
|
|
|
16883
17229
|
DialogTransactionLineDeliveryMethodModule,
|
|
16884
17230
|
DialogTransactionLineVatModule,
|
|
16885
17231
|
DialogTransactionLineDiscountModule,
|
|
16886
|
-
DialogTransactionLinePriceListModule
|
|
17232
|
+
DialogTransactionLinePriceListModule,
|
|
17233
|
+
StatusbarModule,
|
|
17234
|
+
TransactionLineStatusbarModule
|
|
16887
17235
|
],
|
|
16888
17236
|
declarations: [
|
|
16889
17237
|
TransactionLinesGridComponent
|
|
@@ -17785,31 +18133,43 @@ TransactionSearchComponent.decorators = [
|
|
|
17785
18133
|
{ type: Component, args: [{
|
|
17786
18134
|
selector: 'co-transaction-search',
|
|
17787
18135
|
template: `
|
|
17788
|
-
<div class="transaction-search-wrapper"
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17796
|
-
|
|
17797
|
-
|
|
18136
|
+
<div class="transaction-search-main-wrapper">
|
|
18137
|
+
<div class="transaction-search-wrapper"
|
|
18138
|
+
[ngClass]="calculateClasses()">
|
|
18139
|
+
<div class="transaction-filter-wrapper narrow-scrollbar"
|
|
18140
|
+
[ngClass]="calculateClasses()"
|
|
18141
|
+
*ngIf="showFilterSidebar" @showHideFilterSidebar>
|
|
18142
|
+
<co-transaction-filter
|
|
18143
|
+
[transactionType]="transactionType"
|
|
18144
|
+
[activeSearchViewMode]="activeSearchViewMode"
|
|
18145
|
+
(closeButtonClick)="handleHideFilter()"
|
|
18146
|
+
(resetFilterClick)="handleResetFilter()"></co-transaction-filter>
|
|
18147
|
+
</div>
|
|
18148
|
+
<div class="transaction-search-result-wrapper"
|
|
18149
|
+
[class.fullscreen]="fullscreen"
|
|
18150
|
+
[class.sidebar]="!fullscreen"
|
|
18151
|
+
[class.collapsed]="collapsed"
|
|
18152
|
+
[class.expanded]="!collapsed"
|
|
18153
|
+
>
|
|
18154
|
+
<co-transaction-search-result
|
|
18155
|
+
[transactionType]="transactionType"
|
|
18156
|
+
[activeSearchViewMode]="activeSearchViewMode"
|
|
18157
|
+
(filterClick)="toggleFilter()"
|
|
18158
|
+
(transactionClick)="onTransactionClick($event)"
|
|
18159
|
+
(resizeClick)="onSearchViewResizeClick()"
|
|
18160
|
+
(closeClick)="collapseSearchBar()"
|
|
18161
|
+
></co-transaction-search-result>
|
|
18162
|
+
</div>
|
|
17798
18163
|
</div>
|
|
17799
|
-
<div class="transaction-search-
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
(closeClick)="collapseSearchBar()"
|
|
17807
|
-
></co-transaction-search-result>
|
|
18164
|
+
<div class="transaction-search-content-wrapper"
|
|
18165
|
+
[class.fullscreen]="fullscreen"
|
|
18166
|
+
[class.sidebar]="!fullscreen"
|
|
18167
|
+
[class.collapsed]="collapsed"
|
|
18168
|
+
[class.expanded]="!collapsed"
|
|
18169
|
+
>
|
|
18170
|
+
<ng-content></ng-content>
|
|
17808
18171
|
</div>
|
|
17809
18172
|
</div>
|
|
17810
|
-
<div class="transaction-search-content-wrapper" [ngClass]="calculateClasses()">
|
|
17811
|
-
<ng-content></ng-content>
|
|
17812
|
-
</div>
|
|
17813
18173
|
`,
|
|
17814
18174
|
animations: [
|
|
17815
18175
|
trigger("showHideFilterSidebar", [
|
|
@@ -20271,5 +20631,5 @@ TransactionLineGridModule.decorators = [
|
|
|
20271
20631
|
* Generated bundle index. Do not edit.
|
|
20272
20632
|
*/
|
|
20273
20633
|
|
|
20274
|
-
export { CheckoutComponent, CheckoutModule, SearchBarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, IconCacheService as ɵba, CharacteristicAnswerModule as ɵbb, CharacteristicAnswerComponent as ɵbc, WarehouseModule as ɵbd, WarehouseComponent as ɵbe, ImageDisplayComponent as ɵbf, IconComponent as ɵbg, CustomerGroupsComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LoaderComponent as ɵbj, LazyRenderMasterDirective as ɵbk, LazyRenderDirective as ɵbl, RelationAddressModule as ɵbm, RelationAddressComponent as ɵbn, RelationBaseComponent as ɵbo, RelationAddressSelectModule as ɵbp, RelationAddressTileModule as ɵbq, TileModule as ɵbr, TileComponent as ɵbs, RelationAddressTileComponent as ɵbt, RelationAddressSelectComponent as ɵbu, BusinessObjectFactory as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionArticleTextModule as ɵbz, DynamicComponentService as ɵc, TransactionArticleTextComponent as ɵca, TransactionArticleTextOverviewModule as ɵcb, TransactionArticleTextOverviewComponent as ɵcc, TransactionLineActionButtonsModule as ɵcd, TransactionLineActionButtonsComponent as ɵce, EditableLabelModule as ɵcf, EditableLabelComponent as ɵcg, TransactionLinePriceModule as ɵch, TransactionLinePriceComponent as ɵci, TransactionLineBaseComponent as ɵcj, TransactionFilterPopupBaseComponent as ɵck, TransactionLineDescriptionModule as ɵcl, TransactionLineDescriptionComponent as ɵcm, DialogTransactionLineDeliveryMethodModule as ɵcn, TransactionLineDeliveryMethodModule as ɵco, TransactionLineCheckboxModule as ɵcp, TransactionLineCheckboxListComponent as ɵcq, TransactionLineDeliveryMethodComponent as ɵcr, DialogHeaderSearchModule as ɵcs, DialogHeaderSearchComponent as ɵct, DialogTransactionLineDeliveryMethodComponent as ɵcu, DialogTransactionLineBaseComponent as ɵcv, DialogTransactionLineCommissionCodeModule as ɵcw, TransactionLineCommissionCodeModule as ɵcx, TransactionLineCommissionCodeComponent as ɵcy, DialogTransactionLineCommissionCodeComponent as ɵcz, OptionsService as ɵd, DialogTransactionLineVatModule as ɵda, TransactionLineVatModule as ɵdb, TransactionLineVatComponent as ɵdc, DialogTransactionLineVatComponent as ɵdd, DialogTransactionLineWarehouseModule as ɵde, TransactionLineWarehouseModule as ɵdf, TransactionLineWarehouseComponent as ɵdg, DialogTransactionLineWarehouseComponent as ɵdh, DialogTransactionLineDiscountModule as ɵdi, TransactionLinePriceListModule as ɵdj, TransactionLinePriceListComponent as ɵdk, TransactionLineLineDiscountModule as ɵdl, TransactionLineLineDiscountComponent as ɵdm, TransactionLineDiscountAmountModule as ɵdn, TransactionLineDiscountAmountComponent as ɵdo, TransactionLineQuantumDiscountModule as ɵdp, TransactionLineQuantumDiscountComponent as ɵdq, TransactionLineSpecialDiscountModule as ɵdr, TransactionLineSpecialDiscountComponent as ɵds, DialogTransactionLinePriceListModule as ɵdt, DialogTransactionLinePriceListComponent as ɵdu, DialogTransactionLineDiscountComponent as ɵdv, TransactionLineDeliveryDateModule as ɵdw, TransactionLineDeliveryDateComponent as ɵdx, TransactionImageService as ɵdy, AvatarModule as ɵdz, DictionaryService as ɵe, AvatarComponent as ɵea, SharedService as ɵeb, SharedConnectorService as ɵec, DeliveryTypeTileModule as ɵed, DeliveryTypeTileComponent as ɵee, PaymentModule as ɵef, PaymentTileModule as ɵeg, PaymentTileComponent as ɵeh, PaymentQrCodeModule as ɵei, PaymentQrCodeComponent as ɵej, PaymentComponent as ɵek, PaymentService as ɵel, RelationTypeModule as ɵem, RelationTypeComponent as ɵen, RelationGeneralModule as ɵeo, RelationSuggestionsListModule as ɵep, RelationSuggestionsListItemModule as ɵeq, RelationSuggestionsListItemComponent as ɵer, RelationSuggestionsListComponent as ɵes, RelationGeneralComponent as ɵet, RelationAddressesModule as ɵeu, RelationAddressesComponent as ɵev, RelationContactDetailsModule as ɵew, RelationContactDetailsComponent as ɵex, RelationPreferencesModule as ɵey, RelationPreferencesComponent as ɵez, TransactionConnectorService as ɵf, TransactionHeaderBlockModule as ɵfa, TransactionHeaderBlockComponent as ɵfb, TransactionHeaderDeliveryDateModule as ɵfc, TransactionHeaderDeliveryDateComponent as ɵfd, TransactionHeaderBaseComponent as ɵfe, TransactionHeaderDeliveryOptionsModule as ɵff, TransactionHeaderDeliveryOptionsComponent as ɵfg, TransactionHeaderRemarksModule as ɵfh, TransactionHeaderRemarksComponent as ɵfi, TransactionHeaderReferenceModule as ɵfj, TransactionHeaderReferenceComponent as ɵfk, TransactionHeaderRelationReferenceModule as ɵfl, TransactionHeaderRelationReferenceComponent as ɵfm, TransactionHeaderDeliveryMethodModule as ɵfn, TransactionHeaderDeliveryMethodComponent as ɵfo, TransactionHeaderPreferredDeliveryDateModule as ɵfp, TransactionHeaderPreferredDeliveryDateComponent as ɵfq, DialogTransactionHeaderDeliveryMethodModule as ɵfr, DialogTransactionHeaderDeliveryMethodComponent as ɵfs, DialogTransactionHeaderBaseComponent as ɵft, TransactionBaseComponent as ɵfu, TransactionHeaderPartialDeliveryModule as ɵfv, TransactionHeaderPartialDeliveryComponent as ɵfw, TransactionHeaderDownpaymentPercentageModule as ɵfx, TransactionHeaderDownpaymentPercentageComponent as ɵfy, TransactionHeaderDownpaymentAmountModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionHeaderDownpaymentAmountComponent as ɵga, TransactionHeaderDefinitiveModule as ɵgb, TransactionHeaderDefinitiveComponent as ɵgc, TransactionHeaderBranchModule as ɵgd, TransactionHeaderBranchComponent as ɵge, TransactionHeaderAdministrativeRelationModule as ɵgf, TransactionHeaderAdministrativeRelationComponent as ɵgg, TransactionHeaderMarketingModule as ɵgh, TransactionHeaderMarketingComponent as ɵgi, CheckoutOverviewRelationEditComponent as ɵgj, CheckoutOverviewDeliveryEditComponent as ɵgk, CheckoutOverviewDeliveryAddressComponent as ɵgl, CheckoutOverviewPaymentComponent as ɵgm, CheckoutLoginComponent as ɵgn, TransactionFilterCategoriesModule as ɵgo, TransactionFilterCategoriesComponent as ɵgp, TransactionHeaderPaymentModule as ɵgq, TransactionHeaderPaymentComponent as ɵgr, TransactionLinesGridModule as ɵgs, TransactionBaseGridModule as ɵgt, TransactionLineSidePanelModule as ɵgu, TransactionLineSidePanelDefaultModule as ɵgv, TransactionLineQuantityModule as ɵgw, TransactionLineQuantityComponent as ɵgx, TransactionLineReferenceModule as ɵgy, TransactionLineReferenceComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineSupplierModule as ɵha, TransactionLineSupplierComponent as ɵhb, TransactionLineSidePanelDefaultComponent as ɵhc, TransactionReceivingGoodsHistoryModule as ɵhd, TransactionHistoryGridModule as ɵhe, TransactionHistoryGridStatusModule as ɵhf, TransactionHistoryGridStatusComponent as ɵhg, TransactionHistoryGridComponent as ɵhh, TransactionReceivingGoodsHistoryComponent as ɵhi, TransactionReceivingGoodsDetailsModule as ɵhj, TransactionReceivingGoodsDetailsComponent as ɵhk, ArticleService as ɵhl, TransactionButtonBarModule as ɵhm, TransactionButtonBarComponent as ɵhn, TransactionMappingService as ɵho, TransactionButtonBarButtonComponent as ɵhp, TransactionLineSidePanelPurchaseModule as ɵhq, DefaultOkCancelButtonsModule as ɵhr, DefaultOkCancelButtonsComponent as ɵhs, TransactionLineSidePanelPurchaseComponent as ɵht, TransactionEventService as ɵhu, TransactionLineSidePanelComponent as ɵhv, DynamicBaseComponent as ɵhw, TransactionBaseGridComponent as ɵhx, TransactionGridBaseComponent as ɵhy, TransactionLinesGridComponent as ɵhz, BusinessObjectCacheManagerService as ɵi, DiscountModule as ɵia, DiscountComponent as ɵib, TransactionQuickAccessOverviewModule as ɵic, TransactionQuickAccessOverviewComponent as ɵid, TransactionOrderConfirmationGridModule as ɵie, TransactionOrderConfirmationGridComponent as ɵif, TransactionReceivedGoodsGridModule as ɵig, DialogTransactionLineWarehouseLocationModule as ɵih, TransactionLineWarehouseLocationModule as ɵii, TransactionLineWarehouseLocationComponent as ɵij, DialogTransactionLineWarehouseLocationComponent as ɵik, TransactionReceivedGoodsGridComponent as ɵil, ViewModeButtonsModule as ɵim, ViewModeButtonsComponent as ɵin, TransactionGridModule as ɵio, TransactionGridComponent as ɵip, TransactionTileModule as ɵiq, TransactionTileComponent as ɵir, TransactionSearchResultModule as ɵis, TransactionSearchSalesOrderTileModule as ɵit, StatusBarModule as ɵiu, StatusBarComponent as ɵiv, TransactionSearchSalesOrderTileComponent as ɵiw, TransactionSearchTileBaseComponent as ɵix, TransactionSearchPurchaseOrderTileModule as ɵiy, TransactionSearchPurchaseOrderTileComponent as ɵiz, CacheField as ɵj, TransactionSearchSalesOrderGridModule as ɵja, TransactionSearchSalesOrderGridComponent as ɵjb, TransactionSearchGridBaseComponent as ɵjc, TransactionSearchPurchaseOrderGridModule as ɵjd, TransactionSearchPurchaseOrderGridComponent as ɵje, TransactionSearchHeaderModule as ɵjf, TransactionSearchHeaderComponent as ɵjg, TransactionSearchGridModule as ɵjh, TransactionSearchGridComponent as ɵji, TransactionSearchTileModule as ɵjj, TransactionSearchTileComponent as ɵjk, TransactionSearchResultComponent as ɵjl, TransactionSalesOrderFilterModule as ɵjm, TransactionSalesOrderFilterContentOrderModule as ɵjn, TransactionSalesOrderFilterContentOrderComponent as ɵjo, TransactionFilterContentBaseComponent as ɵjp, FilterRequestService as ɵjq, TransactionSalesOrderFilterContentLogisticsModule as ɵjr, TransactionFilterHistoricStateModule as ɵjs, TransactionFilterHistoricStateComponent as ɵjt, TransactionSalesOrderFilterContentLogisticsComponent as ɵju, TransactionSalesOrderFilterContentArticleModule as ɵjv, TransactionSalesOrderFilterContentArticleComponent as ɵjw, TransactionSalesOrderFilterComponent as ɵjx, TransactionFilterBaseComponent as ɵjy, TransactionPurchaseOrderFilterModule as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionPurchaseOrderFilterContentOrderModule as ɵka, TransactionPurchaseOrderFilterContentOrderComponent as ɵkb, TransactionPurchaseOrderFilterContentLogisticsModule as ɵkc, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵkd, TransactionPurchaseOrderFilterContentArticleModule as ɵke, TransactionPurchaseOrderFilterContentArticleComponent as ɵkf, TransactionPurchaseOrderFilterComponent as ɵkg, TransactionFilterModule as ɵkh, TransactionFilterComponent as ɵki, ErrorService as ɵl, SelectSingleCacheService as ɵm, ArticleConnectorService as ɵn, CoreModule as ɵo, ConfirmationDialogModule as ɵp, PipeModule as ɵq, AppendPipe as ɵr, DeliveryTimePipe as ɵs, DateDurationPipe as ɵt, LocalizePipe as ɵu, CoCurrencyPipe as ɵv, SafeStylePipe as ɵw, SafeHtmlPipe as ɵx, ConfirmationDialogComponent as ɵy, DialogBaseComponent as ɵz };
|
|
20634
|
+
export { CheckoutComponent, CheckoutModule, SearchBarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, IconCacheService as ɵba, CharacteristicAnswerModule as ɵbb, CharacteristicAnswerComponent as ɵbc, WarehouseModule as ɵbd, WarehouseComponent as ɵbe, ImageDisplayComponent as ɵbf, IconComponent as ɵbg, CustomerGroupsComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LoaderComponent as ɵbj, LazyRenderMasterDirective as ɵbk, LazyRenderDirective as ɵbl, RelationAddressModule as ɵbm, RelationAddressComponent as ɵbn, RelationBaseComponent as ɵbo, RelationAddressSelectModule as ɵbp, RelationAddressTileModule as ɵbq, TileModule as ɵbr, TileComponent as ɵbs, RelationAddressTileComponent as ɵbt, RelationAddressSelectComponent as ɵbu, BusinessObjectFactory as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionArticleTextModule as ɵbz, DynamicComponentService as ɵc, TransactionArticleTextComponent as ɵca, TransactionArticleTextOverviewModule as ɵcb, TransactionArticleTextOverviewComponent as ɵcc, TransactionLineActionButtonsModule as ɵcd, TransactionLineActionButtonsComponent as ɵce, EditableLabelModule as ɵcf, EditableLabelComponent as ɵcg, TransactionLinePriceModule as ɵch, TransactionLinePriceComponent as ɵci, TransactionLineBaseComponent as ɵcj, TransactionFilterPopupBaseComponent as ɵck, TransactionLineDescriptionModule as ɵcl, TransactionLineDescriptionComponent as ɵcm, DialogTransactionLineDeliveryMethodModule as ɵcn, TransactionLineDeliveryMethodModule as ɵco, TransactionLineCheckboxModule as ɵcp, TransactionLineCheckboxListComponent as ɵcq, TransactionLineDeliveryMethodComponent as ɵcr, DialogHeaderSearchModule as ɵcs, DialogHeaderSearchComponent as ɵct, DialogTransactionLineDeliveryMethodComponent as ɵcu, DialogTransactionLineBaseComponent as ɵcv, DialogTransactionLineCommissionCodeModule as ɵcw, TransactionLineCommissionCodeModule as ɵcx, TransactionLineCommissionCodeComponent as ɵcy, DialogTransactionLineCommissionCodeComponent as ɵcz, OptionsService as ɵd, DialogTransactionLineVatModule as ɵda, TransactionLineVatModule as ɵdb, TransactionLineVatComponent as ɵdc, DialogTransactionLineVatComponent as ɵdd, DialogTransactionLineWarehouseModule as ɵde, TransactionLineWarehouseModule as ɵdf, TransactionLineWarehouseComponent as ɵdg, DialogTransactionLineWarehouseComponent as ɵdh, DialogTransactionLineDiscountModule as ɵdi, TransactionLinePriceListModule as ɵdj, TransactionLinePriceListComponent as ɵdk, TransactionLineLineDiscountModule as ɵdl, TransactionLineLineDiscountComponent as ɵdm, TransactionLineDiscountAmountModule as ɵdn, TransactionLineDiscountAmountComponent as ɵdo, TransactionLineQuantumDiscountModule as ɵdp, TransactionLineQuantumDiscountComponent as ɵdq, TransactionLineSpecialDiscountModule as ɵdr, TransactionLineSpecialDiscountComponent as ɵds, DialogTransactionLinePriceListModule as ɵdt, DialogTransactionLinePriceListComponent as ɵdu, DialogTransactionLineDiscountComponent as ɵdv, DialogTransactionLineWarehouseCcModule as ɵdw, DialogTransactionLineWarehouseCcComponent as ɵdx, TransactionLineDeliveryDateModule as ɵdy, TransactionLineDeliveryDateComponent as ɵdz, DictionaryService as ɵe, TransactionImageService as ɵea, AvatarModule as ɵeb, AvatarComponent as ɵec, SharedService as ɵed, SharedConnectorService as ɵee, DeliveryTypeTileModule as ɵef, DeliveryTypeTileComponent as ɵeg, PaymentModule as ɵeh, PaymentTileModule as ɵei, PaymentTileComponent as ɵej, PaymentQrCodeModule as ɵek, PaymentQrCodeComponent as ɵel, PaymentComponent as ɵem, PaymentService as ɵen, RelationTypeModule as ɵeo, RelationTypeComponent as ɵep, RelationGeneralModule as ɵeq, RelationSuggestionsListModule as ɵer, RelationSuggestionsListItemModule as ɵes, RelationSuggestionsListItemComponent as ɵet, RelationSuggestionsListComponent as ɵeu, RelationGeneralComponent as ɵev, RelationAddressesModule as ɵew, RelationAddressesComponent as ɵex, RelationContactDetailsModule as ɵey, RelationContactDetailsComponent as ɵez, TransactionConnectorService as ɵf, RelationPreferencesModule as ɵfa, RelationPreferencesComponent as ɵfb, TransactionHeaderBlockModule as ɵfc, TransactionHeaderBlockComponent as ɵfd, TransactionHeaderDeliveryDateModule as ɵfe, TransactionHeaderDeliveryDateComponent as ɵff, TransactionHeaderBaseComponent as ɵfg, TransactionHeaderDeliveryOptionsModule as ɵfh, TransactionHeaderDeliveryOptionsComponent as ɵfi, TransactionHeaderRemarksModule as ɵfj, TransactionHeaderRemarksComponent as ɵfk, TransactionHeaderReferenceModule as ɵfl, TransactionHeaderReferenceComponent as ɵfm, TransactionHeaderRelationReferenceModule as ɵfn, TransactionHeaderRelationReferenceComponent as ɵfo, TransactionHeaderDeliveryMethodModule as ɵfp, TransactionHeaderDeliveryMethodComponent as ɵfq, TransactionHeaderPreferredDeliveryDateModule as ɵfr, TransactionHeaderPreferredDeliveryDateComponent as ɵfs, DialogTransactionHeaderDeliveryMethodModule as ɵft, DialogTransactionHeaderDeliveryMethodComponent as ɵfu, DialogTransactionHeaderBaseComponent as ɵfv, TransactionBaseComponent as ɵfw, TransactionHeaderPartialDeliveryModule as ɵfx, TransactionHeaderPartialDeliveryComponent as ɵfy, TransactionHeaderDownpaymentPercentageModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionHeaderDownpaymentPercentageComponent as ɵga, TransactionHeaderDownpaymentAmountModule as ɵgb, TransactionHeaderDownpaymentAmountComponent as ɵgc, TransactionHeaderDefinitiveModule as ɵgd, TransactionHeaderDefinitiveComponent as ɵge, TransactionHeaderBranchModule as ɵgf, TransactionHeaderBranchComponent as ɵgg, TransactionHeaderAdministrativeRelationModule as ɵgh, TransactionHeaderAdministrativeRelationComponent as ɵgi, TransactionHeaderMarketingModule as ɵgj, TransactionHeaderMarketingComponent as ɵgk, CheckoutOverviewRelationEditComponent as ɵgl, CheckoutOverviewDeliveryEditComponent as ɵgm, CheckoutOverviewDeliveryAddressComponent as ɵgn, CheckoutOverviewPaymentComponent as ɵgo, CheckoutLoginComponent as ɵgp, TransactionFilterCategoriesModule as ɵgq, TransactionFilterCategoriesComponent as ɵgr, TransactionHeaderPaymentModule as ɵgs, TransactionHeaderPaymentComponent as ɵgt, TransactionLinesGridModule as ɵgu, TransactionBaseGridModule as ɵgv, TransactionLineSidePanelModule as ɵgw, TransactionLineSidePanelDefaultModule as ɵgx, TransactionLineQuantityModule as ɵgy, TransactionLineQuantityComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineReferenceModule as ɵha, TransactionLineReferenceComponent as ɵhb, TransactionLineSupplierModule as ɵhc, TransactionLineSupplierComponent as ɵhd, TransactionLineSidePanelDefaultComponent as ɵhe, TransactionReceivingGoodsHistoryModule as ɵhf, TransactionHistoryGridModule as ɵhg, TransactionHistoryGridStatusModule as ɵhh, TransactionHistoryGridStatusComponent as ɵhi, TransactionHistoryGridComponent as ɵhj, TransactionReceivingGoodsHistoryComponent as ɵhk, TransactionReceivingGoodsDetailsModule as ɵhl, TransactionReceivingGoodsDetailsComponent as ɵhm, ArticleService as ɵhn, TransactionButtonBarModule as ɵho, TransactionButtonBarComponent as ɵhp, TransactionMappingService as ɵhq, TransactionButtonBarButtonComponent as ɵhr, TransactionLineSidePanelPurchaseModule as ɵhs, DefaultOkCancelButtonsModule as ɵht, DefaultOkCancelButtonsComponent as ɵhu, TransactionLineSidePanelPurchaseComponent as ɵhv, TransactionEventService as ɵhw, TransactionLineSidePanelComponent as ɵhx, DynamicBaseComponent as ɵhy, TransactionBaseGridComponent as ɵhz, BusinessObjectCacheManagerService as ɵi, TransactionGridBaseComponent as ɵia, TransactionLineStatusbarModule as ɵib, TransactionLineStatusbarComponent as ɵic, TransactionLinesGridComponent as ɵid, DiscountModule as ɵie, DiscountComponent as ɵif, TransactionQuickAccessOverviewModule as ɵig, TransactionQuickAccessOverviewComponent as ɵih, TransactionOrderConfirmationGridModule as ɵii, TransactionOrderConfirmationGridComponent as ɵij, TransactionReceivedGoodsGridModule as ɵik, DialogTransactionLineWarehouseLocationModule as ɵil, TransactionLineWarehouseLocationModule as ɵim, TransactionLineWarehouseLocationComponent as ɵin, DialogTransactionLineWarehouseLocationComponent as ɵio, TransactionReceivedGoodsGridComponent as ɵip, ViewModeButtonsModule as ɵiq, ViewModeButtonsComponent as ɵir, TransactionGridModule as ɵis, TransactionGridComponent as ɵit, TransactionTileModule as ɵiu, TransactionTileComponent as ɵiv, TransactionSearchResultModule as ɵiw, TransactionSearchSalesOrderTileModule as ɵix, StatusBarModule as ɵiy, StatusBarComponent as ɵiz, CacheField as ɵj, TransactionSearchSalesOrderTileComponent as ɵja, TransactionSearchTileBaseComponent as ɵjb, TransactionSearchPurchaseOrderTileModule as ɵjc, TransactionSearchPurchaseOrderTileComponent as ɵjd, TransactionSearchSalesOrderGridModule as ɵje, TransactionSearchSalesOrderGridComponent as ɵjf, TransactionSearchGridBaseComponent as ɵjg, TransactionSearchPurchaseOrderGridModule as ɵjh, TransactionSearchPurchaseOrderGridComponent as ɵji, TransactionSearchHeaderModule as ɵjj, TransactionSearchHeaderComponent as ɵjk, TransactionSearchGridModule as ɵjl, TransactionSearchGridComponent as ɵjm, TransactionSearchTileModule as ɵjn, TransactionSearchTileComponent as ɵjo, TransactionSearchResultComponent as ɵjp, TransactionSalesOrderFilterModule as ɵjq, TransactionSalesOrderFilterContentOrderModule as ɵjr, TransactionSalesOrderFilterContentOrderComponent as ɵjs, TransactionFilterContentBaseComponent as ɵjt, FilterRequestService as ɵju, TransactionSalesOrderFilterContentLogisticsModule as ɵjv, TransactionFilterHistoricStateModule as ɵjw, TransactionFilterHistoricStateComponent as ɵjx, TransactionSalesOrderFilterContentLogisticsComponent as ɵjy, TransactionSalesOrderFilterContentArticleModule as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionSalesOrderFilterContentArticleComponent as ɵka, TransactionSalesOrderFilterComponent as ɵkb, TransactionFilterBaseComponent as ɵkc, TransactionPurchaseOrderFilterModule as ɵkd, TransactionPurchaseOrderFilterContentOrderModule as ɵke, TransactionPurchaseOrderFilterContentOrderComponent as ɵkf, TransactionPurchaseOrderFilterContentLogisticsModule as ɵkg, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵkh, TransactionPurchaseOrderFilterContentArticleModule as ɵki, TransactionPurchaseOrderFilterContentArticleComponent as ɵkj, TransactionPurchaseOrderFilterComponent as ɵkk, TransactionFilterModule as ɵkl, TransactionFilterComponent as ɵkm, ErrorService as ɵl, SelectSingleCacheService as ɵm, ArticleConnectorService as ɵn, CoreModule as ɵo, ConfirmationDialogModule as ɵp, PipeModule as ɵq, AppendPipe as ɵr, DeliveryTimePipe as ɵs, DateDurationPipe as ɵt, LocalizePipe as ɵu, CoCurrencyPipe as ɵv, SafeStylePipe as ɵw, SafeHtmlPipe as ɵx, ConfirmationDialogComponent as ɵy, DialogBaseComponent as ɵz };
|
|
20275
20635
|
//# sourceMappingURL=colijnit-transaction.js.map
|