@colijnit/transaction 255.1.17 → 255.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 +89 -21
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-sales-quotation/transaction-quick-access-sales-quotation.component.js +5 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/enum/search-placeholder.enum.js +2 -1
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.js +20 -1
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +21 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-order/transaction-sales-quotation-filter-content-order.component.js +20 -1
- package/esm2015/lib/component/transaction-search/transaction-filter-content/service-order-filter-content/transaction-service-order-filter-content-order/transaction-service-order-filter-content-order.component.js +20 -1
- package/esm2015/lib/service/transaction-connector-adapter.service.js +13 -1
- package/esm2015/lib/service/transaction-connector.service.js +6 -1
- package/esm2015/lib/service/transaction.service.js +6 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +108 -6
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-search/transaction-filter-content/enum/search-placeholder.enum.d.ts +2 -1
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.d.ts +6 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.d.ts +6 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-order/transaction-sales-quotation-filter-content-order.component.d.ts +6 -0
- package/lib/component/transaction-search/transaction-filter-content/service-order-filter-content/transaction-service-order-filter-content-order/transaction-service-order-filter-content-order.component.d.ts +6 -0
- package/lib/service/transaction-connector-adapter.service.d.ts +1 -0
- package/lib/service/transaction-connector.service.d.ts +1 -0
- package/lib/service/transaction.service.d.ts +1 -0
- package/package.json +2 -2
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
function Version() {
|
|
34
34
|
this.name = "@colijnit/transaction";
|
|
35
35
|
this.description = "Colijn IT transaction package";
|
|
36
|
-
this.symVer = "255.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "255.1.18";
|
|
37
|
+
this.publishDate = "22-8-2024 17:36:35";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -7468,6 +7468,26 @@
|
|
|
7468
7468
|
});
|
|
7469
7469
|
});
|
|
7470
7470
|
};
|
|
7471
|
+
TransactionConnectorAdapterService.prototype.getAllProjectCodes = function () {
|
|
7472
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7473
|
+
var response;
|
|
7474
|
+
return __generator(this, function (_a) {
|
|
7475
|
+
switch (_a.label) {
|
|
7476
|
+
case 0: return [4 /*yield*/, this.connector.getAllProjectCodes()];
|
|
7477
|
+
case 1:
|
|
7478
|
+
response = _a.sent();
|
|
7479
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
7480
|
+
return [2 /*return*/, this._boFactory.makeBOArrayFromRawBackendDataArray(projectCode_bo.ProjectCode, response.resultObjects)];
|
|
7481
|
+
}
|
|
7482
|
+
else {
|
|
7483
|
+
this._handleExceptionFromResponse(response);
|
|
7484
|
+
return [2 /*return*/, []];
|
|
7485
|
+
}
|
|
7486
|
+
return [2 /*return*/];
|
|
7487
|
+
}
|
|
7488
|
+
});
|
|
7489
|
+
});
|
|
7490
|
+
};
|
|
7471
7491
|
TransactionConnectorAdapterService.prototype.getPaymentConditions = function (name) {
|
|
7472
7492
|
return __awaiter(this, void 0, void 0, function () {
|
|
7473
7493
|
var response;
|
|
@@ -10493,6 +10513,16 @@
|
|
|
10493
10513
|
});
|
|
10494
10514
|
});
|
|
10495
10515
|
};
|
|
10516
|
+
TransactionConnectorService.prototype.getAllProjectCodes = function () {
|
|
10517
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10518
|
+
return __generator(this, function (_a) {
|
|
10519
|
+
switch (_a.label) {
|
|
10520
|
+
case 0: return [4 /*yield*/, this._adapterService.getAllProjectCodes()];
|
|
10521
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
10522
|
+
}
|
|
10523
|
+
});
|
|
10524
|
+
});
|
|
10525
|
+
};
|
|
10496
10526
|
TransactionConnectorService.prototype.getPaymentConditions = function (name) {
|
|
10497
10527
|
return __awaiter(this, void 0, void 0, function () {
|
|
10498
10528
|
return __generator(this, function (_a) {
|
|
@@ -16827,6 +16857,16 @@
|
|
|
16827
16857
|
});
|
|
16828
16858
|
});
|
|
16829
16859
|
};
|
|
16860
|
+
TransactionService.prototype.getAllProjectCodes = function () {
|
|
16861
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
16862
|
+
return __generator(this, function (_a) {
|
|
16863
|
+
switch (_a.label) {
|
|
16864
|
+
case 0: return [4 /*yield*/, this.connector.getAllProjectCodes()];
|
|
16865
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
16866
|
+
}
|
|
16867
|
+
});
|
|
16868
|
+
});
|
|
16869
|
+
};
|
|
16830
16870
|
TransactionService.prototype.getPaymentConditions = function (name) {
|
|
16831
16871
|
return __awaiter(this, void 0, void 0, function () {
|
|
16832
16872
|
return __generator(this, function (_a) {
|
|
@@ -25852,20 +25892,15 @@
|
|
|
25852
25892
|
return __awaiter(this, void 0, void 0, function () {
|
|
25853
25893
|
var request;
|
|
25854
25894
|
return __generator(this, function (_b) {
|
|
25855
|
-
|
|
25856
|
-
|
|
25857
|
-
|
|
25858
|
-
|
|
25859
|
-
|
|
25860
|
-
|
|
25861
|
-
|
|
25862
|
-
|
|
25863
|
-
|
|
25864
|
-
case 1:
|
|
25865
|
-
_b.sent();
|
|
25866
|
-
this.creatingSalesOrder = false;
|
|
25867
|
-
return [2 /*return*/];
|
|
25868
|
-
}
|
|
25895
|
+
request = new copyTransactionRequest.CopyTransactionRequest();
|
|
25896
|
+
request.transId = this.transactionInfo.id;
|
|
25897
|
+
request.transactionDate = new Date();
|
|
25898
|
+
request.transactionRelationId = this.transactionInfo.relation.relationId;
|
|
25899
|
+
request.handledByRelationId = this.transactionInfo.handledBy;
|
|
25900
|
+
this.creatingSalesOrder = true;
|
|
25901
|
+
//const salesOrderCreated: boolean = await this.transactionCreationService.createSalesOrderThroughQuotation(request);
|
|
25902
|
+
this.creatingSalesOrder = false;
|
|
25903
|
+
return [2 /*return*/];
|
|
25869
25904
|
});
|
|
25870
25905
|
});
|
|
25871
25906
|
};
|
|
@@ -37481,7 +37516,7 @@
|
|
|
37481
37516
|
TransactionHeaderDepositAmountComponent.decorators = [
|
|
37482
37517
|
{ type: i0.Component, args: [{
|
|
37483
37518
|
selector: "co-transaction-header-deposit-amount",
|
|
37484
|
-
template: "\n <span *ngIf=\"!editMode || headerReadonly\" [textContent]=\"(transactionInfo.depositAmount | coCurrency) || '...'\" [tooltip]=\"tooltipMessage\"></span>\n <co-input-text #input *ngIf=\"editMode\"\n [type]=\"'number'\"\n [placeholder]=\"showLabel ? ('DOWNPAYMENT' | localize) : ''\"\n [showSaveCancel]=\"!headerReadonly\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly || headerReadonly\"\n [model]=\"transactionInfo.depositAmount\"\n (blur)=\"editMode = false\"\n ></co-input-text>\n ",
|
|
37519
|
+
template: "\n <span *ngIf=\"(!editMode || headerReadonly) && !defaultEditMode\" [textContent]=\"(transactionInfo.depositAmount | coCurrency) || '...'\" [tooltip]=\"tooltipMessage\"></span>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [type]=\"'number'\"\n [placeholder]=\"showLabel ? ('DOWNPAYMENT' | localize) : ''\"\n [showSaveCancel]=\"!headerReadonly\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly || headerReadonly\"\n [model]=\"transactionInfo.depositAmount\"\n (blur)=\"editMode = false\"\n ></co-input-text>\n ",
|
|
37485
37520
|
providers: [{
|
|
37486
37521
|
provide: corecomponents_v12.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
37487
37522
|
useExisting: i0.forwardRef(function () { return TransactionHeaderDepositAmountComponent; })
|
|
@@ -45159,6 +45194,7 @@
|
|
|
45159
45194
|
SearchPlaceholder["Tags"] = "SEARCH_TAGS";
|
|
45160
45195
|
SearchPlaceholder["TurnoverGroup"] = "SEARCH_TURNOVER_GROUP";
|
|
45161
45196
|
SearchPlaceholder["Warehouse"] = "SEARCH_WAREHOUSE";
|
|
45197
|
+
SearchPlaceholder["SearchProjectCode"] = "SEARCH_PROJECT_CODE";
|
|
45162
45198
|
})(SearchPlaceholder || (SearchPlaceholder = {}));
|
|
45163
45199
|
|
|
45164
45200
|
var TransactionFilterContentBaseComponent = /** @class */ (function () {
|
|
@@ -45495,6 +45531,7 @@
|
|
|
45495
45531
|
_this.orderDepositFullyPaidFields = { text: "description", value: "code" };
|
|
45496
45532
|
_this.commissionCodeFields = { text: "description", value: "code" };
|
|
45497
45533
|
_this.workflowStatusFields = { text: "name", value: "name" };
|
|
45534
|
+
_this.projectCodeFields = { text: "description", value: "id" };
|
|
45498
45535
|
return _this;
|
|
45499
45536
|
}
|
|
45500
45537
|
TransactionPurchaseOrderFilterContentOrderComponent.prototype.showClass = function () {
|
|
@@ -45511,6 +45548,7 @@
|
|
|
45511
45548
|
this._setOrderFullyPaid();
|
|
45512
45549
|
this._setOrderDepositFullyPaid();
|
|
45513
45550
|
this._setWorkFlowStatuses();
|
|
45551
|
+
this._setAllProjectCodes();
|
|
45514
45552
|
};
|
|
45515
45553
|
//Inkoper
|
|
45516
45554
|
TransactionPurchaseOrderFilterContentOrderComponent.prototype._setPurchasePersons = function () {
|
|
@@ -45579,12 +45617,18 @@
|
|
|
45579
45617
|
_this.workflowStatuses = new corecomponents_v12.FilterViewmodel(workflowStatuses, _this.workflowStatusFields).filterItems;
|
|
45580
45618
|
});
|
|
45581
45619
|
};
|
|
45620
|
+
TransactionPurchaseOrderFilterContentOrderComponent.prototype._setAllProjectCodes = function () {
|
|
45621
|
+
var _this = this;
|
|
45622
|
+
this.transactionService.getAllProjectCodes().then(function (projectCodes) {
|
|
45623
|
+
_this.projectCodes = new corecomponents_v12.FilterViewmodel(projectCodes, _this.projectCodeFields).filterItems;
|
|
45624
|
+
});
|
|
45625
|
+
};
|
|
45582
45626
|
return TransactionPurchaseOrderFilterContentOrderComponent;
|
|
45583
45627
|
}(TransactionFilterContentBaseComponent));
|
|
45584
45628
|
TransactionPurchaseOrderFilterContentOrderComponent.decorators = [
|
|
45585
45629
|
{ type: i0.Component, args: [{
|
|
45586
45630
|
selector: 'co-transaction-purchase-order-filter-content-order',
|
|
45587
|
-
template: "\n <div class=\"transaction-filter-content-order-wrapper transaction-filter-content-wrapper\">\n\n <!--Inkoopnummer-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PURCHASENUMBER'\"\n [(model)]=\"searchService.searchRequest.transNr\"\n [mode]=\"modes.TextField\">\n </co-transaction-filter-item>\n </div>\n\n <!--Orderdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DATE'\"\n [(model)]=\"searchService.searchRequest.rangeTransDate\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <!--Leverdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE'\"\n [(model)]=\"searchService.searchRequest.deliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'WORKFLOW_STATUS'\"\n [collection]=\"workflowStatuses\"\n [(model)]=\"searchService.searchRequest.rangeWorkflowStatusNames\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Filiaal-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BRANCH'\"\n [collection]=\"branches\"\n [(model)]=\"searchService.searchRequest.rangeBranchId\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Betaalconditie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PAYMENT_CONDITION'\"\n [collection]=\"paymentConditions\"\n [(model)]=\"searchService.searchRequest.rangePaymentCondition\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Inkoper-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PURCHASE_PERSON'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.PurchasePerson\"\n [collection]=\"purchasePersons\"\n [(model)]=\"searchService.searchRequest.rangeHandledBy\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Eigen referentie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'OWN_REFERENCE'\"\n [(model)]=\"searchService.searchRequest.ownReference\"\n [mode]=\"modes.TextField\">\n </co-transaction-filter-item>\n </div>\n\n <!--Tags-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TAGS'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.Tags\"\n [collection]=\"tags\"\n [(model)]=\"searchService.searchRequest.tagRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--On hold codes-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ON_HOLD'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.OnHold\"\n [collection]=\"onHoldCodes\"\n [(model)]=\"searchService.searchRequest.rangeOnHoldCodes\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Commissiecode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'COMMISSION_CODE'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.CommissionCode\"\n [collection]=\"commissionCodes\"\n [(model)]=\"searchService.searchRequest.commissionCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n </co-transaction-filter-item>\n </div>\n\n <!--Order definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEFINITIVE'\"\n [collection]=\"orderDefinite\"\n [(model)]=\"searchService.searchRequest.transactionDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_FULLY_PAID'\"\n [collection]=\"orderFullyPaid\"\n [(model)]=\"searchService.searchRequest.fullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order deposit fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEPOSIT_FULLY_PAID'\"\n [collection]=\"orderDepositFullyPaid\"\n [(model)]=\"searchService.searchRequest.depositFullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Inactieve transacties-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'INACTIVE_TRANSACTIONS'\"\n [(model)]=\"searchService.searchRequest.active\"\n [mode]=\"modes.Checkbox\">\n </co-transaction-filter-item>\n </div>\n\n <!--Inclusief retouren -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'INCLUDING_RETURNS'\"\n [(model)]=\"searchService.searchRequest.includingReturns\"\n [mode]=\"modes.CheckboxToBinary\">\n </co-transaction-filter-item>\n </div>\n </div>\n "
|
|
45631
|
+
template: "\n <div class=\"transaction-filter-content-order-wrapper transaction-filter-content-wrapper\">\n\n <!--Inkoopnummer-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PURCHASENUMBER'\"\n [(model)]=\"searchService.searchRequest.transNr\"\n [mode]=\"modes.TextField\">\n </co-transaction-filter-item>\n </div>\n\n <!--Orderdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DATE'\"\n [(model)]=\"searchService.searchRequest.rangeTransDate\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <!--Leverdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE'\"\n [(model)]=\"searchService.searchRequest.deliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'WORKFLOW_STATUS'\"\n [collection]=\"workflowStatuses\"\n [(model)]=\"searchService.searchRequest.rangeWorkflowStatusNames\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Filiaal-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BRANCH'\"\n [collection]=\"branches\"\n [(model)]=\"searchService.searchRequest.rangeBranchId\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Betaalconditie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PAYMENT_CONDITION'\"\n [collection]=\"paymentConditions\"\n [(model)]=\"searchService.searchRequest.rangePaymentCondition\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Inkoper-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PURCHASE_PERSON'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.PurchasePerson\"\n [collection]=\"purchasePersons\"\n [(model)]=\"searchService.searchRequest.rangeHandledBy\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Eigen referentie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'OWN_REFERENCE'\"\n [(model)]=\"searchService.searchRequest.ownReference\"\n [mode]=\"modes.TextField\">\n </co-transaction-filter-item>\n </div>\n\n <!--Project Code-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PROJECT_CODE'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.SearchProjectCode\"\n [(model)]=\"searchService.searchRequest.projectCode\"\n [mode]=\"modes.SingleSelectList\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collection]=\"projectCodes\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Tags-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TAGS'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.Tags\"\n [collection]=\"tags\"\n [(model)]=\"searchService.searchRequest.tagRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--On hold codes-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ON_HOLD'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.OnHold\"\n [collection]=\"onHoldCodes\"\n [(model)]=\"searchService.searchRequest.rangeOnHoldCodes\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Commissiecode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'COMMISSION_CODE'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.CommissionCode\"\n [collection]=\"commissionCodes\"\n [(model)]=\"searchService.searchRequest.commissionCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n </co-transaction-filter-item>\n </div>\n\n <!--Order definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEFINITIVE'\"\n [collection]=\"orderDefinite\"\n [(model)]=\"searchService.searchRequest.transactionDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_FULLY_PAID'\"\n [collection]=\"orderFullyPaid\"\n [(model)]=\"searchService.searchRequest.fullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order deposit fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEPOSIT_FULLY_PAID'\"\n [collection]=\"orderDepositFullyPaid\"\n [(model)]=\"searchService.searchRequest.depositFullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Inactieve transacties-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'INACTIVE_TRANSACTIONS'\"\n [(model)]=\"searchService.searchRequest.active\"\n [mode]=\"modes.Checkbox\">\n </co-transaction-filter-item>\n </div>\n\n <!--Inclusief retouren -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'INCLUDING_RETURNS'\"\n [(model)]=\"searchService.searchRequest.includingReturns\"\n [mode]=\"modes.CheckboxToBinary\">\n </co-transaction-filter-item>\n </div>\n </div>\n "
|
|
45588
45632
|
},] }
|
|
45589
45633
|
];
|
|
45590
45634
|
TransactionPurchaseOrderFilterContentOrderComponent.propDecorators = {
|
|
@@ -45877,6 +45921,7 @@
|
|
|
45877
45921
|
_this.orderDepositFullyPaidFields = { text: "description", value: "code" };
|
|
45878
45922
|
_this.orderActiveFields = { text: "description", value: "code" };
|
|
45879
45923
|
_this.customerGroupFields = { text: "naam", value: "groepsnummer" };
|
|
45924
|
+
_this.projectCodeFields = { text: "description", value: "id" };
|
|
45880
45925
|
_this.workflowStatusFields = { text: "name", value: "name" };
|
|
45881
45926
|
_this.loadCustomers = function (nameFilter) { return __awaiter(_this, void 0, void 0, function () {
|
|
45882
45927
|
var request;
|
|
@@ -45909,6 +45954,7 @@
|
|
|
45909
45954
|
this._setOrderActive();
|
|
45910
45955
|
this._setCustomerGroups();
|
|
45911
45956
|
this._setWorkFlowStatuses();
|
|
45957
|
+
this._setAllProjectCodes();
|
|
45912
45958
|
};
|
|
45913
45959
|
//Verkoper
|
|
45914
45960
|
TransactionSalesOrderFilterContentOrderComponent.prototype._setSalesPersons = function () {
|
|
@@ -45990,12 +46036,18 @@
|
|
|
45990
46036
|
_this.workflowStatuses = new corecomponents_v12.FilterViewmodel(workflowStatuses, _this.workflowStatusFields).filterItems;
|
|
45991
46037
|
});
|
|
45992
46038
|
};
|
|
46039
|
+
TransactionSalesOrderFilterContentOrderComponent.prototype._setAllProjectCodes = function () {
|
|
46040
|
+
var _this = this;
|
|
46041
|
+
this.transactionService.getAllProjectCodes().then(function (projectCodes) {
|
|
46042
|
+
_this.projectCodes = new corecomponents_v12.FilterViewmodel(projectCodes, _this.projectCodeFields).filterItems;
|
|
46043
|
+
});
|
|
46044
|
+
};
|
|
45993
46045
|
return TransactionSalesOrderFilterContentOrderComponent;
|
|
45994
46046
|
}(TransactionFilterContentBaseComponent));
|
|
45995
46047
|
TransactionSalesOrderFilterContentOrderComponent.decorators = [
|
|
45996
46048
|
{ type: i0.Component, args: [{
|
|
45997
46049
|
selector: 'co-transaction-sales-order-filter-content-order',
|
|
45998
|
-
template: "\n <div class=\"transaction-filter-content-order-wrapper transaction-filter-content-wrapper\">\n\n <!--Orderdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DATE'\"\n [(model)]=\"searchService.searchRequest.rangeTransDate\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE'\"\n [(model)]=\"searchService.searchRequest.deliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'WORKFLOW_STATUS'\"\n [collection]=\"workflowStatuses\"\n [(model)]=\"searchService.searchRequest.rangeWorkflowStatusNames\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BRANCH'\"\n [collection]=\"branches\"\n [(model)]=\"searchService.searchRequest.rangeBranchId\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Betaalconditie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PAYMENT_CONDITION'\"\n [collection]=\"paymentConditions\"\n [(model)]=\"searchService.searchRequest.rangePaymentCondition\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Verkoper-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'HANDLED_BY'\"\n [collection]=\"salesPersons\"\n [(model)]=\"searchService.searchRequest.rangeHandledBy\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Eigen referentie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'OWN_REFERENCE'\"\n [(model)]=\"searchService.searchRequest.ownReference\"\n [mode]=\"modes.TextField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Tags-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TAGS'\"\n [collection]=\"tags\"\n [(model)]=\"searchService.searchRequest.tagRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--On hold codes-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ON_HOLD'\"\n [collection]=\"onHoldCodes\"\n [(model)]=\"searchService.searchRequest.rangeOnHoldCodes\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Order definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEFINITIVE'\"\n [collection]=\"orderDefinite\"\n [(model)]=\"searchService.searchRequest.transactionDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_FULLY_PAID'\"\n [collection]=\"orderFullyPaid\"\n [(model)]=\"searchService.searchRequest.fullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n\n <!--Order deposit fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEPOSIT_FULLY_PAID'\"\n [collection]=\"orderDepositFullyPaid\"\n [(model)]=\"searchService.searchRequest.depositFullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Commissiecode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'COMMISSION_CODE'\"\n [collection]=\"commissionCodes\"\n [(model)]=\"searchService.searchRequest.commissionCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n >\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ACTIVE'\"\n [collection]=\"orderActive\"\n [(model)]=\"searchService.searchRequest.active\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantnaam-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_NAME'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.CustomerName\"\n [mode]=\"modes.SingleSelectList\"\n [(model)]=\"searchService.searchRequest.relationName\"\n [minSearchCharsToLoadCollection]=\"3\"\n [
|
|
46050
|
+
template: "\n <div class=\"transaction-filter-content-order-wrapper transaction-filter-content-wrapper\">\n\n <!--Orderdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DATE'\"\n [(model)]=\"searchService.searchRequest.rangeTransDate\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE'\"\n [(model)]=\"searchService.searchRequest.deliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'WORKFLOW_STATUS'\"\n [collection]=\"workflowStatuses\"\n [(model)]=\"searchService.searchRequest.rangeWorkflowStatusNames\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BRANCH'\"\n [collection]=\"branches\"\n [(model)]=\"searchService.searchRequest.rangeBranchId\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Betaalconditie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PAYMENT_CONDITION'\"\n [collection]=\"paymentConditions\"\n [(model)]=\"searchService.searchRequest.rangePaymentCondition\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Verkoper-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'HANDLED_BY'\"\n [collection]=\"salesPersons\"\n [(model)]=\"searchService.searchRequest.rangeHandledBy\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Eigen referentie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'OWN_REFERENCE'\"\n [(model)]=\"searchService.searchRequest.ownReference\"\n [mode]=\"modes.TextField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Project Code-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PROJECT_CODE'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.SearchProjectCode\"\n [(model)]=\"searchService.searchRequest.projectCode\"\n [mode]=\"modes.SingleSelectList\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collection]=\"projectCodes\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Tags-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TAGS'\"\n [collection]=\"tags\"\n [(model)]=\"searchService.searchRequest.tagRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--On hold codes-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ON_HOLD'\"\n [collection]=\"onHoldCodes\"\n [(model)]=\"searchService.searchRequest.rangeOnHoldCodes\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Order definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEFINITIVE'\"\n [collection]=\"orderDefinite\"\n [(model)]=\"searchService.searchRequest.transactionDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_FULLY_PAID'\"\n [collection]=\"orderFullyPaid\"\n [(model)]=\"searchService.searchRequest.fullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n\n <!--Order deposit fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEPOSIT_FULLY_PAID'\"\n [collection]=\"orderDepositFullyPaid\"\n [(model)]=\"searchService.searchRequest.depositFullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Commissiecode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'COMMISSION_CODE'\"\n [collection]=\"commissionCodes\"\n [(model)]=\"searchService.searchRequest.commissionCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n >\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ACTIVE'\"\n [collection]=\"orderActive\"\n [(model)]=\"searchService.searchRequest.active\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantnaam-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_NAME'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.CustomerName\"\n [mode]=\"modes.SingleSelectList\"\n [(model)]=\"searchService.searchRequest.relationName\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collection]=\"customerGroups\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantgroep-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_GROUP'\"\n [(model)]=\"searchService.searchRequest.customerGroupId\"\n [mode]=\"modes.Filterlist\"\n [collection]=\"customerGroups\">\n </co-transaction-filter-item>\n </div>\n </div>\n "
|
|
45999
46051
|
},] }
|
|
46000
46052
|
];
|
|
46001
46053
|
TransactionSalesOrderFilterContentOrderComponent.propDecorators = {
|
|
@@ -46760,6 +46812,7 @@
|
|
|
46760
46812
|
_this.isQuotationProcessedToSalesOrderFields = { text: "description", value: "code" };
|
|
46761
46813
|
_this.customerGroupFields = { text: "naam", value: "groepsnummer" };
|
|
46762
46814
|
_this.retailStadiumFields = { text: "retailStadium", value: "retailStadium" };
|
|
46815
|
+
_this.projectCodeFields = { text: "description", value: "id" };
|
|
46763
46816
|
_this.loadCustomers = function (nameFilter) { return __awaiter(_this, void 0, void 0, function () {
|
|
46764
46817
|
var request;
|
|
46765
46818
|
return __generator(this, function (_a) {
|
|
@@ -46787,6 +46840,7 @@
|
|
|
46787
46840
|
this._setCustomerGroups();
|
|
46788
46841
|
this._setRetailStadiums();
|
|
46789
46842
|
this._setIsQuotationProcessedToSales();
|
|
46843
|
+
this._setAllProjectCodes();
|
|
46790
46844
|
};
|
|
46791
46845
|
//Verkoper
|
|
46792
46846
|
TransactionSalesQuotationFilterContentOrderComponent.prototype._setSalesPersons = function () {
|
|
@@ -46861,12 +46915,18 @@
|
|
|
46861
46915
|
_this.isQuotationProcessedToSalesOrder = new corecomponents_v12.FilterViewmodel(isQuotationProcessedToSalesOrder, _this.isQuotationProcessedToSalesOrderFields).filterItems;
|
|
46862
46916
|
});
|
|
46863
46917
|
};
|
|
46918
|
+
TransactionSalesQuotationFilterContentOrderComponent.prototype._setAllProjectCodes = function () {
|
|
46919
|
+
var _this = this;
|
|
46920
|
+
this.transactionService.getAllProjectCodes().then(function (projectCodes) {
|
|
46921
|
+
_this.projectCodes = new corecomponents_v12.FilterViewmodel(projectCodes, _this.projectCodeFields).filterItems;
|
|
46922
|
+
});
|
|
46923
|
+
};
|
|
46864
46924
|
return TransactionSalesQuotationFilterContentOrderComponent;
|
|
46865
46925
|
}(TransactionFilterContentBaseComponent));
|
|
46866
46926
|
TransactionSalesQuotationFilterContentOrderComponent.decorators = [
|
|
46867
46927
|
{ type: i0.Component, args: [{
|
|
46868
46928
|
selector: "co-transaction-sales-quotation-filter-content-order",
|
|
46869
|
-
template: "\n <div class=\"transaction-filter-content-order-wrapper transaction-filter-content-wrapper\">\n\n <!--Orderdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DATE'\"\n [(model)]=\"searchRequest.rangeTransDate\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE'\"\n [(model)]=\"searchRequest.deliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BRANCH'\"\n [collection]=\"branches\"\n [(model)]=\"searchRequest.rangeBranchId\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Betaalconditie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PAYMENT_CONDITION'\"\n [collection]=\"paymentConditions\"\n [(model)]=\"searchService.searchRequest.rangePaymentCondition\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Verkoper-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'HANDLED_BY'\"\n [collection]=\"salesPersons\"\n [(model)]=\"searchRequest.rangeHandledBy\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Scoringskans-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'SCORING_CHANCE'\"\n [(model)]=\"searchRequest.rangeScoringChance\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=100\n [mode]=\"modes.NullableSlider\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Scoringsdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'SCORING_DATE'\"\n [(model)]=\"searchRequest.rangeExpectedScoringDate\"\n [mode]=\"modes.DateRangeField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Verkoopstadium-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'RETAIL_STADIUM'\"\n [collection]=\"retailStadiums\"\n [(model)]=\"searchRequest.rangeRetailStadium\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Eigen referentie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'OWN_REFERENCE'\"\n [(model)]=\"searchRequest.ownReference\"\n [mode]=\"modes.TextField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Tags-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TAGS'\"\n [collection]=\"tags\"\n [(model)]=\"searchRequest.tagRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Order definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEFINITIVE'\"\n [collection]=\"orderDefinite\"\n [(model)]=\"searchService.searchRequest.transactionDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_FULLY_PAID'\"\n [collection]=\"orderFullyPaid\"\n [(model)]=\"searchService.searchRequest.fullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n\n <!--Order deposit fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEPOSIT_FULLY_PAID'\"\n [collection]=\"orderDepositFullyPaid\"\n [(model)]=\"searchService.searchRequest.depositFullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Commissiecode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'COMMISSION_CODE'\"\n [collection]=\"commissionCodes\"\n [(model)]=\"searchRequest.commissionCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n >\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'INACTIVE_TRANSACTIONS'\"\n [(model)]=\"searchRequest.active\"\n [mode]=\"modes.Checkbox\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantnaam-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_NAME'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.CustomerName\"\n [mode]=\"modes.SingleSelectList\"\n [(model)]=\"searchRequest.relationName\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collectionLoadFn]=\"loadCustomers\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantgroep-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_GROUP'\"\n [(model)]=\"searchRequest.customerGroupId\"\n [mode]=\"modes.Filterlist\"\n [collection]=\"customerGroups\">\n </co-transaction-filter-item>\n </div>\n\n <!-- Is quotation processed to saled order -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'IS_QUOTATION_PROCESSED_TO_SALESORDER'\"\n [collection]=\"isQuotationProcessedToSalesOrder\"\n [(model)]=\"searchRequest.isQuotationProcessedToSales\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n </div>\n ",
|
|
46929
|
+
template: "\n <div class=\"transaction-filter-content-order-wrapper transaction-filter-content-wrapper\">\n\n <!--Orderdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DATE'\"\n [(model)]=\"searchRequest.rangeTransDate\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE'\"\n [(model)]=\"searchRequest.deliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BRANCH'\"\n [collection]=\"branches\"\n [(model)]=\"searchRequest.rangeBranchId\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Betaalconditie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PAYMENT_CONDITION'\"\n [collection]=\"paymentConditions\"\n [(model)]=\"searchService.searchRequest.rangePaymentCondition\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Verkoper-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'HANDLED_BY'\"\n [collection]=\"salesPersons\"\n [(model)]=\"searchRequest.rangeHandledBy\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Scoringskans-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'SCORING_CHANCE'\"\n [(model)]=\"searchRequest.rangeScoringChance\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=100\n [mode]=\"modes.NullableSlider\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Scoringsdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'SCORING_DATE'\"\n [(model)]=\"searchRequest.rangeExpectedScoringDate\"\n [mode]=\"modes.DateRangeField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Verkoopstadium-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'RETAIL_STADIUM'\"\n [collection]=\"retailStadiums\"\n [(model)]=\"searchRequest.rangeRetailStadium\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Eigen referentie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'OWN_REFERENCE'\"\n [(model)]=\"searchRequest.ownReference\"\n [mode]=\"modes.TextField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Project Code-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PROJECT_CODE'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.SearchProjectCode\"\n [(model)]=\"searchService.searchRequest.projectCode\"\n [mode]=\"modes.SingleSelectList\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collection]=\"projectCodes\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Tags-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TAGS'\"\n [collection]=\"tags\"\n [(model)]=\"searchRequest.tagRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Order definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEFINITIVE'\"\n [collection]=\"orderDefinite\"\n [(model)]=\"searchService.searchRequest.transactionDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_FULLY_PAID'\"\n [collection]=\"orderFullyPaid\"\n [(model)]=\"searchService.searchRequest.fullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n\n <!--Order deposit fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEPOSIT_FULLY_PAID'\"\n [collection]=\"orderDepositFullyPaid\"\n [(model)]=\"searchService.searchRequest.depositFullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Commissiecode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'COMMISSION_CODE'\"\n [collection]=\"commissionCodes\"\n [(model)]=\"searchRequest.commissionCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n >\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'INACTIVE_TRANSACTIONS'\"\n [(model)]=\"searchRequest.active\"\n [mode]=\"modes.Checkbox\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantnaam-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_NAME'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.CustomerName\"\n [mode]=\"modes.SingleSelectList\"\n [(model)]=\"searchRequest.relationName\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collectionLoadFn]=\"loadCustomers\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantgroep-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_GROUP'\"\n [(model)]=\"searchRequest.customerGroupId\"\n [mode]=\"modes.Filterlist\"\n [collection]=\"customerGroups\">\n </co-transaction-filter-item>\n </div>\n\n <!-- Is quotation processed to saled order -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'IS_QUOTATION_PROCESSED_TO_SALESORDER'\"\n [collection]=\"isQuotationProcessedToSalesOrder\"\n [(model)]=\"searchRequest.isQuotationProcessedToSales\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n </div>\n ",
|
|
46870
46930
|
encapsulation: i0.ViewEncapsulation.None
|
|
46871
46931
|
},] }
|
|
46872
46932
|
];
|
|
@@ -47499,6 +47559,7 @@
|
|
|
47499
47559
|
_this.orderActiveFields = { text: "description", value: "code" };
|
|
47500
47560
|
_this.customerGroupFields = { text: "naam", value: "groepsnummer" };
|
|
47501
47561
|
_this.workflowStatusFields = { text: "name", value: "name" };
|
|
47562
|
+
_this.projectCodeFields = { text: "description", value: "id" };
|
|
47502
47563
|
_this.loadCustomers = function (nameFilter) { return __awaiter(_this, void 0, void 0, function () {
|
|
47503
47564
|
var request;
|
|
47504
47565
|
return __generator(this, function (_a) {
|
|
@@ -47530,6 +47591,7 @@
|
|
|
47530
47591
|
this._setOrderActive();
|
|
47531
47592
|
this._setCustomerGroups();
|
|
47532
47593
|
this._setWorkFlowStatuses();
|
|
47594
|
+
this._setAllProjectCodes();
|
|
47533
47595
|
};
|
|
47534
47596
|
//Verkoper
|
|
47535
47597
|
TransactionServiceOrderFilterContentOrderComponent.prototype._setSalesPersons = function () {
|
|
@@ -47611,12 +47673,18 @@
|
|
|
47611
47673
|
_this.workflowStatuses = new corecomponents_v12.FilterViewmodel(workflowStatuses, _this.workflowStatusFields).filterItems;
|
|
47612
47674
|
});
|
|
47613
47675
|
};
|
|
47676
|
+
TransactionServiceOrderFilterContentOrderComponent.prototype._setAllProjectCodes = function () {
|
|
47677
|
+
var _this = this;
|
|
47678
|
+
this.transactionService.getAllProjectCodes().then(function (projectCodes) {
|
|
47679
|
+
_this.projectCodes = new corecomponents_v12.FilterViewmodel(projectCodes, _this.projectCodeFields).filterItems;
|
|
47680
|
+
});
|
|
47681
|
+
};
|
|
47614
47682
|
return TransactionServiceOrderFilterContentOrderComponent;
|
|
47615
47683
|
}(TransactionFilterContentBaseComponent));
|
|
47616
47684
|
TransactionServiceOrderFilterContentOrderComponent.decorators = [
|
|
47617
47685
|
{ type: i0.Component, args: [{
|
|
47618
47686
|
selector: 'co-transaction-service-order-filter-content-order',
|
|
47619
|
-
template: "\n <div class=\"transaction-filter-content-order-wrapper transaction-filter-content-wrapper\">\n\n <!--Orderdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DATE'\"\n [(model)]=\"searchService.searchRequest.rangeTransDate\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE'\"\n [(model)]=\"searchService.searchRequest.deliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'WORKFLOW_STATUS'\"\n [collection]=\"workflowStatuses\"\n [(model)]=\"searchService.searchRequest.rangeWorkflowStatusNames\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BRANCH'\"\n [collection]=\"branches\"\n [(model)]=\"searchService.searchRequest.rangeBranchId\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Betaalconditie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PAYMENT_CONDITION'\"\n [collection]=\"paymentConditions\"\n [(model)]=\"searchService.searchRequest.rangePaymentCondition\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Verkoper-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'HANDLED_BY'\"\n [collection]=\"salesPersons\"\n [(model)]=\"searchService.searchRequest.rangeHandledBy\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Eigen referentie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'OWN_REFERENCE'\"\n [(model)]=\"searchService.searchRequest.ownReference\"\n [mode]=\"modes.TextField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Tags-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TAGS'\"\n [collection]=\"tags\"\n [(model)]=\"searchService.searchRequest.tagRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--On hold codes-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ON_HOLD'\"\n [collection]=\"onHoldCodes\"\n [(model)]=\"searchService.searchRequest.rangeOnHoldCodes\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Order definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEFINITIVE'\"\n [collection]=\"orderDefinite\"\n [(model)]=\"searchService.searchRequest.transactionDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_FULLY_PAID'\"\n [collection]=\"orderFullyPaid\"\n [(model)]=\"searchService.searchRequest.fullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n\n <!--Order deposit fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEPOSIT_FULLY_PAID'\"\n [collection]=\"orderDepositFullyPaid\"\n [(model)]=\"searchService.searchRequest.depositFullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Commissiecode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'COMMISSION_CODE'\"\n [collection]=\"commissionCodes\"\n [(model)]=\"searchService.searchRequest.commissionCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n >\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ACTIVE'\"\n [collection]=\"orderActive\"\n [(model)]=\"searchService.searchRequest.active\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantnaam-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_NAME'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.CustomerName\"\n [mode]=\"modes.SingleSelectList\"\n [(model)]=\"searchService.searchRequest.relationName\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collectionLoadFn]=\"loadCustomers\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantgroep-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_GROUP'\"\n [(model)]=\"searchService.searchRequest.customerGroupId\"\n [mode]=\"modes.Filterlist\"\n [collection]=\"customerGroups\">\n </co-transaction-filter-item>\n </div>\n </div>\n "
|
|
47687
|
+
template: "\n <div class=\"transaction-filter-content-order-wrapper transaction-filter-content-wrapper\">\n\n <!--Orderdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DATE'\"\n [(model)]=\"searchService.searchRequest.rangeTransDate\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE'\"\n [(model)]=\"searchService.searchRequest.deliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'WORKFLOW_STATUS'\"\n [collection]=\"workflowStatuses\"\n [(model)]=\"searchService.searchRequest.rangeWorkflowStatusNames\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BRANCH'\"\n [collection]=\"branches\"\n [(model)]=\"searchService.searchRequest.rangeBranchId\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Betaalconditie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PAYMENT_CONDITION'\"\n [collection]=\"paymentConditions\"\n [(model)]=\"searchService.searchRequest.rangePaymentCondition\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Verkoper-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'HANDLED_BY'\"\n [collection]=\"salesPersons\"\n [(model)]=\"searchService.searchRequest.rangeHandledBy\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Eigen referentie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'OWN_REFERENCE'\"\n [(model)]=\"searchService.searchRequest.ownReference\"\n [mode]=\"modes.TextField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Project Code-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PROJECT_CODE'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.SearchProjectCode\"\n [(model)]=\"searchService.searchRequest.projectCode\"\n [mode]=\"modes.SingleSelectList\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collection]=\"projectCodes\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Tags-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TAGS'\"\n [collection]=\"tags\"\n [(model)]=\"searchService.searchRequest.tagRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--On hold codes-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ON_HOLD'\"\n [collection]=\"onHoldCodes\"\n [(model)]=\"searchService.searchRequest.rangeOnHoldCodes\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Order definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEFINITIVE'\"\n [collection]=\"orderDefinite\"\n [(model)]=\"searchService.searchRequest.transactionDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_FULLY_PAID'\"\n [collection]=\"orderFullyPaid\"\n [(model)]=\"searchService.searchRequest.fullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n\n <!--Order deposit fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEPOSIT_FULLY_PAID'\"\n [collection]=\"orderDepositFullyPaid\"\n [(model)]=\"searchService.searchRequest.depositFullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Commissiecode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'COMMISSION_CODE'\"\n [collection]=\"commissionCodes\"\n [(model)]=\"searchService.searchRequest.commissionCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n >\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ACTIVE'\"\n [collection]=\"orderActive\"\n [(model)]=\"searchService.searchRequest.active\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantnaam-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_NAME'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.CustomerName\"\n [mode]=\"modes.SingleSelectList\"\n [(model)]=\"searchService.searchRequest.relationName\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collectionLoadFn]=\"loadCustomers\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantgroep-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_GROUP'\"\n [(model)]=\"searchService.searchRequest.customerGroupId\"\n [mode]=\"modes.Filterlist\"\n [collection]=\"customerGroups\">\n </co-transaction-filter-item>\n </div>\n </div>\n "
|
|
47620
47688
|
},] }
|
|
47621
47689
|
];
|
|
47622
47690
|
TransactionServiceOrderFilterContentOrderComponent.propDecorators = {
|