@colijnit/transaction 12.1.17 → 12.1.18
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 +390 -198
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +106 -104
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +107 -105
- package/esm2015/lib/assets/dictionary/text.properties.js +16 -1
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +2 -2
- package/esm2015/lib/component/transaction-search/service/filter-request.service.js +5 -20
- package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.js +43 -20
- package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.js +41 -55
- package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.js +6 -3
- package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.js +30 -15
- package/esm2015/lib/component/transaction-search/transaction-filter-historic-state/transaction-filter-historic-state.component.js +60 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-historic-state/transaction-filter-historic-state.module.js +24 -0
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/service/article-connector.service.js +54 -1
- package/esm2015/lib/service/pending-reason.service.js +8 -4
- package/esm2015/lib/service/transaction-connector.service.js +2 -1
- package/esm2015/lib/service/transaction-mapping.service.js +2 -2
- package/esm2015/lib/service/transaction.service.js +13 -2
- package/fesm2015/colijnit-transaction.js +332 -162
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-line-side-panel/style/_layout.scss +6 -4
- package/lib/component/transaction-line-side-panel/style/_material-definition.scss +1 -1
- package/lib/component/transaction-line-side-panel-default/style/_layout.scss +3 -0
- package/lib/component/transaction-search/service/filter-request.service.d.ts +2 -4
- package/lib/component/transaction-search/style/_material-definition.scss +1 -1
- package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.d.ts +14 -1
- package/lib/component/transaction-search/transaction-filter-content-logistics/style/material.scss +1 -0
- package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.d.ts +1 -0
- package/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-historic-state/style/_layout.scss +9 -0
- package/lib/component/transaction-search/transaction-filter-historic-state/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter-historic-state/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-historic-state/style/material.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-historic-state/transaction-filter-historic-state.component.d.ts +22 -0
- package/lib/component/transaction-search/transaction-filter-historic-state/transaction-filter-historic-state.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-search-result/style/_layout.scss +2 -2
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/service/article-connector.service.d.ts +7 -0
- package/lib/service/pending-reason.service.d.ts +3 -1
- package/lib/service/transaction.service.d.ts +7 -0
- package/lib/style/_variables.scss +2 -0
- package/package.json +3 -3
|
@@ -46,6 +46,11 @@ import { GoodsReceiptStatusWithHistory } from '@colijnit/transactionapi/build/mo
|
|
|
46
46
|
import { PaymentMethod } from '@colijnit/transactionapi/build/model/payment-method.bo';
|
|
47
47
|
import { RelationStatus } from '@colijnit/transactionapi/build/enum/relation-status.enum';
|
|
48
48
|
import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
|
|
49
|
+
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
50
|
+
import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.bo';
|
|
51
|
+
import { ArticleLight } from '@colijnit/articleapi/build/model/article-light.bo';
|
|
52
|
+
import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
|
|
53
|
+
import { MainArticle } from '@colijnit/articleapi/build/model/main-article.bo';
|
|
49
54
|
import { FormMasterService, FormComponent, CoDialogModule, ButtonModule, InputComboBoxModule, InputTextModule, FormModule, InputRadioButtonModule, IconModule, InputCheckboxModule, InputListboxModule, DropDownModule, InputNumberPickerModule, PriceDisplayPipeModule, InputDatePickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, Carousel3dModule, InputTextareaModule, CollapsibleModule, ColumnAlign, SimpleGridColumnDirective, InputTextComponent, SimpleGridModule, GridToolbarButtonModule, InputSearchModule, FilterItemModule, InputDateRangePickerModule } from '@colijnit/corecomponents_v12';
|
|
50
55
|
import { FlexModule } from '@angular/flex-layout';
|
|
51
56
|
import { CommunicationType } from '@colijnit/transactionapi/build/enum/communication-type.enum';
|
|
@@ -72,11 +77,11 @@ import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transac
|
|
|
72
77
|
import { PurchaseOrderLineReceiptCorrectionDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo';
|
|
73
78
|
import { PurchaseOrderLineReceiptDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo';
|
|
74
79
|
import { ReceiveGoodsForPurchaseOrderRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo';
|
|
75
|
-
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
76
|
-
import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.bo';
|
|
77
80
|
import { GoodsReceiptStatus } from '@colijnit/transactionapi/build/model/goods-receipt-status.bo';
|
|
78
81
|
import { TransactionSearchViewRequest } from '@colijnit/transactionapi/build/model/transaction-search-view-request';
|
|
79
82
|
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
83
|
+
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
84
|
+
import { QuantityInHistoricState } from '@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum';
|
|
80
85
|
|
|
81
86
|
var LanguageCode;
|
|
82
87
|
(function (LanguageCode) {
|
|
@@ -267,6 +272,11 @@ class Dictionary {
|
|
|
267
272
|
"FEMALE": "Vrouw",
|
|
268
273
|
"FIRST_NAME": "Voornaam",
|
|
269
274
|
"FREE": "Gratis",
|
|
275
|
+
"FULLY_ALLOCATED": "Volledig toegewezen",
|
|
276
|
+
"FULLY_DELIVERED": "Volledig geleverd",
|
|
277
|
+
"FULLY_INVOICED": "Volledig gefactureerd",
|
|
278
|
+
"FULLY_TO_BE_PICKED": "Volledig te picken",
|
|
279
|
+
"FULLY_PICKED": "Volledig gepickt",
|
|
270
280
|
"GROSS_PRICE": "Bruto prijs",
|
|
271
281
|
"GOOD_DESCRIPTION": "Artikelomschrijving",
|
|
272
282
|
"HANDLED_BY": "Verkoper",
|
|
@@ -306,6 +316,11 @@ class Dictionary {
|
|
|
306
316
|
"NO_IMAGE": "Geen afbeelding",
|
|
307
317
|
"NOT_AFTER": "Niet later dan",
|
|
308
318
|
"NOT_BEFORE": "Niet eerder dan",
|
|
319
|
+
"NOTHING_ALLOCATED": "Niets toegewezen",
|
|
320
|
+
"NOTHING_DELIVERED": "Niets geleverd",
|
|
321
|
+
"NOTHING_INVOICED": "Niets gefactureerd",
|
|
322
|
+
"NOTHING_TO_BE_PICKED": "Niets te picken",
|
|
323
|
+
"NOTHING_PICKED": "Niets gepickt",
|
|
309
324
|
"NR": "Nummer",
|
|
310
325
|
"NUMBER": "Aantal",
|
|
311
326
|
"ON_DATE": "Op datum",
|
|
@@ -330,6 +345,11 @@ class Dictionary {
|
|
|
330
345
|
"PAID_DOWN2": "Aanbetaald",
|
|
331
346
|
"PART_DELIVERY": "Deellevering",
|
|
332
347
|
"PART_DELIVERIES": "Deelleveringen",
|
|
348
|
+
"PARTLY_ALLOCATED": "Gedeeltelijk toegewezen",
|
|
349
|
+
"PARTLY_DELIVERED": "Gedeeltelijk geleverd",
|
|
350
|
+
"PARTLY_INVOICED": "Gedeeltelijk gefactureerd",
|
|
351
|
+
"PARTLY_TO_BE_PICKED": "Gedeeltelijk te picken",
|
|
352
|
+
"PARTLY_PICKED": "Gedeeltelijk gepickt",
|
|
333
353
|
"PASSWORD": "Wachtwoord",
|
|
334
354
|
"PAY": "Betalen",
|
|
335
355
|
"PAYMENT": "Betaling",
|
|
@@ -1542,6 +1562,7 @@ class TransactionConnectorService {
|
|
|
1542
1562
|
connect() {
|
|
1543
1563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1544
1564
|
this.connector = new Transaction(this._optionsService.options);
|
|
1565
|
+
this._optionsService.options.session = this.connector.session;
|
|
1545
1566
|
});
|
|
1546
1567
|
}
|
|
1547
1568
|
getArticleFullObject(goodId) {
|
|
@@ -2693,11 +2714,112 @@ DialogService.ctorParameters = () => [
|
|
|
2693
2714
|
{ type: Injector }
|
|
2694
2715
|
];
|
|
2695
2716
|
|
|
2717
|
+
class ArticleConnectorService {
|
|
2718
|
+
constructor(_optionsService, _collectionService) {
|
|
2719
|
+
this._optionsService = _optionsService;
|
|
2720
|
+
this._collectionService = _collectionService;
|
|
2721
|
+
this._boFactory = new BusinessObjectFactory();
|
|
2722
|
+
this._optionsService.optionsInitialized.subscribe((initialized) => {
|
|
2723
|
+
if (initialized) {
|
|
2724
|
+
this.connect();
|
|
2725
|
+
}
|
|
2726
|
+
});
|
|
2727
|
+
}
|
|
2728
|
+
connect() {
|
|
2729
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2730
|
+
this.connector = new Articles(this._optionsService.options);
|
|
2731
|
+
});
|
|
2732
|
+
}
|
|
2733
|
+
getWarehouseLocations(warehouseNr) {
|
|
2734
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2735
|
+
return new Promise((resolve, reject) => {
|
|
2736
|
+
const collection = this._collectionService.getCollection(StockLocation.name, [warehouseNr]);
|
|
2737
|
+
if (collection) {
|
|
2738
|
+
resolve(collection);
|
|
2739
|
+
}
|
|
2740
|
+
else {
|
|
2741
|
+
return this.connector.getStockManagementLocations(warehouseNr).then((response) => {
|
|
2742
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
2743
|
+
const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(StockLocation, response.resultObjects);
|
|
2744
|
+
this._collectionService.cacheCollection(StockLocation.name, collection, [warehouseNr]);
|
|
2745
|
+
resolve(collection);
|
|
2746
|
+
}
|
|
2747
|
+
else {
|
|
2748
|
+
reject(response.validationMessagesAsString);
|
|
2749
|
+
}
|
|
2750
|
+
});
|
|
2751
|
+
}
|
|
2752
|
+
});
|
|
2753
|
+
});
|
|
2754
|
+
}
|
|
2755
|
+
searchArticles(request) {
|
|
2756
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2757
|
+
return new Promise((resolve, reject) => {
|
|
2758
|
+
return this.connector.searchArticlesLight(request).then((response) => {
|
|
2759
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
2760
|
+
const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleLight, response.resultObjects);
|
|
2761
|
+
resolve(collection);
|
|
2762
|
+
}
|
|
2763
|
+
else {
|
|
2764
|
+
reject(response.validationMessagesAsString);
|
|
2765
|
+
}
|
|
2766
|
+
});
|
|
2767
|
+
});
|
|
2768
|
+
});
|
|
2769
|
+
}
|
|
2770
|
+
getMainArticles() {
|
|
2771
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2772
|
+
return new Promise((resolve, reject) => {
|
|
2773
|
+
return this.connector.getMainArticles().then((response) => {
|
|
2774
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
2775
|
+
const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(MainArticle, response.resultObjects);
|
|
2776
|
+
resolve(collection);
|
|
2777
|
+
}
|
|
2778
|
+
else {
|
|
2779
|
+
reject(response.validationMessagesAsString);
|
|
2780
|
+
}
|
|
2781
|
+
});
|
|
2782
|
+
});
|
|
2783
|
+
});
|
|
2784
|
+
}
|
|
2785
|
+
getTurnoverGroups(category) {
|
|
2786
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2787
|
+
return new Promise((resolve, reject) => {
|
|
2788
|
+
const collection = this._collectionService.getCollection(TurnoverGroupImage.name);
|
|
2789
|
+
if (collection) {
|
|
2790
|
+
return resolve(collection);
|
|
2791
|
+
}
|
|
2792
|
+
return this.connector.getTurnoverGroups(category).then((result) => {
|
|
2793
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2794
|
+
const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(TurnoverGroupImage, result.resultObjects);
|
|
2795
|
+
this._collectionService.cacheCollection(TurnoverGroupImage.name, collection);
|
|
2796
|
+
resolve(collection);
|
|
2797
|
+
}
|
|
2798
|
+
else {
|
|
2799
|
+
reject(result.validationMessagesAsString);
|
|
2800
|
+
}
|
|
2801
|
+
});
|
|
2802
|
+
});
|
|
2803
|
+
});
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
ArticleConnectorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ArticleConnectorService_Factory() { return new ArticleConnectorService(i0.ɵɵinject(OptionsService), i0.ɵɵinject(CollectionCacheService)); }, token: ArticleConnectorService, providedIn: "root" });
|
|
2807
|
+
ArticleConnectorService.decorators = [
|
|
2808
|
+
{ type: Injectable, args: [{
|
|
2809
|
+
providedIn: "root"
|
|
2810
|
+
},] }
|
|
2811
|
+
];
|
|
2812
|
+
ArticleConnectorService.ctorParameters = () => [
|
|
2813
|
+
{ type: OptionsService },
|
|
2814
|
+
{ type: CollectionCacheService }
|
|
2815
|
+
];
|
|
2816
|
+
|
|
2696
2817
|
class PendingReasonService {
|
|
2697
|
-
constructor(dialogService, options, connector) {
|
|
2818
|
+
constructor(dialogService, options, connector, articleConnector) {
|
|
2698
2819
|
this.dialogService = dialogService;
|
|
2699
2820
|
this.options = options;
|
|
2700
2821
|
this.connector = connector;
|
|
2822
|
+
this.articleConnector = articleConnector;
|
|
2701
2823
|
this.transactionUpdated = new BehaviorSubject(undefined);
|
|
2702
2824
|
this.applicationUser = false;
|
|
2703
2825
|
this.currentTransaction = new TransactionInfoResponse();
|
|
@@ -2828,7 +2950,7 @@ class PendingReasonService {
|
|
|
2828
2950
|
});
|
|
2829
2951
|
}
|
|
2830
2952
|
}
|
|
2831
|
-
PendingReasonService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PendingReasonService_Factory() { return new PendingReasonService(i0.ɵɵinject(DialogService), i0.ɵɵinject(OptionsService), i0.ɵɵinject(TransactionConnectorService)); }, token: PendingReasonService, providedIn: "root" });
|
|
2953
|
+
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" });
|
|
2832
2954
|
PendingReasonService.decorators = [
|
|
2833
2955
|
{ type: Injectable, args: [{
|
|
2834
2956
|
providedIn: "root"
|
|
@@ -2837,7 +2959,8 @@ PendingReasonService.decorators = [
|
|
|
2837
2959
|
PendingReasonService.ctorParameters = () => [
|
|
2838
2960
|
{ type: DialogService },
|
|
2839
2961
|
{ type: OptionsService },
|
|
2840
|
-
{ type: TransactionConnectorService }
|
|
2962
|
+
{ type: TransactionConnectorService },
|
|
2963
|
+
{ type: ArticleConnectorService }
|
|
2841
2964
|
];
|
|
2842
2965
|
|
|
2843
2966
|
class TransactionService extends PendingReasonService {
|
|
@@ -3140,12 +3263,21 @@ class TransactionService extends PendingReasonService {
|
|
|
3140
3263
|
getInOutCollection(languageCode) {
|
|
3141
3264
|
return this.connector.getInOutCollection(languageCode);
|
|
3142
3265
|
}
|
|
3266
|
+
getTurnoverGroups() {
|
|
3267
|
+
return this.articleConnector.getTurnoverGroups();
|
|
3268
|
+
}
|
|
3143
3269
|
getTransactionArticleWarehouses(goodId) {
|
|
3144
3270
|
return this.connector.getTransactionArticleWarehouses(goodId);
|
|
3145
3271
|
}
|
|
3146
3272
|
getMarketingCodes() {
|
|
3147
3273
|
return this.connector.getMarketingCodes();
|
|
3148
3274
|
}
|
|
3275
|
+
getArticles(request) {
|
|
3276
|
+
return this.articleConnector.searchArticles(request);
|
|
3277
|
+
}
|
|
3278
|
+
getMainArticles() {
|
|
3279
|
+
return this.articleConnector.getMainArticles();
|
|
3280
|
+
}
|
|
3149
3281
|
insertCustomer(relation) {
|
|
3150
3282
|
return this.connector.insertCustomer(relation);
|
|
3151
3283
|
}
|
|
@@ -3168,6 +3300,7 @@ class TransactionService extends PendingReasonService {
|
|
|
3168
3300
|
getDeliveryOptions() {
|
|
3169
3301
|
return this.connector.getDeliveryOptions();
|
|
3170
3302
|
}
|
|
3303
|
+
// todo: move to relation api?
|
|
3171
3304
|
getRelationListObjects(relationRequest) {
|
|
3172
3305
|
return this.connector.getRelationListObjects(relationRequest);
|
|
3173
3306
|
}
|
|
@@ -3415,7 +3548,7 @@ class TransactionService extends PendingReasonService {
|
|
|
3415
3548
|
});
|
|
3416
3549
|
}
|
|
3417
3550
|
}
|
|
3418
|
-
TransactionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionService_Factory() { return new TransactionService(i0.ɵɵinject(DialogService), i0.ɵɵinject(OptionsService), i0.ɵɵinject(TransactionConnectorService)); }, token: TransactionService, providedIn: "root" });
|
|
3551
|
+
TransactionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionService_Factory() { return new TransactionService(i0.ɵɵinject(DialogService), i0.ɵɵinject(OptionsService), i0.ɵɵinject(TransactionConnectorService), i0.ɵɵinject(ArticleConnectorService)); }, token: TransactionService, providedIn: "root" });
|
|
3419
3552
|
TransactionService.decorators = [
|
|
3420
3553
|
{ type: Injectable, args: [{
|
|
3421
3554
|
providedIn: "root"
|
|
@@ -3562,6 +3695,7 @@ var Icon;
|
|
|
3562
3695
|
Icon["BarsFilter"] = "bars_filter";
|
|
3563
3696
|
Icon["CalendarDay"] = "calendar_day";
|
|
3564
3697
|
Icon["Cancel"] = "cancel";
|
|
3698
|
+
Icon["CartCheck"] = "cart_check";
|
|
3565
3699
|
Icon["CartFlatbedBoxesSolid"] = "cart_flatbed_boxes_solid";
|
|
3566
3700
|
Icon["CartShoppingSolid"] = "cart_shopping_solid";
|
|
3567
3701
|
Icon["CashRegister"] = "cash_register";
|
|
@@ -4125,6 +4259,7 @@ const IconSvg = {
|
|
|
4125
4259
|
"bars_filter": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M264 392H183.1C170.8 392 160 402.8 160 415.1C160 429.2 170.8 440 183.1 440h80C277.2 440 288 429.2 288 416C288 402.8 277.2 392 264 392zM424 72H23.1C10.8 72 0 82.8 0 95.1S10.8 120 23.1 120H424c13.2 0 24-10.8 24-23.1S437.2 72 424 72zM360 232H87.1C74.8 232 64 242.8 64 255.1C64 269.2 74.8 280 87.1 280h272C373.2 280 384 269.2 384 256C384 242.8 373.2 232 360 232z\"/></svg>",
|
|
4126
4260
|
"calendar_day": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path fill=\"#022D42\" d=\"M35.4,13.7H14.6c-0.6,0-1,0.5-1,1V20h22.9v-5.2C36.4,14.2,36,13.7,35.4,13.7z M19,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C20.8,18,20,18.8,19,18.8z M31,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8C32.7,18,32,18.8,31,18.8z\"/><path fill=\"#022D42\" d=\"M35.4,22.3v12.6L31.3,39H14.6c0,0,0,0,0,0V22.3H35.4 M36.4,21.3H13.6V39c0,0.6,0.5,1,1,1h17.2l4.7-4.7V21.3L36.4,21.3z\"/><rect x=\"18.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"30.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"18.6\" y=\"30.5\" fill=\"#022D42\" width=\"3.4\" height=\"3.4\"/><rect x=\"19.1\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/></g></svg>",
|
|
4127
4261
|
"cancel": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"36 35.16 30.45 35.16 14 14.84 19.55 14.84 36 35.16\" fill=\"#484f60\"/><polygon points=\"14 35.16 19.55 35.16 36 14.84 30.45 14.84 14 35.16\" fill=\"#484f60\"/></svg>",
|
|
4262
|
+
"cart_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><g ><g ><g><g opacity=\".75\"><path d=\"M16.58,29.12c-.99,0-1.8,.81-1.8,1.8s.81,1.8,1.8,1.8,1.8-.81,1.8-1.8-.81-1.8-1.8-1.8Z\" fill=\"#484f60\"/><path d=\"M16.51,24.98c-.67,0-1.38-.52-1.57-1.16l-2.31-5.61c-.19-.64,.19-1.22,.86-1.28l19.71-2.51c.67-.06,1.12,.42,1,1.08l-.89,3.99c.66,.15,1.3,.36,1.91,.63l1.38-6.84c.12-.66-.34-1.15-1-1.08l-24.68,2.93c-.67,.06-1.06,.64-.87,1.28l3.34,9.44c.19,.64,.89,1.17,1.56,1.17h5.92c.19-.71,.45-1.38,.77-2.02h-5.13Z\" fill=\"#484f60\"/><path d=\"M39.01,11.31c-.66,.14-1.27,.79-1.37,1.46l-.42,2.9c-.1,.66,.31,.98,.9,.7,.59-.28,1.19-1.04,1.33-1.7l.51-2.42c.14-.66-.28-1.08-.94-.94h-.02Z\" fill=\"#484f60\"/></g><g><path d=\"M31,21.72c4.41,0,8,3.59,8,8s-3.59,8-8,8-8-3.59-8-8,3.59-8,8-8m0-1c-4.97,0-9,4.03-9,9s4.03,9,9,9,9-4.03,9-9-4.03-9-9-9h0Z\" fill=\"#484f60\"/><polygon points=\"30.63 34.72 26.79 29.33 28.31 28.25 30.34 31.11 33.54 24.72 35.21 25.55 30.63 34.72\" fill=\"#484f60\"/></g></g></g></g><g /></svg>",
|
|
4128
4263
|
"cart_flatbed_boxes_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M448 160h64c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32h-64c-17.6 0-32 14.4-32 32v64C416 145.6 430.4 160 448 160zM448 320h128c17.6 0 32-14.4 32-32V224c0-17.6-14.4-32-32-32h-128c-17.6 0-32 14.4-32 32v64C416 305.6 430.4 320 448 320zM224 320h128c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32H224C206.4 32 192 46.4 192 64v224C192 305.6 206.4 320 224 320zM640 415.1c0 17.6-14.4 32-32 31.1l-66.88-.0011c1.787 5.027 2.907 10.36 2.907 16c0 26.51-21.5 48-48.01 48c-26.51 0-47.99-21.49-47.99-48c0-5.641 1.141-10.97 2.928-16H253.1C254.9 453 256 458.4 256 464C256 490.5 234.5 512 208 512S160 490.5 160 464c0-5.641 1.13-10.97 2.917-16l-66.92 .0011C78.4 448 64 433.6 64 415.1V80C64 71.16 56.84 64 48 64H31.1C14.4 64 0 49.6 0 32S14.4 0 31.1 0H64c35.2 0 64 28.8 64 64v320h480C625.6 384 640 398.4 640 415.1z\"/></svg>",
|
|
4129
4264
|
"cart_shopping_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M96 0C107.5 0 117.4 8.19 119.6 19.51L121.1 32H541.8C562.1 32 578.3 52.25 572.6 72.66L518.6 264.7C514.7 278.5 502.1 288 487.8 288H170.7L179.9 336H488C501.3 336 512 346.7 512 360C512 373.3 501.3 384 488 384H159.1C148.5 384 138.6 375.8 136.4 364.5L76.14 48H24C10.75 48 0 37.25 0 24C0 10.75 10.75 0 24 0H96zM128 464C128 437.5 149.5 416 176 416C202.5 416 224 437.5 224 464C224 490.5 202.5 512 176 512C149.5 512 128 490.5 128 464zM512 464C512 490.5 490.5 512 464 512C437.5 512 416 490.5 416 464C416 437.5 437.5 416 464 416C490.5 416 512 437.5 512 464z\"/></svg>",
|
|
4130
4265
|
"cash_register": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M35.39,18.12H14.62L10,29.66H40ZM23,19.29H27l.1,1.6H22.87Zm-.13,2h4.32l.12,1.81H22.72Zm-.15,2.3h4.62l.14,2.08h-4.9ZM17.9,19.29H22l-.16,1.6H17.54Zm-.46,2h4.32l-.18,1.81H17Zm-.53,2.3h4.62l-.2,2.08h-4.9Zm-1.16,5.06.55-2.42H27.49l.16,2.42ZM28,19.29H32.1l.36,1.6H28.2Zm.2,2h4.32L33,23.12H28.42Zm.23,2.3h4.62l.48,2.08h-4.9Zm.5,5.06-.24-2.42h5l.55,2.42Z\" fill=\"#484f60\"/><path d=\"M10,29.66v9.23H40V29.66Zm27.69,6.92H12.31V32H37.69Z\" fill=\"#484f60\"/><path d=\"M15.63,11.11v7.58H34.37V11.11Zm17.31,6.15H17.06V12.54H32.94Z\" fill=\"#484f60\"/></svg>",
|
|
@@ -8079,6 +8214,7 @@ TransactionLineSidePanelComponent.decorators = [
|
|
|
8079
8214
|
{ type: Component, args: [{
|
|
8080
8215
|
selector: "co-transaction-line-side-panel",
|
|
8081
8216
|
template: `
|
|
8217
|
+
<icon (click)="handleCancelClick($event)" [icon]="icons.Cancel" class="close-button"></icon>
|
|
8082
8218
|
<div class="transaction-line-side-panel-header">
|
|
8083
8219
|
<div class="transaction-line-side-panel-header-item">
|
|
8084
8220
|
<span class="side-panel-header-label" [textContent]="'ARTICLE_NR'| localize"></span>
|
|
@@ -8101,7 +8237,6 @@ TransactionLineSidePanelComponent.decorators = [
|
|
|
8101
8237
|
<span class="side-panel-header-field"
|
|
8102
8238
|
[textContent]="activeCategory === categories.PurchaseOrderReceivedGoods ? quantityToReceive : (transactionLine.price | priceDisplay)"></span>
|
|
8103
8239
|
</div>
|
|
8104
|
-
<icon (click)="handleCancelClick($event)" [icon]="icons.Cancel" class="close-button"></icon>
|
|
8105
8240
|
</div>
|
|
8106
8241
|
<div class="transaction-line-side-panel-nav-bar">
|
|
8107
8242
|
<co-transaction-button-bar
|
|
@@ -9364,56 +9499,6 @@ TransactionReceivingGoodsHistoryModule.decorators = [
|
|
|
9364
9499
|
},] }
|
|
9365
9500
|
];
|
|
9366
9501
|
|
|
9367
|
-
class ArticleConnectorService {
|
|
9368
|
-
constructor(_optionsService, _collectionService) {
|
|
9369
|
-
this._optionsService = _optionsService;
|
|
9370
|
-
this._collectionService = _collectionService;
|
|
9371
|
-
this._boFactory = new BusinessObjectFactory();
|
|
9372
|
-
this._optionsService.optionsInitialized.subscribe((initialized) => {
|
|
9373
|
-
if (initialized) {
|
|
9374
|
-
this.connect();
|
|
9375
|
-
}
|
|
9376
|
-
});
|
|
9377
|
-
}
|
|
9378
|
-
connect() {
|
|
9379
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9380
|
-
this.connector = new Articles(this._optionsService.options);
|
|
9381
|
-
});
|
|
9382
|
-
}
|
|
9383
|
-
getWarehouseLocations(warehouseNr) {
|
|
9384
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9385
|
-
return new Promise((resolve, reject) => {
|
|
9386
|
-
const collection = this._collectionService.getCollection(StockLocation.name, [warehouseNr]);
|
|
9387
|
-
if (collection) {
|
|
9388
|
-
resolve(collection);
|
|
9389
|
-
}
|
|
9390
|
-
else {
|
|
9391
|
-
return this.connector.getStockManagementLocations(warehouseNr).then((response) => {
|
|
9392
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
9393
|
-
const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(StockLocation, response.resultObjects);
|
|
9394
|
-
this._collectionService.cacheCollection(StockLocation.name, collection, [warehouseNr]);
|
|
9395
|
-
resolve(collection);
|
|
9396
|
-
}
|
|
9397
|
-
else {
|
|
9398
|
-
reject(response.validationMessagesAsString);
|
|
9399
|
-
}
|
|
9400
|
-
});
|
|
9401
|
-
}
|
|
9402
|
-
});
|
|
9403
|
-
});
|
|
9404
|
-
}
|
|
9405
|
-
}
|
|
9406
|
-
ArticleConnectorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ArticleConnectorService_Factory() { return new ArticleConnectorService(i0.ɵɵinject(OptionsService), i0.ɵɵinject(CollectionCacheService)); }, token: ArticleConnectorService, providedIn: "root" });
|
|
9407
|
-
ArticleConnectorService.decorators = [
|
|
9408
|
-
{ type: Injectable, args: [{
|
|
9409
|
-
providedIn: "root"
|
|
9410
|
-
},] }
|
|
9411
|
-
];
|
|
9412
|
-
ArticleConnectorService.ctorParameters = () => [
|
|
9413
|
-
{ type: OptionsService },
|
|
9414
|
-
{ type: CollectionCacheService }
|
|
9415
|
-
];
|
|
9416
|
-
|
|
9417
9502
|
class ArticleService {
|
|
9418
9503
|
constructor(_articleConnectorService) {
|
|
9419
9504
|
this._articleConnectorService = _articleConnectorService;
|
|
@@ -9939,7 +10024,7 @@ class TransactionMappingService {
|
|
|
9939
10024
|
{ title: 'LOGISTICS', icon: Icon.ShelvesSolid, category: TransactionTypeCategory.SalesOrderLogistics },
|
|
9940
10025
|
{ title: 'PLANNING', icon: Icon.TruckArrowRightSolid, category: TransactionTypeCategory.SalesOrderPlanning },
|
|
9941
10026
|
{ title: 'DELIVERY_NOTE', icon: Icon.MemoCircleCheckSolid, category: TransactionTypeCategory.SalesOrderDeliveryNote },
|
|
9942
|
-
{ title: 'INVOICE', icon: Icon.
|
|
10027
|
+
{ title: 'INVOICE', icon: Icon.CartCheck, category: TransactionTypeCategory.SalesOrderInvoice }
|
|
9943
10028
|
]],
|
|
9944
10029
|
]);
|
|
9945
10030
|
this._quickAccessComponent = new Map([
|
|
@@ -11264,12 +11349,12 @@ class FilterRequestService {
|
|
|
11264
11349
|
this.searchService.searchRequest[modelName] = this._getFilterRequestForCollectionArray(collection);
|
|
11265
11350
|
}
|
|
11266
11351
|
//todo: tijdelijk totdat filter-item single select ondersteunt
|
|
11267
|
-
handleCollectionChangeForSingleValue(
|
|
11268
|
-
this.searchService.searchRequest[modelName] =
|
|
11352
|
+
handleCollectionChangeForSingleValue(value, modelName) {
|
|
11353
|
+
this.searchService.searchRequest[modelName] = value;
|
|
11269
11354
|
}
|
|
11270
11355
|
//todo: tijdelijk totdat filter-item single select ondersteunt
|
|
11271
|
-
handleCollectionChangeForSingleNumber(
|
|
11272
|
-
this.searchService.searchRequest[modelName] =
|
|
11356
|
+
handleCollectionChangeForSingleNumber(value, modelName) {
|
|
11357
|
+
this.searchService.searchRequest[modelName] = value;
|
|
11273
11358
|
}
|
|
11274
11359
|
handleCheckboxValueChangeForString(value, modelName) {
|
|
11275
11360
|
this.searchService.searchRequest[modelName] = this._getFilterRequestForBooleanToString(value);
|
|
@@ -11325,21 +11410,6 @@ class FilterRequestService {
|
|
|
11325
11410
|
});
|
|
11326
11411
|
return filterRequest;
|
|
11327
11412
|
}
|
|
11328
|
-
//todo: tijdelijk totdat filter-item single select ondersteunt
|
|
11329
|
-
_getFilterRequestForSingleCollectionValue(collection) {
|
|
11330
|
-
let filterRequest = '';
|
|
11331
|
-
const firstValue = collection.find(item => item.checked).code.toString();
|
|
11332
|
-
if (firstValue) {
|
|
11333
|
-
filterRequest = `?=\'${firstValue}\'`;
|
|
11334
|
-
}
|
|
11335
|
-
return filterRequest;
|
|
11336
|
-
}
|
|
11337
|
-
//todo: tijdelijk totdat filter-item single select ondersteunt
|
|
11338
|
-
_getFilterRequestForSingleCollectionNumber(collection) {
|
|
11339
|
-
var _a;
|
|
11340
|
-
const firstValue = Number((_a = collection.find(item => item.checked)) === null || _a === void 0 ? void 0 : _a.code);
|
|
11341
|
-
return firstValue !== null && firstValue !== void 0 ? firstValue : -1;
|
|
11342
|
-
}
|
|
11343
11413
|
_getFilterRequestForDateRange(startDate, endDate) {
|
|
11344
11414
|
const startDateRequest = startDate ? this._formatDateToString(startDate) : '';
|
|
11345
11415
|
const endDateRequest = endDate ? this._formatDateToString(endDate) : '';
|
|
@@ -11374,27 +11444,48 @@ class TransactionFilterContentArticleComponent {
|
|
|
11374
11444
|
this.showLessLabel = "SHOW_LESS";
|
|
11375
11445
|
this.articleNumberFields = { text: "description", value: "code" };
|
|
11376
11446
|
this.exceedanceCodeFields = { text: "description", value: "code" };
|
|
11447
|
+
this.turnoverGroupFields = { text: "description", value: "turnovergroupNr" };
|
|
11448
|
+
this.mainArticleFields = { text: "description", value: "articlenumber" };
|
|
11377
11449
|
this.supplierFields = { text: "displayName", value: "relationId" };
|
|
11450
|
+
this.getArticles = (text) => {
|
|
11451
|
+
const request = new ArticleExtendedRequest();
|
|
11452
|
+
request.articleNumber = text;
|
|
11453
|
+
return this._transactionService.getArticles(request).then((articles) => {
|
|
11454
|
+
return new FilterViewmodel(articles, { text: 'articleNumber', value: 'articleNumber' }).filterItems;
|
|
11455
|
+
});
|
|
11456
|
+
};
|
|
11378
11457
|
}
|
|
11379
11458
|
showClass() {
|
|
11380
11459
|
return true;
|
|
11381
11460
|
}
|
|
11382
11461
|
ngOnInit() {
|
|
11383
|
-
this._setArticleNumbers();
|
|
11384
11462
|
this._setExceedanceCodes();
|
|
11385
11463
|
this._setSuppliers();
|
|
11464
|
+
this._setTurnoverGroups();
|
|
11465
|
+
this._setMainArticles();
|
|
11386
11466
|
}
|
|
11387
11467
|
onFilterButtonClick() {
|
|
11388
11468
|
this.searchService.searchTransactions();
|
|
11389
11469
|
}
|
|
11390
|
-
|
|
11391
|
-
|
|
11470
|
+
handleCollectionChangeArticleNumber(collection) {
|
|
11471
|
+
const checkedItem = collection.find(c => c.checked);
|
|
11472
|
+
this.filterRequestService.handleCollectionChangeForSingleValue(checkedItem ? checkedItem.code + "" : "", 'articleNr');
|
|
11392
11473
|
}
|
|
11393
11474
|
_setExceedanceCodes() {
|
|
11394
11475
|
this._transactionService.getInOutCollection("NL").then((exceedanceCodes) => {
|
|
11395
11476
|
this.exceedanceCodes = new FilterViewmodel(exceedanceCodes, this.exceedanceCodeFields).filterItems;
|
|
11396
11477
|
});
|
|
11397
11478
|
}
|
|
11479
|
+
_setTurnoverGroups() {
|
|
11480
|
+
this._transactionService.getTurnoverGroups().then((turnoverGroups) => {
|
|
11481
|
+
this.turnoverGroups = new FilterViewmodel(turnoverGroups, this.turnoverGroupFields).filterItems;
|
|
11482
|
+
});
|
|
11483
|
+
}
|
|
11484
|
+
_setMainArticles() {
|
|
11485
|
+
this._transactionService.getMainArticles().then((articles) => {
|
|
11486
|
+
this.mainArticles = new FilterViewmodel(articles, this.mainArticleFields).filterItems;
|
|
11487
|
+
});
|
|
11488
|
+
}
|
|
11398
11489
|
_setSuppliers() {
|
|
11399
11490
|
const request = new RelationRequest();
|
|
11400
11491
|
request.relationType = RelationKind.Supplier;
|
|
@@ -11409,32 +11500,33 @@ TransactionFilterContentArticleComponent.decorators = [
|
|
|
11409
11500
|
template: `
|
|
11410
11501
|
<div class="transaction-filter-content-article-wrapper">
|
|
11411
11502
|
|
|
11412
|
-
<!--Artikelnummer
|
|
11503
|
+
<!--Artikelnummer-->
|
|
11413
11504
|
<co-filter-item
|
|
11414
11505
|
[placeholder]="'ARTICLE_NR' | localize"
|
|
11415
11506
|
[expanded]="true"
|
|
11416
|
-
[
|
|
11507
|
+
[singleSelect]="true"
|
|
11508
|
+
[minSearchCharsToLoadCollection]="3"
|
|
11509
|
+
[collectionLoadFn]="getArticles"
|
|
11510
|
+
(collectionChange)="handleCollectionChangeArticleNumber($event)"
|
|
11417
11511
|
>
|
|
11418
|
-
<co-input-text [(model)]="searchRequest.mainArticleNrRange"
|
|
11419
|
-
[placeholder]="'ARTICLE_NR' | localize"></co-input-text>
|
|
11420
11512
|
</co-filter-item>
|
|
11421
11513
|
|
|
11422
|
-
<!--Omzetgroep
|
|
11514
|
+
<!--Omzetgroep-->
|
|
11423
11515
|
<co-filter-item
|
|
11424
11516
|
[placeholder]="'TURNOVER_GROUP' | localize"
|
|
11425
|
-
[
|
|
11426
|
-
[
|
|
11427
|
-
|
|
11428
|
-
|
|
11517
|
+
[expanded]="true"
|
|
11518
|
+
[collection]="turnoverGroups"
|
|
11519
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForRange($event, 'rangeTurnoverGroup')"
|
|
11520
|
+
>
|
|
11429
11521
|
</co-filter-item>
|
|
11430
11522
|
|
|
11431
|
-
<!--Hoofdartikel
|
|
11523
|
+
<!--Hoofdartikel-->
|
|
11432
11524
|
<co-filter-item
|
|
11433
11525
|
[placeholder]="'MAIN_ARTICLE' | localize"
|
|
11434
|
-
[
|
|
11435
|
-
[
|
|
11436
|
-
|
|
11437
|
-
|
|
11526
|
+
[expanded]="true"
|
|
11527
|
+
[collection]="mainArticles"
|
|
11528
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForRange($event, 'mainArticleNrRange')"
|
|
11529
|
+
>
|
|
11438
11530
|
</co-filter-item>
|
|
11439
11531
|
|
|
11440
11532
|
<!--Uitloopcode -->
|
|
@@ -11445,7 +11537,7 @@ TransactionFilterContentArticleComponent.decorators = [
|
|
|
11445
11537
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11446
11538
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11447
11539
|
[showLessLabel]="showLessLabel | localize"
|
|
11448
|
-
(collectionChange)="
|
|
11540
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'exceedanceCodes')"
|
|
11449
11541
|
>
|
|
11450
11542
|
</co-filter-item>
|
|
11451
11543
|
|
|
@@ -11457,7 +11549,7 @@ TransactionFilterContentArticleComponent.decorators = [
|
|
|
11457
11549
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11458
11550
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11459
11551
|
[showLessLabel]="showLessLabel | localize"
|
|
11460
|
-
(collectionChange)="
|
|
11552
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForRange($event, 'rangeSupplier')"
|
|
11461
11553
|
>
|
|
11462
11554
|
</co-filter-item>
|
|
11463
11555
|
<div class="filter-button-container">
|
|
@@ -11520,6 +11612,9 @@ class TransactionFilterContentLogisticsComponent {
|
|
|
11520
11612
|
onFilterButtonClick() {
|
|
11521
11613
|
this.searchService.searchTransactions();
|
|
11522
11614
|
}
|
|
11615
|
+
handleAllocatedChange(value) {
|
|
11616
|
+
console.log(value);
|
|
11617
|
+
}
|
|
11523
11618
|
_setRangeDates() {
|
|
11524
11619
|
this.confirmedDeliveryStartDate = this.filterRequestService.getDateFromFilterRequestRange(this.searchRequest.confirmedDeliveryDateRange, 0);
|
|
11525
11620
|
this.confirmedDeliveryEndDate = this.filterRequestService.getDateFromFilterRequestRange(this.searchRequest.confirmedDeliveryDateRange, 1);
|
|
@@ -11553,7 +11648,7 @@ TransactionFilterContentLogisticsComponent.decorators = [
|
|
|
11553
11648
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11554
11649
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11555
11650
|
[showLessLabel]="showLessLabel | localize"
|
|
11556
|
-
(collectionChange)="
|
|
11651
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForRange($event, 'rangeDeliveryMethod')">
|
|
11557
11652
|
</co-filter-item>
|
|
11558
11653
|
|
|
11559
11654
|
|
|
@@ -11564,56 +11659,39 @@ TransactionFilterContentLogisticsComponent.decorators = [
|
|
|
11564
11659
|
[expanded]="true">
|
|
11565
11660
|
<co-input-checkbox
|
|
11566
11661
|
[model]="searchRequest.deliveryDateDefinitive === 'J'"
|
|
11567
|
-
(modelChange)="
|
|
11662
|
+
(modelChange)="filterRequestService.handleCheckboxValueChangeForString($event, 'deliveryDateDefinitive')"
|
|
11568
11663
|
[label]="'DELIVERY_DATE_FINAL' | localize"></co-input-checkbox>
|
|
11569
11664
|
</co-filter-item>
|
|
11570
11665
|
|
|
11571
|
-
<!--Toegewezen
|
|
11572
|
-
<co-filter-
|
|
11573
|
-
[
|
|
11574
|
-
|
|
11575
|
-
|
|
11576
|
-
<co-input-text [(model)]="searchRequest.quantityAllocated"
|
|
11577
|
-
[placeholder]="'ALLOCATED' | localize"></co-input-text>
|
|
11578
|
-
</co-filter-item>
|
|
11666
|
+
<!--Toegewezen-->
|
|
11667
|
+
<co-transaction-filter-historic-state
|
|
11668
|
+
[label]="'ALLOCATED'"
|
|
11669
|
+
(filterClicked)="filterRequestService.handleCollectionChangeForSingleNumber($event, 'quantityAllocated')"
|
|
11670
|
+
></co-transaction-filter-historic-state>
|
|
11579
11671
|
|
|
11580
|
-
<!--Geleverd
|
|
11581
|
-
<co-filter-
|
|
11582
|
-
[
|
|
11583
|
-
|
|
11584
|
-
|
|
11585
|
-
<co-input-text [(model)]="searchRequest.quantityDelivered"
|
|
11586
|
-
[placeholder]="'DELIVERED' | localize"></co-input-text>
|
|
11587
|
-
</co-filter-item>
|
|
11672
|
+
<!--Geleverd-->
|
|
11673
|
+
<co-transaction-filter-historic-state
|
|
11674
|
+
[label]="'DELIVERED'"
|
|
11675
|
+
(filterClicked)="filterRequestService.handleCollectionChangeForSingleNumber($event, 'quantityDelivered')"
|
|
11676
|
+
></co-transaction-filter-historic-state>
|
|
11588
11677
|
|
|
11589
|
-
<!--Gefactureerd
|
|
11590
|
-
<co-filter-
|
|
11591
|
-
[
|
|
11592
|
-
|
|
11593
|
-
|
|
11594
|
-
<co-input-text
|
|
11595
|
-
[(model)]="searchRequest.quantityInvoiced"
|
|
11596
|
-
[placeholder]="'INVOICED' | localize"></co-input-text>
|
|
11597
|
-
</co-filter-item>
|
|
11678
|
+
<!--Gefactureerd-->
|
|
11679
|
+
<co-transaction-filter-historic-state
|
|
11680
|
+
[label]="'INVOICED'"
|
|
11681
|
+
(filterClicked)="filterRequestService.handleCollectionChangeForSingleNumber($event, 'quantityInvoiced')"
|
|
11682
|
+
></co-transaction-filter-historic-state>
|
|
11598
11683
|
|
|
11599
|
-
<!--Te picken
|
|
11600
|
-
<co-filter-
|
|
11601
|
-
[
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
<co-input-text [(model)]="searchRequest.quantityToBePicked"
|
|
11605
|
-
[placeholder]="'TO_BE_PICKED' | localize"></co-input-text>
|
|
11606
|
-
</co-filter-item>
|
|
11684
|
+
<!--Te picken-->
|
|
11685
|
+
<co-transaction-filter-historic-state
|
|
11686
|
+
[label]="'TO_BE_PICKED'"
|
|
11687
|
+
(filterClicked)="filterRequestService.handleCollectionChangeForSingleNumber($event, 'quantityToBePicked')"
|
|
11688
|
+
></co-transaction-filter-historic-state>
|
|
11607
11689
|
|
|
11608
|
-
<!--Gepicked
|
|
11609
|
-
<co-filter-
|
|
11610
|
-
[
|
|
11611
|
-
|
|
11612
|
-
|
|
11613
|
-
<co-input-text
|
|
11614
|
-
[(model)]="searchRequest.quantityPicked"
|
|
11615
|
-
[placeholder]="'PICKED' | localize"></co-input-text>
|
|
11616
|
-
</co-filter-item>
|
|
11690
|
+
<!--Gepicked-->
|
|
11691
|
+
<co-transaction-filter-historic-state
|
|
11692
|
+
[label]="'PICKED'"
|
|
11693
|
+
(filterClicked)="filterRequestService.handleCollectionChangeForSingleNumber($event, 'quantityPicked')"
|
|
11694
|
+
></co-transaction-filter-historic-state>
|
|
11617
11695
|
|
|
11618
11696
|
<!--Bevestigde leverdatum-->
|
|
11619
11697
|
<co-filter-item
|
|
@@ -11623,7 +11701,7 @@ TransactionFilterContentLogisticsComponent.decorators = [
|
|
|
11623
11701
|
<co-input-date-range
|
|
11624
11702
|
[startDate]="confirmedDeliveryStartDate"
|
|
11625
11703
|
[endDate]="confirmedDeliveryEndDate"
|
|
11626
|
-
(dateRangeChange)="
|
|
11704
|
+
(dateRangeChange)="filterRequestService.handleDateRangeChange($event, 'confirmedDeliveryDateRange')"
|
|
11627
11705
|
[placeholder]="'SELECT_DATE' | localize">
|
|
11628
11706
|
</co-input-date-range>
|
|
11629
11707
|
</co-filter-item>
|
|
@@ -11636,7 +11714,7 @@ TransactionFilterContentLogisticsComponent.decorators = [
|
|
|
11636
11714
|
<co-input-date-range
|
|
11637
11715
|
[startDate]="arrivalStartDate"
|
|
11638
11716
|
[endDate]="arrivalEndDate"
|
|
11639
|
-
(dateRangeChange)="
|
|
11717
|
+
(dateRangeChange)="filterRequestService.handleDateRangeChange($event, 'arrivalDateRange')"
|
|
11640
11718
|
[placeholder]="'SELECT_DATE' | localize">
|
|
11641
11719
|
</co-input-date-range>
|
|
11642
11720
|
</co-filter-item>
|
|
@@ -11648,7 +11726,7 @@ TransactionFilterContentLogisticsComponent.decorators = [
|
|
|
11648
11726
|
[expanded]="true">
|
|
11649
11727
|
<co-input-checkbox
|
|
11650
11728
|
[model]="searchRequest.partialDelivery === 'J'"
|
|
11651
|
-
(modelChange)="
|
|
11729
|
+
(modelChange)="filterRequestService.handleCheckboxValueChangeForString($event, 'partialDelivery')"
|
|
11652
11730
|
[label]="'PART_DELIVERY' | localize">
|
|
11653
11731
|
</co-input-checkbox>
|
|
11654
11732
|
</co-filter-item>
|
|
@@ -11661,7 +11739,7 @@ TransactionFilterContentLogisticsComponent.decorators = [
|
|
|
11661
11739
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11662
11740
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11663
11741
|
[showLessLabel]="showLessLabel | localize"
|
|
11664
|
-
(collectionChange)="
|
|
11742
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForSingleNumber($event, 'warehouse')">
|
|
11665
11743
|
</co-filter-item>
|
|
11666
11744
|
|
|
11667
11745
|
|
|
@@ -11673,7 +11751,7 @@ TransactionFilterContentLogisticsComponent.decorators = [
|
|
|
11673
11751
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11674
11752
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11675
11753
|
[showLessLabel]="showLessLabel | localize"
|
|
11676
|
-
(collectionChange)="
|
|
11754
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForSingleNumber($event, 'sourceWarehouse')">
|
|
11677
11755
|
</co-filter-item>
|
|
11678
11756
|
|
|
11679
11757
|
|
|
@@ -11702,7 +11780,7 @@ TransactionFilterContentLogisticsComponent.decorators = [
|
|
|
11702
11780
|
<co-input-checkbox
|
|
11703
11781
|
[label]="'INCLUDING_RETURNS' | localize"
|
|
11704
11782
|
[model]="searchRequest.includingReturns === 1"
|
|
11705
|
-
(modelChange)="
|
|
11783
|
+
(modelChange)="filterRequestService.handleCheckboxValueChangeForNumber($event, 'includingReturns')"
|
|
11706
11784
|
>
|
|
11707
11785
|
</co-input-checkbox>
|
|
11708
11786
|
</co-filter-item>
|
|
@@ -11733,6 +11811,83 @@ TransactionFilterContentLogisticsComponent.propDecorators = {
|
|
|
11733
11811
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-filter-content-logistics",] }]
|
|
11734
11812
|
};
|
|
11735
11813
|
|
|
11814
|
+
class TransactionFilterHistoricStateComponent {
|
|
11815
|
+
constructor() {
|
|
11816
|
+
this.expanded = true;
|
|
11817
|
+
this.filterClicked = new EventEmitter();
|
|
11818
|
+
this.states = [];
|
|
11819
|
+
}
|
|
11820
|
+
set label(value) {
|
|
11821
|
+
this._label = value;
|
|
11822
|
+
this.groupName = this._label.toLowerCase() + "_group";
|
|
11823
|
+
this.labelNothing = "NOTHING_" + this._label.toUpperCase();
|
|
11824
|
+
this.labelPartly = "PARTLY_" + this._label.toUpperCase();
|
|
11825
|
+
this.labelFully = "FULLY_" + this._label.toUpperCase();
|
|
11826
|
+
this._setStates();
|
|
11827
|
+
}
|
|
11828
|
+
get label() {
|
|
11829
|
+
return this._label;
|
|
11830
|
+
}
|
|
11831
|
+
showClass() {
|
|
11832
|
+
return true;
|
|
11833
|
+
}
|
|
11834
|
+
handleStateChange(value) {
|
|
11835
|
+
this.filterClicked.emit(value);
|
|
11836
|
+
}
|
|
11837
|
+
_setStates() {
|
|
11838
|
+
this.states = [
|
|
11839
|
+
{ label: this.labelNothing, value: QuantityInHistoricState.Nothing, checked: false },
|
|
11840
|
+
{ label: this.labelPartly, value: QuantityInHistoricState.Partly, checked: false },
|
|
11841
|
+
{ label: this.labelFully, value: QuantityInHistoricState.Fully, checked: false }
|
|
11842
|
+
];
|
|
11843
|
+
}
|
|
11844
|
+
}
|
|
11845
|
+
TransactionFilterHistoricStateComponent.decorators = [
|
|
11846
|
+
{ type: Component, args: [{
|
|
11847
|
+
selector: "co-transaction-filter-historic-state",
|
|
11848
|
+
template: `
|
|
11849
|
+
<co-filter-item
|
|
11850
|
+
[placeholder]="label | localize"
|
|
11851
|
+
[customContent]="true"
|
|
11852
|
+
[expanded]="expanded">
|
|
11853
|
+
<co-input-radio-button *ngFor="let state of states"
|
|
11854
|
+
[name]="groupName"
|
|
11855
|
+
[value]="state.value"
|
|
11856
|
+
[model]="state.checked"
|
|
11857
|
+
[label]="state.label | localize"
|
|
11858
|
+
(modelChange)="handleStateChange($event)"
|
|
11859
|
+
></co-input-radio-button>
|
|
11860
|
+
</co-filter-item>
|
|
11861
|
+
`,
|
|
11862
|
+
encapsulation: ViewEncapsulation.None
|
|
11863
|
+
},] }
|
|
11864
|
+
];
|
|
11865
|
+
TransactionFilterHistoricStateComponent.propDecorators = {
|
|
11866
|
+
label: [{ type: Input }],
|
|
11867
|
+
expanded: [{ type: Input }],
|
|
11868
|
+
filterClicked: [{ type: Output }],
|
|
11869
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-filter-historic-state",] }]
|
|
11870
|
+
};
|
|
11871
|
+
|
|
11872
|
+
class TransactionFilterHistoricStateModule {
|
|
11873
|
+
}
|
|
11874
|
+
TransactionFilterHistoricStateModule.decorators = [
|
|
11875
|
+
{ type: NgModule, args: [{
|
|
11876
|
+
imports: [
|
|
11877
|
+
CommonModule,
|
|
11878
|
+
FilterItemModule,
|
|
11879
|
+
PipeModule,
|
|
11880
|
+
InputRadioButtonModule
|
|
11881
|
+
],
|
|
11882
|
+
declarations: [
|
|
11883
|
+
TransactionFilterHistoricStateComponent
|
|
11884
|
+
],
|
|
11885
|
+
exports: [
|
|
11886
|
+
TransactionFilterHistoricStateComponent
|
|
11887
|
+
]
|
|
11888
|
+
},] }
|
|
11889
|
+
];
|
|
11890
|
+
|
|
11736
11891
|
class TransactionFilterContentLogisticsModule {
|
|
11737
11892
|
}
|
|
11738
11893
|
TransactionFilterContentLogisticsModule.decorators = [
|
|
@@ -11745,7 +11900,9 @@ TransactionFilterContentLogisticsModule.decorators = [
|
|
|
11745
11900
|
PipeModule,
|
|
11746
11901
|
InputDatePickerModule,
|
|
11747
11902
|
ButtonModule,
|
|
11748
|
-
InputCheckboxModule
|
|
11903
|
+
InputCheckboxModule,
|
|
11904
|
+
InputRadioButtonModule,
|
|
11905
|
+
TransactionFilterHistoricStateModule
|
|
11749
11906
|
],
|
|
11750
11907
|
declarations: [
|
|
11751
11908
|
TransactionFilterContentLogisticsComponent
|
|
@@ -11771,6 +11928,13 @@ class TransactionFilterContentOrderComponent {
|
|
|
11771
11928
|
this.onHoldCodeFields = { text: "description", value: "onHoldCode" };
|
|
11772
11929
|
this.commissionCodeFields = { text: "description", value: "code" };
|
|
11773
11930
|
this.customerGroupFields = { text: "naam", value: "groepsnummer" };
|
|
11931
|
+
this.loadCustomers = (nameFilter) => __awaiter(this, void 0, void 0, function* () {
|
|
11932
|
+
const request = new RelationRequest();
|
|
11933
|
+
request.familyName = nameFilter;
|
|
11934
|
+
return this._transactionService.getRelationListObjects(request).then((relations) => {
|
|
11935
|
+
return new FilterViewmodel(relations, { text: 'familyName', value: 'familyName' }).filterItems;
|
|
11936
|
+
});
|
|
11937
|
+
});
|
|
11774
11938
|
}
|
|
11775
11939
|
showClass() {
|
|
11776
11940
|
return true;
|
|
@@ -11787,6 +11951,10 @@ class TransactionFilterContentOrderComponent {
|
|
|
11787
11951
|
onFilterButtonClick() {
|
|
11788
11952
|
this.searchService.searchTransactions();
|
|
11789
11953
|
}
|
|
11954
|
+
handleCollectionChangeCustomerName(collection) {
|
|
11955
|
+
const checkedItem = collection.find(c => c.checked);
|
|
11956
|
+
this.filterRequestService.handleCollectionChangeForSingleValue(checkedItem ? checkedItem.code + "" : "", 'relationName');
|
|
11957
|
+
}
|
|
11790
11958
|
_setRangeDates() {
|
|
11791
11959
|
this.transStartDate = this.filterRequestService.getDateFromFilterRequestRange(this.searchRequest.rangeTransDate, 0);
|
|
11792
11960
|
this.transEndDate = this.filterRequestService.getDateFromFilterRequestRange(this.searchRequest.rangeTransDate, 1);
|
|
@@ -11844,7 +12012,7 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11844
12012
|
<co-input-date-range
|
|
11845
12013
|
[startDate]="transStartDate"
|
|
11846
12014
|
[endDate]="transEndDate"
|
|
11847
|
-
(dateRangeChange)="
|
|
12015
|
+
(dateRangeChange)="filterRequestService.handleDateRangeChange($event, 'rangeTransDate')"
|
|
11848
12016
|
[placeholder]="'SELECT_DATE' | localize">
|
|
11849
12017
|
</co-input-date-range>
|
|
11850
12018
|
</co-filter-item>
|
|
@@ -11857,7 +12025,7 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11857
12025
|
<co-input-date-range
|
|
11858
12026
|
[startDate]="deliveryStartDate"
|
|
11859
12027
|
[endDate]="deliveryEndDate"
|
|
11860
|
-
(dateRangeChange)="
|
|
12028
|
+
(dateRangeChange)="filterRequestService.handleDateRangeChange($event, 'deliveryDateRange')"
|
|
11861
12029
|
[placeholder]="'SELECT_DATE' | localize">
|
|
11862
12030
|
</co-input-date-range>
|
|
11863
12031
|
</co-filter-item>
|
|
@@ -11870,7 +12038,7 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11870
12038
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11871
12039
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11872
12040
|
[showLessLabel]="showLessLabel | localize"
|
|
11873
|
-
(collectionChange)="
|
|
12041
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForRange($event, 'rangeBranchId')"
|
|
11874
12042
|
>
|
|
11875
12043
|
</co-filter-item>
|
|
11876
12044
|
|
|
@@ -11882,7 +12050,7 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11882
12050
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11883
12051
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11884
12052
|
[showLessLabel]="showLessLabel | localize"
|
|
11885
|
-
(collectionChange)="
|
|
12053
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForRange($event, 'rangeSalesPerson')"
|
|
11886
12054
|
>
|
|
11887
12055
|
</co-filter-item>
|
|
11888
12056
|
|
|
@@ -11903,7 +12071,7 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11903
12071
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11904
12072
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11905
12073
|
[showLessLabel]="showLessLabel | localize"
|
|
11906
|
-
(collectionChange)="
|
|
12074
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForRange($event, 'tagRange')"
|
|
11907
12075
|
>
|
|
11908
12076
|
<co-input-text [(model)]="searchRequest.tagRange" [placeholder]="'TAGS' | localize"></co-input-text>
|
|
11909
12077
|
</co-filter-item>
|
|
@@ -11916,7 +12084,7 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11916
12084
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11917
12085
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11918
12086
|
[showLessLabel]="showLessLabel | localize"
|
|
11919
|
-
(collectionChange)="
|
|
12087
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForRange($event,'rangeOnHoldCodes')"
|
|
11920
12088
|
>
|
|
11921
12089
|
<co-input-text [(model)]="searchRequest.tagRange" [placeholder]="'TAGS' | localize"></co-input-text>
|
|
11922
12090
|
</co-filter-item>
|
|
@@ -11928,7 +12096,7 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11928
12096
|
[expanded]="true">
|
|
11929
12097
|
<co-input-checkbox
|
|
11930
12098
|
[model]="searchRequest.transactionDefinitive === 'J'"
|
|
11931
|
-
(modelChange)="
|
|
12099
|
+
(modelChange)="filterRequestService.handleCheckboxValueChangeForString($event, 'transactionDefinitive')"
|
|
11932
12100
|
[label]="'ORDER_DEFINITIVE' | localize"></co-input-checkbox>
|
|
11933
12101
|
</co-filter-item>
|
|
11934
12102
|
|
|
@@ -11940,7 +12108,7 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11940
12108
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11941
12109
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11942
12110
|
[showLessLabel]="showLessLabel | localize"
|
|
11943
|
-
(collectionChange)="
|
|
12111
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForArray($event, 'commissionCodes')"
|
|
11944
12112
|
>
|
|
11945
12113
|
</co-filter-item>
|
|
11946
12114
|
|
|
@@ -11956,13 +12124,15 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11956
12124
|
></co-input-checkbox>
|
|
11957
12125
|
</co-filter-item>
|
|
11958
12126
|
|
|
11959
|
-
<!--Klantnaam
|
|
12127
|
+
<!--Klantnaam-->
|
|
11960
12128
|
<co-filter-item
|
|
11961
12129
|
[placeholder]="'CUSTOMER_NAME' | localize"
|
|
11962
|
-
[
|
|
11963
|
-
[
|
|
11964
|
-
|
|
11965
|
-
|
|
12130
|
+
[expanded]="true"
|
|
12131
|
+
[singleSelect]="true"
|
|
12132
|
+
[minSearchCharsToLoadCollection]="3"
|
|
12133
|
+
[collectionLoadFn]="loadCustomers"
|
|
12134
|
+
(collectionChange)="handleCollectionChangeCustomerName($event)"
|
|
12135
|
+
>
|
|
11966
12136
|
</co-filter-item>
|
|
11967
12137
|
|
|
11968
12138
|
<!--Klantgroep-->
|
|
@@ -11973,7 +12143,7 @@ TransactionFilterContentOrderComponent.decorators = [
|
|
|
11973
12143
|
[searchPlaceholder]="searchPlaceholder | localize"
|
|
11974
12144
|
[showMoreLabel]="showMoreLabel | localize"
|
|
11975
12145
|
[showLessLabel]="showLessLabel | localize"
|
|
11976
|
-
(collectionChange)="
|
|
12146
|
+
(collectionChange)="filterRequestService.handleCollectionChangeForSingleValue($event, 'customerGroupId')">
|
|
11977
12147
|
</co-filter-item>
|
|
11978
12148
|
<div class="filter-button-container">
|
|
11979
12149
|
<co-button class="clickable" [label]="'Filter'" (click)="onFilterButtonClick()"></co-button>
|
|
@@ -12302,5 +12472,5 @@ TransactionLineGridModule.decorators = [
|
|
|
12302
12472
|
* Generated bundle index. Do not edit.
|
|
12303
12473
|
*/
|
|
12304
12474
|
|
|
12305
|
-
export { CheckoutComponent, CheckoutModule, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb,
|
|
12475
|
+
export { CheckoutComponent, CheckoutModule, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, RelationAddressSelectModule as ɵba, RelationAddressTileModule as ɵbb, TileModule as ɵbc, TileComponent as ɵbd, RelationAddressTileComponent as ɵbe, RelationAddressSelectComponent as ɵbf, BusinessObjectFactory as ɵbg, StepperModule as ɵbh, StepperComponent as ɵbi, StepperStepComponent as ɵbj, TransactionArticleTextModule as ɵbk, TransactionArticleTextComponent as ɵbl, TransactionArticleTextOverviewModule as ɵbm, TransactionArticleTextOverviewComponent as ɵbn, TransactionImageService as ɵbo, AvatarModule as ɵbp, AvatarComponent as ɵbq, SharedService as ɵbr, SharedConnectorService as ɵbs, DeliveryTypeTileModule as ɵbt, DeliveryTypeTileComponent as ɵbu, PaymentModule as ɵbv, PaymentTileModule as ɵbw, PaymentTileComponent as ɵbx, PaymentComponent as ɵby, PaymentService as ɵbz, OptionsService as ɵc, CheckoutOverviewRelationEditComponent as ɵca, CheckoutOverviewDeliveryEditComponent as ɵcb, CheckoutOverviewDeliveryAddressComponent as ɵcc, CheckOutRelationSuggestionsListComponent as ɵcd, CheckOutRelationSuggestionsListItemComponent as ɵce, CheckoutLoginComponent as ɵcf, TransactionHeaderModule$1 as ɵcg, TransactionHeaderBlockModule as ɵch, TransactionHeaderBlockComponent as ɵci, TransactionBaseComponent as ɵcj, TransactionHeaderPaymentModule as ɵck, TransactionHeaderPaymentComponent as ɵcl, TransactionHeaderComponent$1 as ɵcm, TransactionLinesGridModule as ɵcn, TransactionBaseGridModule as ɵco, TransactionLineSidePanelModule as ɵcp, TransactionLineSidePanelDefaultModule as ɵcq, TransactionLinePriceModule as ɵcr, TransactionLinePriceComponent as ɵcs, TransactionLineFieldsBaseComponent as ɵct, TransactionLinePriceListModule as ɵcu, TransactionLinePriceListComponent as ɵcv, TransactionLineVatModule as ɵcw, TransactionLineVatComponent as ɵcx, TransactionLineQuantityModule as ɵcy, TransactionLineQuantityComponent as ɵcz, DictionaryService as ɵd, TransactionLineLineDiscountModule as ɵda, TransactionLineLineDiscountComponent as ɵdb, TransactionLineDeliveryMethodModule as ɵdc, TransactionLineDeliveryMethodComponent as ɵdd, TransactionLineDeliveryDateModule as ɵde, TransactionLineDeliveryDateComponent as ɵdf, TransactionLineReferenceModule as ɵdg, TransactionLineReferenceComponent as ɵdh, TransactionLineCommissionCodeModule as ɵdi, TransactionLineCommissionCodeComponent as ɵdj, TransactionLineWarehouseModule as ɵdk, TransactionLineWarehouseComponent as ɵdl, TransactionLineDiscountAmountModule as ɵdm, TransactionLineDiscountAmountComponent as ɵdn, TransactionLineQuantumDiscountModule as ɵdo, TransactionLineQuantumDiscountComponent as ɵdp, TransactionLineSpecialDiscountModule as ɵdq, TransactionLineSpecialDiscountComponent as ɵdr, TransactionLineSidePanelDefaultComponent as ɵds, TransactionReceivingGoodsHistoryModule as ɵdt, TransactionHistoryGridModule as ɵdu, TransactionHistoryGridStatusModule as ɵdv, TransactionHistoryGridStatusComponent as ɵdw, TransactionHistoryGridComponent as ɵdx, TransactionReceivingGoodsHistoryComponent as ɵdy, TransactionReceivingGoodsDetailsModule as ɵdz, TransactionConnectorService as ɵe, TransactionReceivingGoodsDetailsComponent as ɵea, ArticleService as ɵeb, TransactionButtonBarModule as ɵec, TransactionButtonBarComponent as ɵed, TransactionMappingService as ɵee, TransactionButtonBarButtonComponent as ɵef, TransactionConfirmationHistoryModule as ɵeg, TransactionConfirmationHistoryComponent as ɵeh, TransactionLineSidePanelPurchaseModule as ɵei, TransactionLineSidePanelPurchaseComponent as ɵej, TransactionEventService as ɵek, TransactionLineSidePanelComponent as ɵel, TransactionBaseGridComponent as ɵem, TransactionGridBaseComponent as ɵen, TransactionLinesGridComponent as ɵeo, DiscountModule as ɵep, DiscountComponent as ɵeq, TransactionQuickAccessOverviewModule as ɵer, TransactionQuickAccessOverviewComponent as ɵes, TransactionOrderConfirmationGridModule as ɵet, TransactionOrderConfirmationGridComponent as ɵeu, TransactionReceivedGoodsGridModule as ɵev, TransactionReceivedGoodsGridComponent as ɵew, ViewModeButtonsModule as ɵex, ViewModeButtonsComponent as ɵey, TransactionGridModule as ɵez, CollectionCacheService as ɵf, TransactionGridComponent as ɵfa, TransactionSearchResultModule as ɵfb, TransactionTileModule as ɵfc, TransactionTileComponent as ɵfd, TransactionSearchGridModule as ɵfe, TransactionSearchGridComponent as ɵff, TransactionSearchResultComponent as ɵfg, TransactionSearchService as ɵfh, TransactionFilterModule as ɵfi, TransactionFilterCategoriesModule as ɵfj, TransactionFilterCategoriesComponent as ɵfk, TransactionFilterContentOrderModule as ɵfl, TransactionFilterContentOrderComponent as ɵfm, FilterRequestService as ɵfn, TransactionFilterContentLogisticsModule as ɵfo, TransactionFilterHistoricStateModule as ɵfp, TransactionFilterHistoricStateComponent as ɵfq, TransactionFilterContentLogisticsComponent as ɵfr, TransactionFilterContentArticleModule as ɵfs, TransactionFilterContentArticleComponent as ɵft, TransactionFilterComponent as ɵfu, ArticleConnectorService as ɵg, CoreModule as ɵh, ConfirmationDialogModule as ɵi, PipeModule as ɵj, AppendPipe as ɵk, DeliveryTimePipe as ɵl, DateDurationPipe as ɵm, LocalizePipe as ɵn, CoCurrencyPipe as ɵo, SafeStylePipe as ɵp, SafeHtmlPipe as ɵq, ConfirmationDialogComponent as ɵr, DialogBaseComponent as ɵs, ImageDisplayComponent as ɵt, IconComponent as ɵu, IconCacheService as ɵv, CustomerGroupsComponent as ɵw, StockStatusIndicatorComponent as ɵx, RelationAddressModule as ɵy, RelationAddressComponent as ɵz };
|
|
12306
12476
|
//# sourceMappingURL=colijnit-transaction.js.map
|