@colijnit/transaction 12.1.24 → 12.1.26
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 +736 -189
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +144 -138
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +145 -139
- package/esm2015/lib/component/checkout/checkout.component.js +7 -9
- package/esm2015/lib/component/checkout/checkout.module.js +2 -2
- package/esm2015/lib/component/transaction/transaction.component.js +6 -6
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +6 -2
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +7 -4
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-date.component.js +80 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-fields-base.component.js +27 -0
- package/esm2015/lib/component/transaction-line/transaction-line.component.js +6 -2
- package/esm2015/lib/component/transaction-line/transaction-line.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +4 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +4 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +81 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-fields-base.component.js +17 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.component.js +57 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.module.js +23 -0
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +9 -8
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +8 -3
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.module.js +6 -2
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +16 -16
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +20 -9
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.component.js +59 -53
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.module.js +4 -3
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.component.js +58 -52
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.module.js +4 -3
- package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +25 -9
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +4 -3
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +73 -11
- package/esm2015/lib/component/transaction-search/transaction-search.module.js +4 -3
- package/esm2015/lib/service/pending-reason.service.js +44 -1
- package/esm2015/lib/service/transaction-connector.service.js +30 -1
- package/esm2015/lib/service/transaction.service.js +16 -1
- package/fesm2015/colijnit-transaction.js +671 -181
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/payment-qr-code/style/_layout.scss +2 -3
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +6 -0
- package/lib/component/transaction-header-fields/transaction-header-delivery-date.component.d.ts +17 -0
- package/lib/component/transaction-header-fields/transaction-header-fields-base.component.d.ts +8 -0
- package/lib/component/transaction-line/style/_layout.scss +6 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-line-delivery-date.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-line-description.component.d.ts +17 -0
- package/lib/component/transaction-line-fields/transaction-line-description.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-fields-base.component.d.ts +5 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier.component.d.ts +14 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier.module.d.ts +2 -0
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +2 -3
- package/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.d.ts +2 -0
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +4 -4
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +6 -3
- package/lib/component/transaction-search/style/_layout.scss +57 -11
- package/lib/component/transaction-search/style/_material-definition.scss +4 -3
- package/lib/component/transaction-search/style/_theme.scss +4 -1
- package/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-search-result/style/_layout.scss +4 -0
- package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +3 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_layout.scss +5 -7
- package/lib/component/transaction-search/transaction-search.component.d.ts +18 -4
- package/lib/service/pending-reason.service.d.ts +5 -0
- package/lib/service/transaction-connector.service.d.ts +3 -0
- package/lib/service/transaction.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -56,7 +56,8 @@ import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.b
|
|
|
56
56
|
import { ArticleLight } from '@colijnit/articleapi/build/model/article-light.bo';
|
|
57
57
|
import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
|
|
58
58
|
import { MainArticle } from '@colijnit/articleapi/build/model/main-article.bo';
|
|
59
|
-
import {
|
|
59
|
+
import { ResolveHeaderPendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo';
|
|
60
|
+
import { FormMasterService, FormComponent, CoDialogModule, ButtonModule, InputComboBoxModule, InputTextModule, FormModule, InputRadioButtonModule, IconModule, InputCheckboxModule, InputListboxModule, DropDownModule, ClickoutsideModule, InputTextComponent, InputNumberPickerModule, PriceDisplayPipeModule, InputDatePickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, Carousel3dModule, InputTextareaModule, CollapsibleModule, InputDatePickerComponent, ColumnAlign, SimpleGridColumnDirective, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, InputSearchModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
60
61
|
import { FlexModule } from '@angular/flex-layout';
|
|
61
62
|
import { CommunicationType } from '@colijnit/transactionapi/build/enum/communication-type.enum';
|
|
62
63
|
import { ContactOption } from '@colijnit/transactionapi/build/model/contact-option.bo';
|
|
@@ -73,11 +74,13 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
|
73
74
|
import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
74
75
|
import { TransactionAddTextLineRequest } from '@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo';
|
|
75
76
|
import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-status.enum';
|
|
77
|
+
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
|
|
76
78
|
import { RelationRequest } from '@colijnit/transactionapi/build/model/relation-request';
|
|
77
79
|
import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
|
|
78
80
|
import { CoDocument } from '@colijnit/sharedapi/build/model/co-document.bo';
|
|
79
81
|
import { KeyPadModule } from '@colijnit/sharedcomponents';
|
|
80
82
|
import { DiscountType } from '@colijnit/transactionapi/build/enum/discount-type.enum';
|
|
83
|
+
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
81
84
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo';
|
|
82
85
|
import { PurchaseOrderLineReceiptCorrectionDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo';
|
|
83
86
|
import { PurchaseOrderLineReceiptDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo';
|
|
@@ -89,7 +92,6 @@ import { GetPurchasePortalLine } from '@colijnit/transactionapi/build/model/get-
|
|
|
89
92
|
import { PurchasePortalFilters } from '@colijnit/transactionapi/build/model/purchase-portal-filters.bo';
|
|
90
93
|
import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
|
|
91
94
|
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
92
|
-
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
93
95
|
import { QuantityInHistoricState } from '@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum';
|
|
94
96
|
|
|
95
97
|
var LanguageCode;
|
|
@@ -2188,6 +2190,20 @@ class TransactionConnectorService {
|
|
|
2188
2190
|
});
|
|
2189
2191
|
});
|
|
2190
2192
|
}
|
|
2193
|
+
resolvePendingHeaderReason(pendingHeaderValues) {
|
|
2194
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2195
|
+
return new Promise((resolve, reject) => {
|
|
2196
|
+
return this.connector.resolvePendingHeaderReason(pendingHeaderValues).then((result) => {
|
|
2197
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2198
|
+
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
2199
|
+
}
|
|
2200
|
+
else {
|
|
2201
|
+
reject(result.validationMessagesAsString);
|
|
2202
|
+
}
|
|
2203
|
+
});
|
|
2204
|
+
});
|
|
2205
|
+
});
|
|
2206
|
+
}
|
|
2191
2207
|
getCommissionCodes(languageCode) {
|
|
2192
2208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2193
2209
|
return new Promise((resolve, reject) => {
|
|
@@ -2604,6 +2620,21 @@ class TransactionConnectorService {
|
|
|
2604
2620
|
}
|
|
2605
2621
|
});
|
|
2606
2622
|
}
|
|
2623
|
+
changeHeaderTransactionDeliveryDate(uuid, date) {
|
|
2624
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2625
|
+
const request = {
|
|
2626
|
+
transactionUuid: uuid,
|
|
2627
|
+
newDeliveryDate: date
|
|
2628
|
+
};
|
|
2629
|
+
const response = yield this.connector.changeHeaderTransactionDeliveryDate(request);
|
|
2630
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
2631
|
+
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
2632
|
+
}
|
|
2633
|
+
else {
|
|
2634
|
+
return Promise.reject(response.validationMessagesAsString);
|
|
2635
|
+
}
|
|
2636
|
+
});
|
|
2637
|
+
}
|
|
2607
2638
|
changeTransactionLineCollectionCode(uuid, lineUuid, code) {
|
|
2608
2639
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2609
2640
|
const request = {
|
|
@@ -3052,6 +3083,19 @@ class PendingReasonService {
|
|
|
3052
3083
|
return success;
|
|
3053
3084
|
});
|
|
3054
3085
|
}
|
|
3086
|
+
handleHeaderOperationStatuses(response) {
|
|
3087
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3088
|
+
if (!response.headerOperationStatuses || response.headerOperationStatuses.length === 0) {
|
|
3089
|
+
return true;
|
|
3090
|
+
}
|
|
3091
|
+
let success = true;
|
|
3092
|
+
for (let i = 0; i < response.headerOperationStatuses.length; i++) {
|
|
3093
|
+
const status = response.headerOperationStatuses[i];
|
|
3094
|
+
success = success && (yield this._handleHeaderOperationStatus(status, response.transactionInfo));
|
|
3095
|
+
}
|
|
3096
|
+
return success;
|
|
3097
|
+
});
|
|
3098
|
+
}
|
|
3055
3099
|
_rememberCurrentTransaction(value) {
|
|
3056
3100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3057
3101
|
this.currentTransaction = value;
|
|
@@ -3090,6 +3134,20 @@ class PendingReasonService {
|
|
|
3090
3134
|
}
|
|
3091
3135
|
});
|
|
3092
3136
|
}
|
|
3137
|
+
_handleHeaderOperationStatus(operationStatus, transactionInfo) {
|
|
3138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3139
|
+
switch (operationStatus.pendingReasonType) {
|
|
3140
|
+
case PendingReasonType.ABORTED:
|
|
3141
|
+
case PendingReasonType.CANCELLED:
|
|
3142
|
+
return false;
|
|
3143
|
+
case PendingReasonType.CONFIRMATION_NEEDED:
|
|
3144
|
+
return yield this._confirmHeaderAction(transactionInfo.uuid, operationStatus.pendingReason, operationStatus.pendingReasonType);
|
|
3145
|
+
case PendingReasonType.NONE:
|
|
3146
|
+
default:
|
|
3147
|
+
return true;
|
|
3148
|
+
}
|
|
3149
|
+
});
|
|
3150
|
+
}
|
|
3093
3151
|
resolvePendingLineReason(pendingLineValues) {
|
|
3094
3152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3095
3153
|
const response = yield this.connector.resolvePendingLineReason(pendingLineValues);
|
|
@@ -3097,6 +3155,13 @@ class PendingReasonService {
|
|
|
3097
3155
|
this.handleLineOperationStatuses(response);
|
|
3098
3156
|
});
|
|
3099
3157
|
}
|
|
3158
|
+
resolvePendingHeaderReason(pendingHeaderValues) {
|
|
3159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3160
|
+
const response = yield this.connector.resolvePendingHeaderReason(pendingHeaderValues);
|
|
3161
|
+
this._rememberCurrentTransaction(response);
|
|
3162
|
+
return this.handleHeaderOperationStatuses(response);
|
|
3163
|
+
});
|
|
3164
|
+
}
|
|
3100
3165
|
_confirmAction(uuid, reason, type) {
|
|
3101
3166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3102
3167
|
const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
|
|
@@ -3106,6 +3171,14 @@ class PendingReasonService {
|
|
|
3106
3171
|
// this._handleLineOperationStatus()
|
|
3107
3172
|
});
|
|
3108
3173
|
}
|
|
3174
|
+
_confirmHeaderAction(uuid, reason, type) {
|
|
3175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3176
|
+
const reasonRequest = new ResolveHeaderPendingReasonRequest(uuid, reason, type);
|
|
3177
|
+
// const pendingReasonText: string = await this._getPendingReasonText(this.currentOperationStatus.pendingReason);
|
|
3178
|
+
reasonRequest.confirmation = yield this.dialogService.showYesNo('Action', reason);
|
|
3179
|
+
return yield this.resolvePendingHeaderReason(reasonRequest);
|
|
3180
|
+
});
|
|
3181
|
+
}
|
|
3109
3182
|
_showReasonDialog(reason) {
|
|
3110
3183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3111
3184
|
this.dialogService.showInformation(reason);
|
|
@@ -3199,6 +3272,21 @@ class TransactionService extends PendingReasonService {
|
|
|
3199
3272
|
return false;
|
|
3200
3273
|
});
|
|
3201
3274
|
}
|
|
3275
|
+
updateHeaderTransactionDeliveryDate(uuid, date) {
|
|
3276
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3277
|
+
const response = yield this.connector.changeHeaderTransactionDeliveryDate(uuid, date)
|
|
3278
|
+
.catch((error) => {
|
|
3279
|
+
// todo: do something with the error
|
|
3280
|
+
return false;
|
|
3281
|
+
});
|
|
3282
|
+
if (response) {
|
|
3283
|
+
const success = yield this.handleHeaderOperationStatuses(response);
|
|
3284
|
+
this._rememberCurrentTransaction(response);
|
|
3285
|
+
return success;
|
|
3286
|
+
}
|
|
3287
|
+
return false;
|
|
3288
|
+
});
|
|
3289
|
+
}
|
|
3202
3290
|
updateQuantityTransactionLine(uuid, lineUuid, quantity) {
|
|
3203
3291
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3204
3292
|
const response = yield this.connector.changeTransactionLineQuantity(uuid, lineUuid, quantity)
|
|
@@ -3773,10 +3861,9 @@ class CheckoutComponent {
|
|
|
3773
3861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3774
3862
|
if (this.checkoutRelation && this.stepRelation) {
|
|
3775
3863
|
const valid = this.checkoutRelation.submit();
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
// }
|
|
3864
|
+
if (valid) {
|
|
3865
|
+
this.stepRelation.completed = yield this.saveRelation();
|
|
3866
|
+
}
|
|
3780
3867
|
}
|
|
3781
3868
|
});
|
|
3782
3869
|
}
|
|
@@ -3784,10 +3871,9 @@ class CheckoutComponent {
|
|
|
3784
3871
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3785
3872
|
if (this.checkoutDelivery && this.stepDelivery) {
|
|
3786
3873
|
const valid = this.checkoutDelivery.submit();
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
// }
|
|
3874
|
+
if (valid) {
|
|
3875
|
+
this.stepDelivery.completed = yield this.handleSaveDelivery();
|
|
3876
|
+
}
|
|
3791
3877
|
}
|
|
3792
3878
|
});
|
|
3793
3879
|
}
|
|
@@ -6599,7 +6685,11 @@ TransactionLineComponent.decorators = [
|
|
|
6599
6685
|
</div>
|
|
6600
6686
|
<div class="transaction-line-description">
|
|
6601
6687
|
<div class="description-wrapper">
|
|
6602
|
-
<
|
|
6688
|
+
<co-transaction-line-description class="transaction-line-description-description"
|
|
6689
|
+
[transactionLine]="line"
|
|
6690
|
+
[defaultEditMode]="false"
|
|
6691
|
+
[showLabel]="false"
|
|
6692
|
+
></co-transaction-line-description>
|
|
6603
6693
|
<span *ngIf="line.goodDescription && line.articleNumber" class="transaction-line-description-divider">|</span>
|
|
6604
6694
|
<span [textContent]="line.articleNumber" class="transaction-line-description-sku"></span>
|
|
6605
6695
|
<co-icon class="delete-icon" [iconData]="iconCacheService.getIcon(icons.TrashCanLight)" (click)="deleteTransactionLineClick()"></co-icon>
|
|
@@ -6944,6 +7034,7 @@ class TransactionLineFieldsBaseComponent {
|
|
|
6944
7034
|
constructor() {
|
|
6945
7035
|
this.readonly = false;
|
|
6946
7036
|
this._transactionLine = new TransactionLineInfo();
|
|
7037
|
+
this._transactionInfo = new TransactionInfo();
|
|
6947
7038
|
}
|
|
6948
7039
|
set transactionLine(value) {
|
|
6949
7040
|
if (value) {
|
|
@@ -6955,15 +7046,28 @@ class TransactionLineFieldsBaseComponent {
|
|
|
6955
7046
|
get transactionLine() {
|
|
6956
7047
|
return this._transactionLine;
|
|
6957
7048
|
}
|
|
7049
|
+
set transactionInfo(value) {
|
|
7050
|
+
if (value) {
|
|
7051
|
+
this._transactionInfo = value;
|
|
7052
|
+
this.transactionInfoSet();
|
|
7053
|
+
}
|
|
7054
|
+
}
|
|
7055
|
+
get transactionInfo() {
|
|
7056
|
+
return this._transactionInfo;
|
|
7057
|
+
}
|
|
6958
7058
|
// overridden by descendents
|
|
6959
7059
|
transactionLineSet() {
|
|
6960
7060
|
}
|
|
7061
|
+
// overridden by descendents
|
|
7062
|
+
transactionInfoSet() {
|
|
7063
|
+
}
|
|
6961
7064
|
}
|
|
6962
7065
|
TransactionLineFieldsBaseComponent.decorators = [
|
|
6963
7066
|
{ type: Directive }
|
|
6964
7067
|
];
|
|
6965
7068
|
TransactionLineFieldsBaseComponent.propDecorators = {
|
|
6966
|
-
transactionLine: [{ type: Input }]
|
|
7069
|
+
transactionLine: [{ type: Input }],
|
|
7070
|
+
transactionInfo: [{ type: Input }]
|
|
6967
7071
|
};
|
|
6968
7072
|
|
|
6969
7073
|
class TransactionLinePriceComponent extends TransactionLineFieldsBaseComponent {
|
|
@@ -7060,6 +7164,100 @@ TransactionLinePriceModule.decorators = [
|
|
|
7060
7164
|
},] }
|
|
7061
7165
|
];
|
|
7062
7166
|
|
|
7167
|
+
class TransactionLineDescriptionComponent extends TransactionLineFieldsBaseComponent {
|
|
7168
|
+
constructor(_transactionService) {
|
|
7169
|
+
super();
|
|
7170
|
+
this._transactionService = _transactionService;
|
|
7171
|
+
this.showLabel = true;
|
|
7172
|
+
this.defaultEditMode = true;
|
|
7173
|
+
this._editMode = false;
|
|
7174
|
+
}
|
|
7175
|
+
set child(content) {
|
|
7176
|
+
if (content) {
|
|
7177
|
+
this.input = content;
|
|
7178
|
+
this.input.commit = (description) => this.commitDescription(description);
|
|
7179
|
+
if (this._editMode) {
|
|
7180
|
+
this.input.requestFocus();
|
|
7181
|
+
}
|
|
7182
|
+
}
|
|
7183
|
+
}
|
|
7184
|
+
set editMode(value) {
|
|
7185
|
+
this._editMode = value;
|
|
7186
|
+
if (this._editMode && this.input) {
|
|
7187
|
+
this.input.doFocus();
|
|
7188
|
+
}
|
|
7189
|
+
}
|
|
7190
|
+
get editMode() {
|
|
7191
|
+
return this._editMode;
|
|
7192
|
+
}
|
|
7193
|
+
handleClick(event) {
|
|
7194
|
+
if (!this.readonly) {
|
|
7195
|
+
this.editMode = true;
|
|
7196
|
+
}
|
|
7197
|
+
}
|
|
7198
|
+
commitDescription(description) {
|
|
7199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7200
|
+
// todo uncomment and finish when updateGoodDescriptionTransactionLine is present in the middletier
|
|
7201
|
+
// if (this.transactionLine.goodDescription !== description) {
|
|
7202
|
+
// const oldDescription = this.transactionLine.goodDescription;
|
|
7203
|
+
// const success = await this._transactionService.updateGoodDescriptionTransactionLine(this._transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, description);
|
|
7204
|
+
// if (!success) {
|
|
7205
|
+
// this.input.model = oldDescription;
|
|
7206
|
+
// }
|
|
7207
|
+
// return success;
|
|
7208
|
+
// }
|
|
7209
|
+
return true;
|
|
7210
|
+
});
|
|
7211
|
+
}
|
|
7212
|
+
transactionLineSet() {
|
|
7213
|
+
this.readonly = this.readonly || !this.transactionLine.articleFreeDescription;
|
|
7214
|
+
}
|
|
7215
|
+
}
|
|
7216
|
+
TransactionLineDescriptionComponent.decorators = [
|
|
7217
|
+
{ type: Component, args: [{
|
|
7218
|
+
selector: "co-transaction-line-description",
|
|
7219
|
+
template: `
|
|
7220
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionLine.goodDescription"></span>
|
|
7221
|
+
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
7222
|
+
[placeholder]="showLabel ? ('GOOD_DESCRIPTION' | localize) : ''"
|
|
7223
|
+
[showSaveCancel]="!readonly"
|
|
7224
|
+
[readonly]="readonly"
|
|
7225
|
+
[model]="transactionLine.goodDescription"
|
|
7226
|
+
(blur)="editMode = false"
|
|
7227
|
+
></co-input-text>
|
|
7228
|
+
`,
|
|
7229
|
+
encapsulation: ViewEncapsulation.None
|
|
7230
|
+
},] }
|
|
7231
|
+
];
|
|
7232
|
+
TransactionLineDescriptionComponent.ctorParameters = () => [
|
|
7233
|
+
{ type: TransactionService }
|
|
7234
|
+
];
|
|
7235
|
+
TransactionLineDescriptionComponent.propDecorators = {
|
|
7236
|
+
child: [{ type: ViewChild, args: ['input', { read: InputTextComponent },] }],
|
|
7237
|
+
showLabel: [{ type: Input }],
|
|
7238
|
+
defaultEditMode: [{ type: Input }],
|
|
7239
|
+
editMode: [{ type: Input }],
|
|
7240
|
+
handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
|
|
7241
|
+
};
|
|
7242
|
+
|
|
7243
|
+
class TransactionLineDescriptionModule {
|
|
7244
|
+
}
|
|
7245
|
+
TransactionLineDescriptionModule.decorators = [
|
|
7246
|
+
{ type: NgModule, args: [{
|
|
7247
|
+
imports: [
|
|
7248
|
+
CommonModule,
|
|
7249
|
+
InputTextModule,
|
|
7250
|
+
PipeModule
|
|
7251
|
+
],
|
|
7252
|
+
declarations: [
|
|
7253
|
+
TransactionLineDescriptionComponent
|
|
7254
|
+
],
|
|
7255
|
+
exports: [
|
|
7256
|
+
TransactionLineDescriptionComponent
|
|
7257
|
+
]
|
|
7258
|
+
},] }
|
|
7259
|
+
];
|
|
7260
|
+
|
|
7063
7261
|
class TransactionLineModule {
|
|
7064
7262
|
}
|
|
7065
7263
|
TransactionLineModule.decorators = [
|
|
@@ -7075,7 +7273,8 @@ TransactionLineModule.decorators = [
|
|
|
7075
7273
|
TransactionLineActionButtonsModule,
|
|
7076
7274
|
IconModule,
|
|
7077
7275
|
EditableLabelModule,
|
|
7078
|
-
TransactionLinePriceModule
|
|
7276
|
+
TransactionLinePriceModule,
|
|
7277
|
+
TransactionLineDescriptionModule
|
|
7079
7278
|
],
|
|
7080
7279
|
declarations: [
|
|
7081
7280
|
TransactionLineComponent
|
|
@@ -7955,7 +8154,7 @@ CheckoutModule.decorators = [
|
|
|
7955
8154
|
entryComponents: [
|
|
7956
8155
|
CheckoutComponent
|
|
7957
8156
|
],
|
|
7958
|
-
exports: [CheckoutComponent],
|
|
8157
|
+
exports: [CheckoutComponent, CheckoutOverviewRelationEditComponent],
|
|
7959
8158
|
bootstrap: [CheckoutComponent]
|
|
7960
8159
|
},] }
|
|
7961
8160
|
];
|
|
@@ -8044,7 +8243,9 @@ class TransactionComponent {
|
|
|
8044
8243
|
this._subs = [];
|
|
8045
8244
|
this._transaction = new TransactionInfoResponse();
|
|
8046
8245
|
this._subs.push(this._service.transactionUpdated.subscribe((transaction) => __awaiter(this, void 0, void 0, function* () {
|
|
8047
|
-
|
|
8246
|
+
if (transaction) {
|
|
8247
|
+
this.transaction = transaction;
|
|
8248
|
+
}
|
|
8048
8249
|
})));
|
|
8049
8250
|
}
|
|
8050
8251
|
set transaction(value) {
|
|
@@ -8154,11 +8355,9 @@ TransactionComponent.decorators = [
|
|
|
8154
8355
|
</co-discount>
|
|
8155
8356
|
|
|
8156
8357
|
<co-transaction-line-side-panel *ngIf="showSidePanel" @showHideSidePanel
|
|
8157
|
-
[
|
|
8158
|
-
[activeCategory]="activeCategory"
|
|
8358
|
+
[transactionInfo]="transaction.transactionInfo"
|
|
8159
8359
|
[transactionLine]="sidePanelTransactionLine"
|
|
8160
|
-
[
|
|
8161
|
-
[transactionInfoNr]="transaction.transactionInfo.transactionNr"
|
|
8360
|
+
[activeCategory]="activeCategory"
|
|
8162
8361
|
(cancelClick)="handleCloseSidePanel($event)"
|
|
8163
8362
|
></co-transaction-line-side-panel>
|
|
8164
8363
|
`,
|
|
@@ -8458,7 +8657,11 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
8458
8657
|
<ng-template #firstBlock>
|
|
8459
8658
|
<div class="header-delivery-deliverydate-label co-transaction-label" [textContent]="'DELIVERY_DATE' | localize"></div>
|
|
8460
8659
|
<div class="header-delivery-deliverydate-wrapper" [class.closed]="transactionInfo.deliveryDateDefinitive">
|
|
8461
|
-
<
|
|
8660
|
+
<co-transaction-header-delivery-date class="header-delivery-deliverydate"
|
|
8661
|
+
[transactionInfo]="transactionInfo"
|
|
8662
|
+
[defaultEditMode]="false"
|
|
8663
|
+
[showLabel]="false"
|
|
8664
|
+
></co-transaction-header-delivery-date>
|
|
8462
8665
|
<co-icon *ngIf="transactionInfo.deliveryDateDefinitive" [iconData]="iconService.getIcon(icons.LockKeyholeSolid)"></co-icon>
|
|
8463
8666
|
<co-icon *ngIf="!transactionInfo.deliveryDateDefinitive" [iconData]="iconService.getIcon(icons.LockKeyholeOpenSolid)"></co-icon>
|
|
8464
8667
|
</div>
|
|
@@ -8483,6 +8686,106 @@ TransactionHeaderDeliveryComponent.propDecorators = {
|
|
|
8483
8686
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-delivery",] }]
|
|
8484
8687
|
};
|
|
8485
8688
|
|
|
8689
|
+
class TransactionHeaderFieldsBaseComponent {
|
|
8690
|
+
constructor() {
|
|
8691
|
+
this.readonly = false;
|
|
8692
|
+
this._transactionInfo = new TransactionInfo();
|
|
8693
|
+
}
|
|
8694
|
+
set transactionInfo(value) {
|
|
8695
|
+
if (value) {
|
|
8696
|
+
this._transactionInfo = value;
|
|
8697
|
+
this.transactionInfoSet();
|
|
8698
|
+
}
|
|
8699
|
+
}
|
|
8700
|
+
get transactionInfo() {
|
|
8701
|
+
return this._transactionInfo;
|
|
8702
|
+
}
|
|
8703
|
+
// overridden by descendents
|
|
8704
|
+
transactionInfoSet() {
|
|
8705
|
+
}
|
|
8706
|
+
}
|
|
8707
|
+
TransactionHeaderFieldsBaseComponent.decorators = [
|
|
8708
|
+
{ type: Directive }
|
|
8709
|
+
];
|
|
8710
|
+
TransactionHeaderFieldsBaseComponent.propDecorators = {
|
|
8711
|
+
transactionInfo: [{ type: Input }]
|
|
8712
|
+
};
|
|
8713
|
+
|
|
8714
|
+
class TransactionHeaderDeliveryDateComponent extends TransactionHeaderFieldsBaseComponent {
|
|
8715
|
+
constructor(_transactionService) {
|
|
8716
|
+
super();
|
|
8717
|
+
this._transactionService = _transactionService;
|
|
8718
|
+
this.showLabel = true;
|
|
8719
|
+
this.defaultEditMode = true;
|
|
8720
|
+
this._editMode = false;
|
|
8721
|
+
}
|
|
8722
|
+
set child(content) {
|
|
8723
|
+
if (content) {
|
|
8724
|
+
this.input = content;
|
|
8725
|
+
this.input.commit = (date) => this.commitDeliveryDate(date);
|
|
8726
|
+
if (this._editMode) {
|
|
8727
|
+
this.input.doFocus();
|
|
8728
|
+
}
|
|
8729
|
+
}
|
|
8730
|
+
}
|
|
8731
|
+
set editMode(value) {
|
|
8732
|
+
this._editMode = value;
|
|
8733
|
+
if (this._editMode && this.input) {
|
|
8734
|
+
this.input.doFocus();
|
|
8735
|
+
}
|
|
8736
|
+
}
|
|
8737
|
+
get editMode() {
|
|
8738
|
+
return this._editMode;
|
|
8739
|
+
}
|
|
8740
|
+
handleClick(event) {
|
|
8741
|
+
if (!this.readonly) {
|
|
8742
|
+
this.editMode = true;
|
|
8743
|
+
}
|
|
8744
|
+
}
|
|
8745
|
+
commitDeliveryDate(date) {
|
|
8746
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8747
|
+
if (this.transactionInfo.deliveryDate !== date) {
|
|
8748
|
+
const oldDate = this.transactionInfo.deliveryDate;
|
|
8749
|
+
const success = yield this._transactionService.updateHeaderTransactionDeliveryDate(this._transactionService.currentTransaction.transactionInfo.uuid, date);
|
|
8750
|
+
if (!success) {
|
|
8751
|
+
this.input.model = oldDate;
|
|
8752
|
+
}
|
|
8753
|
+
return success;
|
|
8754
|
+
}
|
|
8755
|
+
return true;
|
|
8756
|
+
});
|
|
8757
|
+
}
|
|
8758
|
+
transactionInfoSet() {
|
|
8759
|
+
this.readonly = this.readonly || this.transactionInfo.deliveryDateDefinitive;
|
|
8760
|
+
}
|
|
8761
|
+
}
|
|
8762
|
+
TransactionHeaderDeliveryDateComponent.decorators = [
|
|
8763
|
+
{ type: Component, args: [{
|
|
8764
|
+
selector: "co-transaction-header-delivery-date",
|
|
8765
|
+
template: `
|
|
8766
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionInfo.deliveryDate | date:'dd MMM yyyy'"></span>
|
|
8767
|
+
<co-input-date #input *ngIf="editMode || defaultEditMode"
|
|
8768
|
+
[placeholder]="showLabel ? ('DELIVERY_DATE' | localize) : ''"
|
|
8769
|
+
[showSaveCancel]="!readonly"
|
|
8770
|
+
[readonly]="readonly"
|
|
8771
|
+
[model]="transactionInfo.deliveryDate"
|
|
8772
|
+
(blur)="editMode = false"
|
|
8773
|
+
></co-input-date>
|
|
8774
|
+
`,
|
|
8775
|
+
encapsulation: ViewEncapsulation.None
|
|
8776
|
+
},] }
|
|
8777
|
+
];
|
|
8778
|
+
TransactionHeaderDeliveryDateComponent.ctorParameters = () => [
|
|
8779
|
+
{ type: TransactionService }
|
|
8780
|
+
];
|
|
8781
|
+
TransactionHeaderDeliveryDateComponent.propDecorators = {
|
|
8782
|
+
child: [{ type: ViewChild, args: ['input', { read: InputDatePickerComponent },] }],
|
|
8783
|
+
showLabel: [{ type: Input }],
|
|
8784
|
+
defaultEditMode: [{ type: Input }],
|
|
8785
|
+
editMode: [{ type: Input }],
|
|
8786
|
+
handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
|
|
8787
|
+
};
|
|
8788
|
+
|
|
8486
8789
|
class TransactionHeaderDeliveryModule {
|
|
8487
8790
|
}
|
|
8488
8791
|
TransactionHeaderDeliveryModule.decorators = [
|
|
@@ -8493,10 +8796,12 @@ TransactionHeaderDeliveryModule.decorators = [
|
|
|
8493
8796
|
TransactionHeaderBlockModule,
|
|
8494
8797
|
InputCheckboxModule,
|
|
8495
8798
|
IconModule,
|
|
8496
|
-
PipeModule
|
|
8799
|
+
PipeModule,
|
|
8800
|
+
InputDatePickerModule
|
|
8497
8801
|
],
|
|
8498
8802
|
declarations: [
|
|
8499
|
-
TransactionHeaderDeliveryComponent
|
|
8803
|
+
TransactionHeaderDeliveryComponent,
|
|
8804
|
+
TransactionHeaderDeliveryDateComponent
|
|
8500
8805
|
],
|
|
8501
8806
|
exports: [
|
|
8502
8807
|
TransactionHeaderDeliveryComponent
|
|
@@ -8893,6 +9198,7 @@ class TransactionLineSidePanelComponent {
|
|
|
8893
9198
|
this.categories = TransactionTypeCategory;
|
|
8894
9199
|
this.transactionTypes = TransactionKind;
|
|
8895
9200
|
this.transactionLine = new TransactionLineInfo();
|
|
9201
|
+
this.transactionInfo = new TransactionInfo();
|
|
8896
9202
|
this.cancelClick = new EventEmitter();
|
|
8897
9203
|
}
|
|
8898
9204
|
showClass() {
|
|
@@ -8932,23 +9238,24 @@ TransactionLineSidePanelComponent.decorators = [
|
|
|
8932
9238
|
</div>
|
|
8933
9239
|
<div class="transaction-line-side-panel-nav-bar">
|
|
8934
9240
|
<co-transaction-button-bar
|
|
8935
|
-
[transactionType]="
|
|
9241
|
+
[transactionType]="transactionInfo.transactionKind"
|
|
8936
9242
|
(buttonClicked)="activeCategory = $event.category"
|
|
8937
9243
|
></co-transaction-button-bar>
|
|
8938
9244
|
</div>
|
|
8939
9245
|
<div class="transaction-line-side-panel-content">
|
|
8940
|
-
<ng-container [ngSwitch]="
|
|
9246
|
+
<ng-container [ngSwitch]="transactionInfo.transactionKind">
|
|
8941
9247
|
<ng-container *ngSwitchCase="transactionTypes.PurchaseOrder">
|
|
8942
9248
|
<co-transaction-line-side-panel-purchase
|
|
9249
|
+
[transactionInfo]="transactionInfo"
|
|
8943
9250
|
[transactionLine]="transactionLine"
|
|
8944
|
-
[transactionId]="transactionId"
|
|
8945
|
-
[transactionInfoNr]="transactionInfoNr"
|
|
8946
9251
|
[category]="activeCategory"
|
|
8947
9252
|
(quantityToReceiveChange)="quantityToReceive = $event"
|
|
8948
9253
|
></co-transaction-line-side-panel-purchase>
|
|
8949
9254
|
</ng-container>
|
|
8950
9255
|
<ng-container *ngSwitchDefault>
|
|
8951
9256
|
<co-transaction-line-side-panel-purchase
|
|
9257
|
+
[transactionInfo]="transactionInfo"
|
|
9258
|
+
[transactionLine]="transactionLine"
|
|
8952
9259
|
[category]="activeCategory"
|
|
8953
9260
|
></co-transaction-line-side-panel-purchase>
|
|
8954
9261
|
</ng-container>
|
|
@@ -8964,12 +9271,10 @@ TransactionLineSidePanelComponent.ctorParameters = () => [
|
|
|
8964
9271
|
{ type: TransactionEventService }
|
|
8965
9272
|
];
|
|
8966
9273
|
TransactionLineSidePanelComponent.propDecorators = {
|
|
8967
|
-
transactionType: [{ type: Input }],
|
|
8968
9274
|
transactionLine: [{ type: Input }],
|
|
8969
|
-
|
|
9275
|
+
transactionInfo: [{ type: Input }],
|
|
8970
9276
|
activeCategory: [{ type: Input }],
|
|
8971
9277
|
cancelClick: [{ type: Output }],
|
|
8972
|
-
transactionInfoNr: [{ type: Input }],
|
|
8973
9278
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-side-panel",] }]
|
|
8974
9279
|
};
|
|
8975
9280
|
|
|
@@ -9054,7 +9359,7 @@ TransactionLineSidePanelDefaultComponent.decorators = [
|
|
|
9054
9359
|
</div>
|
|
9055
9360
|
<div class="side-panel-input-row">
|
|
9056
9361
|
<co-transaction-line-delivery-method class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-delivery-method>
|
|
9057
|
-
<co-transaction-line-delivery-date class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-delivery-date>
|
|
9362
|
+
<co-transaction-line-delivery-date class="side-panel-input" [transactionLine]="transactionLine" [transactionInfo]="transactionInfo"></co-transaction-line-delivery-date>
|
|
9058
9363
|
</div>
|
|
9059
9364
|
<div class="side-panel-input-row">
|
|
9060
9365
|
<co-input-text class="side-panel-input" [placeholder]="'ASSEMBLY_TIME' | localize" [readonly]="readonly"></co-input-text>
|
|
@@ -9064,7 +9369,7 @@ TransactionLineSidePanelDefaultComponent.decorators = [
|
|
|
9064
9369
|
<co-input-text class="side-panel-input" [placeholder]="'MODIFICATION_TIME' | localize" [readonly]="readonly"></co-input-text>
|
|
9065
9370
|
</div>
|
|
9066
9371
|
<div class="side-panel-input-row">
|
|
9067
|
-
<co-
|
|
9372
|
+
<co-transaction-line-supplier class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-supplier>
|
|
9068
9373
|
<co-input-text class="side-panel-input" [placeholder]="'ARTICLE_NR_SUPPLIER' | localize" [model]="transactionLine.articleNumber" [readonly]="readonly"></co-input-text>
|
|
9069
9374
|
</div>
|
|
9070
9375
|
<div class="side-panel-input-row">
|
|
@@ -9080,6 +9385,10 @@ TransactionLineSidePanelDefaultComponent.decorators = [
|
|
|
9080
9385
|
[expanded]="true"
|
|
9081
9386
|
>
|
|
9082
9387
|
<div class="collapsible-content-wrapper">
|
|
9388
|
+
<div class="side-panel-input-row">
|
|
9389
|
+
<co-transaction-line-description class="side-panel-input"
|
|
9390
|
+
[transactionLine]="transactionLine"></co-transaction-line-description>
|
|
9391
|
+
</div>
|
|
9083
9392
|
<div class="side-panel-input-row">
|
|
9084
9393
|
<co-transaction-line-reference class="side-panel-input" [transactionLine]="transactionLine"></co-transaction-line-reference>
|
|
9085
9394
|
</div>
|
|
@@ -9107,6 +9416,7 @@ TransactionLineSidePanelDefaultComponent.ctorParameters = () => [
|
|
|
9107
9416
|
];
|
|
9108
9417
|
TransactionLineSidePanelDefaultComponent.propDecorators = {
|
|
9109
9418
|
transactionLine: [{ type: Input }],
|
|
9419
|
+
transactionInfo: [{ type: Input }],
|
|
9110
9420
|
cancelClick: [{ type: Output }],
|
|
9111
9421
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-side-panel-default",] }]
|
|
9112
9422
|
};
|
|
@@ -9435,6 +9745,9 @@ class TransactionLineDeliveryDateComponent extends TransactionLineFieldsBaseComp
|
|
|
9435
9745
|
return true;
|
|
9436
9746
|
});
|
|
9437
9747
|
}
|
|
9748
|
+
transactionInfoSet() {
|
|
9749
|
+
this.readonly = this.readonly || (this.transactionInfo.deliveryDateDefinitive || !this.transactionInfo.allowPartialDelivery);
|
|
9750
|
+
}
|
|
9438
9751
|
}
|
|
9439
9752
|
TransactionLineDeliveryDateComponent.decorators = [
|
|
9440
9753
|
{ type: Component, args: [{
|
|
@@ -9561,6 +9874,9 @@ class TransactionLineCommissionCodeComponent extends TransactionLineFieldsBaseCo
|
|
|
9561
9874
|
return true;
|
|
9562
9875
|
});
|
|
9563
9876
|
}
|
|
9877
|
+
transactionLineSet() {
|
|
9878
|
+
this.readonly = this.readonly || !this.transactionLine.articleFreeCommissionCode;
|
|
9879
|
+
}
|
|
9564
9880
|
}
|
|
9565
9881
|
TransactionLineCommissionCodeComponent.decorators = [
|
|
9566
9882
|
{ type: Component, args: [{
|
|
@@ -9860,6 +10176,75 @@ TransactionLineSpecialDiscountModule.decorators = [
|
|
|
9860
10176
|
},] }
|
|
9861
10177
|
];
|
|
9862
10178
|
|
|
10179
|
+
class TransactionLineSupplierComponent extends TransactionLineFieldsBaseComponent {
|
|
10180
|
+
constructor(_transactionService) {
|
|
10181
|
+
super();
|
|
10182
|
+
this._transactionService = _transactionService;
|
|
10183
|
+
this.data = [];
|
|
10184
|
+
this.fields = { text: "displayName", value: "relationId" };
|
|
10185
|
+
}
|
|
10186
|
+
ngOnInit() {
|
|
10187
|
+
const request = new RelationRequest();
|
|
10188
|
+
request.relationType = RelationKind.Supplier;
|
|
10189
|
+
this._transactionService.getRelationListObjects(request).then((relationListObjects) => {
|
|
10190
|
+
this.data = relationListObjects;
|
|
10191
|
+
});
|
|
10192
|
+
}
|
|
10193
|
+
commitSupplier(code) {
|
|
10194
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10195
|
+
// if (this.transactionLine.supplier !== code) {
|
|
10196
|
+
// const oldCode = this.transactionLine.supplier;
|
|
10197
|
+
// const success = await this._transactionService.updateSupplierTransactionLine(this._transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, code);
|
|
10198
|
+
// if (!success) {
|
|
10199
|
+
// // this.transactionLine.supplier = code;
|
|
10200
|
+
// }
|
|
10201
|
+
// return success;
|
|
10202
|
+
// }
|
|
10203
|
+
return true;
|
|
10204
|
+
});
|
|
10205
|
+
}
|
|
10206
|
+
transactionLineSet() {
|
|
10207
|
+
this.readonly = this.readonly || !this.transactionLine.articleFreeSupplier;
|
|
10208
|
+
}
|
|
10209
|
+
}
|
|
10210
|
+
TransactionLineSupplierComponent.decorators = [
|
|
10211
|
+
{ type: Component, args: [{
|
|
10212
|
+
selector: "co-transaction-line-supplier",
|
|
10213
|
+
template: `
|
|
10214
|
+
<co-input-combo-box
|
|
10215
|
+
[collection]="data"
|
|
10216
|
+
[placeholder]="'SUPPLIER' | localize"
|
|
10217
|
+
[fields]="fields"
|
|
10218
|
+
[readonly]="readonly"
|
|
10219
|
+
[model]="tempSupplier"
|
|
10220
|
+
(modelChange)="commitSupplier($event)"
|
|
10221
|
+
></co-input-combo-box>
|
|
10222
|
+
`,
|
|
10223
|
+
encapsulation: ViewEncapsulation.None
|
|
10224
|
+
},] }
|
|
10225
|
+
];
|
|
10226
|
+
TransactionLineSupplierComponent.ctorParameters = () => [
|
|
10227
|
+
{ type: TransactionService }
|
|
10228
|
+
];
|
|
10229
|
+
|
|
10230
|
+
class TransactionLineSupplierModule {
|
|
10231
|
+
}
|
|
10232
|
+
TransactionLineSupplierModule.decorators = [
|
|
10233
|
+
{ type: NgModule, args: [{
|
|
10234
|
+
imports: [
|
|
10235
|
+
CommonModule,
|
|
10236
|
+
PipeModule,
|
|
10237
|
+
InputComboBoxModule
|
|
10238
|
+
],
|
|
10239
|
+
declarations: [
|
|
10240
|
+
TransactionLineSupplierComponent
|
|
10241
|
+
],
|
|
10242
|
+
exports: [
|
|
10243
|
+
TransactionLineSupplierComponent
|
|
10244
|
+
]
|
|
10245
|
+
},] }
|
|
10246
|
+
];
|
|
10247
|
+
|
|
9863
10248
|
class TransactionLineSidePanelDefaultModule {
|
|
9864
10249
|
}
|
|
9865
10250
|
TransactionLineSidePanelDefaultModule.decorators = [
|
|
@@ -9886,7 +10271,9 @@ TransactionLineSidePanelDefaultModule.decorators = [
|
|
|
9886
10271
|
TransactionLineWarehouseModule,
|
|
9887
10272
|
TransactionLineDiscountAmountModule,
|
|
9888
10273
|
TransactionLineQuantumDiscountModule,
|
|
9889
|
-
TransactionLineSpecialDiscountModule
|
|
10274
|
+
TransactionLineSpecialDiscountModule,
|
|
10275
|
+
TransactionLineSupplierModule,
|
|
10276
|
+
TransactionLineDescriptionModule
|
|
9890
10277
|
],
|
|
9891
10278
|
declarations: [
|
|
9892
10279
|
TransactionLineSidePanelDefaultComponent
|
|
@@ -10394,6 +10781,7 @@ class TransactionSearchService {
|
|
|
10394
10781
|
constructor(_transactionService) {
|
|
10395
10782
|
this._transactionService = _transactionService;
|
|
10396
10783
|
this.searchRequest = new TransactionSearchViewRequest();
|
|
10784
|
+
this.previousSearchRequest = new TransactionSearchViewRequest();
|
|
10397
10785
|
this.transactions = [];
|
|
10398
10786
|
this.labelBasedOnTransactionType = new Map([
|
|
10399
10787
|
[TransactionKind.SalesOrder, "SALESORDERS"],
|
|
@@ -10402,7 +10790,7 @@ class TransactionSearchService {
|
|
|
10402
10790
|
]);
|
|
10403
10791
|
this.transactionsPerPage = 20;
|
|
10404
10792
|
this.resultCount = 0;
|
|
10405
|
-
this.
|
|
10793
|
+
this._currentPage = 1;
|
|
10406
10794
|
this._transactionType = TransactionKind.SalesOrder;
|
|
10407
10795
|
}
|
|
10408
10796
|
set transactionType(value) {
|
|
@@ -10413,34 +10801,44 @@ class TransactionSearchService {
|
|
|
10413
10801
|
get transactionType() {
|
|
10414
10802
|
return this._transactionType;
|
|
10415
10803
|
}
|
|
10416
|
-
get
|
|
10417
|
-
return this.
|
|
10804
|
+
get currentPage() {
|
|
10805
|
+
return this._currentPage;
|
|
10418
10806
|
}
|
|
10419
|
-
set
|
|
10420
|
-
this.
|
|
10807
|
+
set currentPage(value) {
|
|
10808
|
+
this._currentPage = value;
|
|
10421
10809
|
this.searchTransactions();
|
|
10422
10810
|
}
|
|
10423
10811
|
searchTransactions() {
|
|
10424
10812
|
this.searchRequest.transactionKind = this.transactionType;
|
|
10425
|
-
|
|
10813
|
+
if (this.isNewGeneralSearch()) {
|
|
10814
|
+
this._currentPage = 1;
|
|
10815
|
+
}
|
|
10816
|
+
const lowerBound = ((this.currentPage - 1) * this.transactionsPerPage) + 1;
|
|
10426
10817
|
this.searchRequest.paging = new PagingParameters(lowerBound, lowerBound + this.transactionsPerPage - 1, this.transactionsPerPage);
|
|
10427
10818
|
this._transactionService.searchTransactions(this.searchRequest).then((result) => {
|
|
10428
10819
|
this.transactions = result.transactions;
|
|
10429
10820
|
this.resultCount = result.count;
|
|
10430
10821
|
});
|
|
10822
|
+
this.setPreviousSearchRequest();
|
|
10431
10823
|
}
|
|
10432
10824
|
getLabelBasedOnTransactionType() {
|
|
10433
10825
|
return this.labelBasedOnTransactionType.get(this._transactionType);
|
|
10434
10826
|
}
|
|
10435
10827
|
resetFilters() {
|
|
10436
|
-
|
|
10828
|
+
this.setPreviousSearchRequest();
|
|
10437
10829
|
this._resetRequest();
|
|
10438
|
-
this.searchRequest.general =
|
|
10830
|
+
this.searchRequest.general = this.previousSearchRequest.general;
|
|
10439
10831
|
this.searchTransactions();
|
|
10440
10832
|
}
|
|
10441
10833
|
_resetRequest() {
|
|
10442
10834
|
this.searchRequest = new TransactionSearchViewRequest();
|
|
10443
10835
|
}
|
|
10836
|
+
setPreviousSearchRequest() {
|
|
10837
|
+
this.previousSearchRequest = Object.assign({}, this.searchRequest);
|
|
10838
|
+
}
|
|
10839
|
+
isNewGeneralSearch() {
|
|
10840
|
+
return this.previousSearchRequest && this.previousSearchRequest.general !== this.searchRequest.general;
|
|
10841
|
+
}
|
|
10444
10842
|
}
|
|
10445
10843
|
TransactionSearchService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionSearchService_Factory() { return new TransactionSearchService(i0.ɵɵinject(TransactionService)); }, token: TransactionSearchService, providedIn: "root" });
|
|
10446
10844
|
TransactionSearchService.decorators = [
|
|
@@ -10647,58 +11045,64 @@ TransactionSearchPurchaseOrderGridComponent.decorators = [
|
|
|
10647
11045
|
{ type: Component, args: [{
|
|
10648
11046
|
selector: "co-transaction-search-purchase-order-grid",
|
|
10649
11047
|
template: `
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
11048
|
+
<div>
|
|
11049
|
+
<co-simple-grid
|
|
11050
|
+
[data]="searchService.transactions"
|
|
11051
|
+
[extraColumns]="extraColumns"
|
|
11052
|
+
[dragDropEnabled]="true"
|
|
11053
|
+
[emitDragDrop]="false"
|
|
11054
|
+
(selectRow)="onTransactionClick($event)">
|
|
11055
|
+
<co-simple-grid-column [headerText]="'ACTIVE' | localize"
|
|
11056
|
+
[order]="10" [textAlign]="align.Center">
|
|
11057
|
+
<ng-template #template let-row="row">
|
|
11058
|
+
<co-input-checkbox [model]="row.active" readonly></co-input-checkbox>
|
|
11059
|
+
</ng-template>
|
|
11060
|
+
</co-simple-grid-column>
|
|
11061
|
+
<co-simple-grid-column [headerText]="'NR' | localize" [field]="'transNr'"
|
|
11062
|
+
[order]="20"></co-simple-grid-column>
|
|
11063
|
+
<co-simple-grid-column [headerText]="'NAME' | localize" [field]="'relationName'"
|
|
11064
|
+
[order]="30"></co-simple-grid-column>
|
|
11065
|
+
<co-simple-grid-column [headerText]="'RELATION_NUMBER' | localize" [field]="'relationNr'"
|
|
11066
|
+
[order]="40"></co-simple-grid-column>
|
|
11067
|
+
<co-simple-grid-column [headerText]="'BRANCH' | localize" [field]="'brancheName'"
|
|
11068
|
+
[order]="50"></co-simple-grid-column>
|
|
11069
|
+
<co-simple-grid-column [headerText]="'ADDRESS' | localize" [field]="'adres'"
|
|
11070
|
+
[order]="70"></co-simple-grid-column>
|
|
11071
|
+
<co-simple-grid-column [headerText]="'REFERENCE_RELATION' | localize" [field]="'relationReference'"
|
|
11072
|
+
[order]="80"></co-simple-grid-column>
|
|
11073
|
+
<co-simple-grid-column [headerText]="'PREFERRED_DATE' | localize"
|
|
11074
|
+
[order]="90" [textAlign]="align.Right" [resizable]="false">
|
|
11075
|
+
<ng-template #template let-row="row">
|
|
11076
|
+
<div [textContent]="row.preferredDeliveryDate | date: 'dd MMM yyyy'"></div>
|
|
11077
|
+
</ng-template>
|
|
11078
|
+
</co-simple-grid-column>
|
|
11079
|
+
<co-simple-grid-column [headerText]="'TRANSACTION_DATE' | localize"
|
|
11080
|
+
[order]="100" [textAlign]="align.Right" [resizable]="false">
|
|
11081
|
+
<ng-template #template let-row="row">
|
|
11082
|
+
<div [textContent]="row.transDate | date:'dd MMM yyyy'"></div>
|
|
11083
|
+
</ng-template>
|
|
11084
|
+
</co-simple-grid-column>
|
|
11085
|
+
<co-simple-grid-column [headerText]="'ORDER_DEFINITIVE' | localize"
|
|
11086
|
+
[order]="105" [textAlign]="align.Center">
|
|
11087
|
+
<ng-template #template let-row="row">
|
|
11088
|
+
<co-input-checkbox [model]="row.transactionDefinitive" readonly></co-input-checkbox>
|
|
11089
|
+
</ng-template>
|
|
11090
|
+
</co-simple-grid-column>
|
|
11091
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize"
|
|
11092
|
+
[order]="110" [textAlign]="align.Right" [resizable]="false">
|
|
11093
|
+
<ng-template #template let-row="row">
|
|
11094
|
+
<div [textContent]="row.deliveryDate | date:'dd MMM yyyy'"></div>
|
|
11095
|
+
</ng-template>
|
|
11096
|
+
</co-simple-grid-column>
|
|
11097
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE_DEFINITIVE' | localize"
|
|
11098
|
+
[order]="115" [textAlign]="align.Center">
|
|
11099
|
+
<ng-template #template let-row="row">
|
|
11100
|
+
<co-input-checkbox [model]="row.deliveryDateDefinitive" readonly></co-input-checkbox>
|
|
11101
|
+
</ng-template>
|
|
11102
|
+
</co-simple-grid-column>
|
|
11103
|
+
</co-simple-grid>
|
|
11104
|
+
</div>
|
|
11105
|
+
`,
|
|
10702
11106
|
encapsulation: ViewEncapsulation.None
|
|
10703
11107
|
},] }
|
|
10704
11108
|
];
|
|
@@ -10722,57 +11126,63 @@ TransactionSearchSalesOrderGridComponent.decorators = [
|
|
|
10722
11126
|
{ type: Component, args: [{
|
|
10723
11127
|
selector: "co-transaction-search-sales-order-grid",
|
|
10724
11128
|
template: `
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
11129
|
+
<div>
|
|
11130
|
+
<co-simple-grid
|
|
11131
|
+
[data]="searchService.transactions"
|
|
11132
|
+
[extraColumns]="extraColumns"
|
|
11133
|
+
[dragDropEnabled]="true"
|
|
11134
|
+
[emitDragDrop]="false"
|
|
11135
|
+
(selectRow)="onTransactionClick($event)">
|
|
11136
|
+
<co-simple-grid-column [headerText]="'ACTIVE' | localize"
|
|
11137
|
+
[order]="10" [textAlign]="align.Center">
|
|
11138
|
+
<ng-template #template let-row="row">
|
|
11139
|
+
<co-input-checkbox [model]="row.active" readonly></co-input-checkbox>
|
|
11140
|
+
</ng-template>
|
|
11141
|
+
</co-simple-grid-column>
|
|
11142
|
+
<co-simple-grid-column [headerText]="'NR' | localize" [field]="'transNr'"
|
|
11143
|
+
[order]="20"></co-simple-grid-column>
|
|
11144
|
+
<co-simple-grid-column [headerText]="'NAME' | localize" [field]="'relationName'"
|
|
11145
|
+
[order]="30"></co-simple-grid-column>
|
|
11146
|
+
<co-simple-grid-column [headerText]="'RELATION_NUMBER' | localize" [field]="'relationNr'"
|
|
11147
|
+
[order]="40"></co-simple-grid-column>
|
|
11148
|
+
<co-simple-grid-column [headerText]="'BRANCH' | localize" [field]="'brancheName'"
|
|
11149
|
+
[order]="50"></co-simple-grid-column>
|
|
11150
|
+
<co-simple-grid-column [headerText]="'ADDRESS' | localize" [field]="'adres'"
|
|
11151
|
+
[order]="70"></co-simple-grid-column>
|
|
11152
|
+
<co-simple-grid-column [headerText]="'REFERENCE_RELATION' | localize" [field]="'relationReference'"
|
|
11153
|
+
[order]="80"></co-simple-grid-column>
|
|
11154
|
+
<co-simple-grid-column [headerText]="'PREFERRED_DATE' | localize"
|
|
11155
|
+
[order]="90" [textAlign]="align.Right" [resizable]="false">
|
|
11156
|
+
<ng-template #template let-row="row">
|
|
11157
|
+
<div [textContent]="row.preferredDeliveryDate | date: 'dd MMM yyyy'"></div>
|
|
11158
|
+
</ng-template>
|
|
11159
|
+
</co-simple-grid-column>
|
|
11160
|
+
<co-simple-grid-column [headerText]="'TRANSACTION_DATE' | localize"
|
|
11161
|
+
[order]="100" [textAlign]="align.Right" [resizable]="false">
|
|
11162
|
+
<ng-template #template let-row="row">
|
|
11163
|
+
<div [textContent]="row.transDate | date:'dd MMM yyyy'"></div>
|
|
11164
|
+
</ng-template>
|
|
11165
|
+
</co-simple-grid-column>
|
|
11166
|
+
<co-simple-grid-column [headerText]="'ORDER_DEFINITIVE' | localize"
|
|
11167
|
+
[order]="105" [textAlign]="align.Center">
|
|
11168
|
+
<ng-template #template let-row="row">
|
|
11169
|
+
<co-input-checkbox [model]="row.transactionDefinitive" readonly></co-input-checkbox>
|
|
11170
|
+
</ng-template>
|
|
11171
|
+
</co-simple-grid-column>
|
|
11172
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize"
|
|
11173
|
+
[order]="110" [textAlign]="align.Right" [resizable]="false">
|
|
11174
|
+
<ng-template #template let-row="row">
|
|
11175
|
+
<div [textContent]="row.deliveryDate | date:'dd MMM yyyy'"></div>
|
|
11176
|
+
</ng-template>
|
|
11177
|
+
</co-simple-grid-column>
|
|
11178
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE_DEFINITIVE' | localize"
|
|
11179
|
+
[order]="115" [textAlign]="align.Center">
|
|
11180
|
+
<ng-template #template let-row="row">
|
|
11181
|
+
<co-input-checkbox [model]="row.deliveryDateDefinitive" readonly></co-input-checkbox>
|
|
11182
|
+
</ng-template>
|
|
11183
|
+
</co-simple-grid-column>
|
|
11184
|
+
</co-simple-grid>
|
|
11185
|
+
</div>
|
|
10776
11186
|
`,
|
|
10777
11187
|
encapsulation: ViewEncapsulation.None
|
|
10778
11188
|
},] }
|
|
@@ -11746,22 +12156,21 @@ class TransactionLineSidePanelPurchaseComponent {
|
|
|
11746
12156
|
this.transactionLine = new TransactionLineInfo();
|
|
11747
12157
|
this.quantityToReceiveChange = new EventEmitter();
|
|
11748
12158
|
this.goodsReceiptStatus = new GoodsReceiptStatusWithHistory();
|
|
12159
|
+
this._transactionInfo = new TransactionInfo();
|
|
11749
12160
|
}
|
|
11750
|
-
set
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
this.getGoodsReceiptStatusWithHistory();
|
|
11754
|
-
}
|
|
12161
|
+
set transactionInfo(value) {
|
|
12162
|
+
this._transactionInfo = value;
|
|
12163
|
+
this.getGoodsReceiptStatusWithHistory();
|
|
11755
12164
|
}
|
|
11756
|
-
get
|
|
11757
|
-
return this.
|
|
12165
|
+
get transactionInfo() {
|
|
12166
|
+
return this._transactionInfo;
|
|
11758
12167
|
}
|
|
11759
12168
|
showClass() {
|
|
11760
12169
|
return true;
|
|
11761
12170
|
}
|
|
11762
12171
|
getGoodsReceiptStatusWithHistory() {
|
|
11763
12172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11764
|
-
yield this._service.getGoodsReceiptStatusWithHistory(this.
|
|
12173
|
+
yield this._service.getGoodsReceiptStatusWithHistory(this._transactionInfo.id, this.transactionLine.lineNr)
|
|
11765
12174
|
.then((result) => {
|
|
11766
12175
|
this.goodsReceiptStatus = result;
|
|
11767
12176
|
this._transactionEventService.transactionLineChanged.next({ transactionLine: this.transactionLine, goodsReceiptStatus: result });
|
|
@@ -11777,25 +12186,25 @@ TransactionLineSidePanelPurchaseComponent.decorators = [
|
|
|
11777
12186
|
<ng-container [ngSwitch]="category">
|
|
11778
12187
|
<ng-container *ngSwitchCase="categories.PurchaseOrderOrderConfirmation">
|
|
11779
12188
|
<co-transaction-confirmation-details
|
|
11780
|
-
[transactionInfoNr]="
|
|
12189
|
+
[transactionInfoNr]="transactionInfo.transactionNr"
|
|
11781
12190
|
[transactionLines]="transactionLine"
|
|
11782
12191
|
></co-transaction-confirmation-details>
|
|
11783
12192
|
<co-transaction-confirmation-history
|
|
11784
12193
|
[transactionLines]="transactionLine"
|
|
11785
|
-
[transactionInfoNr]="
|
|
11786
|
-
[transactionId]="
|
|
12194
|
+
[transactionInfoNr]="transactionInfo.transactionNr"
|
|
12195
|
+
[transactionId]="transactionInfo.id"
|
|
11787
12196
|
></co-transaction-confirmation-history>
|
|
11788
12197
|
</ng-container>
|
|
11789
12198
|
|
|
11790
12199
|
<ng-container *ngSwitchCase="categories.PurchaseOrderReceivedGoods">
|
|
11791
12200
|
<co-transaction-receiving-goods-details
|
|
11792
|
-
[transactionId]="
|
|
12201
|
+
[transactionId]="transactionInfo.id"
|
|
11793
12202
|
[transactionLine]="transactionLine"
|
|
11794
12203
|
[amountLeftToReceive]="goodsReceiptStatus.quantityToReceive"
|
|
11795
12204
|
(reloadReceivingGoodsHistory)="getGoodsReceiptStatusWithHistory()"
|
|
11796
12205
|
></co-transaction-receiving-goods-details>
|
|
11797
12206
|
<co-transaction-receiving-goods-history
|
|
11798
|
-
[transactionId]="
|
|
12207
|
+
[transactionId]="transactionInfo.id"
|
|
11799
12208
|
[transactionLine]="transactionLine"
|
|
11800
12209
|
[goodsReceiptHistory]="goodsReceiptStatus.goodsReceiptHistory"
|
|
11801
12210
|
(reloadReceivingGoodsHistory)="getGoodsReceiptStatusWithHistory()"
|
|
@@ -11804,6 +12213,7 @@ TransactionLineSidePanelPurchaseComponent.decorators = [
|
|
|
11804
12213
|
|
|
11805
12214
|
<ng-container *ngSwitchDefault>
|
|
11806
12215
|
<co-transaction-line-side-panel-default
|
|
12216
|
+
[transactionInfo]="transactionInfo"
|
|
11807
12217
|
[transactionLine]="transactionLine"
|
|
11808
12218
|
></co-transaction-line-side-panel-default>
|
|
11809
12219
|
</ng-container>
|
|
@@ -11817,10 +12227,9 @@ TransactionLineSidePanelPurchaseComponent.ctorParameters = () => [
|
|
|
11817
12227
|
{ type: TransactionEventService }
|
|
11818
12228
|
];
|
|
11819
12229
|
TransactionLineSidePanelPurchaseComponent.propDecorators = {
|
|
12230
|
+
transactionInfo: [{ type: Input }],
|
|
11820
12231
|
transactionLine: [{ type: Input }],
|
|
11821
|
-
transactionId: [{ type: Input }],
|
|
11822
12232
|
category: [{ type: Input }],
|
|
11823
|
-
transactionInfoNr: [{ type: Input }],
|
|
11824
12233
|
quantityToReceiveChange: [{ type: Output }],
|
|
11825
12234
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-side-panel-purchase",] }]
|
|
11826
12235
|
};
|
|
@@ -12629,15 +13038,22 @@ ShoppingCartModule.decorators = [
|
|
|
12629
13038
|
},] }
|
|
12630
13039
|
];
|
|
12631
13040
|
|
|
13041
|
+
var SearchBarViewMode;
|
|
13042
|
+
(function (SearchBarViewMode) {
|
|
13043
|
+
SearchBarViewMode[SearchBarViewMode["Expanded"] = 0] = "Expanded";
|
|
13044
|
+
SearchBarViewMode[SearchBarViewMode["Collapsed"] = 1] = "Collapsed";
|
|
13045
|
+
})(SearchBarViewMode || (SearchBarViewMode = {}));
|
|
12632
13046
|
class TransactionSearchComponent {
|
|
12633
13047
|
constructor(_transactionSearchService) {
|
|
12634
13048
|
this._transactionSearchService = _transactionSearchService;
|
|
12635
13049
|
this.searchViewModes = SearchViewMode;
|
|
13050
|
+
this.orientations = CoOrientation;
|
|
13051
|
+
this.directionRight = CoDirection.Right;
|
|
12636
13052
|
this.activeSearchViewMode = SearchViewMode.FullScreen;
|
|
12637
|
-
this.
|
|
13053
|
+
this.activeSearchBarViewMode = SearchBarViewMode.Expanded;
|
|
13054
|
+
this.showFilterSidebar = false;
|
|
12638
13055
|
this.transactionClick = new EventEmitter();
|
|
12639
13056
|
this.searchViewModeChange = new EventEmitter();
|
|
12640
|
-
this.showFilterSidebar = false;
|
|
12641
13057
|
}
|
|
12642
13058
|
set transactionType(value) {
|
|
12643
13059
|
this._transactionType = value;
|
|
@@ -12652,6 +13068,9 @@ class TransactionSearchComponent {
|
|
|
12652
13068
|
get fullscreen() {
|
|
12653
13069
|
return this.activeSearchViewMode === SearchViewMode.FullScreen;
|
|
12654
13070
|
}
|
|
13071
|
+
get collapsed() {
|
|
13072
|
+
return this.activeSearchBarViewMode === SearchBarViewMode.Collapsed;
|
|
13073
|
+
}
|
|
12655
13074
|
toggleFilter() {
|
|
12656
13075
|
this.showFilterSidebar = !this.showFilterSidebar;
|
|
12657
13076
|
}
|
|
@@ -12661,12 +13080,18 @@ class TransactionSearchComponent {
|
|
|
12661
13080
|
handleResetFilter() {
|
|
12662
13081
|
this._transactionSearchService.resetFilters();
|
|
12663
13082
|
this.showFilterSidebar = false;
|
|
12664
|
-
setTimeout(() => {
|
|
13083
|
+
setTimeout(() => {
|
|
13084
|
+
this.showFilterSidebar = true;
|
|
13085
|
+
}, 10);
|
|
12665
13086
|
}
|
|
12666
13087
|
onTransactionClick(transaction) {
|
|
13088
|
+
if (this.activeSearchViewMode === this.searchViewModes.FullScreen) {
|
|
13089
|
+
this.collapseSearchBar();
|
|
13090
|
+
}
|
|
13091
|
+
this._scrollToTop();
|
|
12667
13092
|
this.transactionClick.emit(transaction);
|
|
12668
13093
|
}
|
|
12669
|
-
|
|
13094
|
+
onSearchViewResizeClick() {
|
|
12670
13095
|
if (this.activeSearchViewMode === this.searchViewModes.SideBar) {
|
|
12671
13096
|
this.activeSearchViewMode = this.searchViewModes.FullScreen;
|
|
12672
13097
|
}
|
|
@@ -12675,13 +13100,47 @@ class TransactionSearchComponent {
|
|
|
12675
13100
|
}
|
|
12676
13101
|
this.searchViewModeChange.emit(this.activeSearchViewMode);
|
|
12677
13102
|
}
|
|
13103
|
+
onSideCollapseHandleClick() {
|
|
13104
|
+
this.toggleSearchBar();
|
|
13105
|
+
}
|
|
13106
|
+
toggleSearchBar() {
|
|
13107
|
+
if (this.collapsed || this.fullscreen) {
|
|
13108
|
+
this.expandSearchBar();
|
|
13109
|
+
}
|
|
13110
|
+
else {
|
|
13111
|
+
this.collapseSearchBar();
|
|
13112
|
+
}
|
|
13113
|
+
}
|
|
13114
|
+
collapseSearchBar() {
|
|
13115
|
+
this.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
13116
|
+
this.activeSearchBarViewMode = SearchBarViewMode.Collapsed;
|
|
13117
|
+
this.searchViewModeChange.emit(this.activeSearchViewMode);
|
|
13118
|
+
}
|
|
13119
|
+
expandSearchBar() {
|
|
13120
|
+
this.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
13121
|
+
this.activeSearchBarViewMode = SearchBarViewMode.Expanded;
|
|
13122
|
+
this.searchViewModeChange.emit(this.activeSearchViewMode);
|
|
13123
|
+
}
|
|
13124
|
+
calculateClasses() {
|
|
13125
|
+
return {
|
|
13126
|
+
'fullscreen': this.fullscreen,
|
|
13127
|
+
'sidebar': !this.fullscreen,
|
|
13128
|
+
'collapsed': this.collapsed,
|
|
13129
|
+
'expanded': !this.collapsed,
|
|
13130
|
+
};
|
|
13131
|
+
}
|
|
13132
|
+
_scrollToTop() {
|
|
13133
|
+
document.documentElement.scrollTop = 0;
|
|
13134
|
+
}
|
|
12678
13135
|
}
|
|
12679
13136
|
TransactionSearchComponent.decorators = [
|
|
12680
13137
|
{ type: Component, args: [{
|
|
12681
13138
|
selector: 'co-transaction-search',
|
|
12682
13139
|
template: `
|
|
12683
|
-
<div class="transaction-search-wrapper"
|
|
12684
|
-
|
|
13140
|
+
<div class="transaction-search-wrapper"
|
|
13141
|
+
[ngClass]="calculateClasses()">
|
|
13142
|
+
<div class="transaction-filter-wrapper narrow-scrollbar"
|
|
13143
|
+
[ngClass]="calculateClasses()"
|
|
12685
13144
|
*ngIf="showFilterSidebar" @showHideFilterSidebar>
|
|
12686
13145
|
<co-transaction-filter
|
|
12687
13146
|
[transactionType]="transactionType"
|
|
@@ -12689,17 +13148,29 @@ TransactionSearchComponent.decorators = [
|
|
|
12689
13148
|
(closeButtonClick)="handleHideFilter()"
|
|
12690
13149
|
(resetFilterClick)="handleResetFilter()"></co-transaction-filter>
|
|
12691
13150
|
</div>
|
|
12692
|
-
<div class="transaction-search-result-wrapper">
|
|
13151
|
+
<div class="transaction-search-result-wrapper" [ngClass]="calculateClasses()">
|
|
12693
13152
|
<co-transaction-search-result
|
|
12694
13153
|
[transactionType]="transactionType"
|
|
12695
13154
|
[activeSearchViewMode]="activeSearchViewMode"
|
|
12696
13155
|
(filterClick)="toggleFilter()"
|
|
12697
13156
|
(transactionClick)="onTransactionClick($event)"
|
|
12698
|
-
(resizeClick)="
|
|
12699
|
-
(closeClick)="
|
|
13157
|
+
(resizeClick)="onSearchViewResizeClick()"
|
|
13158
|
+
(closeClick)="collapseSearchBar()"
|
|
12700
13159
|
></co-transaction-search-result>
|
|
12701
13160
|
</div>
|
|
12702
13161
|
</div>
|
|
13162
|
+
<div class="transaction-search-content-wrapper" [ngClass]="calculateClasses()">
|
|
13163
|
+
<ng-content></ng-content>
|
|
13164
|
+
</div>
|
|
13165
|
+
|
|
13166
|
+
<co-icon-collapse-handle
|
|
13167
|
+
class="for-sidebar"
|
|
13168
|
+
[ngClass]="calculateClasses()"
|
|
13169
|
+
[orientation]="orientations.Vertical"
|
|
13170
|
+
[arrowDirection]="directionRight"
|
|
13171
|
+
[twoArrows]="true"
|
|
13172
|
+
(click)="onSideCollapseHandleClick()">
|
|
13173
|
+
</co-icon-collapse-handle>
|
|
12703
13174
|
`,
|
|
12704
13175
|
animations: [
|
|
12705
13176
|
trigger("showHideFilterSidebar", [
|
|
@@ -12715,7 +13186,6 @@ TransactionSearchComponent.ctorParameters = () => [
|
|
|
12715
13186
|
{ type: TransactionSearchService }
|
|
12716
13187
|
];
|
|
12717
13188
|
TransactionSearchComponent.propDecorators = {
|
|
12718
|
-
closeClick: [{ type: Output }],
|
|
12719
13189
|
transactionType: [{ type: Input }],
|
|
12720
13190
|
transactionClick: [{ type: Output }],
|
|
12721
13191
|
searchViewModeChange: [{ type: Output }],
|
|
@@ -13859,7 +14329,8 @@ TransactionSearchPurchaseOrderGridModule.decorators = [
|
|
|
13859
14329
|
CommonModule,
|
|
13860
14330
|
SimpleGridModule,
|
|
13861
14331
|
PipeModule,
|
|
13862
|
-
InputCheckboxModule
|
|
14332
|
+
InputCheckboxModule,
|
|
14333
|
+
PaginationModule
|
|
13863
14334
|
],
|
|
13864
14335
|
declarations: [
|
|
13865
14336
|
TransactionSearchPurchaseOrderGridComponent
|
|
@@ -13879,7 +14350,8 @@ TransactionSearchSalesOrderGridModule.decorators = [
|
|
|
13879
14350
|
CoreModule,
|
|
13880
14351
|
PipeModule,
|
|
13881
14352
|
SimpleGridModule,
|
|
13882
|
-
InputCheckboxModule
|
|
14353
|
+
InputCheckboxModule,
|
|
14354
|
+
PaginationModule
|
|
13883
14355
|
],
|
|
13884
14356
|
declarations: [
|
|
13885
14357
|
TransactionSearchSalesOrderGridComponent
|
|
@@ -14328,6 +14800,7 @@ class TransactionSearchResultComponent {
|
|
|
14328
14800
|
}
|
|
14329
14801
|
onTransactionClick(transaction) {
|
|
14330
14802
|
this.selectedTransaction = transaction;
|
|
14803
|
+
this.activeContentViewMode = this.contentViewModes.Tiles;
|
|
14331
14804
|
this.transactionClick.emit(transaction);
|
|
14332
14805
|
}
|
|
14333
14806
|
onResizeClick() {
|
|
@@ -14340,8 +14813,14 @@ class TransactionSearchResultComponent {
|
|
|
14340
14813
|
onFilterClick() {
|
|
14341
14814
|
this.filterClick.emit();
|
|
14342
14815
|
}
|
|
14343
|
-
|
|
14344
|
-
this.searchService.
|
|
14816
|
+
onPreviousClick() {
|
|
14817
|
+
this.searchService.currentPage -= 1;
|
|
14818
|
+
}
|
|
14819
|
+
onNextClick() {
|
|
14820
|
+
this.searchService.currentPage += 1;
|
|
14821
|
+
}
|
|
14822
|
+
onPageClick(pageNr) {
|
|
14823
|
+
this.searchService.currentPage = pageNr;
|
|
14345
14824
|
}
|
|
14346
14825
|
}
|
|
14347
14826
|
TransactionSearchResultComponent.decorators = [
|
|
@@ -14362,8 +14841,7 @@ TransactionSearchResultComponent.decorators = [
|
|
|
14362
14841
|
|
|
14363
14842
|
<div class="transaction-search-result-content-tiles-wrapper" [ngClass]="fullscreen ? 'fullscreen' : 'sidebar'"
|
|
14364
14843
|
*ngIf="activeContentViewMode === contentViewModes.Tiles">
|
|
14365
|
-
<div class="transaction-tile" *ngFor="let transaction of searchService.transactions
|
|
14366
|
-
{itemsPerPage: searchService.transactionsPerPage, currentPage: searchService.showcasePage, totalItems: searchService.resultCount}">
|
|
14844
|
+
<div class="transaction-tile" *ngFor="let transaction of searchService.transactions">
|
|
14367
14845
|
<co-transaction-search-tile
|
|
14368
14846
|
[transaction]="transaction"
|
|
14369
14847
|
[transactionType]="transactionType"
|
|
@@ -14372,16 +14850,26 @@ TransactionSearchResultComponent.decorators = [
|
|
|
14372
14850
|
</co-transaction-search-tile>
|
|
14373
14851
|
</div>
|
|
14374
14852
|
</div>
|
|
14375
|
-
|
|
14376
|
-
[nextLabel]="'NEXT' | localize"
|
|
14377
|
-
[autoHide]="true"
|
|
14378
|
-
(pageChange)="onPaginationPageChange($event)"></co-pagination>
|
|
14853
|
+
|
|
14379
14854
|
<div class="transaction-search-result-content-grid-wrapper" *ngIf="activeContentViewMode === contentViewModes.Grid">
|
|
14380
14855
|
<co-transaction-search-grid
|
|
14381
14856
|
[transactionType]="transactionType"
|
|
14382
14857
|
(transactionClick)="onTransactionClick($event)"
|
|
14383
14858
|
></co-transaction-search-grid>
|
|
14384
14859
|
</div>
|
|
14860
|
+
<co-pagination-bar *ngIf="searchService.transactions?.length > 0"
|
|
14861
|
+
[currentPage]="searchService.currentPage"
|
|
14862
|
+
[itemsPerPage]="searchService.transactionsPerPage"
|
|
14863
|
+
[totalItems]="searchService.resultCount"
|
|
14864
|
+
[previousLabel]="'PREVIOUS' | localize"
|
|
14865
|
+
[nextLabel]="'NEXT' | localize"
|
|
14866
|
+
[autoHide]="true"
|
|
14867
|
+
[directionLinks]="fullscreen"
|
|
14868
|
+
[paginationRange]="!fullscreen ? 6 : 8"
|
|
14869
|
+
(previousClick)="onPreviousClick()"
|
|
14870
|
+
(nextClick)="onNextClick()"
|
|
14871
|
+
(pageClick)="onPageClick($event)">
|
|
14872
|
+
</co-pagination-bar>
|
|
14385
14873
|
`,
|
|
14386
14874
|
encapsulation: ViewEncapsulation.None
|
|
14387
14875
|
},] }
|
|
@@ -14417,7 +14905,8 @@ TransactionSearchResultModule.decorators = [
|
|
|
14417
14905
|
TransactionSearchHeaderModule,
|
|
14418
14906
|
TransactionSearchGridModule,
|
|
14419
14907
|
TransactionSearchTileModule,
|
|
14420
|
-
PaginationModule
|
|
14908
|
+
PaginationModule,
|
|
14909
|
+
PaginationBarModule
|
|
14421
14910
|
],
|
|
14422
14911
|
declarations: [
|
|
14423
14912
|
TransactionSearchResultComponent
|
|
@@ -15128,7 +15617,8 @@ TransactionSearchModule.decorators = [
|
|
|
15128
15617
|
TransactionSearchResultModule,
|
|
15129
15618
|
TransactionSalesOrderFilterModule,
|
|
15130
15619
|
TransactionPurchaseOrderFilterModule,
|
|
15131
|
-
TransactionFilterModule
|
|
15620
|
+
TransactionFilterModule,
|
|
15621
|
+
IconCollapseHandleModule
|
|
15132
15622
|
],
|
|
15133
15623
|
declarations: [
|
|
15134
15624
|
TransactionSearchComponent
|
|
@@ -15241,5 +15731,5 @@ TransactionLineGridModule.decorators = [
|
|
|
15241
15731
|
* Generated bundle index. Do not edit.
|
|
15242
15732
|
*/
|
|
15243
15733
|
|
|
15244
|
-
export { CheckoutComponent, CheckoutModule, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, RelationAddressComponent as ɵba, RelationAddressSelectModule as ɵbb, RelationAddressTileModule as ɵbc, TileModule as ɵbd, TileComponent as ɵbe, RelationAddressTileComponent as ɵbf, RelationAddressSelectComponent as ɵbg, BusinessObjectFactory as ɵbh, StepperModule as ɵbi, StepperComponent as ɵbj, StepperStepComponent as ɵbk, TransactionArticleTextModule as ɵbl, TransactionArticleTextComponent as ɵbm, TransactionArticleTextOverviewModule as ɵbn, TransactionArticleTextOverviewComponent as ɵbo, TransactionLineActionButtonsModule as ɵbp, TransactionLineActionButtonsComponent as ɵbq, EditableLabelModule as ɵbr, EditableLabelComponent as ɵbs, TransactionLinePriceModule as ɵbt, TransactionLinePriceComponent as ɵbu, TransactionLineFieldsBaseComponent as ɵbv,
|
|
15734
|
+
export { CheckoutComponent, CheckoutModule, SearchBarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, RelationAddressComponent as ɵba, RelationAddressSelectModule as ɵbb, RelationAddressTileModule as ɵbc, TileModule as ɵbd, TileComponent as ɵbe, RelationAddressTileComponent as ɵbf, RelationAddressSelectComponent as ɵbg, BusinessObjectFactory as ɵbh, StepperModule as ɵbi, StepperComponent as ɵbj, StepperStepComponent as ɵbk, TransactionArticleTextModule as ɵbl, TransactionArticleTextComponent as ɵbm, TransactionArticleTextOverviewModule as ɵbn, TransactionArticleTextOverviewComponent as ɵbo, TransactionLineActionButtonsModule as ɵbp, TransactionLineActionButtonsComponent as ɵbq, EditableLabelModule as ɵbr, EditableLabelComponent as ɵbs, TransactionLinePriceModule as ɵbt, TransactionLinePriceComponent as ɵbu, TransactionLineFieldsBaseComponent as ɵbv, TransactionLineDescriptionModule as ɵbw, TransactionLineDescriptionComponent as ɵbx, TransactionImageService as ɵby, AvatarModule as ɵbz, OptionsService as ɵc, AvatarComponent as ɵca, SharedService as ɵcb, SharedConnectorService as ɵcc, DeliveryTypeTileModule as ɵcd, DeliveryTypeTileComponent as ɵce, PaymentModule as ɵcf, PaymentTileModule as ɵcg, PaymentTileComponent as ɵch, PaymentQrCodeModule as ɵci, PaymentQrCodeComponent as ɵcj, PaymentService as ɵck, PaymentComponent as ɵcl, CheckoutOverviewRelationEditComponent as ɵcm, CheckoutOverviewDeliveryEditComponent as ɵcn, CheckoutOverviewDeliveryAddressComponent as ɵco, CheckOutRelationSuggestionsListComponent as ɵcp, CheckOutRelationSuggestionsListItemComponent as ɵcq, CheckoutLoginComponent as ɵcr, TransactionHeaderModule$1 as ɵcs, TransactionHeaderBlockModule as ɵct, TransactionHeaderBlockComponent as ɵcu, TransactionBaseComponent as ɵcv, TransactionHeaderDeliveryDateComponent as ɵcw, TransactionHeaderFieldsBaseComponent as ɵcx, TransactionHeaderPaymentModule as ɵcy, TransactionHeaderPaymentComponent as ɵcz, DictionaryService as ɵd, TransactionHeaderComponent$1 as ɵda, TransactionLinesGridModule as ɵdb, TransactionBaseGridModule as ɵdc, TransactionLineSidePanelModule as ɵdd, TransactionLineSidePanelDefaultModule as ɵde, TransactionLinePriceListModule as ɵdf, TransactionLinePriceListComponent as ɵdg, TransactionLineVatModule as ɵdh, TransactionLineVatComponent as ɵdi, TransactionLineQuantityModule as ɵdj, TransactionLineQuantityComponent as ɵdk, TransactionLineLineDiscountModule as ɵdl, TransactionLineLineDiscountComponent as ɵdm, TransactionLineDeliveryMethodModule as ɵdn, TransactionLineDeliveryMethodComponent as ɵdo, TransactionLineDeliveryDateModule as ɵdp, TransactionLineDeliveryDateComponent as ɵdq, TransactionLineReferenceModule as ɵdr, TransactionLineReferenceComponent as ɵds, TransactionLineCommissionCodeModule as ɵdt, TransactionLineCommissionCodeComponent as ɵdu, TransactionLineWarehouseModule as ɵdv, TransactionLineWarehouseComponent as ɵdw, TransactionLineDiscountAmountModule as ɵdx, TransactionLineDiscountAmountComponent as ɵdy, TransactionLineQuantumDiscountModule as ɵdz, TransactionConnectorService as ɵe, TransactionLineQuantumDiscountComponent as ɵea, TransactionLineSpecialDiscountModule as ɵeb, TransactionLineSpecialDiscountComponent as ɵec, TransactionLineSupplierModule as ɵed, TransactionLineSupplierComponent as ɵee, TransactionLineSidePanelDefaultComponent as ɵef, TransactionReceivingGoodsHistoryModule as ɵeg, TransactionHistoryGridModule as ɵeh, TransactionHistoryGridStatusModule as ɵei, TransactionHistoryGridStatusComponent as ɵej, TransactionHistoryGridComponent as ɵek, TransactionReceivingGoodsHistoryComponent as ɵel, TransactionReceivingGoodsDetailsModule as ɵem, TransactionReceivingGoodsDetailsComponent as ɵen, ArticleService as ɵeo, TransactionButtonBarModule as ɵep, TransactionButtonBarComponent as ɵeq, TransactionMappingService as ɵer, TransactionButtonBarButtonComponent as ɵes, TransactionLineSidePanelPurchaseModule as ɵet, DefaultOkCancelButtonsModule as ɵeu, DefaultOkCancelButtonsComponent as ɵev, TransactionLineSidePanelPurchaseComponent as ɵew, TransactionEventService as ɵex, TransactionLineSidePanelComponent as ɵey, TransactionBaseGridComponent as ɵez, CollectionCacheService as ɵf, TransactionGridBaseComponent as ɵfa, TransactionLinesGridComponent as ɵfb, DiscountModule as ɵfc, DiscountComponent as ɵfd, TransactionQuickAccessOverviewModule as ɵfe, TransactionQuickAccessOverviewComponent as ɵff, TransactionOrderConfirmationGridModule as ɵfg, TransactionOrderConfirmationGridComponent as ɵfh, TransactionReceivedGoodsGridModule as ɵfi, TransactionReceivedGoodsGridComponent as ɵfj, ViewModeButtonsModule as ɵfk, ViewModeButtonsComponent as ɵfl, TransactionGridModule as ɵfm, TransactionGridComponent as ɵfn, TransactionTileModule as ɵfo, TransactionTileComponent as ɵfp, TransactionSearchService as ɵfq, TransactionSearchResultModule as ɵfr, TransactionSearchSalesOrderTileModule as ɵfs, StatusBarModule as ɵft, StatusBarComponent as ɵfu, TransactionSearchSalesOrderTileComponent as ɵfv, TransactionSearchTileBaseComponent as ɵfw, TransactionSearchPurchaseOrderTileModule as ɵfx, TransactionSearchPurchaseOrderTileComponent as ɵfy, TransactionSearchSalesOrderGridModule as ɵfz, ArticleConnectorService as ɵg, TransactionSearchSalesOrderGridComponent as ɵga, TransactionSearchGridBaseComponent as ɵgb, TransactionSearchPurchaseOrderGridModule as ɵgc, TransactionSearchPurchaseOrderGridComponent as ɵgd, TransactionSearchHeaderModule as ɵge, TransactionSearchHeaderComponent as ɵgf, TransactionSearchGridModule as ɵgg, TransactionSearchGridComponent as ɵgh, TransactionSearchTileModule as ɵgi, TransactionSearchTileComponent as ɵgj, TransactionSearchResultComponent as ɵgk, TransactionSalesOrderFilterModule as ɵgl, TransactionFilterCategoriesModule as ɵgm, TransactionFilterCategoriesComponent as ɵgn, TransactionSalesOrderFilterContentOrderModule as ɵgo, TransactionSalesOrderFilterContentOrderComponent as ɵgp, TransactionFilterContentBaseComponent as ɵgq, FilterRequestService as ɵgr, TransactionSalesOrderFilterContentLogisticsModule as ɵgs, TransactionFilterHistoricStateModule as ɵgt, TransactionFilterHistoricStateComponent as ɵgu, TransactionSalesOrderFilterContentLogisticsComponent as ɵgv, TransactionSalesOrderFilterContentArticleModule as ɵgw, TransactionSalesOrderFilterContentArticleComponent as ɵgx, TransactionSalesOrderFilterComponent as ɵgy, TransactionFilterBaseComponent as ɵgz, CoreModule as ɵh, TransactionPurchaseOrderFilterModule as ɵha, TransactionPurchaseOrderFilterContentOrderModule as ɵhb, TransactionPurchaseOrderFilterContentOrderComponent as ɵhc, TransactionPurchaseOrderFilterContentLogisticsModule as ɵhd, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵhe, TransactionPurchaseOrderFilterContentArticleModule as ɵhf, TransactionPurchaseOrderFilterContentArticleComponent as ɵhg, TransactionPurchaseOrderFilterComponent as ɵhh, TransactionFilterModule as ɵhi, TransactionFilterComponent as ɵhj, 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, LoaderComponent as ɵy, RelationAddressModule as ɵz };
|
|
15245
15735
|
//# sourceMappingURL=colijnit-transaction.js.map
|