@colijnit/transaction 12.1.49 → 12.1.50
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 +1337 -854
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +247 -241
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +248 -242
- package/esm2015/lib/assets/dictionary/text.properties.js +3 -1
- package/esm2015/lib/component/avatar/avatar.component.js +20 -4
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +3 -3
- package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +2 -2
- package/esm2015/lib/component/core/base/transaction-header-base.component.js +17 -2
- package/esm2015/lib/component/core/base/transaction-lines-line-base.component.js +3 -1
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.js +78 -0
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.module.js +29 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.js +5 -5
- package/esm2015/lib/component/editable-label/editable-label.component.js +3 -1
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +4 -10
- package/esm2015/lib/component/relation/relation-suggestions-list-item/relation-suggestions-list-item.component.js +3 -1
- package/esm2015/lib/component/relation/relation-type/relation-type.component.js +3 -8
- package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.component.js +5 -2
- package/esm2015/lib/component/tile/tile.component.js +2 -2
- package/esm2015/lib/component/transaction/transaction.component.js +8 -12
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +6 -5
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +25 -5
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.module.js +6 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +5 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +4 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-definitive.component.js +6 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-date.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-amount.component.js +84 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-amount.module.js +23 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-percentage.component.js +84 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-percentage.module.js +23 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.component.js +85 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.module.js +23 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-amount.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery.component.js +7 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-preferred-delivery-date.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-reference.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-relation-reference.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-remarks.component.js +3 -1
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +16 -8
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +6 -5
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.module.js +4 -4
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +26 -61
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +8 -2
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +6 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-button.component.js +28 -13
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-button.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-button.component.js +28 -13
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-button.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +3 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +3 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price.component.js +3 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +28 -17
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.module.js +4 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +5 -5
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +6 -6
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.js +2 -1
- package/esm2015/lib/component/transaction-search/transaction-filter-historic-state/transaction-filter-historic-state.component.js +2 -4
- package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +3 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.js +3 -3
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +4 -8
- package/esm2015/lib/component/transaction-tile/transaction-tile.component.js +2 -14
- package/esm2015/lib/component/transaction-tile/transaction-tile.module.js +4 -2
- package/esm2015/lib/component/transaction-totals/transaction-totals.component.js +18 -11
- package/esm2015/lib/component/transaction-totals/transaction-totals.module.js +4 -2
- package/esm2015/lib/enum/searchbar-view-mode.enum.js +7 -0
- package/esm2015/lib/service/pending-reason.service.js +2 -1
- package/esm2015/lib/service/transaction-connector-adapter.service.js +19 -2
- package/esm2015/lib/service/transaction-connector.service.js +6 -1
- package/esm2015/lib/service/transaction.service.js +12 -1
- package/esm2015/public_api.js +3 -1
- package/fesm2015/colijnit-transaction.js +1223 -752
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/avatar/avatar.component.d.ts +8 -2
- package/lib/component/avatar/style/_layout.scss +1 -1
- package/lib/component/core/base/components/transaction-header-block/style/_layout.scss +2 -2
- package/lib/component/core/base/transaction-header-base.component.d.ts +5 -0
- package/lib/component/core/base/transaction-lines-line-base.component.d.ts +1 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.d.ts +8 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.module.d.ts +2 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +44 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_material-definition.scss +11 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_theme.scss +11 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/material.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_theme.scss +0 -3
- package/lib/component/transaction/transaction.component.d.ts +0 -2
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +6 -0
- package/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.d.ts +1 -1
- package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +13 -0
- package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +1 -0
- package/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-payment/style/material.scss +1 -0
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +1 -1
- package/lib/component/transaction-header-fields/transaction-header-definitive.component.d.ts +1 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-amount.component.d.ts +17 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-amount.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-percentage.component.d.ts +17 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-percentage.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.component.d.ts +18 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-partial-delivery.component.d.ts +1 -0
- package/lib/component/transaction-line/transaction-line/transaction-line.component.d.ts +4 -2
- package/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.d.ts +2 -0
- package/lib/component/transaction-line/transaction-overview-line/style/_theme.scss +1 -4
- package/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.d.ts +6 -9
- package/lib/component/transaction-line-checkbox-list/style/_layout.scss +1 -0
- package/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.d.ts +5 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-button.component.d.ts +7 -7
- package/lib/component/transaction-line-fields/transaction-line-delivery-button.component.d.ts +7 -7
- package/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.d.ts +1 -1
- package/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.d.ts +7 -8
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +1 -1
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +2 -2
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-search.component.d.ts +0 -4
- package/lib/component/transaction-tile/transaction-tile.component.d.ts +0 -1
- package/lib/component/transaction-totals/transaction-totals.component.d.ts +4 -1
- package/lib/enum/searchbar-view-mode.enum.d.ts +4 -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/lib/style/transaction-globals.scss +4 -0
- package/package.json +1 -1
- package/public_api.d.ts +2 -0
- package/esm2015/lib/component/status-bar/status-bar.component.js +0 -37
- package/esm2015/lib/component/status-bar/status-bar.module.js +0 -21
- package/lib/component/status-bar/status-bar.component.d.ts +0 -8
- package/lib/component/status-bar/status-bar.module.d.ts +0 -2
- package/lib/component/status-bar/style/_layout.scss +0 -14
- package/lib/component/status-bar/style/_material-definition.scss +0 -5
- package/lib/component/status-bar/style/_theme.scss +0 -15
- package/lib/component/status-bar/style/material.scss +0 -3
|
@@ -65,17 +65,19 @@ import { ResolveHeaderPendingReasonRequest } from '@colijnit/transactionapi/buil
|
|
|
65
65
|
import { DocDeliveryBatch } from '@colijnit/transactionapi/build/model/doc-delivery-batch.bo';
|
|
66
66
|
import { NULL_CUSTOMER_FULL_OBJECT, NULL_RELATION_OBJECT } from '@colijnit/transactionapi/build/model/nul-relation-object';
|
|
67
67
|
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
68
|
-
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputListboxModule, DropDownModule,
|
|
68
|
+
import { FormMasterService, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputTextComponent, InputListboxModule, DropDownModule, ColumnAlign, SimpleGridColumnDirective, ObserveVisibilityModule, ColorSequenceService, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, InputSearchModule, InputNumberPickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, CarouselModule, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, ClickoutsideModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
69
69
|
import { FlexModule } from '@angular/flex-layout';
|
|
70
70
|
import { AddressType } from '@colijnit/transactionapi/build/enum/address-type.enum';
|
|
71
71
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
72
72
|
import { CommonModule, DatePipe } from '@angular/common';
|
|
73
73
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
74
74
|
import { Address } from '@colijnit/transactionapi/build/model/address.bo';
|
|
75
|
+
import { TransactionTotal } from '@colijnit/transactionapi/build/model/transaction-total.bo';
|
|
76
|
+
import { DiscountType } from '@colijnit/transactionapi/build/enum/discount-type.enum';
|
|
75
77
|
import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
76
78
|
import { TransactionAddTextLineRequest } from '@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo';
|
|
77
|
-
import { TransactionSearchViewRequest } from '@colijnit/transactionapi/build/model/transaction-search-view-request';
|
|
78
79
|
import { PagingParameters } from '@colijnit/transactionapi/build/model/paging-parameters';
|
|
80
|
+
import { TransactionSearchViewRequest } from '@colijnit/transactionapi/build/model/transaction-search-view-request';
|
|
79
81
|
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
80
82
|
import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-status.enum';
|
|
81
83
|
import { ReceiveGoodsForPurchaseOrderRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo';
|
|
@@ -92,7 +94,6 @@ import { ContactOption } from '@colijnit/transactionapi/build/model/contact-opti
|
|
|
92
94
|
import { BusinessObjectUtils } from '@colijnit/transactionapi/build/utils/business-object-utils';
|
|
93
95
|
import { ScrollingModule } from '@angular/cdk/scrolling';
|
|
94
96
|
import { RelationSmallObject } from '@colijnit/transactionapi/build/model/relation-small-object.bo';
|
|
95
|
-
import { DiscountType } from '@colijnit/transactionapi/build/enum/discount-type.enum';
|
|
96
97
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo';
|
|
97
98
|
import { PurchaseOrderLineReceiptCorrectionDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo';
|
|
98
99
|
import { GetPurchasePortalLine } from '@colijnit/transactionapi/build/model/get-purchase-portal-line';
|
|
@@ -441,6 +442,7 @@ class Dictionary {
|
|
|
441
442
|
"RECEIVED": "Ontvangst",
|
|
442
443
|
"RECEIVED_DELIVERED": "Binnengemeld / geleverd",
|
|
443
444
|
"RECEIVED_DATE": "Ontvangst datum",
|
|
445
|
+
"REDISTRIBUTE_DISCOUNT": "Herverdeel korting",
|
|
444
446
|
"REFERENCE": "Referentie",
|
|
445
447
|
"REFERENCE_RELATION": "Ref. relatie",
|
|
446
448
|
"RELATION_NUMBER": "Relatienummer",
|
|
@@ -773,6 +775,7 @@ class Dictionary {
|
|
|
773
775
|
"RECEIPT_DETAILS": "Receipt details",
|
|
774
776
|
"RECEIVED": "Received",
|
|
775
777
|
"RECEIVED_DATE": "Received date",
|
|
778
|
+
"REDISTRIBUTE_DISCOUNT": "Redistribute discount",
|
|
776
779
|
"RECEIVED_DELIVERED": "Received / delivered",
|
|
777
780
|
"REFERENCE": "Reference",
|
|
778
781
|
"REFERENCE_RELATION": "Ref. relation",
|
|
@@ -2413,7 +2416,7 @@ class TransactionFilterPopupBaseComponent {
|
|
|
2413
2416
|
});
|
|
2414
2417
|
this.viewModelsFiltered = this.viewModels.slice();
|
|
2415
2418
|
if (!this.useModel && this.viewModels.length > 0) {
|
|
2416
|
-
this.valueChange.next(this.viewModels[0].value);
|
|
2419
|
+
this.valueChange.next(this.value ? this.value : this.viewModels[0].value);
|
|
2417
2420
|
}
|
|
2418
2421
|
}
|
|
2419
2422
|
_doSearch() {
|
|
@@ -3388,7 +3391,7 @@ class TransactionConnectorAdapterService {
|
|
|
3388
3391
|
}
|
|
3389
3392
|
getPaymentMethods() {
|
|
3390
3393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3391
|
-
const result = yield this.connector.
|
|
3394
|
+
const result = yield this.connector.getPaymentMethodsForSalesOrder();
|
|
3392
3395
|
if (result.validationResult && result.validationResult.success) {
|
|
3393
3396
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(PaymentMethod, result.resultObject);
|
|
3394
3397
|
}
|
|
@@ -4114,6 +4117,23 @@ class TransactionConnectorAdapterService {
|
|
|
4114
4117
|
}
|
|
4115
4118
|
});
|
|
4116
4119
|
}
|
|
4120
|
+
changeHeaderTransactionDiscount(uuid, type, amount) {
|
|
4121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4122
|
+
const request = {
|
|
4123
|
+
transactionUuid: uuid,
|
|
4124
|
+
orderDiscountType: type,
|
|
4125
|
+
discountValue: amount
|
|
4126
|
+
};
|
|
4127
|
+
const response = yield this.connector.setTransactionDiscounts(request);
|
|
4128
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
4129
|
+
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
4130
|
+
}
|
|
4131
|
+
else {
|
|
4132
|
+
this._handleExceptionFromResponse(response);
|
|
4133
|
+
return null;
|
|
4134
|
+
}
|
|
4135
|
+
});
|
|
4136
|
+
}
|
|
4117
4137
|
changeHeaderTransactionToDownPay(uuid, downPayment) {
|
|
4118
4138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4119
4139
|
const request = {
|
|
@@ -4768,6 +4788,11 @@ class TransactionConnectorService {
|
|
|
4768
4788
|
return this._adapterService.changeHeaderTransactionMarketing(uuid, code);
|
|
4769
4789
|
});
|
|
4770
4790
|
}
|
|
4791
|
+
changeHeaderTransactionDiscount(uuid, type, amount) {
|
|
4792
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4793
|
+
return this._adapterService.changeHeaderTransactionDiscount(uuid, type, amount);
|
|
4794
|
+
});
|
|
4795
|
+
}
|
|
4771
4796
|
changeHeaderTransactionToDownPay(uuid, downPayment) {
|
|
4772
4797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4773
4798
|
return this._adapterService.changeHeaderTransactionToDownPay(uuid, downPayment);
|
|
@@ -5141,6 +5166,7 @@ class PendingReasonService {
|
|
|
5141
5166
|
}
|
|
5142
5167
|
_showWarehouseCcDialog(uuid, quantity, commissionCode, warehouseNr, reason, type) {
|
|
5143
5168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5169
|
+
commissionCode = "2";
|
|
5144
5170
|
const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
|
|
5145
5171
|
const response = yield this.dialogService.showWarehouseCC(quantity, commissionCode, warehouseNr);
|
|
5146
5172
|
if (response.button === AppPopupButtonType.Ok) {
|
|
@@ -5423,6 +5449,17 @@ class TransactionService extends PendingReasonService {
|
|
|
5423
5449
|
return false;
|
|
5424
5450
|
});
|
|
5425
5451
|
}
|
|
5452
|
+
updateHeaderTransactionDiscount(uuid, type, amount) {
|
|
5453
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5454
|
+
const response = yield this.connector.changeHeaderTransactionDiscount(uuid, type, amount);
|
|
5455
|
+
if (response) {
|
|
5456
|
+
const success = yield this.handleHeaderOperationStatuses(response);
|
|
5457
|
+
this.rememberCurrentTransaction(response);
|
|
5458
|
+
return success;
|
|
5459
|
+
}
|
|
5460
|
+
return false;
|
|
5461
|
+
});
|
|
5462
|
+
}
|
|
5426
5463
|
updateQuantityTransactionLine(uuid, lineUuid, quantity) {
|
|
5427
5464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5428
5465
|
const response = yield this.connector.changeTransactionLineQuantity(uuid, lineUuid, quantity);
|
|
@@ -7749,7 +7786,7 @@ TileComponent.decorators = [
|
|
|
7749
7786
|
template: `
|
|
7750
7787
|
<div class="co-tile-wrapper" (click)="selectedChange.emit(selected)">
|
|
7751
7788
|
<div class="co-tile-select-wrapper">
|
|
7752
|
-
<co-input-radio-button [
|
|
7789
|
+
<co-input-radio-button [model]="selected" (modelChange)="selectedChange.emit($event)"></co-input-radio-button>
|
|
7753
7790
|
</div>
|
|
7754
7791
|
<div class="co-tile-content-wrapper">
|
|
7755
7792
|
<ng-content></ng-content>
|
|
@@ -8016,6 +8053,7 @@ class TransactionTotalsComponent {
|
|
|
8016
8053
|
constructor() {
|
|
8017
8054
|
this.showDiscount = false;
|
|
8018
8055
|
this.discountClick = new EventEmitter();
|
|
8056
|
+
this.showDiscountDialog = false;
|
|
8019
8057
|
}
|
|
8020
8058
|
showClass() {
|
|
8021
8059
|
return true;
|
|
@@ -8027,337 +8065,672 @@ TransactionTotalsComponent.decorators = [
|
|
|
8027
8065
|
template: `
|
|
8028
8066
|
<div class="transaction-totals-wrapper">
|
|
8029
8067
|
<span class="totals-gross label" [textContent]="'ORDER_GROSS' | localize"></span>
|
|
8030
|
-
<span class="totals-gross value" [textContent]="
|
|
8031
|
-
<ng-container *ngIf="
|
|
8068
|
+
<span class="totals-gross value" [textContent]="transactionTotal?.grossAmount | coCurrency: true"></span>
|
|
8069
|
+
<ng-container *ngIf="transactionTotal?.discountAmount">
|
|
8032
8070
|
<span class="totals-discount-amount label" [textContent]="'DISCOUNT_AMOUNT' | localize"></span>
|
|
8033
|
-
<span class="totals-discount-amount value" [textContent]="
|
|
8071
|
+
<span class="totals-discount-amount value" [class.transaction-negative-value]="transactionTotal?.discountAmount < 0" [textContent]="transactionTotal?.discountAmount | coCurrency: true"></span>
|
|
8034
8072
|
</ng-container>
|
|
8035
|
-
<ng-container *ngIf="
|
|
8073
|
+
<ng-container *ngIf="transactionTotal?.transactionDiscountAmount">
|
|
8036
8074
|
<span class="totals-discount label" [textContent]="'TRANSACTION_DISCOUNT' | localize"></span>
|
|
8037
|
-
<span class="totals-discount value" [textContent]="
|
|
8075
|
+
<span class="totals-discount value" [class.transaction-negative-value]="transactionTotal?.transactionDiscountAmount < 0" [textContent]="transactionTotal?.transactionDiscountAmount | coCurrency: true"></span>
|
|
8038
8076
|
</ng-container>
|
|
8039
|
-
<ng-container *ngIf="
|
|
8077
|
+
<ng-container *ngIf="transactionTotal?.transactionDiscountPercentage">
|
|
8040
8078
|
<span class="totals-discount-percentage label" [textContent]="'TRANSACTION_DISCOUNT_PERC' | localize"></span>
|
|
8041
|
-
<span class="totals-discount-percentage value" [textContent]="
|
|
8079
|
+
<span class="totals-discount-percentage value" [class.transaction-negative-value]="transactionTotal?.transactionDiscountPercentage < 0" [textContent]="transactionTotal?.transactionDiscountPercentage.toString() | append:' %'"></span>
|
|
8042
8080
|
</ng-container>
|
|
8043
8081
|
<span class="totals-net label" [textContent]="'ORDER_NET'| localize"></span>
|
|
8044
|
-
<span class="totals-net value" [textContent]="
|
|
8045
|
-
<a *ngIf="showDiscount" class="add-discount label" (click)="
|
|
8082
|
+
<span class="totals-net value" [textContent]="transactionTotal?.netAmount | coCurrency: true"></span>
|
|
8083
|
+
<a *ngIf="showDiscount" class="add-discount label" (click)="showDiscountDialog = true" [textContent]="'ADD_DISCOUNTS' | localize"></a>
|
|
8046
8084
|
</div>
|
|
8085
|
+
<co-dialog-transaction-header-discount class="discount-dialog" *ngIf="showDiscountDialog"
|
|
8086
|
+
[transactionInfo]="transactionInfo"
|
|
8087
|
+
[transactionTotal]="transactionTotal"
|
|
8088
|
+
(close)="showDiscountDialog = false">
|
|
8089
|
+
</co-dialog-transaction-header-discount>
|
|
8047
8090
|
`,
|
|
8048
8091
|
encapsulation: ViewEncapsulation.None
|
|
8049
8092
|
},] }
|
|
8050
8093
|
];
|
|
8051
8094
|
TransactionTotalsComponent.propDecorators = {
|
|
8052
|
-
|
|
8095
|
+
transactionInfo: [{ type: Input }],
|
|
8096
|
+
transactionTotal: [{ type: Input }],
|
|
8053
8097
|
showDiscount: [{ type: Input }],
|
|
8054
8098
|
discountClick: [{ type: Output }],
|
|
8055
8099
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-totals",] }]
|
|
8056
8100
|
};
|
|
8057
8101
|
|
|
8058
|
-
class
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
CoreModule,
|
|
8065
|
-
PipeModule
|
|
8066
|
-
],
|
|
8067
|
-
declarations: [
|
|
8068
|
-
TransactionTotalsComponent
|
|
8069
|
-
],
|
|
8070
|
-
exports: [
|
|
8071
|
-
TransactionTotalsComponent
|
|
8072
|
-
]
|
|
8073
|
-
},] }
|
|
8074
|
-
];
|
|
8075
|
-
|
|
8076
|
-
class TransactionArticleTextComponent {
|
|
8077
|
-
constructor(service) {
|
|
8078
|
-
this.service = service;
|
|
8079
|
-
this.closeClick = new EventEmitter();
|
|
8080
|
-
this.cancelClick = new EventEmitter();
|
|
8081
|
-
this.saveClick = new EventEmitter();
|
|
8082
|
-
this.showOverviewDialog = false;
|
|
8083
|
-
this.standardTexts = [];
|
|
8084
|
-
this.documents = [];
|
|
8085
|
-
this.fields = { text: "description", value: "textId" };
|
|
8086
|
-
this.fieldsDocuments = { text: "description", value: "code" };
|
|
8087
|
-
this.transactionAddTextLineRequest = new TransactionAddTextLineRequest();
|
|
8102
|
+
class TransactionHeaderBaseComponent extends TransactionFilterPopupBaseComponent {
|
|
8103
|
+
constructor() {
|
|
8104
|
+
super(...arguments);
|
|
8105
|
+
this.readonly = false;
|
|
8106
|
+
this._transactionInfo = new TransactionInfo();
|
|
8107
|
+
this._transactionTotal = new TransactionTotal();
|
|
8088
8108
|
}
|
|
8089
|
-
set
|
|
8109
|
+
set transactionInfo(value) {
|
|
8090
8110
|
if (value) {
|
|
8091
|
-
this.
|
|
8092
|
-
this.
|
|
8111
|
+
this._transactionInfo = value;
|
|
8112
|
+
this.transactionInfoSet();
|
|
8093
8113
|
}
|
|
8094
8114
|
}
|
|
8095
|
-
|
|
8115
|
+
get transactionInfo() {
|
|
8116
|
+
return this._transactionInfo;
|
|
8117
|
+
}
|
|
8118
|
+
set transactionTotal(value) {
|
|
8096
8119
|
if (value) {
|
|
8097
|
-
this.
|
|
8120
|
+
this._transactionTotal = value;
|
|
8121
|
+
this.transactionTotalSet();
|
|
8098
8122
|
}
|
|
8099
8123
|
}
|
|
8100
|
-
get
|
|
8101
|
-
return this.
|
|
8124
|
+
get transactionTotal() {
|
|
8125
|
+
return this._transactionTotal;
|
|
8102
8126
|
}
|
|
8103
|
-
|
|
8104
|
-
this.
|
|
8127
|
+
get model() {
|
|
8128
|
+
return this._transactionInfo;
|
|
8105
8129
|
}
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
-
this.transactionAddTextLineRequest.refArticleLineNr = value;
|
|
8109
|
-
}
|
|
8130
|
+
// overridden by descendents
|
|
8131
|
+
transactionInfoSet() {
|
|
8110
8132
|
}
|
|
8111
|
-
|
|
8112
|
-
|
|
8133
|
+
// overridden by descendents
|
|
8134
|
+
transactionTotalSet() {
|
|
8113
8135
|
}
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
|
|
8136
|
+
}
|
|
8137
|
+
TransactionHeaderBaseComponent.decorators = [
|
|
8138
|
+
{ type: Directive }
|
|
8139
|
+
];
|
|
8140
|
+
TransactionHeaderBaseComponent.propDecorators = {
|
|
8141
|
+
transactionInfo: [{ type: Input }],
|
|
8142
|
+
transactionTotal: [{ type: Input }]
|
|
8143
|
+
};
|
|
8144
|
+
|
|
8145
|
+
class DialogTransactionHeaderBaseComponent extends TransactionHeaderBaseComponent {
|
|
8146
|
+
constructor() {
|
|
8147
|
+
super(...arguments);
|
|
8148
|
+
this.buttonType = AppPopupButtonType;
|
|
8149
|
+
this.close = new EventEmitter();
|
|
8119
8150
|
}
|
|
8120
|
-
|
|
8121
|
-
|
|
8151
|
+
onClose(eventType, output) {
|
|
8152
|
+
return;
|
|
8122
8153
|
}
|
|
8123
|
-
|
|
8124
|
-
this.
|
|
8154
|
+
handleValueChange(value) {
|
|
8155
|
+
this.value = value;
|
|
8125
8156
|
}
|
|
8126
|
-
|
|
8127
|
-
this.
|
|
8157
|
+
handleOkClick() {
|
|
8158
|
+
this.onClose(AppPopupButtonType.Ok, this.value);
|
|
8128
8159
|
}
|
|
8129
|
-
|
|
8160
|
+
handleSearch(text) {
|
|
8161
|
+
this.searchText = text;
|
|
8162
|
+
}
|
|
8163
|
+
handleClose(type) {
|
|
8164
|
+
this.close.emit();
|
|
8165
|
+
this.onClose(type);
|
|
8130
8166
|
}
|
|
8131
8167
|
}
|
|
8132
|
-
|
|
8168
|
+
DialogTransactionHeaderBaseComponent.decorators = [
|
|
8169
|
+
{ type: Directive }
|
|
8170
|
+
];
|
|
8171
|
+
DialogTransactionHeaderBaseComponent.propDecorators = {
|
|
8172
|
+
close: [{ type: Output }]
|
|
8173
|
+
};
|
|
8174
|
+
|
|
8175
|
+
class DialogTransactionHeaderDiscountComponent extends DialogTransactionHeaderBaseComponent {
|
|
8176
|
+
constructor(_transactionService) {
|
|
8177
|
+
super();
|
|
8178
|
+
this._transactionService = _transactionService;
|
|
8179
|
+
}
|
|
8180
|
+
showClass() {
|
|
8181
|
+
return true;
|
|
8182
|
+
}
|
|
8183
|
+
redistributeDiscount() {
|
|
8184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8185
|
+
yield this._transactionService.updateHeaderTransactionDiscount(this.transactionInfo.uuid, DiscountType.TransactionDiscountAmount, this.transactionTotal.transactionDiscountAmount);
|
|
8186
|
+
});
|
|
8187
|
+
}
|
|
8188
|
+
}
|
|
8189
|
+
DialogTransactionHeaderDiscountComponent.decorators = [
|
|
8133
8190
|
{ type: Component, args: [{
|
|
8134
|
-
selector: "co-transaction-
|
|
8191
|
+
selector: "co-dialog-transaction-header-discount",
|
|
8135
8192
|
template: `
|
|
8136
|
-
<co-dialog
|
|
8137
|
-
<div class="
|
|
8138
|
-
<div class="
|
|
8139
|
-
<
|
|
8140
|
-
|
|
8141
|
-
></textarea>
|
|
8193
|
+
<co-dialog [headerTemplate]="dialogHeader" (closeClick)="handleClose(buttonType.Ok)">
|
|
8194
|
+
<div class="transaction-discount-wrapper co-transaction-small-toolbar">
|
|
8195
|
+
<div class="two-column-grid">
|
|
8196
|
+
<co-transaction-header-discount-percentage [transactionInfo]="transactionInfo" [transactionTotal]="transactionTotal"></co-transaction-header-discount-percentage>
|
|
8197
|
+
<co-transaction-header-discount-amount [transactionInfo]="transactionInfo" [transactionTotal]="transactionTotal"></co-transaction-header-discount-amount>
|
|
8142
8198
|
</div>
|
|
8143
|
-
<div class="
|
|
8144
|
-
<co-
|
|
8145
|
-
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
[
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8199
|
+
<div class="two-column-grid">
|
|
8200
|
+
<co-transaction-header-discount-transaction-total [transactionInfo]="transactionInfo" [transactionTotal]="transactionTotal"></co-transaction-header-discount-transaction-total>
|
|
8201
|
+
<div class="transaction-line-button custom-width" (click)="redistributeDiscount()">
|
|
8202
|
+
<span class="co-transaction-overflow-ellipsis transaction-discount"
|
|
8203
|
+
[textContent]="'REDISTRIBUTE_DISCOUNT' | localize"></span>
|
|
8204
|
+
</div>
|
|
8205
|
+
</div>
|
|
8206
|
+
<div class="transaction-discount-overview">
|
|
8207
|
+
<div class="transaction-discount-overview-item">
|
|
8208
|
+
<div class="title" [textContent]="'ORDER_GROSS' | localize"></div>
|
|
8209
|
+
<div class="value" [textContent]="transactionTotal.grossAmount | coCurrency"></div>
|
|
8210
|
+
</div>
|
|
8211
|
+
<div class="transaction-discount-overview-item">
|
|
8212
|
+
<div class="title" [textContent]="'DISCOUNT' | localize"></div>
|
|
8213
|
+
<div class="value" [class.transaction-negative-value]="transactionTotal.discountAmount < 0" [textContent]="transactionTotal.discountAmount | coCurrency"></div>
|
|
8214
|
+
</div>
|
|
8215
|
+
<div class="transaction-discount-overview-item">
|
|
8216
|
+
<div class="title" [textContent]="'ASSEMBLY_COSTS' | localize"></div>
|
|
8217
|
+
<div class="value" [class.transaction-negative-value]="transactionTotal.assemblyCosts < 0" [textContent]="transactionTotal.assemblyCosts | coCurrency"></div>
|
|
8218
|
+
</div>
|
|
8219
|
+
<div class="transaction-discount-overview-item">
|
|
8220
|
+
<div class="title" [textContent]="'SURCHARGE_AMOUNT' | localize"></div>
|
|
8221
|
+
<div class="value" [class.transaction-negative-value]="transactionTotal.surchargeAmount < 0" [textContent]="transactionTotal.surchargeAmount | coCurrency"></div>
|
|
8222
|
+
</div>
|
|
8223
|
+
<div class="transaction-discount-overview-item">
|
|
8224
|
+
<div class="title" [textContent]="'DELIVERY_COSTS' | localize"></div>
|
|
8225
|
+
<div class="value" [textContent]="'NOT_IMPLEMENTED_YET'"></div>
|
|
8226
|
+
</div>
|
|
8227
|
+
<div class="transaction-discount-overview-item total">
|
|
8228
|
+
<div class="title" [textContent]="'ORDER_NET' | localize"></div>
|
|
8229
|
+
<div class="value" [class.transaction-negative-value]="transactionTotal.netAmount < 0" [textContent]="transactionTotal.netAmount | coCurrency"></div>
|
|
8230
|
+
</div>
|
|
8158
8231
|
</div>
|
|
8159
8232
|
</div>
|
|
8160
8233
|
</co-dialog>
|
|
8161
|
-
<ng-template #
|
|
8162
|
-
|
|
8163
|
-
<div class="button-wrapper">
|
|
8164
|
-
<co-button [label]="'OK' | localize" (click)="onOkClick($event)"></co-button>
|
|
8165
|
-
<co-button [label]="'CANCEL' | localize " (click)="onCancelClick($event)"></co-button>
|
|
8166
|
-
</div>
|
|
8234
|
+
<ng-template #dialogHeader>
|
|
8235
|
+
<div class="dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
8167
8236
|
</ng-template>
|
|
8168
|
-
|
|
8169
8237
|
`,
|
|
8170
8238
|
encapsulation: ViewEncapsulation.None
|
|
8171
8239
|
},] }
|
|
8172
8240
|
];
|
|
8173
|
-
|
|
8241
|
+
DialogTransactionHeaderDiscountComponent.ctorParameters = () => [
|
|
8174
8242
|
{ type: TransactionService }
|
|
8175
8243
|
];
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
transactionLine: [{ type: Input }],
|
|
8179
|
-
articleRef: [{ type: Input }],
|
|
8180
|
-
editText: [{ type: Input }],
|
|
8181
|
-
articleLineNr: [{ type: Input }],
|
|
8182
|
-
closeClick: [{ type: Output }],
|
|
8183
|
-
cancelClick: [{ type: Output }],
|
|
8184
|
-
saveClick: [{ type: Output }],
|
|
8185
|
-
showClass: [{ type: HostBinding, args: ["class.co-transaction-article-text",] }]
|
|
8244
|
+
DialogTransactionHeaderDiscountComponent.propDecorators = {
|
|
8245
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-header-discount",] }]
|
|
8186
8246
|
};
|
|
8187
8247
|
|
|
8188
|
-
class
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
FormsModule,
|
|
8196
|
-
CoDialogModule,
|
|
8197
|
-
InputCheckboxModule,
|
|
8198
|
-
InputListboxModule,
|
|
8199
|
-
DropDownModule,
|
|
8200
|
-
ButtonModule,
|
|
8201
|
-
PipeModule
|
|
8202
|
-
],
|
|
8203
|
-
declarations: [
|
|
8204
|
-
TransactionArticleTextComponent
|
|
8205
|
-
],
|
|
8206
|
-
exports: [
|
|
8207
|
-
TransactionArticleTextComponent
|
|
8208
|
-
]
|
|
8209
|
-
},] }
|
|
8210
|
-
];
|
|
8211
|
-
|
|
8212
|
-
// The different view modes for search
|
|
8213
|
-
var SearchViewMode;
|
|
8214
|
-
(function (SearchViewMode) {
|
|
8215
|
-
SearchViewMode[SearchViewMode["FullScreen"] = 0] = "FullScreen";
|
|
8216
|
-
SearchViewMode[SearchViewMode["SideBar"] = 1] = "SideBar";
|
|
8217
|
-
})(SearchViewMode || (SearchViewMode = {}));
|
|
8218
|
-
|
|
8219
|
-
var SearchBarViewMode;
|
|
8220
|
-
(function (SearchBarViewMode) {
|
|
8221
|
-
SearchBarViewMode[SearchBarViewMode["Expanded"] = 0] = "Expanded";
|
|
8222
|
-
SearchBarViewMode[SearchBarViewMode["Collapsed"] = 1] = "Collapsed";
|
|
8223
|
-
})(SearchBarViewMode || (SearchBarViewMode = {}));
|
|
8224
|
-
class TransactionSearchComponent {
|
|
8225
|
-
constructor(transactionSearchService) {
|
|
8226
|
-
this.transactionSearchService = transactionSearchService;
|
|
8227
|
-
this.searchViewModes = SearchViewMode;
|
|
8228
|
-
this.orientations = CoOrientation;
|
|
8229
|
-
this.directionRight = CoDirection.Right;
|
|
8230
|
-
this.transactionClick = new EventEmitter();
|
|
8231
|
-
this.searchViewModeChange = new EventEmitter();
|
|
8248
|
+
class TransactionHeaderDiscountPercentageComponent extends TransactionHeaderBaseComponent {
|
|
8249
|
+
constructor(_transactionService) {
|
|
8250
|
+
super();
|
|
8251
|
+
this._transactionService = _transactionService;
|
|
8252
|
+
this.showLabel = true;
|
|
8253
|
+
this.defaultEditMode = true;
|
|
8254
|
+
this._editMode = false;
|
|
8232
8255
|
}
|
|
8233
|
-
set
|
|
8234
|
-
|
|
8235
|
-
|
|
8256
|
+
set child(content) {
|
|
8257
|
+
if (content) {
|
|
8258
|
+
this.input = content;
|
|
8259
|
+
this.input.commit = (amount) => this.commit(amount);
|
|
8260
|
+
if (this._editMode) {
|
|
8261
|
+
this.input.requestFocus();
|
|
8262
|
+
}
|
|
8263
|
+
}
|
|
8236
8264
|
}
|
|
8237
|
-
|
|
8238
|
-
|
|
8265
|
+
set editMode(value) {
|
|
8266
|
+
this._editMode = value;
|
|
8267
|
+
if (this._editMode && this.input) {
|
|
8268
|
+
this.input.doFocus();
|
|
8269
|
+
}
|
|
8239
8270
|
}
|
|
8240
|
-
|
|
8241
|
-
return
|
|
8271
|
+
get editMode() {
|
|
8272
|
+
return this._editMode;
|
|
8242
8273
|
}
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8274
|
+
handleClick(event) {
|
|
8275
|
+
event.preventDefault();
|
|
8276
|
+
event.stopPropagation();
|
|
8277
|
+
if (!this.readonly) {
|
|
8278
|
+
this.editMode = true;
|
|
8246
8279
|
}
|
|
8247
|
-
this._scrollToTop();
|
|
8248
|
-
this.transactionClick.emit(transaction);
|
|
8249
8280
|
}
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
this.
|
|
8281
|
+
commit(amount) {
|
|
8282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8283
|
+
if (this.transactionTotal && this.transactionTotal.transactionDiscountPercentage !== amount) {
|
|
8284
|
+
const oldPercentage = this.transactionTotal.transactionDiscountPercentage;
|
|
8285
|
+
const success = yield this._transactionService.updateHeaderTransactionDiscount(this.transactionInfo.uuid, DiscountType.TransactionDiscountPercentage, amount);
|
|
8286
|
+
if (!success) {
|
|
8287
|
+
this.input.model = amount;
|
|
8288
|
+
}
|
|
8289
|
+
return success;
|
|
8290
|
+
}
|
|
8291
|
+
return true;
|
|
8292
|
+
});
|
|
8293
|
+
}
|
|
8294
|
+
transactionSet() {
|
|
8295
|
+
this.readonly = this.readonly || !this.transactionInfo.deliveryDateDefinitive;
|
|
8296
|
+
}
|
|
8297
|
+
}
|
|
8298
|
+
TransactionHeaderDiscountPercentageComponent.decorators = [
|
|
8299
|
+
{ type: Component, args: [{
|
|
8300
|
+
selector: "co-transaction-header-discount-percentage",
|
|
8301
|
+
template: `
|
|
8302
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionTotal.transactionDiscountPercentage"></span>
|
|
8303
|
+
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
8304
|
+
[type]="'number'"
|
|
8305
|
+
[placeholder]="showLabel ? ('DISCOUNT_PERCENTAGE' | localize) : ''"
|
|
8306
|
+
[showSaveCancel]="!readonly"
|
|
8307
|
+
[readonly]="readonly"
|
|
8308
|
+
[model]="transactionTotal.transactionDiscountPercentage"
|
|
8309
|
+
(blur)="editMode = false"
|
|
8310
|
+
></co-input-text>
|
|
8311
|
+
`,
|
|
8312
|
+
encapsulation: ViewEncapsulation.None
|
|
8313
|
+
},] }
|
|
8314
|
+
];
|
|
8315
|
+
TransactionHeaderDiscountPercentageComponent.ctorParameters = () => [
|
|
8316
|
+
{ type: TransactionService }
|
|
8317
|
+
];
|
|
8318
|
+
TransactionHeaderDiscountPercentageComponent.propDecorators = {
|
|
8319
|
+
child: [{ type: ViewChild, args: ['input', { read: InputTextComponent },] }],
|
|
8320
|
+
showLabel: [{ type: Input }],
|
|
8321
|
+
defaultEditMode: [{ type: Input }],
|
|
8322
|
+
editMode: [{ type: Input }],
|
|
8323
|
+
handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
|
|
8324
|
+
};
|
|
8325
|
+
|
|
8326
|
+
class TransactionHeaderDiscountPercentageModule {
|
|
8327
|
+
}
|
|
8328
|
+
TransactionHeaderDiscountPercentageModule.decorators = [
|
|
8329
|
+
{ type: NgModule, args: [{
|
|
8330
|
+
imports: [
|
|
8331
|
+
CommonModule,
|
|
8332
|
+
InputTextModule,
|
|
8333
|
+
PipeModule
|
|
8334
|
+
],
|
|
8335
|
+
declarations: [
|
|
8336
|
+
TransactionHeaderDiscountPercentageComponent
|
|
8337
|
+
],
|
|
8338
|
+
exports: [
|
|
8339
|
+
TransactionHeaderDiscountPercentageComponent
|
|
8340
|
+
]
|
|
8341
|
+
},] }
|
|
8342
|
+
];
|
|
8343
|
+
|
|
8344
|
+
class TransactionHeaderDiscountAmountComponent extends TransactionHeaderBaseComponent {
|
|
8345
|
+
constructor(_transactionService) {
|
|
8346
|
+
super();
|
|
8347
|
+
this._transactionService = _transactionService;
|
|
8348
|
+
this.showLabel = true;
|
|
8349
|
+
this.defaultEditMode = true;
|
|
8350
|
+
this._editMode = false;
|
|
8351
|
+
}
|
|
8352
|
+
set child(content) {
|
|
8353
|
+
if (content) {
|
|
8354
|
+
this.input = content;
|
|
8355
|
+
this.input.commit = (amount) => this.commit(amount);
|
|
8356
|
+
if (this._editMode) {
|
|
8357
|
+
this.input.requestFocus();
|
|
8358
|
+
}
|
|
8253
8359
|
}
|
|
8254
|
-
|
|
8255
|
-
|
|
8360
|
+
}
|
|
8361
|
+
set editMode(value) {
|
|
8362
|
+
this._editMode = value;
|
|
8363
|
+
if (this._editMode && this.input) {
|
|
8364
|
+
this.input.doFocus();
|
|
8256
8365
|
}
|
|
8257
|
-
this.searchViewModeChange.emit(this.transactionSearchService.activeSearchViewMode);
|
|
8258
8366
|
}
|
|
8259
|
-
|
|
8260
|
-
this.
|
|
8367
|
+
get editMode() {
|
|
8368
|
+
return this._editMode;
|
|
8261
8369
|
}
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
|
|
8370
|
+
handleClick(event) {
|
|
8371
|
+
event.preventDefault();
|
|
8372
|
+
event.stopPropagation();
|
|
8373
|
+
if (!this.readonly) {
|
|
8374
|
+
this.editMode = true;
|
|
8265
8375
|
}
|
|
8266
|
-
|
|
8267
|
-
|
|
8376
|
+
}
|
|
8377
|
+
commit(amount) {
|
|
8378
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8379
|
+
if (this.transactionTotal && this.transactionTotal.transactionDiscountAmount !== amount) {
|
|
8380
|
+
const oldAmount = this.transactionTotal.transactionDiscountAmount;
|
|
8381
|
+
const success = yield this._transactionService.updateHeaderTransactionDiscount(this.transactionInfo.uuid, DiscountType.TransactionDiscountAmount, amount);
|
|
8382
|
+
if (!success) {
|
|
8383
|
+
this.input.model = amount;
|
|
8384
|
+
}
|
|
8385
|
+
return success;
|
|
8386
|
+
}
|
|
8387
|
+
return true;
|
|
8388
|
+
});
|
|
8389
|
+
}
|
|
8390
|
+
transactionSet() {
|
|
8391
|
+
this.readonly = this.readonly || !this.transactionInfo.deliveryDateDefinitive;
|
|
8392
|
+
}
|
|
8393
|
+
}
|
|
8394
|
+
TransactionHeaderDiscountAmountComponent.decorators = [
|
|
8395
|
+
{ type: Component, args: [{
|
|
8396
|
+
selector: "co-transaction-header-discount-amount",
|
|
8397
|
+
template: `
|
|
8398
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionTotal.transactionDiscountAmount"></span>
|
|
8399
|
+
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
8400
|
+
[type]="'number'"
|
|
8401
|
+
[placeholder]="showLabel ? ('DISCOUNT_AMOUNT' | localize) : ''"
|
|
8402
|
+
[showSaveCancel]="!readonly"
|
|
8403
|
+
[readonly]="readonly"
|
|
8404
|
+
[model]="transactionTotal.transactionDiscountAmount"
|
|
8405
|
+
(blur)="editMode = false"
|
|
8406
|
+
></co-input-text>
|
|
8407
|
+
`,
|
|
8408
|
+
encapsulation: ViewEncapsulation.None
|
|
8409
|
+
},] }
|
|
8410
|
+
];
|
|
8411
|
+
TransactionHeaderDiscountAmountComponent.ctorParameters = () => [
|
|
8412
|
+
{ type: TransactionService }
|
|
8413
|
+
];
|
|
8414
|
+
TransactionHeaderDiscountAmountComponent.propDecorators = {
|
|
8415
|
+
child: [{ type: ViewChild, args: ['input', { read: InputTextComponent },] }],
|
|
8416
|
+
showLabel: [{ type: Input }],
|
|
8417
|
+
defaultEditMode: [{ type: Input }],
|
|
8418
|
+
editMode: [{ type: Input }],
|
|
8419
|
+
handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
|
|
8420
|
+
};
|
|
8421
|
+
|
|
8422
|
+
class TransactionHeaderDiscountAmountModule {
|
|
8423
|
+
}
|
|
8424
|
+
TransactionHeaderDiscountAmountModule.decorators = [
|
|
8425
|
+
{ type: NgModule, args: [{
|
|
8426
|
+
imports: [
|
|
8427
|
+
CommonModule,
|
|
8428
|
+
InputTextModule,
|
|
8429
|
+
PipeModule
|
|
8430
|
+
],
|
|
8431
|
+
declarations: [
|
|
8432
|
+
TransactionHeaderDiscountAmountComponent
|
|
8433
|
+
],
|
|
8434
|
+
exports: [
|
|
8435
|
+
TransactionHeaderDiscountAmountComponent
|
|
8436
|
+
]
|
|
8437
|
+
},] }
|
|
8438
|
+
];
|
|
8439
|
+
|
|
8440
|
+
class TransactionHeaderDiscountTransactionTotalComponent extends TransactionHeaderBaseComponent {
|
|
8441
|
+
constructor(_transactionService) {
|
|
8442
|
+
super();
|
|
8443
|
+
this._transactionService = _transactionService;
|
|
8444
|
+
this.showLabel = true;
|
|
8445
|
+
this.defaultEditMode = true;
|
|
8446
|
+
this._editMode = false;
|
|
8447
|
+
}
|
|
8448
|
+
set child(content) {
|
|
8449
|
+
if (content) {
|
|
8450
|
+
this.input = content;
|
|
8451
|
+
this.input.commit = (amount) => this.commit(amount);
|
|
8452
|
+
if (this._editMode) {
|
|
8453
|
+
this.input.requestFocus();
|
|
8454
|
+
}
|
|
8268
8455
|
}
|
|
8269
8456
|
}
|
|
8270
|
-
|
|
8271
|
-
this.
|
|
8272
|
-
this.
|
|
8273
|
-
|
|
8457
|
+
set editMode(value) {
|
|
8458
|
+
this._editMode = value;
|
|
8459
|
+
if (this._editMode && this.input) {
|
|
8460
|
+
this.input.doFocus();
|
|
8461
|
+
}
|
|
8274
8462
|
}
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
this.transactionSearchService.activeSearchBarViewMode = SearchBarViewMode.Expanded;
|
|
8278
|
-
this.searchViewModeChange.emit(this.searchViewModes.SideBar);
|
|
8463
|
+
get editMode() {
|
|
8464
|
+
return this._editMode;
|
|
8279
8465
|
}
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
};
|
|
8466
|
+
handleClick(event) {
|
|
8467
|
+
event.preventDefault();
|
|
8468
|
+
event.stopPropagation();
|
|
8469
|
+
if (!this.readonly) {
|
|
8470
|
+
this.editMode = true;
|
|
8471
|
+
}
|
|
8287
8472
|
}
|
|
8288
|
-
|
|
8289
|
-
|
|
8473
|
+
commit(amount) {
|
|
8474
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8475
|
+
if (this.transactionTotalAmount !== amount) {
|
|
8476
|
+
const success = yield this._transactionService.updateHeaderTransactionDiscount(this.transactionInfo.uuid, DiscountType.OrderTotal, amount);
|
|
8477
|
+
if (!success) {
|
|
8478
|
+
this.input.model = amount;
|
|
8479
|
+
}
|
|
8480
|
+
else {
|
|
8481
|
+
this.transactionTotalAmount = undefined;
|
|
8482
|
+
}
|
|
8483
|
+
return success;
|
|
8484
|
+
}
|
|
8485
|
+
return true;
|
|
8486
|
+
});
|
|
8487
|
+
}
|
|
8488
|
+
transactionSet() {
|
|
8489
|
+
this.readonly = this.readonly || !this.transactionInfo.deliveryDateDefinitive;
|
|
8290
8490
|
}
|
|
8291
8491
|
}
|
|
8292
|
-
|
|
8492
|
+
TransactionHeaderDiscountTransactionTotalComponent.decorators = [
|
|
8293
8493
|
{ type: Component, args: [{
|
|
8294
|
-
selector:
|
|
8494
|
+
selector: "co-transaction-header-discount-transaction-total",
|
|
8295
8495
|
template: `
|
|
8296
|
-
<
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8496
|
+
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
8497
|
+
[type]="'number'"
|
|
8498
|
+
[placeholder]="showLabel ? ('TRANSACTION_TOTAL' | localize) : ''"
|
|
8499
|
+
[showSaveCancel]="!readonly"
|
|
8500
|
+
[readonly]="readonly"
|
|
8501
|
+
[(model)]="transactionTotalAmount"
|
|
8502
|
+
(blur)="editMode = false"
|
|
8503
|
+
></co-input-text>
|
|
8504
|
+
`,
|
|
8505
|
+
encapsulation: ViewEncapsulation.None
|
|
8506
|
+
},] }
|
|
8507
|
+
];
|
|
8508
|
+
TransactionHeaderDiscountTransactionTotalComponent.ctorParameters = () => [
|
|
8509
|
+
{ type: TransactionService }
|
|
8510
|
+
];
|
|
8511
|
+
TransactionHeaderDiscountTransactionTotalComponent.propDecorators = {
|
|
8512
|
+
child: [{ type: ViewChild, args: ['input', { read: InputTextComponent },] }],
|
|
8513
|
+
showLabel: [{ type: Input }],
|
|
8514
|
+
defaultEditMode: [{ type: Input }],
|
|
8515
|
+
editMode: [{ type: Input }],
|
|
8516
|
+
handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
|
|
8517
|
+
};
|
|
8518
|
+
|
|
8519
|
+
class TransactionHeaderDiscountTransactionTotalModule {
|
|
8520
|
+
}
|
|
8521
|
+
TransactionHeaderDiscountTransactionTotalModule.decorators = [
|
|
8522
|
+
{ type: NgModule, args: [{
|
|
8523
|
+
imports: [
|
|
8524
|
+
CommonModule,
|
|
8525
|
+
InputTextModule,
|
|
8526
|
+
PipeModule
|
|
8527
|
+
],
|
|
8528
|
+
declarations: [
|
|
8529
|
+
TransactionHeaderDiscountTransactionTotalComponent
|
|
8530
|
+
],
|
|
8531
|
+
exports: [
|
|
8532
|
+
TransactionHeaderDiscountTransactionTotalComponent
|
|
8533
|
+
]
|
|
8534
|
+
},] }
|
|
8535
|
+
];
|
|
8536
|
+
|
|
8537
|
+
class DialogTransactionHeaderDiscountModule {
|
|
8538
|
+
}
|
|
8539
|
+
DialogTransactionHeaderDiscountModule.decorators = [
|
|
8540
|
+
{ type: NgModule, args: [{
|
|
8541
|
+
imports: [
|
|
8542
|
+
CommonModule,
|
|
8543
|
+
CoDialogModule,
|
|
8544
|
+
TransactionHeaderDiscountPercentageModule,
|
|
8545
|
+
TransactionHeaderDiscountAmountModule,
|
|
8546
|
+
TransactionHeaderDiscountTransactionTotalModule,
|
|
8547
|
+
PipeModule
|
|
8548
|
+
],
|
|
8549
|
+
declarations: [
|
|
8550
|
+
DialogTransactionHeaderDiscountComponent
|
|
8551
|
+
],
|
|
8552
|
+
exports: [
|
|
8553
|
+
DialogTransactionHeaderDiscountComponent
|
|
8554
|
+
]
|
|
8555
|
+
},] }
|
|
8556
|
+
];
|
|
8557
|
+
|
|
8558
|
+
class TransactionTotalsModule {
|
|
8559
|
+
}
|
|
8560
|
+
TransactionTotalsModule.decorators = [
|
|
8561
|
+
{ type: NgModule, args: [{
|
|
8562
|
+
imports: [
|
|
8563
|
+
CommonModule,
|
|
8564
|
+
CoreModule,
|
|
8565
|
+
PipeModule,
|
|
8566
|
+
DialogTransactionHeaderDiscountModule
|
|
8567
|
+
],
|
|
8568
|
+
declarations: [
|
|
8569
|
+
TransactionTotalsComponent
|
|
8570
|
+
],
|
|
8571
|
+
exports: [
|
|
8572
|
+
TransactionTotalsComponent
|
|
8573
|
+
]
|
|
8574
|
+
},] }
|
|
8575
|
+
];
|
|
8576
|
+
|
|
8577
|
+
class TransactionArticleTextComponent {
|
|
8578
|
+
constructor(service) {
|
|
8579
|
+
this.service = service;
|
|
8580
|
+
this.closeClick = new EventEmitter();
|
|
8581
|
+
this.cancelClick = new EventEmitter();
|
|
8582
|
+
this.saveClick = new EventEmitter();
|
|
8583
|
+
this.showOverviewDialog = false;
|
|
8584
|
+
this.standardTexts = [];
|
|
8585
|
+
this.documents = [];
|
|
8586
|
+
this.fields = { text: "description", value: "textId" };
|
|
8587
|
+
this.fieldsDocuments = { text: "description", value: "code" };
|
|
8588
|
+
this.transactionAddTextLineRequest = new TransactionAddTextLineRequest();
|
|
8589
|
+
}
|
|
8590
|
+
set transactionLine(value) {
|
|
8591
|
+
if (value) {
|
|
8592
|
+
this.transactionAddTextLineRequest.transactionUuid = value.uuid;
|
|
8593
|
+
this.transactionAddTextLineRequest.text = value.text;
|
|
8594
|
+
}
|
|
8595
|
+
}
|
|
8596
|
+
set articleRef(value) {
|
|
8597
|
+
if (value) {
|
|
8598
|
+
this._articleRef = value;
|
|
8599
|
+
}
|
|
8600
|
+
}
|
|
8601
|
+
get articleRef() {
|
|
8602
|
+
return this._articleRef;
|
|
8603
|
+
}
|
|
8604
|
+
set editText(value) {
|
|
8605
|
+
this.transactionAddTextLineRequest.text = value;
|
|
8606
|
+
}
|
|
8607
|
+
set articleLineNr(value) {
|
|
8608
|
+
if (value) {
|
|
8609
|
+
this.transactionAddTextLineRequest.refArticleLineNr = value;
|
|
8610
|
+
}
|
|
8611
|
+
}
|
|
8612
|
+
showClass() {
|
|
8613
|
+
return true;
|
|
8614
|
+
}
|
|
8615
|
+
ngOnInit() {
|
|
8616
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8617
|
+
this.standardTexts = yield this.service.getStandardTexts("NL");
|
|
8618
|
+
this.documents = yield this.service.getTextTypes("NL");
|
|
8619
|
+
});
|
|
8620
|
+
}
|
|
8621
|
+
onOkClick(event) {
|
|
8622
|
+
this.saveClick.next(this.transactionAddTextLineRequest);
|
|
8623
|
+
}
|
|
8624
|
+
onCancelClick(event) {
|
|
8625
|
+
this.cancelClick.next(event);
|
|
8626
|
+
}
|
|
8627
|
+
onSelectStandardText(value) {
|
|
8628
|
+
this.transactionAddTextLineRequest.text = (this.standardTexts.find(x => x.textId === value)).text;
|
|
8629
|
+
}
|
|
8630
|
+
handleDocumentsChange(docs) {
|
|
8631
|
+
}
|
|
8632
|
+
}
|
|
8633
|
+
TransactionArticleTextComponent.decorators = [
|
|
8634
|
+
{ type: Component, args: [{
|
|
8635
|
+
selector: "co-transaction-article-text",
|
|
8636
|
+
template: `
|
|
8637
|
+
<co-dialog (closeClick)="closeClick.emit($event)" [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate">
|
|
8638
|
+
<div class="article-text-content-wrapper">
|
|
8639
|
+
<div class="editor-wrapper">
|
|
8640
|
+
<textarea class="article-text"
|
|
8641
|
+
[(ngModel)]="transactionAddTextLineRequest.text"
|
|
8642
|
+
></textarea>
|
|
8307
8643
|
</div>
|
|
8308
|
-
<div class="
|
|
8309
|
-
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
|
|
8321
|
-
|
|
8644
|
+
<div class="option-wrapper">
|
|
8645
|
+
<co-input-listbox
|
|
8646
|
+
[collection]="documents"
|
|
8647
|
+
[fields]="fieldsDocuments"
|
|
8648
|
+
[placeholder]="'FOR_DOCUMENTS' | localize"
|
|
8649
|
+
[value]="transactionAddTextLineRequest.showOnDocuments"
|
|
8650
|
+
[showCheckbox]="true"
|
|
8651
|
+
(modelChange)="handleDocumentsChange($event)"
|
|
8652
|
+
></co-input-listbox>
|
|
8653
|
+
<co-drop-down-list
|
|
8654
|
+
[collection]="standardTexts"
|
|
8655
|
+
[fields]="fields"
|
|
8656
|
+
[placeholder]="'STANDARD_TEXTS' | localize"
|
|
8657
|
+
(modelChange)="onSelectStandardText($event)"
|
|
8658
|
+
></co-drop-down-list>
|
|
8322
8659
|
</div>
|
|
8323
8660
|
</div>
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
<ng-content></ng-content>
|
|
8661
|
+
</co-dialog>
|
|
8662
|
+
<ng-template #headerTemplate><span [textContent]="header"></span></ng-template>
|
|
8663
|
+
<ng-template #footerTemplate>
|
|
8664
|
+
<div class="button-wrapper">
|
|
8665
|
+
<co-button [label]="'OK' | localize" (click)="onOkClick($event)"></co-button>
|
|
8666
|
+
<co-button [label]="'CANCEL' | localize " (click)="onCancelClick($event)"></co-button>
|
|
8331
8667
|
</div>
|
|
8332
|
-
</
|
|
8668
|
+
</ng-template>
|
|
8669
|
+
|
|
8333
8670
|
`,
|
|
8334
|
-
animations: [
|
|
8335
|
-
trigger("showHideFilterSidebar", [
|
|
8336
|
-
state("void", style({ transform: 'translateX(-100%)' })),
|
|
8337
|
-
state("*", style({ transform: 'translateX(0)' })),
|
|
8338
|
-
transition("void <=> *", animate("200ms ease-in-out"))
|
|
8339
|
-
])
|
|
8340
|
-
],
|
|
8341
8671
|
encapsulation: ViewEncapsulation.None
|
|
8342
8672
|
},] }
|
|
8343
8673
|
];
|
|
8344
|
-
|
|
8345
|
-
{ type:
|
|
8674
|
+
TransactionArticleTextComponent.ctorParameters = () => [
|
|
8675
|
+
{ type: TransactionService }
|
|
8346
8676
|
];
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
|
|
8677
|
+
TransactionArticleTextComponent.propDecorators = {
|
|
8678
|
+
header: [{ type: Input }],
|
|
8679
|
+
transactionLine: [{ type: Input }],
|
|
8680
|
+
articleRef: [{ type: Input }],
|
|
8681
|
+
editText: [{ type: Input }],
|
|
8682
|
+
articleLineNr: [{ type: Input }],
|
|
8683
|
+
closeClick: [{ type: Output }],
|
|
8684
|
+
cancelClick: [{ type: Output }],
|
|
8685
|
+
saveClick: [{ type: Output }],
|
|
8686
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-article-text",] }]
|
|
8352
8687
|
};
|
|
8353
8688
|
|
|
8689
|
+
class TransactionArticleTextModule {
|
|
8690
|
+
}
|
|
8691
|
+
TransactionArticleTextModule.decorators = [
|
|
8692
|
+
{ type: NgModule, args: [{
|
|
8693
|
+
imports: [
|
|
8694
|
+
CommonModule,
|
|
8695
|
+
CoreModule,
|
|
8696
|
+
FormsModule,
|
|
8697
|
+
CoDialogModule,
|
|
8698
|
+
InputCheckboxModule,
|
|
8699
|
+
InputListboxModule,
|
|
8700
|
+
DropDownModule,
|
|
8701
|
+
ButtonModule,
|
|
8702
|
+
PipeModule
|
|
8703
|
+
],
|
|
8704
|
+
declarations: [
|
|
8705
|
+
TransactionArticleTextComponent
|
|
8706
|
+
],
|
|
8707
|
+
exports: [
|
|
8708
|
+
TransactionArticleTextComponent
|
|
8709
|
+
]
|
|
8710
|
+
},] }
|
|
8711
|
+
];
|
|
8712
|
+
|
|
8713
|
+
// The different view modes for search
|
|
8714
|
+
var SearchViewMode;
|
|
8715
|
+
(function (SearchViewMode) {
|
|
8716
|
+
SearchViewMode[SearchViewMode["FullScreen"] = 0] = "FullScreen";
|
|
8717
|
+
SearchViewMode[SearchViewMode["SideBar"] = 1] = "SideBar";
|
|
8718
|
+
})(SearchViewMode || (SearchViewMode = {}));
|
|
8719
|
+
|
|
8720
|
+
// The different view modes for search
|
|
8721
|
+
var SearchbarViewMode;
|
|
8722
|
+
(function (SearchbarViewMode) {
|
|
8723
|
+
SearchbarViewMode[SearchbarViewMode["Expanded"] = 0] = "Expanded";
|
|
8724
|
+
SearchbarViewMode[SearchbarViewMode["Collapsed"] = 1] = "Collapsed";
|
|
8725
|
+
})(SearchbarViewMode || (SearchbarViewMode = {}));
|
|
8726
|
+
|
|
8354
8727
|
class TransactionSearchService {
|
|
8355
8728
|
constructor(_transactionService) {
|
|
8356
8729
|
this._transactionService = _transactionService;
|
|
8357
8730
|
this.searchRequest = new TransactionSearchViewRequest();
|
|
8358
8731
|
this.previousSearchRequest = new TransactionSearchViewRequest();
|
|
8359
8732
|
this.activeSearchViewMode = SearchViewMode.FullScreen;
|
|
8360
|
-
this.activeSearchBarViewMode =
|
|
8733
|
+
this.activeSearchBarViewMode = SearchbarViewMode.Expanded;
|
|
8361
8734
|
this.showFilterSidebar = false;
|
|
8362
8735
|
this.transactions = [];
|
|
8363
8736
|
this.labelBasedOnTransactionType = new Map([
|
|
@@ -8422,7 +8795,7 @@ class TransactionSearchService {
|
|
|
8422
8795
|
return this.activeSearchViewMode === SearchViewMode.FullScreen;
|
|
8423
8796
|
}
|
|
8424
8797
|
get collapsed() {
|
|
8425
|
-
return this.activeSearchBarViewMode ===
|
|
8798
|
+
return this.activeSearchBarViewMode === SearchbarViewMode.Collapsed;
|
|
8426
8799
|
}
|
|
8427
8800
|
toggleFilter() {
|
|
8428
8801
|
this.showFilterSidebar = !this.showFilterSidebar;
|
|
@@ -9627,52 +10000,18 @@ TransactionLineActionButtonsComponent.ctorParameters = () => [
|
|
|
9627
10000
|
{ type: TransactionService },
|
|
9628
10001
|
{ type: DictionaryService }
|
|
9629
10002
|
];
|
|
9630
|
-
TransactionLineActionButtonsComponent.propDecorators = {
|
|
9631
|
-
transactionLine: [{ type: Input }],
|
|
9632
|
-
alignDirection: [{ type: Input }],
|
|
9633
|
-
waitingForUserAction: [{ type: Output }],
|
|
9634
|
-
sidePanelButtonClicked: [{ type: Output }],
|
|
9635
|
-
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-action-buttons",] }]
|
|
9636
|
-
};
|
|
9637
|
-
|
|
9638
|
-
class DialogTransactionLineDeliveryMethodComponent extends DialogTransactionLineBaseComponent {
|
|
9639
|
-
showClass() {
|
|
9640
|
-
return true;
|
|
9641
|
-
}
|
|
9642
|
-
}
|
|
9643
|
-
DialogTransactionLineDeliveryMethodComponent.decorators = [
|
|
9644
|
-
{ type: Component, args: [{
|
|
9645
|
-
selector: "co-dialog-transaction-line-delivery-method",
|
|
9646
|
-
template: `
|
|
9647
|
-
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useModel" (closeClick)="handleClose(buttonType.Ok)">
|
|
9648
|
-
<co-transaction-line-delivery-method
|
|
9649
|
-
[autoClose]="autoClose"
|
|
9650
|
-
[useModel]="useModel"
|
|
9651
|
-
[transactionInfo]="transactionInfo"
|
|
9652
|
-
[transactionLine]="transactionLine"
|
|
9653
|
-
[searchText]="searchText"
|
|
9654
|
-
(closeAfterCommit)="handleClose(buttonType.Ok)"
|
|
9655
|
-
(valueChange)="handleValueChange($event)"></co-transaction-line-delivery-method>
|
|
9656
|
-
</co-dialog>
|
|
9657
|
-
<ng-template #dialogHeader>
|
|
9658
|
-
<co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
9659
|
-
</ng-template>
|
|
9660
|
-
<ng-template #footerTemplate>
|
|
9661
|
-
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
9662
|
-
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
9663
|
-
</div>
|
|
9664
|
-
</ng-template>
|
|
9665
|
-
`,
|
|
9666
|
-
encapsulation: ViewEncapsulation.None
|
|
9667
|
-
},] }
|
|
9668
|
-
];
|
|
9669
|
-
DialogTransactionLineDeliveryMethodComponent.propDecorators = {
|
|
9670
|
-
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-delivery-method",] }]
|
|
10003
|
+
TransactionLineActionButtonsComponent.propDecorators = {
|
|
10004
|
+
transactionLine: [{ type: Input }],
|
|
10005
|
+
alignDirection: [{ type: Input }],
|
|
10006
|
+
waitingForUserAction: [{ type: Output }],
|
|
10007
|
+
sidePanelButtonClicked: [{ type: Output }],
|
|
10008
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-action-buttons",] }]
|
|
9671
10009
|
};
|
|
9672
10010
|
|
|
9673
10011
|
class TransactionLinesLineBaseComponent {
|
|
9674
10012
|
constructor() {
|
|
9675
10013
|
this.icons = Icon;
|
|
10014
|
+
this.lineChange = new EventEmitter();
|
|
9676
10015
|
this.waitingForUserAction = new EventEmitter();
|
|
9677
10016
|
this.preview = false;
|
|
9678
10017
|
this.readonly = false;
|
|
@@ -9700,6 +10039,7 @@ TransactionLinesLineBaseComponent.decorators = [
|
|
|
9700
10039
|
TransactionLinesLineBaseComponent.propDecorators = {
|
|
9701
10040
|
line: [{ type: Input }],
|
|
9702
10041
|
transactionId: [{ type: Input }],
|
|
10042
|
+
lineChange: [{ type: Output }],
|
|
9703
10043
|
waitingForUserAction: [{ type: Output }],
|
|
9704
10044
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-base-line",] }],
|
|
9705
10045
|
preview: [{ type: HostBinding, args: ["class.preview",] }, { type: Input }],
|
|
@@ -9708,135 +10048,6 @@ TransactionLinesLineBaseComponent.propDecorators = {
|
|
|
9708
10048
|
isArticle: [{ type: HostBinding, args: ["class.is-article",] }]
|
|
9709
10049
|
};
|
|
9710
10050
|
|
|
9711
|
-
class DialogTransactionLineVatComponent extends DialogTransactionLineBaseComponent {
|
|
9712
|
-
showClass() {
|
|
9713
|
-
return true;
|
|
9714
|
-
}
|
|
9715
|
-
}
|
|
9716
|
-
DialogTransactionLineVatComponent.decorators = [
|
|
9717
|
-
{ type: Component, args: [{
|
|
9718
|
-
selector: "co-dialog-transaction-line-vat",
|
|
9719
|
-
template: `
|
|
9720
|
-
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useModel" (closeClick)="handleClose(buttonType.Ok)">
|
|
9721
|
-
<co-transaction-line-vat
|
|
9722
|
-
[autoClose]="autoClose"
|
|
9723
|
-
[useModel]="useModel"
|
|
9724
|
-
[transactionLine]="transactionLine"
|
|
9725
|
-
[searchText]="searchText"
|
|
9726
|
-
(closeAfterCommit)="handleClose(buttonType.Ok)"
|
|
9727
|
-
(valueChange)="handleValueChange($event)"
|
|
9728
|
-
></co-transaction-line-vat>
|
|
9729
|
-
</co-dialog>
|
|
9730
|
-
<ng-template #dialogHeader>
|
|
9731
|
-
<co-dialog-header-search [title]="'VAT'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
9732
|
-
</ng-template>
|
|
9733
|
-
<ng-template #footerTemplate>
|
|
9734
|
-
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
9735
|
-
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
9736
|
-
</div>
|
|
9737
|
-
</ng-template>
|
|
9738
|
-
`,
|
|
9739
|
-
encapsulation: ViewEncapsulation.None
|
|
9740
|
-
},] }
|
|
9741
|
-
];
|
|
9742
|
-
DialogTransactionLineVatComponent.propDecorators = {
|
|
9743
|
-
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-vat",] }]
|
|
9744
|
-
};
|
|
9745
|
-
|
|
9746
|
-
class DialogTransactionLineDiscountComponent extends DialogTransactionLineBaseComponent {
|
|
9747
|
-
constructor(_dialogService, _service) {
|
|
9748
|
-
super();
|
|
9749
|
-
this._dialogService = _dialogService;
|
|
9750
|
-
this._service = _service;
|
|
9751
|
-
this.showPriceListDialog = false;
|
|
9752
|
-
}
|
|
9753
|
-
showClass() {
|
|
9754
|
-
return true;
|
|
9755
|
-
}
|
|
9756
|
-
openThePriceListDialog() {
|
|
9757
|
-
this.showPriceListDialog = true;
|
|
9758
|
-
}
|
|
9759
|
-
transactionLineSet() {
|
|
9760
|
-
this._loadLinePricelist();
|
|
9761
|
-
}
|
|
9762
|
-
transactionInfoSet() {
|
|
9763
|
-
this.readonly = this.readonly || this.transactionInfo.transactionDefinitive;
|
|
9764
|
-
}
|
|
9765
|
-
_loadLinePricelist() {
|
|
9766
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9767
|
-
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
9768
|
-
this._service.getPriceLists().then((lists) => {
|
|
9769
|
-
const priceList = lists.find(l => l.code === this.transactionLine.priceListCode);
|
|
9770
|
-
this.transactionLine.priceListDescription = priceList ? priceList.description : "";
|
|
9771
|
-
});
|
|
9772
|
-
}
|
|
9773
|
-
});
|
|
9774
|
-
}
|
|
9775
|
-
}
|
|
9776
|
-
DialogTransactionLineDiscountComponent.decorators = [
|
|
9777
|
-
{ type: Component, args: [{
|
|
9778
|
-
selector: "co-dialog-transaction-line-discount",
|
|
9779
|
-
template: `
|
|
9780
|
-
<co-dialog [headerTemplate]="dialogHeader" (closeClick)="handleClose(buttonType.Ok)">
|
|
9781
|
-
<div class="transaction-line-discount-wrapper co-transaction-small-toolbar">
|
|
9782
|
-
<div class="two-column-grid">
|
|
9783
|
-
<co-transaction-line-line-discount [transactionLine]="transactionLine"></co-transaction-line-line-discount>
|
|
9784
|
-
<co-transaction-line-discount-amount [transactionLine]="transactionLine"></co-transaction-line-discount-amount>
|
|
9785
|
-
</div>
|
|
9786
|
-
<div class="two-column-grid">
|
|
9787
|
-
<co-transaction-line-special-discount [transactionLine]="transactionLine"></co-transaction-line-special-discount>
|
|
9788
|
-
<co-transaction-line-quantum-discount [transactionLine]="transactionLine"></co-transaction-line-quantum-discount>
|
|
9789
|
-
</div>
|
|
9790
|
-
<div class="two-column-grid">
|
|
9791
|
-
<co-input-text [placeholder]="'SURCHARGE_AMOUNT' | localize" [model]="transactionLine.surchargeAmount" [readonly]="readonly"></co-input-text>
|
|
9792
|
-
<co-input-text [placeholder]="'BUSINESS_RULE_DISCOUNT' | localize" [model]="'NIET_GEIMPLEMENTEERD'" [readonly]="readonly"></co-input-text>
|
|
9793
|
-
</div>
|
|
9794
|
-
<div class="transaction-line-discount-overview">
|
|
9795
|
-
<div class="transaction-line-discount-overview-item">
|
|
9796
|
-
<div class="title" [textContent]="'TRANSACTION_DISCOUNT' | localize"></div>
|
|
9797
|
-
<div class="value" [class.negative]="transactionLine.discountAmount < 0" [textContent]="transactionLine.discountAmount | coCurrency"></div>
|
|
9798
|
-
</div>
|
|
9799
|
-
<div class="transaction-line-discount-overview-item">
|
|
9800
|
-
<div class="title" [textContent]="'BUSINESS_RULE_DISCOUNT' | localize"></div>
|
|
9801
|
-
<div class="value" [textContent]="'NIET_GEIMPLEMENTEERD'"></div>
|
|
9802
|
-
</div>
|
|
9803
|
-
<div class="transaction-line-discount-overview-item">
|
|
9804
|
-
<div class="title" [textContent]="'QUANTUM_DISCOUNT' | localize"></div>
|
|
9805
|
-
<div class="value" [class.negative]="transactionLine.quantumDiscount < 0" [textContent]="transactionLine.quantumDiscount | coCurrency"></div>
|
|
9806
|
-
</div>
|
|
9807
|
-
<div class="transaction-line-discount-overview-item">
|
|
9808
|
-
<div class="title" [textContent]="'SURCHARGE_AMOUNT' | localize"></div>
|
|
9809
|
-
<div class="value" [class.negative]="transactionLine.surchargeAmount < 0" [textContent]="transactionLine.surchargeAmount | coCurrency"></div>
|
|
9810
|
-
</div>
|
|
9811
|
-
<div class="transaction-line-discount-overview-item total">
|
|
9812
|
-
<div class="title" [textContent]="'TOTAL_LINE_DISCOUNT' | localize"></div>
|
|
9813
|
-
<div class="value" [class.negative]="transactionLine.lineTotalDiscountAmount < 0" [textContent]="transactionLine.lineTotalDiscountAmount | coCurrency"></div>
|
|
9814
|
-
</div>
|
|
9815
|
-
</div>
|
|
9816
|
-
</div>
|
|
9817
|
-
</co-dialog>
|
|
9818
|
-
<ng-template #dialogHeader>
|
|
9819
|
-
<div class="dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
9820
|
-
<div class="transaction-line-button big" (click)="openThePriceListDialog()">
|
|
9821
|
-
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.priceListDescription"></span>
|
|
9822
|
-
</div>
|
|
9823
|
-
</ng-template>
|
|
9824
|
-
<co-dialog-transaction-line-price-list *ngIf="showPriceListDialog"
|
|
9825
|
-
[transactionLine]="transactionLine"
|
|
9826
|
-
(close)="showPriceListDialog = false"
|
|
9827
|
-
></co-dialog-transaction-line-price-list>
|
|
9828
|
-
`,
|
|
9829
|
-
encapsulation: ViewEncapsulation.None
|
|
9830
|
-
},] }
|
|
9831
|
-
];
|
|
9832
|
-
DialogTransactionLineDiscountComponent.ctorParameters = () => [
|
|
9833
|
-
{ type: DialogService },
|
|
9834
|
-
{ type: TransactionService }
|
|
9835
|
-
];
|
|
9836
|
-
DialogTransactionLineDiscountComponent.propDecorators = {
|
|
9837
|
-
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-discount",] }]
|
|
9838
|
-
};
|
|
9839
|
-
|
|
9840
10051
|
class TransactionOverviewLineComponent extends TransactionLinesLineBaseComponent {
|
|
9841
10052
|
constructor(service, iconCacheService, _dialogService, _dictionaryService) {
|
|
9842
10053
|
super();
|
|
@@ -9847,6 +10058,8 @@ class TransactionOverviewLineComponent extends TransactionLinesLineBaseComponent
|
|
|
9847
10058
|
this.stock = StockStatus.Low;
|
|
9848
10059
|
this.mouseOver = false;
|
|
9849
10060
|
this.readonly = false;
|
|
10061
|
+
this.showDialogVat = false;
|
|
10062
|
+
this.showDialogDiscount = false;
|
|
9850
10063
|
this.subscriptions = [];
|
|
9851
10064
|
}
|
|
9852
10065
|
showClass() {
|
|
@@ -9858,16 +10071,17 @@ class TransactionOverviewLineComponent extends TransactionLinesLineBaseComponent
|
|
|
9858
10071
|
handleMouseLeave(event) {
|
|
9859
10072
|
this.mouseOver = false;
|
|
9860
10073
|
}
|
|
10074
|
+
ngOnChanges(changes) {
|
|
10075
|
+
console.log(changes);
|
|
10076
|
+
}
|
|
9861
10077
|
ngOnInit() {
|
|
9862
10078
|
this.subscriptions.push(this.lineSet.subscribe((set) => {
|
|
9863
10079
|
if (set) {
|
|
9864
10080
|
this.localAmount = this._line.amount;
|
|
9865
|
-
this._loadLineCommissionCode();
|
|
9866
|
-
this._loadLineWarehouse();
|
|
9867
|
-
this._loadLineDeliveryMethod();
|
|
9868
10081
|
this._loadLineVat();
|
|
9869
10082
|
}
|
|
9870
10083
|
}));
|
|
10084
|
+
this.transactionKind = this.service.currentTransaction.transactionInfo.transactionKind;
|
|
9871
10085
|
}
|
|
9872
10086
|
ngOnDestroy() {
|
|
9873
10087
|
this.subscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
@@ -9885,51 +10099,6 @@ class TransactionOverviewLineComponent extends TransactionLinesLineBaseComponent
|
|
|
9885
10099
|
this.transactionLineActionButtons.textToEdit = text;
|
|
9886
10100
|
this.transactionLineActionButtons.showArticleTextDialog();
|
|
9887
10101
|
}
|
|
9888
|
-
openCommissionCodeDialog() {
|
|
9889
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineCommissionCodeComponent, this.line);
|
|
9890
|
-
}
|
|
9891
|
-
openWarehouseDialog() {
|
|
9892
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineWarehouseComponent, this.line);
|
|
9893
|
-
}
|
|
9894
|
-
openDeliveryMethodDialog() {
|
|
9895
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineDeliveryMethodComponent, this.line);
|
|
9896
|
-
}
|
|
9897
|
-
openVatDialog() {
|
|
9898
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineVatComponent, this.line);
|
|
9899
|
-
}
|
|
9900
|
-
openDiscountDialog() {
|
|
9901
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineDiscountComponent, this.line);
|
|
9902
|
-
}
|
|
9903
|
-
_loadLineCommissionCode() {
|
|
9904
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9905
|
-
if (this.line && this.line.isArticle) {
|
|
9906
|
-
this.service.getCommissionCodes('NL').then((codes) => {
|
|
9907
|
-
const commissionCode = codes.find(c => c.code === this.line.commissionCode);
|
|
9908
|
-
this.line.commissionDescription = commissionCode ? commissionCode.description : "";
|
|
9909
|
-
});
|
|
9910
|
-
}
|
|
9911
|
-
});
|
|
9912
|
-
}
|
|
9913
|
-
_loadLineWarehouse() {
|
|
9914
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9915
|
-
if (this.line && this.line.isArticle) {
|
|
9916
|
-
this.service.getWarehouses().then((warehouses) => {
|
|
9917
|
-
const warehouse = warehouses.find(w => w.warehouseNo === this.line.warehouseNumber);
|
|
9918
|
-
this.line.warehouseDescription = warehouse ? warehouse.description : "";
|
|
9919
|
-
});
|
|
9920
|
-
}
|
|
9921
|
-
});
|
|
9922
|
-
}
|
|
9923
|
-
_loadLineDeliveryMethod() {
|
|
9924
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9925
|
-
if (this.line && this.line.isArticle) {
|
|
9926
|
-
this.service.getDeliveryMethods().then((methods) => {
|
|
9927
|
-
const method = methods.find(m => m.code === this.line.deliveryMethodCode);
|
|
9928
|
-
this.line.deliveryMethodDescription = method ? method.description : "";
|
|
9929
|
-
});
|
|
9930
|
-
}
|
|
9931
|
-
});
|
|
9932
|
-
}
|
|
9933
10102
|
_loadLineVat() {
|
|
9934
10103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9935
10104
|
if (this.line && this.line.isArticle) {
|
|
@@ -9954,12 +10123,13 @@ TransactionOverviewLineComponent.decorators = [
|
|
|
9954
10123
|
</div>
|
|
9955
10124
|
</div>
|
|
9956
10125
|
<div *ngIf=!preview class="transaction-line-extended-wrapper">
|
|
9957
|
-
<co-transaction-line-commission-button [
|
|
9958
|
-
<co-transaction-line-warehouse-button [
|
|
9959
|
-
<co-transaction-line-delivery-button [
|
|
9960
|
-
<co-transaction-line-delivery-date-button [
|
|
10126
|
+
<co-transaction-line-commission-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-commission-button>
|
|
10127
|
+
<co-transaction-line-warehouse-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
|
|
10128
|
+
<co-transaction-line-delivery-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-delivery-button>
|
|
10129
|
+
<co-transaction-line-delivery-date-button [transactionLine]="line" class="two-column"></co-transaction-line-delivery-date-button>
|
|
10130
|
+
<co-transaction-line-statusbar [transaction]="line" [transactionKind]="transactionKind"></co-transaction-line-statusbar>
|
|
9961
10131
|
</div>
|
|
9962
|
-
<div *ngIf="!preview" class="transaction-line-button" (click)="
|
|
10132
|
+
<div *ngIf="!preview" class="transaction-line-button" (click)="showDialogVat = true">
|
|
9963
10133
|
<span class="co-transaction-overflow-ellipsis" [textContent]="line.vatDescription"></span>
|
|
9964
10134
|
</div>
|
|
9965
10135
|
<div class="transaction-line-totals">
|
|
@@ -9968,8 +10138,8 @@ TransactionOverviewLineComponent.decorators = [
|
|
|
9968
10138
|
[showLabel]="false"
|
|
9969
10139
|
[defaultEditMode]="false"
|
|
9970
10140
|
></co-transaction-line-price>
|
|
9971
|
-
<div class="transaction-line-button custom-width" (click)="
|
|
9972
|
-
<span class="co-transaction-overflow-ellipsis
|
|
10141
|
+
<div class="transaction-line-button custom-width transaction-line-totals-discount" (click)="showDialogDiscount = true">
|
|
10142
|
+
<span class="co-transaction-overflow-ellipsis" [class.transaction-negative-value]="line.lineTotalDiscountAmount < 0"
|
|
9973
10143
|
[textContent]="(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)"></span>
|
|
9974
10144
|
</div>
|
|
9975
10145
|
<div *ngIf=!preview class="transaction-line-totals-amount">
|
|
@@ -9988,6 +10158,17 @@ TransactionOverviewLineComponent.decorators = [
|
|
|
9988
10158
|
</div>
|
|
9989
10159
|
</ng-container>
|
|
9990
10160
|
</co-transaction-base-line>
|
|
10161
|
+
<co-dialog-transaction-line-vat *ngIf="showDialogVat"
|
|
10162
|
+
[autoClose]="true"
|
|
10163
|
+
[transactionInfo]="service.currentTransaction.transactionInfo"
|
|
10164
|
+
[transactionLine]="line"
|
|
10165
|
+
(close)="showDialogVat = false">
|
|
10166
|
+
</co-dialog-transaction-line-vat>
|
|
10167
|
+
<co-dialog-transaction-line-discount *ngIf="showDialogDiscount"
|
|
10168
|
+
[transactionInfo]="service.currentTransaction.transactionInfo"
|
|
10169
|
+
[transactionLine]="line"
|
|
10170
|
+
(close)="showDialogDiscount = false"
|
|
10171
|
+
></co-dialog-transaction-line-discount>
|
|
9991
10172
|
`,
|
|
9992
10173
|
encapsulation: ViewEncapsulation.None
|
|
9993
10174
|
},] }
|
|
@@ -10023,6 +10204,7 @@ class TransactionOrderDeliveryLineComponent extends TransactionLinesLineBaseComp
|
|
|
10023
10204
|
this._subscriptions.push(this._transactionEventService.selectAllLines.subscribe((value) => {
|
|
10024
10205
|
this.selected = value;
|
|
10025
10206
|
}));
|
|
10207
|
+
this.transactionKind = this.service.currentTransaction.transactionInfo.transactionKind;
|
|
10026
10208
|
}
|
|
10027
10209
|
ngOnDestroy() {
|
|
10028
10210
|
this._subscriptions.forEach(s => s.unsubscribe());
|
|
@@ -10037,12 +10219,12 @@ TransactionOrderDeliveryLineComponent.decorators = [
|
|
|
10037
10219
|
<co-transaction-base-line [line]="line" [preview]="preview" [checkbox]="true" [checkboxValue]="selected" [actionButtons]="false">
|
|
10038
10220
|
<div class="transaction-line-buttons-grid">
|
|
10039
10221
|
<div class="row-1">
|
|
10040
|
-
<co-transaction-line-warehouse-button [
|
|
10041
|
-
<co-transaction-line-delivery-button [
|
|
10222
|
+
<co-transaction-line-warehouse-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
|
|
10223
|
+
<co-transaction-line-delivery-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-delivery-button>
|
|
10042
10224
|
</div>
|
|
10043
10225
|
<div class="row-2">
|
|
10044
|
-
<co-transaction-line-delivery-date-button [
|
|
10045
|
-
<co-
|
|
10226
|
+
<co-transaction-line-delivery-date-button [transactionLine]="line"></co-transaction-line-delivery-date-button>
|
|
10227
|
+
<co-transaction-line-statusbar [transaction]="line" [transactionKind]="transactionKind"></co-transaction-line-statusbar>
|
|
10046
10228
|
</div>
|
|
10047
10229
|
</div>
|
|
10048
10230
|
<div class="transaction-line-totals">
|
|
@@ -10263,7 +10445,7 @@ TransactionReceiveGoodsLineComponent.decorators = [
|
|
|
10263
10445
|
template: `
|
|
10264
10446
|
<co-transaction-base-line [line]="viewModel" [preview]="preview" [actionButtons]="false" (click)="handleLineClicked($event)">
|
|
10265
10447
|
<div class="line-content-wrapper">
|
|
10266
|
-
<co-transaction-line-warehouse-button [
|
|
10448
|
+
<co-transaction-line-warehouse-button [transactionLine]="viewModel" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
|
|
10267
10449
|
<co-transaction-line-warehouse-location-button [readonly]="viewModel.quantityReceived === viewModel.amount" [line]="viewModel"></co-transaction-line-warehouse-location-button>
|
|
10268
10450
|
<co-editable-label class="transaction-line-totals-total price"
|
|
10269
10451
|
[model]="viewModel.amount.toString() + 'x'"
|
|
@@ -10485,6 +10667,9 @@ class TransactionLineComponent {
|
|
|
10485
10667
|
showClass() {
|
|
10486
10668
|
return true;
|
|
10487
10669
|
}
|
|
10670
|
+
ngOnChanges(changes) {
|
|
10671
|
+
this._prepareProps();
|
|
10672
|
+
}
|
|
10488
10673
|
_prepareContent() {
|
|
10489
10674
|
if (!this._transactionType || !this._activeCategory || !this._transactionLineContainer) {
|
|
10490
10675
|
return;
|
|
@@ -10500,12 +10685,7 @@ class TransactionLineComponent {
|
|
|
10500
10685
|
.resolveComponentFactory(componentClass)
|
|
10501
10686
|
.create(this.injector);
|
|
10502
10687
|
this.appRef.attachView(this._componentRef.hostView);
|
|
10503
|
-
this.
|
|
10504
|
-
this._componentRef.instance.selected = this.selected;
|
|
10505
|
-
this._componentRef.instance.line = this.line;
|
|
10506
|
-
this._componentRef.instance.transactionId = this.transactionId;
|
|
10507
|
-
this._componentRef.instance.waitingForUserAction = this.waitingForUserAction;
|
|
10508
|
-
this._componentRef.instance.lineVisible = this.lineVisible;
|
|
10688
|
+
this._prepareProps();
|
|
10509
10689
|
const domElem = this._componentRef.hostView
|
|
10510
10690
|
.rootNodes[0];
|
|
10511
10691
|
this._transactionLineContainer.nativeElement.appendChild(domElem);
|
|
@@ -10513,12 +10693,22 @@ class TransactionLineComponent {
|
|
|
10513
10693
|
this.appRef.detachView(this._componentRef.hostView);
|
|
10514
10694
|
});
|
|
10515
10695
|
}
|
|
10696
|
+
_prepareProps() {
|
|
10697
|
+
if (this._componentRef) {
|
|
10698
|
+
this._componentRef.instance.preview = this.preview;
|
|
10699
|
+
this._componentRef.instance.selected = this.selected;
|
|
10700
|
+
this._componentRef.instance.line = this.line;
|
|
10701
|
+
this._componentRef.instance.transactionId = this.transactionId;
|
|
10702
|
+
this._componentRef.instance.waitingForUserAction = this.waitingForUserAction;
|
|
10703
|
+
this._componentRef.instance.lineVisible = this.lineVisible;
|
|
10704
|
+
}
|
|
10705
|
+
}
|
|
10516
10706
|
}
|
|
10517
10707
|
TransactionLineComponent.decorators = [
|
|
10518
10708
|
{ type: Component, args: [{
|
|
10519
10709
|
selector: "co-transaction-line",
|
|
10520
10710
|
template: `
|
|
10521
|
-
<div #transactionLine observeVisibility (visible)="
|
|
10711
|
+
<div #transactionLine observeVisibility (visible)="lineVisible.next()"></div>
|
|
10522
10712
|
`,
|
|
10523
10713
|
encapsulation: ViewEncapsulation.None
|
|
10524
10714
|
},] }
|
|
@@ -10573,6 +10763,8 @@ class TransactionLinesComponent {
|
|
|
10573
10763
|
this.saveTransactionLine = new EventEmitter();
|
|
10574
10764
|
this.showTransactionArticleText = false;
|
|
10575
10765
|
this.userActionRequired = false;
|
|
10766
|
+
this.hasComponent = true;
|
|
10767
|
+
this._activeCategory = TransactionTypeCategory.SalesOrderOverview;
|
|
10576
10768
|
}
|
|
10577
10769
|
set activeCategory(value) {
|
|
10578
10770
|
this._activeCategory = value;
|
|
@@ -10632,9 +10824,6 @@ class TransactionLinesComponent {
|
|
|
10632
10824
|
this.saveTransactionLine.next(transactionLine);
|
|
10633
10825
|
this._hideArticleTextDialog();
|
|
10634
10826
|
}
|
|
10635
|
-
transactionLineComponent() {
|
|
10636
|
-
return !!this._mappingService.getTransactionLineComponent(this.service.currentTransaction.transactionInfo.transactionKind, this._activeCategory);
|
|
10637
|
-
}
|
|
10638
10827
|
_showArticleTextDialog() {
|
|
10639
10828
|
this.showTransactionArticleText = true;
|
|
10640
10829
|
}
|
|
@@ -10643,6 +10832,7 @@ class TransactionLinesComponent {
|
|
|
10643
10832
|
}
|
|
10644
10833
|
_handleCategory() {
|
|
10645
10834
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10835
|
+
this.hasComponent = !!this._mappingService.getTransactionLineComponent(this.service.currentTransaction.transactionInfo.transactionKind, this._activeCategory);
|
|
10646
10836
|
if (this._activeCategory === TransactionTypeCategory.PurchaseOrderReceivedGoods) {
|
|
10647
10837
|
if (this.transactionLines.find(l => l.isLocationRequired)) {
|
|
10648
10838
|
const response = yield this._dialogService.showWarehouseLocation(this.transactionLines[0].warehouseNumber, false, false, true);
|
|
@@ -10671,7 +10861,7 @@ TransactionLinesComponent.decorators = [
|
|
|
10671
10861
|
[class.show]="line === selectedTransactionLine && transactionLines.length > 1" cdkDragHandle
|
|
10672
10862
|
[iconData]="iconCacheService.getIcon(icons.GripDotsVerticalSolid)">
|
|
10673
10863
|
</co-icon>
|
|
10674
|
-
<co-transaction-line *ngIf="
|
|
10864
|
+
<co-transaction-line *ngIf="hasComponent"
|
|
10675
10865
|
[transactionType]="service.currentTransaction.transactionInfo.transactionKind"
|
|
10676
10866
|
[activeCategory]="activeCategory"
|
|
10677
10867
|
[transactionId]="transactionId"
|
|
@@ -10769,7 +10959,10 @@ ShoppingCartPreviewComponent.decorators = [
|
|
|
10769
10959
|
></co-transaction-lines>
|
|
10770
10960
|
</div>
|
|
10771
10961
|
<div class="preview-totals-wrapper">
|
|
10772
|
-
<co-transaction-totals
|
|
10962
|
+
<co-transaction-totals
|
|
10963
|
+
[transactionInfo]="service.currentTransaction.transactionInfo"
|
|
10964
|
+
[transactionTotal]="service.currentTransaction.transactionTotal"
|
|
10965
|
+
></co-transaction-totals>
|
|
10773
10966
|
</div>
|
|
10774
10967
|
<div class="cart-buttons">
|
|
10775
10968
|
<a class="button-edit-cart" [textContent]="'EDIT_CART' | localize"
|
|
@@ -10893,9 +11086,10 @@ SharedService.ctorParameters = () => [
|
|
|
10893
11086
|
];
|
|
10894
11087
|
|
|
10895
11088
|
class AvatarComponent {
|
|
10896
|
-
constructor(_transactionService, _sharedService) {
|
|
11089
|
+
constructor(_transactionService, _sharedService, _colorSequenceService) {
|
|
10897
11090
|
this._transactionService = _transactionService;
|
|
10898
11091
|
this._sharedService = _sharedService;
|
|
11092
|
+
this._colorSequenceService = _colorSequenceService;
|
|
10899
11093
|
}
|
|
10900
11094
|
set image(value) {
|
|
10901
11095
|
this._image = value;
|
|
@@ -10913,6 +11107,13 @@ class AvatarComponent {
|
|
|
10913
11107
|
showClass() {
|
|
10914
11108
|
return true;
|
|
10915
11109
|
}
|
|
11110
|
+
set initials(value) {
|
|
11111
|
+
this._initials = value;
|
|
11112
|
+
this._setBackgroundColor();
|
|
11113
|
+
}
|
|
11114
|
+
get initials() {
|
|
11115
|
+
return this._initials;
|
|
11116
|
+
}
|
|
10916
11117
|
ngAfterViewInit() {
|
|
10917
11118
|
this._getRelation();
|
|
10918
11119
|
}
|
|
@@ -10949,6 +11150,11 @@ class AvatarComponent {
|
|
|
10949
11150
|
});
|
|
10950
11151
|
}
|
|
10951
11152
|
}
|
|
11153
|
+
_setBackgroundColor() {
|
|
11154
|
+
if (this.relation) {
|
|
11155
|
+
this.backgroundColor = this._colorSequenceService.getRandomColor(this.relation.relationId);
|
|
11156
|
+
}
|
|
11157
|
+
}
|
|
10952
11158
|
}
|
|
10953
11159
|
AvatarComponent.decorators = [
|
|
10954
11160
|
{ type: Component, args: [{
|
|
@@ -10966,13 +11172,15 @@ AvatarComponent.decorators = [
|
|
|
10966
11172
|
];
|
|
10967
11173
|
AvatarComponent.ctorParameters = () => [
|
|
10968
11174
|
{ type: TransactionService },
|
|
10969
|
-
{ type: SharedService }
|
|
11175
|
+
{ type: SharedService },
|
|
11176
|
+
{ type: ColorSequenceService }
|
|
10970
11177
|
];
|
|
10971
11178
|
AvatarComponent.propDecorators = {
|
|
10972
11179
|
image: [{ type: Input }],
|
|
10973
11180
|
relationId: [{ type: Input }],
|
|
10974
11181
|
relation: [{ type: Input }],
|
|
10975
|
-
showClass: [{ type: HostBinding, args: ["class.co-avatar",] }]
|
|
11182
|
+
showClass: [{ type: HostBinding, args: ["class.co-avatar",] }],
|
|
11183
|
+
backgroundColor: [{ type: HostBinding, args: ["style.background-color",] }]
|
|
10976
11184
|
};
|
|
10977
11185
|
|
|
10978
11186
|
class AvatarModule {
|
|
@@ -11471,18 +11679,13 @@ RelationTypeComponent.decorators = [
|
|
|
11471
11679
|
template: `
|
|
11472
11680
|
<div class="default-data-row">
|
|
11473
11681
|
<co-input-radio-button class="default-width"
|
|
11474
|
-
[name]="'type'"
|
|
11475
11682
|
[label]="'PRIVATE_PERSON' | localize"
|
|
11476
|
-
[
|
|
11477
|
-
[checked]="relation.type === relType.Private"
|
|
11683
|
+
[model]="relation.type === relType.Private"
|
|
11478
11684
|
(modelChange)="handleChangeRelationType(relType.Private)"
|
|
11479
11685
|
></co-input-radio-button>
|
|
11480
11686
|
<co-input-radio-button class="default-width"
|
|
11481
|
-
[name]="'type'"
|
|
11482
11687
|
[label]="'COMPANY' | localize"
|
|
11483
|
-
[
|
|
11484
|
-
[(model)]="relation.type"
|
|
11485
|
-
[checked]="relation.type === relType.Company"
|
|
11688
|
+
[model]="relation.type === relType.Company"
|
|
11486
11689
|
(modelChange)="handleChangeRelationType(relType.Company)"
|
|
11487
11690
|
></co-input-radio-button>
|
|
11488
11691
|
</div>
|
|
@@ -11632,24 +11835,18 @@ RelationGeneralComponent.decorators = [
|
|
|
11632
11835
|
</div>
|
|
11633
11836
|
<div class="default-data-row">
|
|
11634
11837
|
<co-input-radio-button class="default-width"
|
|
11635
|
-
[name]="'gender'"
|
|
11636
11838
|
[label]="'MALE' | localize"
|
|
11637
|
-
[
|
|
11638
|
-
[checked]="relation.gender === genderType.Male"
|
|
11839
|
+
[model]="relation.gender === genderType.Male"
|
|
11639
11840
|
(modelChange)="changeGenderType(genderType.Male)"
|
|
11640
11841
|
></co-input-radio-button>
|
|
11641
11842
|
<co-input-radio-button class="default-width"
|
|
11642
|
-
[name]="'gender'"
|
|
11643
11843
|
[label]="'FEMALE' | localize "
|
|
11644
|
-
[
|
|
11645
|
-
[checked]="relation.gender === genderType.Female"
|
|
11844
|
+
[model]="relation.gender === genderType.Female"
|
|
11646
11845
|
(modelChange)="changeGenderType(genderType.Female)"
|
|
11647
11846
|
></co-input-radio-button>
|
|
11648
11847
|
<co-input-radio-button class="default-width"
|
|
11649
|
-
[name]="'gender'"
|
|
11650
11848
|
[label]="'UNKNOWN' | localize"
|
|
11651
|
-
[
|
|
11652
|
-
[checked]="relation.gender === genderType.Unspecified"
|
|
11849
|
+
[model]="relation.gender === genderType.Unspecified"
|
|
11653
11850
|
(modelChange)="changeGenderType(genderType.Unspecified)"
|
|
11654
11851
|
></co-input-radio-button>
|
|
11655
11852
|
</div>
|
|
@@ -11737,6 +11934,8 @@ class RelationSuggestionsListItemComponent {
|
|
|
11737
11934
|
return true;
|
|
11738
11935
|
}
|
|
11739
11936
|
handleClick(event) {
|
|
11937
|
+
event.preventDefault();
|
|
11938
|
+
event.stopPropagation();
|
|
11740
11939
|
this.selectionSelected.next(this.suggestion);
|
|
11741
11940
|
}
|
|
11742
11941
|
}
|
|
@@ -12214,7 +12413,9 @@ class TransactionHeaderDeliveryComponent extends TransactionBaseComponent {
|
|
|
12214
12413
|
showClass() {
|
|
12215
12414
|
return true;
|
|
12216
12415
|
}
|
|
12217
|
-
showTheDeliveryMethodDialog() {
|
|
12416
|
+
showTheDeliveryMethodDialog(event) {
|
|
12417
|
+
event.preventDefault();
|
|
12418
|
+
event.stopPropagation();
|
|
12218
12419
|
this.showDeliveryMethodDialog = true;
|
|
12219
12420
|
}
|
|
12220
12421
|
transactionSet() {
|
|
@@ -12241,7 +12442,7 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
12241
12442
|
>
|
|
12242
12443
|
</co-transaction-header-block>
|
|
12243
12444
|
<ng-template #headerBlock>
|
|
12244
|
-
<div class="header-delivery-method" (click)="showTheDeliveryMethodDialog()">
|
|
12445
|
+
<div class="header-delivery-method" (click)="showTheDeliveryMethodDialog($event)">
|
|
12245
12446
|
<co-icon class="header-delivery-truck-icon" [iconData]="iconService.getIcon(icons.TruckFastSolid)"></co-icon>
|
|
12246
12447
|
<span [textContent]="deliveryMethod?.description"></span>
|
|
12247
12448
|
</div>
|
|
@@ -12269,8 +12470,7 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
12269
12470
|
></co-transaction-header-preferred-delivery-date>
|
|
12270
12471
|
</ng-template>
|
|
12271
12472
|
<ng-template #thirdBlock>
|
|
12272
|
-
<
|
|
12273
|
-
<co-input-checkbox class="header-delivery-partial-delivery" [model]="transactionInfo.allowPartialDelivery"></co-input-checkbox>
|
|
12473
|
+
<co-transaction-header-partial-delivery class="co-transaction-label" [transactionInfo]="transactionInfo"></co-transaction-header-partial-delivery>
|
|
12274
12474
|
</ng-template>
|
|
12275
12475
|
<co-dialog *ngIf="showDialog" [headerTemplate]="headerTemplate" (closeClick)="showDialog = false">
|
|
12276
12476
|
<ng-template #headerTemplate>
|
|
@@ -12323,9 +12523,10 @@ TransactionHeaderBlockComponent.decorators = [
|
|
|
12323
12523
|
{ type: Component, args: [{
|
|
12324
12524
|
selector: "co-transaction-header-block",
|
|
12325
12525
|
template: `
|
|
12326
|
-
<div #wrapper class="transaction-header-block-wrapper">
|
|
12526
|
+
<div #wrapper class="transaction-header-block-wrapper" (click)="headerClick.emit($event)">
|
|
12327
12527
|
<div class="transaction-header-block-header">
|
|
12328
12528
|
<ng-container [ngTemplateOutlet]="headerBlockTemplate"></ng-container>
|
|
12529
|
+
<div class="transaction-header-extended-dots" *ngIf="hasDetails" [textContent]="!hasDetails ? '' : '...'" (click)="headerClick.emit($event)"></div>
|
|
12329
12530
|
</div>
|
|
12330
12531
|
<div class="transaction-header-block-content">
|
|
12331
12532
|
<div class="transaction-header-block-content-first" *ngIf="firstBlockTemplate">
|
|
@@ -12340,7 +12541,6 @@ TransactionHeaderBlockComponent.decorators = [
|
|
|
12340
12541
|
<ng-container [ngTemplateOutlet]="thirdBlockTemplate"></ng-container>
|
|
12341
12542
|
</div>
|
|
12342
12543
|
</div>
|
|
12343
|
-
<div class="transaction-header-extended-dots" *ngIf="hasDetails" [textContent]="!hasDetails ? '' : '...'" (click)="headerClick.emit($event)"></div>
|
|
12344
12544
|
</div>
|
|
12345
12545
|
`,
|
|
12346
12546
|
encapsulation: ViewEncapsulation.None
|
|
@@ -12372,35 +12572,6 @@ TransactionHeaderBlockModule.decorators = [
|
|
|
12372
12572
|
},] }
|
|
12373
12573
|
];
|
|
12374
12574
|
|
|
12375
|
-
class TransactionHeaderBaseComponent extends TransactionFilterPopupBaseComponent {
|
|
12376
|
-
constructor() {
|
|
12377
|
-
super(...arguments);
|
|
12378
|
-
this.readonly = false;
|
|
12379
|
-
this._transactionInfo = new TransactionInfo();
|
|
12380
|
-
}
|
|
12381
|
-
set transactionInfo(value) {
|
|
12382
|
-
if (value) {
|
|
12383
|
-
this._transactionInfo = value;
|
|
12384
|
-
this.transactionInfoSet();
|
|
12385
|
-
}
|
|
12386
|
-
}
|
|
12387
|
-
get transactionInfo() {
|
|
12388
|
-
return this._transactionInfo;
|
|
12389
|
-
}
|
|
12390
|
-
get model() {
|
|
12391
|
-
return this._transactionInfo;
|
|
12392
|
-
}
|
|
12393
|
-
// overridden by descendents
|
|
12394
|
-
transactionInfoSet() {
|
|
12395
|
-
}
|
|
12396
|
-
}
|
|
12397
|
-
TransactionHeaderBaseComponent.decorators = [
|
|
12398
|
-
{ type: Directive }
|
|
12399
|
-
];
|
|
12400
|
-
TransactionHeaderBaseComponent.propDecorators = {
|
|
12401
|
-
transactionInfo: [{ type: Input }]
|
|
12402
|
-
};
|
|
12403
|
-
|
|
12404
12575
|
class TransactionHeaderDeliveryDateComponent extends TransactionHeaderBaseComponent {
|
|
12405
12576
|
constructor(_transactionService) {
|
|
12406
12577
|
super();
|
|
@@ -12428,6 +12599,8 @@ class TransactionHeaderDeliveryDateComponent extends TransactionHeaderBaseCompon
|
|
|
12428
12599
|
return this._editMode;
|
|
12429
12600
|
}
|
|
12430
12601
|
handleClick(event) {
|
|
12602
|
+
event.preventDefault();
|
|
12603
|
+
event.stopPropagation();
|
|
12431
12604
|
if (!this.readonly) {
|
|
12432
12605
|
this.editMode = true;
|
|
12433
12606
|
}
|
|
@@ -12525,6 +12698,8 @@ class TransactionHeaderRemarksComponent extends TransactionHeaderBaseComponent {
|
|
|
12525
12698
|
return this._editMode;
|
|
12526
12699
|
}
|
|
12527
12700
|
handleClick(event) {
|
|
12701
|
+
event.preventDefault();
|
|
12702
|
+
event.stopPropagation();
|
|
12528
12703
|
if (!this.readonly) {
|
|
12529
12704
|
this.editMode = true;
|
|
12530
12705
|
}
|
|
@@ -12618,6 +12793,8 @@ class TransactionHeaderReferenceComponent extends TransactionHeaderBaseComponent
|
|
|
12618
12793
|
return this._editMode;
|
|
12619
12794
|
}
|
|
12620
12795
|
handleClick(event) {
|
|
12796
|
+
event.preventDefault();
|
|
12797
|
+
event.stopPropagation();
|
|
12621
12798
|
if (!this.readonly) {
|
|
12622
12799
|
this.editMode = true;
|
|
12623
12800
|
}
|
|
@@ -12711,6 +12888,8 @@ class TransactionHeaderRelationReferenceComponent extends TransactionHeaderBaseC
|
|
|
12711
12888
|
return this._editMode;
|
|
12712
12889
|
}
|
|
12713
12890
|
handleClick(event) {
|
|
12891
|
+
event.preventDefault();
|
|
12892
|
+
event.stopPropagation();
|
|
12714
12893
|
if (!this.readonly) {
|
|
12715
12894
|
this.editMode = true;
|
|
12716
12895
|
}
|
|
@@ -12873,6 +13052,9 @@ class TransactionLineCheckboxListComponent {
|
|
|
12873
13052
|
this.itemHeight = this.scrollingItem.nativeElement.offsetHeight;
|
|
12874
13053
|
}
|
|
12875
13054
|
}
|
|
13055
|
+
handleCheckboxChecked(checked, row) {
|
|
13056
|
+
this.checked.emit(row);
|
|
13057
|
+
}
|
|
12876
13058
|
handleChecked(event, row) {
|
|
12877
13059
|
event.preventDefault();
|
|
12878
13060
|
event.stopPropagation();
|
|
@@ -12884,12 +13066,12 @@ TransactionLineCheckboxListComponent.decorators = [
|
|
|
12884
13066
|
selector: "co-transaction-line-checkbox-list",
|
|
12885
13067
|
template: `
|
|
12886
13068
|
<cdk-virtual-scroll-viewport [itemSize]="itemHeight" class="virtual-scroll-container co-transaction-small-toolbar">
|
|
12887
|
-
<div *cdkVirtualFor="let row of collection" #scrollingItem class="virtual-scroll-item">
|
|
13069
|
+
<div *cdkVirtualFor="let row of collection" #scrollingItem class="virtual-scroll-item" (click)="handleChecked($event, row)">
|
|
12888
13070
|
<div class="checkbox-wrapper">
|
|
12889
13071
|
<co-input-checkbox
|
|
12890
13072
|
[model]="row.checked"
|
|
12891
13073
|
[readonly]="readonly"
|
|
12892
|
-
(
|
|
13074
|
+
(modelChange)="handleCheckboxChecked($event, row)"
|
|
12893
13075
|
></co-input-checkbox>
|
|
12894
13076
|
</div>
|
|
12895
13077
|
<div class="label-wrapper">
|
|
@@ -12976,6 +13158,8 @@ class TransactionHeaderPreferredDeliveryDateComponent extends TransactionHeaderB
|
|
|
12976
13158
|
return this._editMode;
|
|
12977
13159
|
}
|
|
12978
13160
|
handleClick(event) {
|
|
13161
|
+
event.preventDefault();
|
|
13162
|
+
event.stopPropagation();
|
|
12979
13163
|
if (!this.readonly) {
|
|
12980
13164
|
this.editMode = true;
|
|
12981
13165
|
}
|
|
@@ -13037,44 +13221,14 @@ TransactionHeaderPreferredDeliveryDateModule.decorators = [
|
|
|
13037
13221
|
PipeModule,
|
|
13038
13222
|
InputDatePickerModule
|
|
13039
13223
|
],
|
|
13040
|
-
declarations: [
|
|
13041
|
-
TransactionHeaderPreferredDeliveryDateComponent
|
|
13042
|
-
],
|
|
13043
|
-
exports: [
|
|
13044
|
-
TransactionHeaderPreferredDeliveryDateComponent
|
|
13045
|
-
]
|
|
13046
|
-
},] }
|
|
13047
|
-
];
|
|
13048
|
-
|
|
13049
|
-
class DialogTransactionHeaderBaseComponent extends TransactionHeaderBaseComponent {
|
|
13050
|
-
constructor() {
|
|
13051
|
-
super(...arguments);
|
|
13052
|
-
this.buttonType = AppPopupButtonType;
|
|
13053
|
-
this.close = new EventEmitter();
|
|
13054
|
-
}
|
|
13055
|
-
onClose(eventType, output) {
|
|
13056
|
-
return;
|
|
13057
|
-
}
|
|
13058
|
-
handleValueChange(value) {
|
|
13059
|
-
this.value = value;
|
|
13060
|
-
}
|
|
13061
|
-
handleOkClick() {
|
|
13062
|
-
this.onClose(AppPopupButtonType.Ok, this.value);
|
|
13063
|
-
}
|
|
13064
|
-
handleSearch(text) {
|
|
13065
|
-
this.searchText = text;
|
|
13066
|
-
}
|
|
13067
|
-
handleClose(type) {
|
|
13068
|
-
this.close.emit();
|
|
13069
|
-
this.onClose(type);
|
|
13070
|
-
}
|
|
13071
|
-
}
|
|
13072
|
-
DialogTransactionHeaderBaseComponent.decorators = [
|
|
13073
|
-
{ type: Directive }
|
|
13074
|
-
];
|
|
13075
|
-
DialogTransactionHeaderBaseComponent.propDecorators = {
|
|
13076
|
-
close: [{ type: Output }]
|
|
13077
|
-
};
|
|
13224
|
+
declarations: [
|
|
13225
|
+
TransactionHeaderPreferredDeliveryDateComponent
|
|
13226
|
+
],
|
|
13227
|
+
exports: [
|
|
13228
|
+
TransactionHeaderPreferredDeliveryDateComponent
|
|
13229
|
+
]
|
|
13230
|
+
},] }
|
|
13231
|
+
];
|
|
13078
13232
|
|
|
13079
13233
|
class DialogTransactionHeaderDeliveryMethodComponent extends DialogTransactionHeaderBaseComponent {
|
|
13080
13234
|
showClass() {
|
|
@@ -13274,41 +13428,11 @@ TransactionHeaderDeliveryOptionsModule.decorators = [
|
|
|
13274
13428
|
},] }
|
|
13275
13429
|
];
|
|
13276
13430
|
|
|
13277
|
-
class TransactionHeaderDeliveryModule {
|
|
13278
|
-
}
|
|
13279
|
-
TransactionHeaderDeliveryModule.decorators = [
|
|
13280
|
-
{ type: NgModule, args: [{
|
|
13281
|
-
imports: [
|
|
13282
|
-
CommonModule,
|
|
13283
|
-
CoreModule,
|
|
13284
|
-
TransactionHeaderBlockModule,
|
|
13285
|
-
InputCheckboxModule,
|
|
13286
|
-
IconModule,
|
|
13287
|
-
PipeModule,
|
|
13288
|
-
InputDatePickerModule,
|
|
13289
|
-
TransactionHeaderDeliveryDateModule,
|
|
13290
|
-
CoDialogModule,
|
|
13291
|
-
TransactionHeaderDeliveryOptionsModule,
|
|
13292
|
-
TransactionHeaderRemarksModule,
|
|
13293
|
-
TransactionHeaderReferenceModule,
|
|
13294
|
-
TransactionHeaderRelationReferenceModule,
|
|
13295
|
-
TransactionHeaderDeliveryMethodModule,
|
|
13296
|
-
TransactionHeaderPreferredDeliveryDateModule,
|
|
13297
|
-
DialogTransactionHeaderDeliveryMethodModule
|
|
13298
|
-
],
|
|
13299
|
-
declarations: [
|
|
13300
|
-
TransactionHeaderDeliveryComponent
|
|
13301
|
-
],
|
|
13302
|
-
exports: [
|
|
13303
|
-
TransactionHeaderDeliveryComponent
|
|
13304
|
-
]
|
|
13305
|
-
},] }
|
|
13306
|
-
];
|
|
13307
|
-
|
|
13308
13431
|
class TransactionHeaderPartialDeliveryComponent extends TransactionHeaderBaseComponent {
|
|
13309
13432
|
constructor(_transactionService) {
|
|
13310
13433
|
super();
|
|
13311
13434
|
this._transactionService = _transactionService;
|
|
13435
|
+
this.showClass = true;
|
|
13312
13436
|
}
|
|
13313
13437
|
commitPartialDelivery(allow) {
|
|
13314
13438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13333,7 +13457,7 @@ TransactionHeaderPartialDeliveryComponent.decorators = [
|
|
|
13333
13457
|
template: `
|
|
13334
13458
|
<co-input-checkbox
|
|
13335
13459
|
[readonly]="readonly"
|
|
13336
|
-
[label]="'
|
|
13460
|
+
[label]="'PART_DELIVERY' | localize"
|
|
13337
13461
|
[model]="transactionInfo.allowPartialDelivery"
|
|
13338
13462
|
(modelChange)="commitPartialDelivery($event)">
|
|
13339
13463
|
</co-input-checkbox>
|
|
@@ -13343,7 +13467,10 @@ TransactionHeaderPartialDeliveryComponent.decorators = [
|
|
|
13343
13467
|
];
|
|
13344
13468
|
TransactionHeaderPartialDeliveryComponent.ctorParameters = () => [
|
|
13345
13469
|
{ type: TransactionService }
|
|
13346
|
-
];
|
|
13470
|
+
];
|
|
13471
|
+
TransactionHeaderPartialDeliveryComponent.propDecorators = {
|
|
13472
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-partial-delivery",] }]
|
|
13473
|
+
};
|
|
13347
13474
|
|
|
13348
13475
|
class TransactionHeaderPartialDeliveryModule {
|
|
13349
13476
|
}
|
|
@@ -13363,6 +13490,38 @@ TransactionHeaderPartialDeliveryModule.decorators = [
|
|
|
13363
13490
|
},] }
|
|
13364
13491
|
];
|
|
13365
13492
|
|
|
13493
|
+
class TransactionHeaderDeliveryModule {
|
|
13494
|
+
}
|
|
13495
|
+
TransactionHeaderDeliveryModule.decorators = [
|
|
13496
|
+
{ type: NgModule, args: [{
|
|
13497
|
+
imports: [
|
|
13498
|
+
CommonModule,
|
|
13499
|
+
CoreModule,
|
|
13500
|
+
TransactionHeaderBlockModule,
|
|
13501
|
+
InputCheckboxModule,
|
|
13502
|
+
IconModule,
|
|
13503
|
+
PipeModule,
|
|
13504
|
+
InputDatePickerModule,
|
|
13505
|
+
TransactionHeaderDeliveryDateModule,
|
|
13506
|
+
CoDialogModule,
|
|
13507
|
+
TransactionHeaderDeliveryOptionsModule,
|
|
13508
|
+
TransactionHeaderRemarksModule,
|
|
13509
|
+
TransactionHeaderReferenceModule,
|
|
13510
|
+
TransactionHeaderRelationReferenceModule,
|
|
13511
|
+
TransactionHeaderDeliveryMethodModule,
|
|
13512
|
+
TransactionHeaderPreferredDeliveryDateModule,
|
|
13513
|
+
DialogTransactionHeaderDeliveryMethodModule,
|
|
13514
|
+
TransactionHeaderPartialDeliveryModule
|
|
13515
|
+
],
|
|
13516
|
+
declarations: [
|
|
13517
|
+
TransactionHeaderDeliveryComponent
|
|
13518
|
+
],
|
|
13519
|
+
exports: [
|
|
13520
|
+
TransactionHeaderDeliveryComponent
|
|
13521
|
+
]
|
|
13522
|
+
},] }
|
|
13523
|
+
];
|
|
13524
|
+
|
|
13366
13525
|
class TransactionHeaderDownpaymentPercentageComponent extends TransactionHeaderBaseComponent {
|
|
13367
13526
|
constructor(_transactionService) {
|
|
13368
13527
|
super();
|
|
@@ -13390,6 +13549,8 @@ class TransactionHeaderDownpaymentPercentageComponent extends TransactionHeaderB
|
|
|
13390
13549
|
return this._editMode;
|
|
13391
13550
|
}
|
|
13392
13551
|
handleClick(event) {
|
|
13552
|
+
event.preventDefault();
|
|
13553
|
+
event.stopPropagation();
|
|
13393
13554
|
if (!this.readonly) {
|
|
13394
13555
|
this.editMode = true;
|
|
13395
13556
|
}
|
|
@@ -13484,6 +13645,8 @@ class TransactionHeaderDownpaymentAmountComponent extends TransactionHeaderBaseC
|
|
|
13484
13645
|
return this._editMode;
|
|
13485
13646
|
}
|
|
13486
13647
|
handleClick(event) {
|
|
13648
|
+
event.preventDefault();
|
|
13649
|
+
event.stopPropagation();
|
|
13487
13650
|
if (!this.readonly) {
|
|
13488
13651
|
this.editMode = true;
|
|
13489
13652
|
}
|
|
@@ -13555,6 +13718,7 @@ class TransactionHeaderDefinitiveComponent extends TransactionHeaderBaseComponen
|
|
|
13555
13718
|
constructor(_transactionService) {
|
|
13556
13719
|
super();
|
|
13557
13720
|
this._transactionService = _transactionService;
|
|
13721
|
+
this.showClass = true;
|
|
13558
13722
|
}
|
|
13559
13723
|
commitTransactionDefinitive(definitive) {
|
|
13560
13724
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13589,7 +13753,10 @@ TransactionHeaderDefinitiveComponent.decorators = [
|
|
|
13589
13753
|
];
|
|
13590
13754
|
TransactionHeaderDefinitiveComponent.ctorParameters = () => [
|
|
13591
13755
|
{ type: TransactionService }
|
|
13592
|
-
];
|
|
13756
|
+
];
|
|
13757
|
+
TransactionHeaderDefinitiveComponent.propDecorators = {
|
|
13758
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-definitive",] }]
|
|
13759
|
+
};
|
|
13593
13760
|
|
|
13594
13761
|
class TransactionHeaderDefinitiveModule {
|
|
13595
13762
|
}
|
|
@@ -14114,7 +14281,7 @@ class TransactionComponent {
|
|
|
14114
14281
|
this.showQuickAccess = true;
|
|
14115
14282
|
this.showButtonBar = true;
|
|
14116
14283
|
this.activeViewMode = ContentViewMode.List;
|
|
14117
|
-
this.
|
|
14284
|
+
this.activeCategory = TransactionTypeCategory.SalesOrderOverview;
|
|
14118
14285
|
this._subs = [];
|
|
14119
14286
|
this._transaction = new TransactionInfoResponse();
|
|
14120
14287
|
this._subs.push(this._service.transactionUpdated.subscribe((transaction) => {
|
|
@@ -14150,13 +14317,6 @@ class TransactionComponent {
|
|
|
14150
14317
|
ngOnDestroy() {
|
|
14151
14318
|
this._subs.forEach(s => s.unsubscribe());
|
|
14152
14319
|
}
|
|
14153
|
-
addDiscount() {
|
|
14154
|
-
this.showDiscountsSidebar = true;
|
|
14155
|
-
// TODO
|
|
14156
|
-
// this.transactionDiscountPercentage = this.service.currentTransaction.transactionDiscountPercentage;
|
|
14157
|
-
// this.transactionDiscountAmount = this.service.currentTransaction.transactionDiscountAmount;
|
|
14158
|
-
// this.transactionTotal = undefined;
|
|
14159
|
-
}
|
|
14160
14320
|
saveTransactionLine(transactionAddTextLineRequest) {
|
|
14161
14321
|
if (transactionAddTextLineRequest.transactionUuid) { //update
|
|
14162
14322
|
}
|
|
@@ -14231,10 +14391,12 @@ TransactionComponent.decorators = [
|
|
|
14231
14391
|
-->
|
|
14232
14392
|
</div>
|
|
14233
14393
|
<div class="transaction-footer-wrapper">
|
|
14234
|
-
<co-transaction-totals
|
|
14394
|
+
<co-transaction-totals
|
|
14395
|
+
[transactionInfo]="transaction.transactionInfo"
|
|
14396
|
+
[transactionTotal]="transaction.transactionTotal"
|
|
14397
|
+
[showDiscount]="true"
|
|
14398
|
+
></co-transaction-totals>
|
|
14235
14399
|
</div>
|
|
14236
|
-
<co-discount *ngIf="showDiscountsSidebar">
|
|
14237
|
-
</co-discount>
|
|
14238
14400
|
`,
|
|
14239
14401
|
encapsulation: ViewEncapsulation.None
|
|
14240
14402
|
},] }
|
|
@@ -14548,9 +14710,18 @@ TransactionHeaderRelationModule.decorators = [
|
|
|
14548
14710
|
];
|
|
14549
14711
|
|
|
14550
14712
|
class TransactionHeaderOrderComponent extends TransactionBaseComponent {
|
|
14713
|
+
constructor() {
|
|
14714
|
+
super(...arguments);
|
|
14715
|
+
this.showDiscountDialog = false;
|
|
14716
|
+
}
|
|
14551
14717
|
showClass() {
|
|
14552
14718
|
return true;
|
|
14553
14719
|
}
|
|
14720
|
+
handleShowDiscountDialog(event) {
|
|
14721
|
+
event.preventDefault();
|
|
14722
|
+
event.stopPropagation();
|
|
14723
|
+
this.showDiscountDialog = true;
|
|
14724
|
+
}
|
|
14554
14725
|
}
|
|
14555
14726
|
TransactionHeaderOrderComponent.decorators = [
|
|
14556
14727
|
{ type: Component, args: [{
|
|
@@ -14565,19 +14736,30 @@ TransactionHeaderOrderComponent.decorators = [
|
|
|
14565
14736
|
</co-transaction-header-block>
|
|
14566
14737
|
<ng-template #headerBlock>
|
|
14567
14738
|
<div class="header-block-label" [textContent]="transactionInfo.branch?.familyName"></div>
|
|
14739
|
+
<div class="header-order-definitive">
|
|
14740
|
+
<co-transaction-header-definitive [transactionInfo]="transactionInfo"></co-transaction-header-definitive>
|
|
14741
|
+
</div>
|
|
14568
14742
|
</ng-template>
|
|
14569
14743
|
<ng-template #firstBlock>
|
|
14570
14744
|
<span class="header-order-total-label co-transaction-label" [textContent]="'ORDER_TOTAL' | localize"></span>
|
|
14571
14745
|
<div class="header-order-total" [textContent]="transactionTotal.netAmount | priceDisplay"></div>
|
|
14572
14746
|
</ng-template>
|
|
14573
14747
|
<ng-template #secondBlock>
|
|
14574
|
-
<
|
|
14575
|
-
|
|
14748
|
+
<div class="transaction-line-button custom-width" (click)="handleShowDiscountDialog($event)">
|
|
14749
|
+
<span class="co-transaction-label" [textContent]="'DISCOUNT' | localize"></span>
|
|
14750
|
+
<span class="co-transaction-overflow-ellipsis transaction-discount" [class.transaction-negative-value]="transactionTotal.discountAmount < 0"
|
|
14751
|
+
[textContent]="transactionTotal.discountAmount | coCurrency"></span>
|
|
14752
|
+
</div>
|
|
14576
14753
|
</ng-template>
|
|
14577
14754
|
<ng-template #thirdBlock>
|
|
14578
|
-
<
|
|
14579
|
-
<
|
|
14755
|
+
<span class="header-order-line-amount-label co-transaction-label" [textContent]="'ORDER_LINES' | localize"></span>
|
|
14756
|
+
<div class="header-order-line-amount" [textContent]="transactionLines.length"></div>
|
|
14580
14757
|
</ng-template>
|
|
14758
|
+
<co-dialog-transaction-header-discount class="discount-dialog" *ngIf="showDiscountDialog"
|
|
14759
|
+
[transactionInfo]="transactionInfo"
|
|
14760
|
+
[transactionTotal]="transactionTotal"
|
|
14761
|
+
(close)="showDiscountDialog = false">
|
|
14762
|
+
</co-dialog-transaction-header-discount>
|
|
14581
14763
|
`,
|
|
14582
14764
|
encapsulation: ViewEncapsulation.None
|
|
14583
14765
|
},] }
|
|
@@ -14595,7 +14777,9 @@ TransactionHeaderOrderModule.decorators = [
|
|
|
14595
14777
|
TransactionHeaderBlockModule,
|
|
14596
14778
|
InputCheckboxModule,
|
|
14597
14779
|
PipeModule,
|
|
14598
|
-
PriceDisplayPipeModule
|
|
14780
|
+
PriceDisplayPipeModule,
|
|
14781
|
+
DialogTransactionHeaderDiscountModule,
|
|
14782
|
+
TransactionHeaderDefinitiveModule
|
|
14599
14783
|
],
|
|
14600
14784
|
declarations: [
|
|
14601
14785
|
TransactionHeaderOrderComponent
|
|
@@ -14619,7 +14803,9 @@ class TransactionHeaderPaymentComponent extends TransactionBaseComponent {
|
|
|
14619
14803
|
showClass() {
|
|
14620
14804
|
return true;
|
|
14621
14805
|
}
|
|
14622
|
-
openPayment() {
|
|
14806
|
+
openPayment(event) {
|
|
14807
|
+
event.preventDefault();
|
|
14808
|
+
event.stopPropagation();
|
|
14623
14809
|
this.showPaymentDialog = true;
|
|
14624
14810
|
}
|
|
14625
14811
|
}
|
|
@@ -14637,7 +14823,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
14637
14823
|
</co-transaction-header-block>
|
|
14638
14824
|
<ng-template #headerBlock>
|
|
14639
14825
|
<div class="header-block-label" [textContent]="'BALANCE' | localize"></div>
|
|
14640
|
-
<div class="header-block-balance" *ngIf="transactionInfo.transactionKind !== transactionKind.PurchaseOrder" (click)="openPayment()">
|
|
14826
|
+
<div class="header-block-balance" *ngIf="transactionInfo.transactionKind !== transactionKind.PurchaseOrder" (click)="openPayment($event)">
|
|
14641
14827
|
<co-icon class="payment-icon" [iconData]="iconService.getIcon(icons.CreditCardSolid)"></co-icon>
|
|
14642
14828
|
<div class="payment-payed-wrapper">
|
|
14643
14829
|
<span class="payment-paid" [textContent]="200 | priceDisplay"></span>
|
|
@@ -14714,7 +14900,8 @@ TransactionHeaderPaymentModule.decorators = [
|
|
|
14714
14900
|
PaymentModule,
|
|
14715
14901
|
IconModule,
|
|
14716
14902
|
TransactionHeaderDownpaymentPercentageModule,
|
|
14717
|
-
TransactionHeaderDownpaymentAmountModule
|
|
14903
|
+
TransactionHeaderDownpaymentAmountModule,
|
|
14904
|
+
DialogTransactionHeaderDiscountModule
|
|
14718
14905
|
],
|
|
14719
14906
|
declarations: [
|
|
14720
14907
|
TransactionHeaderPaymentComponent
|
|
@@ -15144,6 +15331,8 @@ class TransactionLinePriceComponent extends TransactionLineBaseComponent {
|
|
|
15144
15331
|
return this._editMode;
|
|
15145
15332
|
}
|
|
15146
15333
|
handleClick(event) {
|
|
15334
|
+
event.preventDefault();
|
|
15335
|
+
event.stopPropagation();
|
|
15147
15336
|
if (!this.readonly) {
|
|
15148
15337
|
this.editMode = true;
|
|
15149
15338
|
}
|
|
@@ -15440,6 +15629,8 @@ class TransactionLineDeliveryDateComponent extends TransactionLineBaseComponent
|
|
|
15440
15629
|
return this._editMode;
|
|
15441
15630
|
}
|
|
15442
15631
|
handleClick(event) {
|
|
15632
|
+
event.preventDefault();
|
|
15633
|
+
event.stopPropagation();
|
|
15443
15634
|
if (!this.readonly) {
|
|
15444
15635
|
this.editMode = true;
|
|
15445
15636
|
}
|
|
@@ -16006,6 +16197,8 @@ class TransactionLineDescriptionComponent extends TransactionLineBaseComponent {
|
|
|
16006
16197
|
return this._editMode;
|
|
16007
16198
|
}
|
|
16008
16199
|
handleClick(event) {
|
|
16200
|
+
event.preventDefault();
|
|
16201
|
+
event.stopPropagation();
|
|
16009
16202
|
if (!this.readonly) {
|
|
16010
16203
|
this.editMode = true;
|
|
16011
16204
|
}
|
|
@@ -17354,6 +17547,41 @@ DialogTransactionLineWarehouseModule.decorators = [
|
|
|
17354
17547
|
},] }
|
|
17355
17548
|
];
|
|
17356
17549
|
|
|
17550
|
+
class DialogTransactionLineDeliveryMethodComponent extends DialogTransactionLineBaseComponent {
|
|
17551
|
+
showClass() {
|
|
17552
|
+
return true;
|
|
17553
|
+
}
|
|
17554
|
+
}
|
|
17555
|
+
DialogTransactionLineDeliveryMethodComponent.decorators = [
|
|
17556
|
+
{ type: Component, args: [{
|
|
17557
|
+
selector: "co-dialog-transaction-line-delivery-method",
|
|
17558
|
+
template: `
|
|
17559
|
+
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useModel" (closeClick)="handleClose(buttonType.Ok)">
|
|
17560
|
+
<co-transaction-line-delivery-method
|
|
17561
|
+
[autoClose]="autoClose"
|
|
17562
|
+
[useModel]="useModel"
|
|
17563
|
+
[transactionInfo]="transactionInfo"
|
|
17564
|
+
[transactionLine]="transactionLine"
|
|
17565
|
+
[searchText]="searchText"
|
|
17566
|
+
(closeAfterCommit)="handleClose(buttonType.Ok)"
|
|
17567
|
+
(valueChange)="handleValueChange($event)"></co-transaction-line-delivery-method>
|
|
17568
|
+
</co-dialog>
|
|
17569
|
+
<ng-template #dialogHeader>
|
|
17570
|
+
<co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
17571
|
+
</ng-template>
|
|
17572
|
+
<ng-template #footerTemplate>
|
|
17573
|
+
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
17574
|
+
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
17575
|
+
</div>
|
|
17576
|
+
</ng-template>
|
|
17577
|
+
`,
|
|
17578
|
+
encapsulation: ViewEncapsulation.None
|
|
17579
|
+
},] }
|
|
17580
|
+
];
|
|
17581
|
+
DialogTransactionLineDeliveryMethodComponent.propDecorators = {
|
|
17582
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-delivery-method",] }]
|
|
17583
|
+
};
|
|
17584
|
+
|
|
17357
17585
|
class DialogTransactionLineDeliveryMethodModule {
|
|
17358
17586
|
}
|
|
17359
17587
|
DialogTransactionLineDeliveryMethodModule.decorators = [
|
|
@@ -17375,6 +17603,41 @@ DialogTransactionLineDeliveryMethodModule.decorators = [
|
|
|
17375
17603
|
},] }
|
|
17376
17604
|
];
|
|
17377
17605
|
|
|
17606
|
+
class DialogTransactionLineVatComponent extends DialogTransactionLineBaseComponent {
|
|
17607
|
+
showClass() {
|
|
17608
|
+
return true;
|
|
17609
|
+
}
|
|
17610
|
+
}
|
|
17611
|
+
DialogTransactionLineVatComponent.decorators = [
|
|
17612
|
+
{ type: Component, args: [{
|
|
17613
|
+
selector: "co-dialog-transaction-line-vat",
|
|
17614
|
+
template: `
|
|
17615
|
+
<co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useModel" (closeClick)="handleClose(buttonType.Ok)">
|
|
17616
|
+
<co-transaction-line-vat
|
|
17617
|
+
[autoClose]="autoClose"
|
|
17618
|
+
[useModel]="useModel"
|
|
17619
|
+
[transactionLine]="transactionLine"
|
|
17620
|
+
[searchText]="searchText"
|
|
17621
|
+
(closeAfterCommit)="handleClose(buttonType.Ok)"
|
|
17622
|
+
(valueChange)="handleValueChange($event)"
|
|
17623
|
+
></co-transaction-line-vat>
|
|
17624
|
+
</co-dialog>
|
|
17625
|
+
<ng-template #dialogHeader>
|
|
17626
|
+
<co-dialog-header-search [title]="'VAT'" (search)="handleSearch($event)"></co-dialog-header-search>
|
|
17627
|
+
</ng-template>
|
|
17628
|
+
<ng-template #footerTemplate>
|
|
17629
|
+
<div class="dialog-footer-button-wrapper" *ngIf="!useModel">
|
|
17630
|
+
<co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
|
|
17631
|
+
</div>
|
|
17632
|
+
</ng-template>
|
|
17633
|
+
`,
|
|
17634
|
+
encapsulation: ViewEncapsulation.None
|
|
17635
|
+
},] }
|
|
17636
|
+
];
|
|
17637
|
+
DialogTransactionLineVatComponent.propDecorators = {
|
|
17638
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-vat",] }]
|
|
17639
|
+
};
|
|
17640
|
+
|
|
17378
17641
|
class DialogTransactionLineVatModule {
|
|
17379
17642
|
}
|
|
17380
17643
|
DialogTransactionLineVatModule.decorators = [
|
|
@@ -17394,7 +17657,101 @@ DialogTransactionLineVatModule.decorators = [
|
|
|
17394
17657
|
DialogTransactionLineVatComponent
|
|
17395
17658
|
]
|
|
17396
17659
|
},] }
|
|
17397
|
-
];
|
|
17660
|
+
];
|
|
17661
|
+
|
|
17662
|
+
class DialogTransactionLineDiscountComponent extends DialogTransactionLineBaseComponent {
|
|
17663
|
+
constructor(_dialogService, _service) {
|
|
17664
|
+
super();
|
|
17665
|
+
this._dialogService = _dialogService;
|
|
17666
|
+
this._service = _service;
|
|
17667
|
+
this.showPriceListDialog = false;
|
|
17668
|
+
}
|
|
17669
|
+
showClass() {
|
|
17670
|
+
return true;
|
|
17671
|
+
}
|
|
17672
|
+
openThePriceListDialog() {
|
|
17673
|
+
this.showPriceListDialog = true;
|
|
17674
|
+
}
|
|
17675
|
+
transactionLineSet() {
|
|
17676
|
+
this._loadLinePricelist();
|
|
17677
|
+
}
|
|
17678
|
+
transactionInfoSet() {
|
|
17679
|
+
this.readonly = this.readonly || this.transactionInfo.transactionDefinitive;
|
|
17680
|
+
}
|
|
17681
|
+
_loadLinePricelist() {
|
|
17682
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17683
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
17684
|
+
this._service.getPriceLists().then((lists) => {
|
|
17685
|
+
const priceList = lists.find(l => l.code === this.transactionLine.priceListCode);
|
|
17686
|
+
this.transactionLine.priceListDescription = priceList ? priceList.description : "";
|
|
17687
|
+
});
|
|
17688
|
+
}
|
|
17689
|
+
});
|
|
17690
|
+
}
|
|
17691
|
+
}
|
|
17692
|
+
DialogTransactionLineDiscountComponent.decorators = [
|
|
17693
|
+
{ type: Component, args: [{
|
|
17694
|
+
selector: "co-dialog-transaction-line-discount",
|
|
17695
|
+
template: `
|
|
17696
|
+
<co-dialog [headerTemplate]="dialogHeader" (closeClick)="handleClose(buttonType.Ok)">
|
|
17697
|
+
<div class="transaction-line-discount-wrapper co-transaction-small-toolbar">
|
|
17698
|
+
<div class="two-column-grid">
|
|
17699
|
+
<co-transaction-line-line-discount [transactionLine]="transactionLine"></co-transaction-line-line-discount>
|
|
17700
|
+
<co-transaction-line-discount-amount [transactionLine]="transactionLine"></co-transaction-line-discount-amount>
|
|
17701
|
+
</div>
|
|
17702
|
+
<div class="two-column-grid">
|
|
17703
|
+
<co-transaction-line-special-discount [transactionLine]="transactionLine"></co-transaction-line-special-discount>
|
|
17704
|
+
<co-transaction-line-quantum-discount [transactionLine]="transactionLine"></co-transaction-line-quantum-discount>
|
|
17705
|
+
</div>
|
|
17706
|
+
<div class="two-column-grid">
|
|
17707
|
+
<co-input-text [placeholder]="'SURCHARGE_AMOUNT' | localize" [model]="transactionLine.surchargeAmount" [readonly]="readonly"></co-input-text>
|
|
17708
|
+
<co-input-text [placeholder]="'BUSINESS_RULE_DISCOUNT' | localize" [model]="'NIET_GEIMPLEMENTEERD'" [readonly]="readonly"></co-input-text>
|
|
17709
|
+
</div>
|
|
17710
|
+
<div class="transaction-line-discount-overview">
|
|
17711
|
+
<div class="transaction-line-discount-overview-item">
|
|
17712
|
+
<div class="title" [textContent]="'TRANSACTION_DISCOUNT' | localize"></div>
|
|
17713
|
+
<div class="value" [class.transaction-negative-value]="transactionLine.discountAmount < 0" [textContent]="transactionLine.discountAmount | coCurrency"></div>
|
|
17714
|
+
</div>
|
|
17715
|
+
<div class="transaction-line-discount-overview-item">
|
|
17716
|
+
<div class="title" [textContent]="'BUSINESS_RULE_DISCOUNT' | localize"></div>
|
|
17717
|
+
<div class="value" [textContent]="'NIET_GEIMPLEMENTEERD'"></div>
|
|
17718
|
+
</div>
|
|
17719
|
+
<div class="transaction-line-discount-overview-item">
|
|
17720
|
+
<div class="title" [textContent]="'QUANTUM_DISCOUNT' | localize"></div>
|
|
17721
|
+
<div class="value" [class.transaction-negative-value]="transactionLine.quantumDiscount < 0" [textContent]="transactionLine.quantumDiscount | coCurrency"></div>
|
|
17722
|
+
</div>
|
|
17723
|
+
<div class="transaction-line-discount-overview-item">
|
|
17724
|
+
<div class="title" [textContent]="'SURCHARGE_AMOUNT' | localize"></div>
|
|
17725
|
+
<div class="value" [class.transaction-negative-value]="transactionLine.surchargeAmount < 0" [textContent]="transactionLine.surchargeAmount | coCurrency"></div>
|
|
17726
|
+
</div>
|
|
17727
|
+
<div class="transaction-line-discount-overview-item total">
|
|
17728
|
+
<div class="title" [textContent]="'TOTAL_LINE_DISCOUNT' | localize"></div>
|
|
17729
|
+
<div class="value" [class.transaction-negative-value]="transactionLine.lineTotalDiscountAmount < 0" [textContent]="transactionLine.lineTotalDiscountAmount | coCurrency"></div>
|
|
17730
|
+
</div>
|
|
17731
|
+
</div>
|
|
17732
|
+
</div>
|
|
17733
|
+
</co-dialog>
|
|
17734
|
+
<ng-template #dialogHeader>
|
|
17735
|
+
<div class="dialog-header-title" [textContent]="'DISCOUNT_PRICE_INFORMATION' | localize"></div>
|
|
17736
|
+
<div class="transaction-line-button big" (click)="openThePriceListDialog()">
|
|
17737
|
+
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.priceListDescription"></span>
|
|
17738
|
+
</div>
|
|
17739
|
+
</ng-template>
|
|
17740
|
+
<co-dialog-transaction-line-price-list *ngIf="showPriceListDialog"
|
|
17741
|
+
[transactionLine]="transactionLine"
|
|
17742
|
+
(close)="showPriceListDialog = false"
|
|
17743
|
+
></co-dialog-transaction-line-price-list>
|
|
17744
|
+
`,
|
|
17745
|
+
encapsulation: ViewEncapsulation.None
|
|
17746
|
+
},] }
|
|
17747
|
+
];
|
|
17748
|
+
DialogTransactionLineDiscountComponent.ctorParameters = () => [
|
|
17749
|
+
{ type: DialogService },
|
|
17750
|
+
{ type: TransactionService }
|
|
17751
|
+
];
|
|
17752
|
+
DialogTransactionLineDiscountComponent.propDecorators = {
|
|
17753
|
+
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-discount",] }]
|
|
17754
|
+
};
|
|
17398
17755
|
|
|
17399
17756
|
class DialogTransactionLinePriceListComponent extends DialogTransactionLineBaseComponent {
|
|
17400
17757
|
showClass() {
|
|
@@ -18371,16 +18728,6 @@ class TransactionTileComponent {
|
|
|
18371
18728
|
handleSidePanelButtonClicked() {
|
|
18372
18729
|
this.showSidePanelClicked.next(this._transactionLine);
|
|
18373
18730
|
}
|
|
18374
|
-
getStatusColor(n) {
|
|
18375
|
-
switch (n) {
|
|
18376
|
-
case 0:
|
|
18377
|
-
return '#5fdbb2';
|
|
18378
|
-
case 1:
|
|
18379
|
-
return '#f78852';
|
|
18380
|
-
case 2:
|
|
18381
|
-
return '#f23a3a';
|
|
18382
|
-
}
|
|
18383
|
-
}
|
|
18384
18731
|
_loadLineImage() {
|
|
18385
18732
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18386
18733
|
if (this._transactionLine && this._transactionLine.isArticle) {
|
|
@@ -18418,9 +18765,7 @@ TransactionTileComponent.decorators = [
|
|
|
18418
18765
|
</div>
|
|
18419
18766
|
|
|
18420
18767
|
<div class="transaction-order-status-row">
|
|
18421
|
-
<
|
|
18422
|
-
<div *ngFor="let n of [0, 1, 2]" [style.background]="getStatusColor(n)" class="transaction-order-status-indicator"></div>
|
|
18423
|
-
</div>
|
|
18768
|
+
<co-transaction-line-statusbar [transaction]="transactionLine" [transactionKind]="transactionType"></co-transaction-line-statusbar>
|
|
18424
18769
|
</div>
|
|
18425
18770
|
|
|
18426
18771
|
<div class="transaction-data-row center">
|
|
@@ -18486,7 +18831,8 @@ TransactionTileModule.decorators = [
|
|
|
18486
18831
|
IconModule,
|
|
18487
18832
|
PipeModule,
|
|
18488
18833
|
FormsModule,
|
|
18489
|
-
PriceDisplayPipeModule
|
|
18834
|
+
PriceDisplayPipeModule,
|
|
18835
|
+
TransactionLineStatusbarModule
|
|
18490
18836
|
],
|
|
18491
18837
|
declarations: [
|
|
18492
18838
|
TransactionTileComponent
|
|
@@ -18523,6 +18869,8 @@ class EditableLabelComponent {
|
|
|
18523
18869
|
return true;
|
|
18524
18870
|
}
|
|
18525
18871
|
handleClick(event) {
|
|
18872
|
+
event.preventDefault();
|
|
18873
|
+
event.stopPropagation();
|
|
18526
18874
|
if (!this.readonly) {
|
|
18527
18875
|
this.editMode = true;
|
|
18528
18876
|
}
|
|
@@ -18781,33 +19129,47 @@ TransactionBaseLineModule.decorators = [
|
|
|
18781
19129
|
},] }
|
|
18782
19130
|
];
|
|
18783
19131
|
|
|
18784
|
-
class TransactionLineCommissionButtonComponent {
|
|
18785
|
-
constructor(
|
|
18786
|
-
|
|
19132
|
+
class TransactionLineCommissionButtonComponent extends TransactionLineBaseComponent {
|
|
19133
|
+
constructor(_service) {
|
|
19134
|
+
super();
|
|
19135
|
+
this._service = _service;
|
|
19136
|
+
this.showDialogCommissionCode = false;
|
|
18787
19137
|
}
|
|
18788
19138
|
showClass() {
|
|
18789
19139
|
return true;
|
|
18790
19140
|
}
|
|
18791
|
-
|
|
18792
|
-
this
|
|
19141
|
+
transactionLineSet() {
|
|
19142
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19143
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
19144
|
+
this._service.getCommissionCodes('NL').then((codes) => {
|
|
19145
|
+
const commissionCode = codes.find(c => c.code === this.transactionLine.commissionCode);
|
|
19146
|
+
this.transactionLine.commissionDescription = commissionCode ? commissionCode.description : "";
|
|
19147
|
+
});
|
|
19148
|
+
}
|
|
19149
|
+
});
|
|
18793
19150
|
}
|
|
18794
19151
|
}
|
|
18795
19152
|
TransactionLineCommissionButtonComponent.decorators = [
|
|
18796
19153
|
{ type: Component, args: [{
|
|
18797
19154
|
selector: "co-transaction-line-commission-button",
|
|
18798
19155
|
template: `
|
|
18799
|
-
<div class="transaction-line-button" (click)="
|
|
18800
|
-
<span class="co-transaction-overflow-ellipsis" [textContent]="
|
|
19156
|
+
<div class="transaction-line-button" (click)="showDialogCommissionCode = true">
|
|
19157
|
+
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.commissionCode | append:' | ' | append:transactionLine.commissionDescription"></span>
|
|
18801
19158
|
</div>
|
|
19159
|
+
<co-dialog-transaction-line-commission-code *ngIf="showDialogCommissionCode"
|
|
19160
|
+
[autoClose]="true"
|
|
19161
|
+
[transactionInfo]="transactionInfo"
|
|
19162
|
+
[transactionLine]="transactionLine"
|
|
19163
|
+
(close)="showDialogCommissionCode = false"
|
|
19164
|
+
></co-dialog-transaction-line-commission-code>
|
|
18802
19165
|
`,
|
|
18803
19166
|
encapsulation: ViewEncapsulation.None
|
|
18804
19167
|
},] }
|
|
18805
19168
|
];
|
|
18806
19169
|
TransactionLineCommissionButtonComponent.ctorParameters = () => [
|
|
18807
|
-
{ type:
|
|
19170
|
+
{ type: TransactionService }
|
|
18808
19171
|
];
|
|
18809
19172
|
TransactionLineCommissionButtonComponent.propDecorators = {
|
|
18810
|
-
line: [{ type: Input }],
|
|
18811
19173
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-commission-button",] }]
|
|
18812
19174
|
};
|
|
18813
19175
|
|
|
@@ -18817,7 +19179,8 @@ TransactionLineCommissionButtonModule.decorators = [
|
|
|
18817
19179
|
{ type: NgModule, args: [{
|
|
18818
19180
|
imports: [
|
|
18819
19181
|
CommonModule,
|
|
18820
|
-
PipeModule
|
|
19182
|
+
PipeModule,
|
|
19183
|
+
DialogTransactionLineCommissionCodeModule
|
|
18821
19184
|
],
|
|
18822
19185
|
declarations: [
|
|
18823
19186
|
TransactionLineCommissionButtonComponent
|
|
@@ -18828,41 +19191,51 @@ TransactionLineCommissionButtonModule.decorators = [
|
|
|
18828
19191
|
},] }
|
|
18829
19192
|
];
|
|
18830
19193
|
|
|
18831
|
-
class TransactionLineWarehouseButtonComponent {
|
|
18832
|
-
constructor(iconCacheService,
|
|
19194
|
+
class TransactionLineWarehouseButtonComponent extends TransactionLineBaseComponent {
|
|
19195
|
+
constructor(iconCacheService, service) {
|
|
19196
|
+
super();
|
|
18833
19197
|
this.iconCacheService = iconCacheService;
|
|
18834
|
-
this.
|
|
19198
|
+
this.service = service;
|
|
18835
19199
|
this.icons = Icon;
|
|
18836
|
-
this.
|
|
19200
|
+
this.showDialogWarehouse = false;
|
|
18837
19201
|
}
|
|
18838
19202
|
showClass() {
|
|
18839
19203
|
return true;
|
|
18840
19204
|
}
|
|
18841
|
-
|
|
18842
|
-
|
|
18843
|
-
this.
|
|
18844
|
-
|
|
19205
|
+
transactionLineSet() {
|
|
19206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19207
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
19208
|
+
this.service.getWarehouses().then((warehouses) => {
|
|
19209
|
+
const warehouse = warehouses.find(w => w.warehouseNo === this.transactionLine.warehouseNumber);
|
|
19210
|
+
this.transactionLine.warehouseDescription = warehouse ? warehouse.description : "";
|
|
19211
|
+
});
|
|
19212
|
+
}
|
|
19213
|
+
});
|
|
18845
19214
|
}
|
|
18846
19215
|
}
|
|
18847
19216
|
TransactionLineWarehouseButtonComponent.decorators = [
|
|
18848
19217
|
{ type: Component, args: [{
|
|
18849
19218
|
selector: "co-transaction-line-warehouse-button",
|
|
18850
19219
|
template: `
|
|
18851
|
-
<div class="transaction-line-button" [class.no-pointer]="readonly" (click)="
|
|
19220
|
+
<div class="transaction-line-button" [class.no-pointer]="readonly" (click)="showDialogWarehouse = true">
|
|
18852
19221
|
<co-icon class="header-warehouse-icon" [iconData]="iconCacheService.getIcon(icons.Warehouse)"></co-icon>
|
|
18853
|
-
<span class="co-transaction-overflow-ellipsis" [textContent]="
|
|
19222
|
+
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.warehouseNumber"></span>
|
|
18854
19223
|
</div>
|
|
19224
|
+
<co-dialog-transaction-line-warehouse *ngIf="showDialogWarehouse"
|
|
19225
|
+
[autoClose]="true"
|
|
19226
|
+
[transactionInfo]="transactionInfo"
|
|
19227
|
+
[transactionLine]="transactionLine"
|
|
19228
|
+
(close)="showDialogWarehouse = false"
|
|
19229
|
+
></co-dialog-transaction-line-warehouse>
|
|
18855
19230
|
`,
|
|
18856
19231
|
encapsulation: ViewEncapsulation.None
|
|
18857
19232
|
},] }
|
|
18858
19233
|
];
|
|
18859
19234
|
TransactionLineWarehouseButtonComponent.ctorParameters = () => [
|
|
18860
19235
|
{ type: IconCacheService },
|
|
18861
|
-
{ type:
|
|
19236
|
+
{ type: TransactionService }
|
|
18862
19237
|
];
|
|
18863
19238
|
TransactionLineWarehouseButtonComponent.propDecorators = {
|
|
18864
|
-
line: [{ type: Input }],
|
|
18865
|
-
readonly: [{ type: Input }],
|
|
18866
19239
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-warehouse-button",] }]
|
|
18867
19240
|
};
|
|
18868
19241
|
|
|
@@ -18872,7 +19245,8 @@ TransactionLineWarehouseButtonModule.decorators = [
|
|
|
18872
19245
|
{ type: NgModule, args: [{
|
|
18873
19246
|
imports: [
|
|
18874
19247
|
CommonModule,
|
|
18875
|
-
IconModule
|
|
19248
|
+
IconModule,
|
|
19249
|
+
DialogTransactionLineWarehouseModule
|
|
18876
19250
|
],
|
|
18877
19251
|
declarations: [
|
|
18878
19252
|
TransactionLineWarehouseButtonComponent
|
|
@@ -18883,37 +19257,51 @@ TransactionLineWarehouseButtonModule.decorators = [
|
|
|
18883
19257
|
},] }
|
|
18884
19258
|
];
|
|
18885
19259
|
|
|
18886
|
-
class TransactionLineDeliveryButtonComponent {
|
|
18887
|
-
constructor(iconCacheService,
|
|
19260
|
+
class TransactionLineDeliveryButtonComponent extends TransactionLineBaseComponent {
|
|
19261
|
+
constructor(iconCacheService, service) {
|
|
19262
|
+
super();
|
|
18888
19263
|
this.iconCacheService = iconCacheService;
|
|
18889
|
-
this.
|
|
19264
|
+
this.service = service;
|
|
18890
19265
|
this.icons = Icon;
|
|
19266
|
+
this.showDialogDeliveryMethod = false;
|
|
18891
19267
|
}
|
|
18892
19268
|
showClass() {
|
|
18893
19269
|
return true;
|
|
18894
19270
|
}
|
|
18895
|
-
|
|
18896
|
-
this
|
|
19271
|
+
transactionLineSet() {
|
|
19272
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19273
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
19274
|
+
this.service.getDeliveryMethods().then((methods) => {
|
|
19275
|
+
const method = methods.find(m => m.code === this.transactionLine.deliveryMethodCode);
|
|
19276
|
+
this.transactionLine.deliveryMethodDescription = method ? method.description : "";
|
|
19277
|
+
});
|
|
19278
|
+
}
|
|
19279
|
+
});
|
|
18897
19280
|
}
|
|
18898
19281
|
}
|
|
18899
19282
|
TransactionLineDeliveryButtonComponent.decorators = [
|
|
18900
19283
|
{ type: Component, args: [{
|
|
18901
19284
|
selector: "co-transaction-line-delivery-button",
|
|
18902
19285
|
template: `
|
|
18903
|
-
<div class="transaction-line-button big" (click)="
|
|
19286
|
+
<div class="transaction-line-button big" (click)="showDialogDeliveryMethod = true">
|
|
18904
19287
|
<co-icon class="header-delivery-truck-icon" [iconData]="iconCacheService.getIcon(icons.TruckFastSolid)"></co-icon>
|
|
18905
|
-
<span class="co-transaction-overflow-ellipsis" [textContent]="
|
|
19288
|
+
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.deliveryMethodDescription"></span>
|
|
18906
19289
|
</div>
|
|
19290
|
+
<co-dialog-transaction-line-delivery-method *ngIf="showDialogDeliveryMethod"
|
|
19291
|
+
[autoClose]="true"
|
|
19292
|
+
[transactionInfo]="transactionInfo"
|
|
19293
|
+
[transactionLine]="transactionLine"
|
|
19294
|
+
(close)="showDialogDeliveryMethod = false"
|
|
19295
|
+
></co-dialog-transaction-line-delivery-method>
|
|
18907
19296
|
`,
|
|
18908
19297
|
encapsulation: ViewEncapsulation.None
|
|
18909
19298
|
},] }
|
|
18910
19299
|
];
|
|
18911
19300
|
TransactionLineDeliveryButtonComponent.ctorParameters = () => [
|
|
18912
19301
|
{ type: IconCacheService },
|
|
18913
|
-
{ type:
|
|
19302
|
+
{ type: TransactionService }
|
|
18914
19303
|
];
|
|
18915
19304
|
TransactionLineDeliveryButtonComponent.propDecorators = {
|
|
18916
|
-
line: [{ type: Input }],
|
|
18917
19305
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-delivery-button",] }]
|
|
18918
19306
|
};
|
|
18919
19307
|
|
|
@@ -18923,7 +19311,8 @@ TransactionLineDeliveryButtonModule.decorators = [
|
|
|
18923
19311
|
{ type: NgModule, args: [{
|
|
18924
19312
|
imports: [
|
|
18925
19313
|
CommonModule,
|
|
18926
|
-
IconModule
|
|
19314
|
+
IconModule,
|
|
19315
|
+
DialogTransactionLineDeliveryMethodModule
|
|
18927
19316
|
],
|
|
18928
19317
|
declarations: [
|
|
18929
19318
|
TransactionLineDeliveryButtonComponent
|
|
@@ -18949,7 +19338,7 @@ TransactionLineDeliveryDateButtonComponent.decorators = [
|
|
|
18949
19338
|
template: `
|
|
18950
19339
|
<div class="transaction-line-button custom-width no-border">
|
|
18951
19340
|
<span [textContent]="'DELIVERY_DATE' | localize | append:':'" class="small-font"></span>
|
|
18952
|
-
<span class="co-transaction-overflow-ellipsis" [textContent]="
|
|
19341
|
+
<span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.deliveryDate | date:'dd MMM YYYY'"></span>
|
|
18953
19342
|
<co-icon class="header-delivery-date-icon" [iconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"></co-icon>
|
|
18954
19343
|
</div>
|
|
18955
19344
|
`,
|
|
@@ -18960,7 +19349,7 @@ TransactionLineDeliveryDateButtonComponent.ctorParameters = () => [
|
|
|
18960
19349
|
{ type: IconCacheService }
|
|
18961
19350
|
];
|
|
18962
19351
|
TransactionLineDeliveryDateButtonComponent.propDecorators = {
|
|
18963
|
-
|
|
19352
|
+
transactionLine: [{ type: Input }],
|
|
18964
19353
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-delivery-date-button",] }]
|
|
18965
19354
|
};
|
|
18966
19355
|
|
|
@@ -19004,7 +19393,10 @@ TransactionOverviewLineModule.decorators = [
|
|
|
19004
19393
|
TransactionLineCommissionButtonModule,
|
|
19005
19394
|
TransactionLineWarehouseButtonModule,
|
|
19006
19395
|
TransactionLineDeliveryButtonModule,
|
|
19007
|
-
TransactionLineDeliveryDateButtonModule
|
|
19396
|
+
TransactionLineDeliveryDateButtonModule,
|
|
19397
|
+
DialogTransactionLineVatModule,
|
|
19398
|
+
DialogTransactionLineDiscountModule,
|
|
19399
|
+
TransactionLineStatusbarModule
|
|
19008
19400
|
],
|
|
19009
19401
|
declarations: [
|
|
19010
19402
|
TransactionOverviewLineComponent
|
|
@@ -19015,57 +19407,6 @@ TransactionOverviewLineModule.decorators = [
|
|
|
19015
19407
|
},] }
|
|
19016
19408
|
];
|
|
19017
19409
|
|
|
19018
|
-
class StatusBarComponent {
|
|
19019
|
-
constructor(iconCacheService) {
|
|
19020
|
-
this.iconCacheService = iconCacheService;
|
|
19021
|
-
this.icons = Icon;
|
|
19022
|
-
}
|
|
19023
|
-
showClass() {
|
|
19024
|
-
return true;
|
|
19025
|
-
}
|
|
19026
|
-
}
|
|
19027
|
-
StatusBarComponent.decorators = [
|
|
19028
|
-
{ type: Component, args: [{
|
|
19029
|
-
selector: "co-status-bar",
|
|
19030
|
-
template: `
|
|
19031
|
-
<div>
|
|
19032
|
-
<!--Tijdelijk visueel voorbeeld:-->
|
|
19033
|
-
<div class="status-bar-icons-wrapper">
|
|
19034
|
-
<co-icon class="color-green" [iconData]="this.iconCacheService.getIcon(this.icons.SquareFullSolid)"></co-icon>
|
|
19035
|
-
<co-icon class="color-orange" [iconData]="this.iconCacheService.getIcon(this.icons.SquareFullSolid)"></co-icon>
|
|
19036
|
-
<co-icon [iconData]="this.iconCacheService.getIcon(this.icons.SquareFull)"></co-icon>
|
|
19037
|
-
<co-icon [iconData]="this.iconCacheService.getIcon(this.icons.SquareFull)"></co-icon>
|
|
19038
|
-
<co-icon [iconData]="this.iconCacheService.getIcon(this.icons.SquareFull)"></co-icon>
|
|
19039
|
-
</div>
|
|
19040
|
-
</div>
|
|
19041
|
-
`,
|
|
19042
|
-
encapsulation: ViewEncapsulation.None
|
|
19043
|
-
},] }
|
|
19044
|
-
];
|
|
19045
|
-
StatusBarComponent.ctorParameters = () => [
|
|
19046
|
-
{ type: IconCacheService }
|
|
19047
|
-
];
|
|
19048
|
-
StatusBarComponent.propDecorators = {
|
|
19049
|
-
showClass: [{ type: HostBinding, args: ["class.co-status-bar",] }]
|
|
19050
|
-
};
|
|
19051
|
-
|
|
19052
|
-
class StatusBarModule {
|
|
19053
|
-
}
|
|
19054
|
-
StatusBarModule.decorators = [
|
|
19055
|
-
{ type: NgModule, args: [{
|
|
19056
|
-
imports: [
|
|
19057
|
-
CommonModule,
|
|
19058
|
-
IconModule
|
|
19059
|
-
],
|
|
19060
|
-
declarations: [
|
|
19061
|
-
StatusBarComponent
|
|
19062
|
-
],
|
|
19063
|
-
exports: [
|
|
19064
|
-
StatusBarComponent
|
|
19065
|
-
]
|
|
19066
|
-
},] }
|
|
19067
|
-
];
|
|
19068
|
-
|
|
19069
19410
|
class TransactionOrderDeliveryLineModule {
|
|
19070
19411
|
}
|
|
19071
19412
|
TransactionOrderDeliveryLineModule.decorators = [
|
|
@@ -19076,10 +19417,10 @@ TransactionOrderDeliveryLineModule.decorators = [
|
|
|
19076
19417
|
TransactionLineWarehouseButtonModule,
|
|
19077
19418
|
TransactionLineDeliveryButtonModule,
|
|
19078
19419
|
TransactionLineDeliveryDateButtonModule,
|
|
19079
|
-
StatusBarModule,
|
|
19080
19420
|
EditableLabelModule,
|
|
19081
19421
|
PipeModule,
|
|
19082
|
-
InputNumberPickerModule
|
|
19422
|
+
InputNumberPickerModule,
|
|
19423
|
+
TransactionLineStatusbarModule
|
|
19083
19424
|
],
|
|
19084
19425
|
declarations: [
|
|
19085
19426
|
TransactionOrderDeliveryLineComponent
|
|
@@ -19173,6 +19514,136 @@ ShoppingCartModule.decorators = [
|
|
|
19173
19514
|
},] }
|
|
19174
19515
|
];
|
|
19175
19516
|
|
|
19517
|
+
class TransactionSearchComponent {
|
|
19518
|
+
constructor(transactionSearchService) {
|
|
19519
|
+
this.transactionSearchService = transactionSearchService;
|
|
19520
|
+
this.searchViewModes = SearchViewMode;
|
|
19521
|
+
this.orientations = CoOrientation;
|
|
19522
|
+
this.directionRight = CoDirection.Right;
|
|
19523
|
+
this.transactionClick = new EventEmitter();
|
|
19524
|
+
this.searchViewModeChange = new EventEmitter();
|
|
19525
|
+
}
|
|
19526
|
+
set transactionType(value) {
|
|
19527
|
+
this._transactionType = value;
|
|
19528
|
+
this.transactionSearchService.transactionType = this._transactionType;
|
|
19529
|
+
}
|
|
19530
|
+
get transactionType() {
|
|
19531
|
+
return this._transactionType;
|
|
19532
|
+
}
|
|
19533
|
+
showClass() {
|
|
19534
|
+
return true;
|
|
19535
|
+
}
|
|
19536
|
+
onTransactionClick(transaction) {
|
|
19537
|
+
if (this.transactionSearchService.activeSearchViewMode === this.searchViewModes.FullScreen) {
|
|
19538
|
+
this.collapseSearchBar();
|
|
19539
|
+
}
|
|
19540
|
+
this._scrollToTop();
|
|
19541
|
+
this.transactionClick.emit(transaction);
|
|
19542
|
+
}
|
|
19543
|
+
onSearchViewResizeClick() {
|
|
19544
|
+
if (this.transactionSearchService.activeSearchViewMode === this.searchViewModes.SideBar) {
|
|
19545
|
+
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.FullScreen;
|
|
19546
|
+
}
|
|
19547
|
+
else {
|
|
19548
|
+
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
19549
|
+
}
|
|
19550
|
+
this.searchViewModeChange.emit(this.transactionSearchService.activeSearchViewMode);
|
|
19551
|
+
}
|
|
19552
|
+
onSideCollapseHandleClick() {
|
|
19553
|
+
this.toggleSearchBar();
|
|
19554
|
+
}
|
|
19555
|
+
toggleSearchBar() {
|
|
19556
|
+
if (this.transactionSearchService.collapsed || this.transactionSearchService.fullscreen) {
|
|
19557
|
+
this.expandSearchBar();
|
|
19558
|
+
}
|
|
19559
|
+
else {
|
|
19560
|
+
this.collapseSearchBar();
|
|
19561
|
+
}
|
|
19562
|
+
}
|
|
19563
|
+
collapseSearchBar() {
|
|
19564
|
+
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
19565
|
+
this.transactionSearchService.activeSearchBarViewMode = SearchbarViewMode.Collapsed;
|
|
19566
|
+
this.searchViewModeChange.emit(this.searchViewModes.SideBar);
|
|
19567
|
+
}
|
|
19568
|
+
expandSearchBar() {
|
|
19569
|
+
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
19570
|
+
this.transactionSearchService.activeSearchBarViewMode = SearchbarViewMode.Expanded;
|
|
19571
|
+
this.searchViewModeChange.emit(this.searchViewModes.SideBar);
|
|
19572
|
+
}
|
|
19573
|
+
calculateClasses() {
|
|
19574
|
+
return {
|
|
19575
|
+
'fullscreen': this.transactionSearchService.fullscreen,
|
|
19576
|
+
'sidebar': !this.transactionSearchService.fullscreen,
|
|
19577
|
+
'collapsed': this.transactionSearchService.collapsed,
|
|
19578
|
+
'expanded': !this.transactionSearchService.collapsed,
|
|
19579
|
+
};
|
|
19580
|
+
}
|
|
19581
|
+
_scrollToTop() {
|
|
19582
|
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
19583
|
+
}
|
|
19584
|
+
}
|
|
19585
|
+
TransactionSearchComponent.decorators = [
|
|
19586
|
+
{ type: Component, args: [{
|
|
19587
|
+
selector: 'co-transaction-search',
|
|
19588
|
+
template: `
|
|
19589
|
+
<div class="transaction-search-main-wrapper">
|
|
19590
|
+
<div class="transaction-search-wrapper"
|
|
19591
|
+
[ngClass]="calculateClasses()">
|
|
19592
|
+
<div class="transaction-filter-wrapper narrow-scrollbar"
|
|
19593
|
+
[ngClass]="calculateClasses()"
|
|
19594
|
+
*ngIf="transactionSearchService.showFilterSidebar" @showHideFilterSidebar>
|
|
19595
|
+
<co-transaction-filter
|
|
19596
|
+
[transactionType]="transactionType"
|
|
19597
|
+
[activeSearchViewMode]="transactionSearchService.activeSearchViewMode"
|
|
19598
|
+
(closeButtonClick)="transactionSearchService.handleHideFilter()"
|
|
19599
|
+
(resetFilterClick)="transactionSearchService.handleResetFilter()"></co-transaction-filter>
|
|
19600
|
+
</div>
|
|
19601
|
+
<div class="transaction-search-result-wrapper"
|
|
19602
|
+
[class.fullscreen]="transactionSearchService.fullscreen"
|
|
19603
|
+
[class.sidebar]="!transactionSearchService.fullscreen"
|
|
19604
|
+
[class.collapsed]="transactionSearchService.collapsed"
|
|
19605
|
+
[class.expanded]="!transactionSearchService.collapsed"
|
|
19606
|
+
>
|
|
19607
|
+
<co-transaction-search-result
|
|
19608
|
+
[transactionType]="transactionType"
|
|
19609
|
+
[activeSearchViewMode]="transactionSearchService.activeSearchViewMode"
|
|
19610
|
+
(filterClick)="transactionSearchService.toggleFilter()"
|
|
19611
|
+
(transactionClick)="onTransactionClick($event)"
|
|
19612
|
+
(resizeClick)="onSearchViewResizeClick()"
|
|
19613
|
+
(closeClick)="collapseSearchBar()"
|
|
19614
|
+
></co-transaction-search-result>
|
|
19615
|
+
</div>
|
|
19616
|
+
</div>
|
|
19617
|
+
<div class="transaction-search-content-wrapper"
|
|
19618
|
+
[class.fullscreen]="transactionSearchService.fullscreen"
|
|
19619
|
+
[class.sidebar]="!transactionSearchService.fullscreen"
|
|
19620
|
+
[class.collapsed]="transactionSearchService.collapsed"
|
|
19621
|
+
[class.expanded]="!transactionSearchService.collapsed"
|
|
19622
|
+
>
|
|
19623
|
+
<ng-content></ng-content>
|
|
19624
|
+
</div>
|
|
19625
|
+
</div>
|
|
19626
|
+
`,
|
|
19627
|
+
animations: [
|
|
19628
|
+
trigger("showHideFilterSidebar", [
|
|
19629
|
+
state("void", style({ transform: 'translateX(-100%)' })),
|
|
19630
|
+
state("*", style({ transform: 'translateX(0)' })),
|
|
19631
|
+
transition("void <=> *", animate("200ms ease-in-out"))
|
|
19632
|
+
])
|
|
19633
|
+
],
|
|
19634
|
+
encapsulation: ViewEncapsulation.None
|
|
19635
|
+
},] }
|
|
19636
|
+
];
|
|
19637
|
+
TransactionSearchComponent.ctorParameters = () => [
|
|
19638
|
+
{ type: TransactionSearchService }
|
|
19639
|
+
];
|
|
19640
|
+
TransactionSearchComponent.propDecorators = {
|
|
19641
|
+
transactionType: [{ type: Input }],
|
|
19642
|
+
transactionClick: [{ type: Output }],
|
|
19643
|
+
searchViewModeChange: [{ type: Output }],
|
|
19644
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-search",] }]
|
|
19645
|
+
};
|
|
19646
|
+
|
|
19176
19647
|
class TransactionFilterComponent {
|
|
19177
19648
|
constructor(_mappingService, _compFactoryResolver, appRef, injector, searchService) {
|
|
19178
19649
|
this._mappingService = _mappingService;
|
|
@@ -19199,6 +19670,7 @@ class TransactionFilterComponent {
|
|
|
19199
19670
|
}
|
|
19200
19671
|
set activeSearchViewMode(value) {
|
|
19201
19672
|
this._activeSearchViewMode = value;
|
|
19673
|
+
//localStorage.setItem('viewMode', value);
|
|
19202
19674
|
}
|
|
19203
19675
|
get activeSearchViewMode() {
|
|
19204
19676
|
return this._activeSearchViewMode;
|
|
@@ -19998,11 +20470,9 @@ TransactionFilterHistoricStateComponent.decorators = [
|
|
|
19998
20470
|
[placeholder]="label"
|
|
19999
20471
|
[customContent]="true">
|
|
20000
20472
|
<co-input-radio-button *ngFor="let state of states"
|
|
20001
|
-
[name]="groupName"
|
|
20002
|
-
[value]="state.value"
|
|
20003
20473
|
[model]="state.checked"
|
|
20004
20474
|
[label]="state.label | localize"
|
|
20005
|
-
(modelChange)="handleStateChange(
|
|
20475
|
+
(modelChange)="handleStateChange(state.value)"
|
|
20006
20476
|
></co-input-radio-button>
|
|
20007
20477
|
</co-transaction-filter-item>
|
|
20008
20478
|
`,
|
|
@@ -20370,8 +20840,8 @@ class TransactionStatusbarComponent {
|
|
|
20370
20840
|
//this.getStatusbarLine(),// Factuurcheck todo: als BE gereed is
|
|
20371
20841
|
];
|
|
20372
20842
|
}
|
|
20373
|
-
getStatusbarLine(label,
|
|
20374
|
-
return { label: this._dictionary.get(label), percentage: this.calculatePercentage(
|
|
20843
|
+
getStatusbarLine(label, quantity) {
|
|
20844
|
+
return { label: this._dictionary.get(label), percentage: this.calculatePercentage(quantity, this._total) };
|
|
20375
20845
|
}
|
|
20376
20846
|
calculatePercentage(amount, totalAmount) {
|
|
20377
20847
|
if (amount === 0 || totalAmount === 0) {
|
|
@@ -20524,11 +20994,12 @@ TransactionSearchHeaderComponent.decorators = [
|
|
|
20524
20994
|
[noIcon]="true"
|
|
20525
20995
|
[(model)]="searchService.searchRequest.general"
|
|
20526
20996
|
[placeholder]="'SEARCH_NUMBER_CUSTOMER_OR_DATE' | localize"
|
|
20997
|
+
[initFocus]="true"
|
|
20527
20998
|
(search)="searchService.searchTransactions()"></co-input-search>
|
|
20528
20999
|
</div>
|
|
20529
21000
|
<div>
|
|
20530
21001
|
<co-button class="transaction-search-filter-button"
|
|
20531
|
-
|
|
21002
|
+
|
|
20532
21003
|
[iconData]="iconCacheService.getIcon(icon.BarsFilter)"
|
|
20533
21004
|
(click)="filterButtonClick.emit()">
|
|
20534
21005
|
</co-button>
|
|
@@ -21704,5 +22175,5 @@ TransactionLineGridModule.decorators = [
|
|
|
21704
22175
|
* Generated bundle index. Do not edit.
|
|
21705
22176
|
*/
|
|
21706
22177
|
|
|
21707
|
-
export { CheckoutComponent, CheckoutModule, SearchBarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, IconCacheService as ɵba, CharacteristicAnswerModule as ɵbb, CharacteristicAnswerComponent as ɵbc, WarehouseModule as ɵbd, WarehouseComponent as ɵbe, ImageDisplayComponent as ɵbf, IconComponent as ɵbg, CustomerGroupsComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LoaderComponent as ɵbj, LazyRenderMasterDirective as ɵbk, LazyRenderDirective as ɵbl, RelationAddressModule as ɵbm, RelationAddressComponent as ɵbn, RelationBaseComponent as ɵbo, RelationAddressSelectModule as ɵbp, RelationAddressTileModule as ɵbq, TileModule as ɵbr, TileComponent as ɵbs, RelationAddressTileComponent as ɵbt, RelationAddressSelectComponent as ɵbu, BusinessObjectFactory as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionLineModule as ɵbz, DynamicComponentService as ɵc, TransactionLineComponent as ɵca, TransactionMappingService as ɵcb, TransactionArticleTextModule as ɵcc, TransactionArticleTextComponent as ɵcd, TransactionReceiveGoodsService as ɵce, TransactionEventService as ɵcf, AvatarModule as ɵcg, AvatarComponent as ɵch, SharedService as ɵci, SharedConnectorService as ɵcj, DeliveryTypeTileModule as ɵck, DeliveryTypeTileComponent as ɵcl, PaymentModule as ɵcm, PaymentTileModule as ɵcn, PaymentTileComponent as ɵco, PaymentQrCodeModule as ɵcp, PaymentQrCodeComponent as ɵcq, PaymentComponent as ɵcr, PaymentService as ɵcs, RelationTypeModule as ɵct, RelationTypeComponent as ɵcu, RelationGeneralModule as ɵcv, RelationSuggestionsListModule as ɵcw, RelationSuggestionsListItemModule as ɵcx, RelationSuggestionsListItemComponent as ɵcy, RelationSuggestionsListComponent as ɵcz, OptionsService as ɵd, RelationGeneralComponent as ɵda, RelationAddressesModule as ɵdb, RelationAddressesComponent as ɵdc, RelationContactDetailsModule as ɵdd, RelationContactDetailsComponent as ɵde, RelationPreferencesModule as ɵdf, RelationPreferencesComponent as ɵdg, TransactionHeaderBlockModule as ɵdh, TransactionHeaderBlockComponent as ɵdi, TransactionHeaderDeliveryDateModule as ɵdj, TransactionHeaderDeliveryDateComponent as ɵdk, TransactionHeaderBaseComponent as ɵdl, TransactionFilterPopupBaseComponent as ɵdm, TransactionHeaderDeliveryOptionsModule as ɵdn, TransactionHeaderDeliveryOptionsComponent as ɵdo, TransactionHeaderRemarksModule as ɵdp, TransactionHeaderRemarksComponent as ɵdq, TransactionHeaderReferenceModule as ɵdr, TransactionHeaderReferenceComponent as ɵds, TransactionHeaderRelationReferenceModule as ɵdt, TransactionHeaderRelationReferenceComponent as ɵdu, TransactionHeaderDeliveryMethodModule as ɵdv, TransactionLineCheckboxModule as ɵdw, TransactionLineCheckboxListComponent as ɵdx, TransactionHeaderDeliveryMethodComponent as ɵdy, TransactionHeaderPreferredDeliveryDateModule as ɵdz, DictionaryService as ɵe, TransactionHeaderPreferredDeliveryDateComponent as ɵea, DialogTransactionHeaderDeliveryMethodModule as ɵeb, DialogHeaderSearchModule as ɵec, DialogHeaderSearchComponent as ɵed, DialogTransactionHeaderDeliveryMethodComponent as ɵee, DialogTransactionHeaderBaseComponent as ɵef, TransactionBaseComponent as ɵeg, TransactionHeaderPartialDeliveryModule as ɵeh, TransactionHeaderPartialDeliveryComponent as ɵei, TransactionHeaderDownpaymentPercentageModule as ɵej, TransactionHeaderDownpaymentPercentageComponent as ɵek, TransactionHeaderDownpaymentAmountModule as ɵel, TransactionHeaderDownpaymentAmountComponent as ɵem, TransactionHeaderDefinitiveModule as ɵen, TransactionHeaderDefinitiveComponent as ɵeo, TransactionHeaderBranchModule as ɵep, TransactionHeaderBranchComponent as ɵeq, TransactionHeaderAdministrativeRelationModule as ɵer, TransactionHeaderAdministrativeRelationComponent as ɵes, TransactionHeaderMarketingModule as ɵet, TransactionHeaderMarketingComponent as ɵeu, CheckoutOverviewRelationEditComponent as ɵev, CheckoutOverviewDeliveryEditComponent as ɵew, CheckoutOverviewDeliveryAddressComponent as ɵex, CheckoutOverviewPaymentComponent as ɵey, CheckoutLoginComponent as ɵez, TransactionConnectorService as ɵf, TransactionFilterCategoriesModule as ɵfa, TransactionFilterCategoriesComponent as ɵfb, TransactionHeaderPaymentModule as ɵfc, TransactionHeaderPaymentComponent as ɵfd, TransactionLinesGridModule as ɵfe, TransactionBaseGridModule as ɵff, TransactionLineSidePanelModule as ɵfg, TransactionLineSidePanelDefaultModule as ɵfh, TransactionLinePriceModule as ɵfi, TransactionLinePriceComponent as ɵfj, TransactionLineBaseComponent as ɵfk, TransactionLinePriceListModule as ɵfl, TransactionLinePriceListComponent as ɵfm, TransactionLineVatModule as ɵfn, TransactionLineVatComponent as ɵfo, TransactionLineQuantityModule as ɵfp, TransactionLineQuantityComponent as ɵfq, TransactionLineLineDiscountModule as ɵfr, TransactionLineLineDiscountComponent as ɵfs, TransactionLineDeliveryMethodModule as ɵft, TransactionLineDeliveryMethodComponent as ɵfu, TransactionLineDeliveryDateModule as ɵfv, TransactionLineDeliveryDateComponent as ɵfw, TransactionLineReferenceModule as ɵfx, TransactionLineReferenceComponent as ɵfy, TransactionLineCommissionCodeModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLineCommissionCodeComponent as ɵga, TransactionLineWarehouseModule as ɵgb, TransactionLineWarehouseComponent as ɵgc, TransactionLineDiscountAmountModule as ɵgd, TransactionLineDiscountAmountComponent as ɵge, TransactionLineQuantumDiscountModule as ɵgf, TransactionLineQuantumDiscountComponent as ɵgg, TransactionLineSpecialDiscountModule as ɵgh, TransactionLineSpecialDiscountComponent as ɵgi, TransactionLineSupplierModule as ɵgj, TransactionLineSupplierComponent as ɵgk, TransactionLineDescriptionModule as ɵgl, TransactionLineDescriptionComponent as ɵgm, TransactionLineSidePanelDefaultComponent as ɵgn, TransactionReceivingGoodsHistoryModule as ɵgo, TransactionHistoryGridModule as ɵgp, TransactionHistoryGridStatusModule as ɵgq, TransactionHistoryGridStatusComponent as ɵgr, TransactionHistoryGridComponent as ɵgs, TransactionReceivingGoodsHistoryComponent as ɵgt, TransactionReceivingGoodsDetailsModule as ɵgu, TransactionReceivingGoodsDetailsComponent as ɵgv, ArticleService as ɵgw, TransactionButtonBarModule as ɵgx, TransactionButtonBarComponent as ɵgy, TransactionButtonBarButtonComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineSidePanelPurchaseModule as ɵha, DefaultOkCancelButtonsModule as ɵhb, DefaultOkCancelButtonsComponent as ɵhc, TransactionLineSidePanelPurchaseComponent as ɵhd, TransactionLineSidePanelComponent as ɵhe, DynamicBaseComponent as ɵhf, TransactionLineActionButtonsModule as ɵhg, TransactionArticleTextOverviewModule as ɵhh, TransactionArticleTextOverviewComponent as ɵhi, TransactionLineActionButtonsComponent as ɵhj, TransactionBaseGridComponent as ɵhk, TransactionGridBaseComponent as ɵhl, TransactionImageService as ɵhm, DialogTransactionLineCommissionCodeModule as ɵhn, DialogTransactionLineCommissionCodeComponent as ɵho, DialogTransactionLineBaseComponent as ɵhp, DialogTransactionLineWarehouseModule as ɵhq, DialogTransactionLineWarehouseComponent as ɵhr, DialogTransactionLineWarehouseCcModule as ɵhs, DialogTransactionLineWarehouseCcComponent as ɵht, DialogTransactionLineDeliveryMethodModule as ɵhu, DialogTransactionLineDeliveryMethodComponent as ɵhv, DialogTransactionLineVatModule as ɵhw, DialogTransactionLineVatComponent as ɵhx, DialogTransactionLineDiscountModule as ɵhy, DialogTransactionLinePriceListModule as ɵhz, BusinessObjectCacheManagerService as ɵi, DialogTransactionLinePriceListComponent as ɵia, DialogTransactionLineDiscountComponent as ɵib, TransactionLinesGridComponent as ɵic, DiscountModule as ɵid, DiscountComponent as ɵie, TransactionQuickAccessOverviewModule as ɵif, TransactionQuickAccessOverviewComponent as ɵig, TransactionQuickAccessOrderDeliveryModule as ɵih, TransactionQuickAccessOrderDeliveryComponent as ɵii, TransactionOrderConfirmationGridModule as ɵij, TransactionOrderConfirmationGridComponent as ɵik, TransactionReceivedGoodsGridModule as ɵil, DialogTransactionLineWarehouseLocationModule as ɵim, TransactionLineWarehouseLocationModule as ɵin, TransactionLineWarehouseLocationComponent as ɵio, DialogTransactionLineWarehouseLocationComponent as ɵip, TransactionLineWarehouseLocationButtonModule as ɵiq, TransactionLineWarehouseLocationButtonComponent as ɵir, TransactionReceivedGoodsGridComponent as ɵis, ViewModeButtonsModule as ɵit, ViewModeButtonsComponent as ɵiu, TransactionGridModule as ɵiv, TransactionGridComponent as ɵiw, TransactionTileModule as ɵix, TransactionTileComponent as ɵiy, TransactionOverviewLineModule as ɵiz, CacheField as ɵj, EditableLabelModule as ɵja, EditableLabelComponent as ɵjb, TransactionBaseLineModule as ɵjc, TransactionLineImageAndDescriptionModule as ɵjd, TransactionLineImageAndDescriptionComponent as ɵje, TransactionBaseLineComponent as ɵjf, TransactionLinesLineBaseComponent as ɵjg, TransactionLineCommissionButtonModule as ɵjh, TransactionLineCommissionButtonComponent as ɵji, TransactionLineWarehouseButtonModule as ɵjj, TransactionLineWarehouseButtonComponent as ɵjk, TransactionLineDeliveryButtonModule as ɵjl, TransactionLineDeliveryButtonComponent as ɵjm, TransactionLineDeliveryDateButtonModule as ɵjn, TransactionLineDeliveryDateButtonComponent as ɵjo, TransactionOverviewLineComponent as ɵjp, TransactionOrderDeliveryLineModule as ɵjq, StatusBarModule as ɵjr, StatusBarComponent as ɵjs, TransactionOrderDeliveryLineComponent as ɵjt, TransactionReceiveGoodsLineModule as ɵju, TransactionReceiveGoodsLineComponent as ɵjv, TransactionSearchResultModule as ɵjw, TransactionSearchSalesOrderTileModule as ɵjx, TransactionSearchSalesOrderTileComponent as ɵjy, TransactionSearchTileBaseComponent as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionSearchPurchaseOrderTileModule as ɵka, TransactionSearchPurchaseOrderTileComponent as ɵkb, TransactionSearchSalesOrderGridModule as ɵkc, TransactionSearchSalesOrderGridComponent as ɵkd, TransactionSearchGridBaseComponent as ɵke, TransactionSearchPurchaseOrderGridModule as ɵkf, TransactionSearchPurchaseOrderGridComponent as ɵkg, TransactionSearchHeaderModule as ɵkh, TransactionSearchHeaderComponent as ɵki, TransactionSearchGridModule as ɵkj, TransactionSearchGridComponent as ɵkk, TransactionSearchTileModule as ɵkl, TransactionSearchTileComponent as ɵkm, TransactionSearchResultComponent as ɵkn, TransactionSalesOrderFilterModule as ɵko, TransactionSalesOrderFilterContentOrderModule as ɵkp, TransactionFilterItemModule as ɵkq, TransactionFilterItemComponent as ɵkr, TransactionSalesOrderFilterContentOrderComponent as ɵks, TransactionFilterContentBaseComponent as ɵkt, FilterRequestService as ɵku, TransactionSalesOrderFilterContentLogisticsModule as ɵkv, TransactionFilterHistoricStateModule as ɵkw, TransactionFilterHistoricStateComponent as ɵkx, TransactionSalesOrderFilterContentLogisticsComponent as ɵky, TransactionSalesOrderFilterContentArticleModule as ɵkz, ErrorService as ɵl, TransactionSalesOrderFilterContentArticleComponent as ɵla, TransactionSalesOrderFilterComponent as ɵlb, TransactionFilterBaseComponent as ɵlc, TransactionPurchaseOrderFilterModule as ɵld, TransactionPurchaseOrderFilterContentOrderModule as ɵle, TransactionPurchaseOrderFilterContentOrderComponent as ɵlf, TransactionPurchaseOrderFilterContentLogisticsModule as ɵlg, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵlh, TransactionPurchaseOrderFilterContentArticleModule as ɵli, TransactionPurchaseOrderFilterContentArticleComponent as ɵlj, TransactionPurchaseOrderFilterComponent as ɵlk, TransactionFilterModule as ɵll, TransactionFilterComponent as ɵlm, SelectSingleCacheService as ɵm, ArticleConnectorService as ɵn, CoreModule as ɵo, ConfirmationDialogModule as ɵp, PipeModule as ɵq, AppendPipe as ɵr, DeliveryTimePipe as ɵs, DateDurationPipe as ɵt, LocalizePipe as ɵu, CoCurrencyPipe as ɵv, SafeStylePipe as ɵw, SafeHtmlPipe as ɵx, ConfirmationDialogComponent as ɵy, DialogBaseComponent as ɵz };
|
|
22178
|
+
export { CheckoutComponent, CheckoutModule, SearchViewMode, SearchbarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, IconCacheService as ɵba, CharacteristicAnswerModule as ɵbb, CharacteristicAnswerComponent as ɵbc, WarehouseModule as ɵbd, WarehouseComponent as ɵbe, ImageDisplayComponent as ɵbf, IconComponent as ɵbg, CustomerGroupsComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LoaderComponent as ɵbj, LazyRenderMasterDirective as ɵbk, LazyRenderDirective as ɵbl, RelationAddressModule as ɵbm, RelationAddressComponent as ɵbn, RelationBaseComponent as ɵbo, RelationAddressSelectModule as ɵbp, RelationAddressTileModule as ɵbq, TileModule as ɵbr, TileComponent as ɵbs, RelationAddressTileComponent as ɵbt, RelationAddressSelectComponent as ɵbu, BusinessObjectFactory as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionLineModule as ɵbz, DynamicComponentService as ɵc, TransactionLineComponent as ɵca, TransactionMappingService as ɵcb, TransactionArticleTextModule as ɵcc, TransactionArticleTextComponent as ɵcd, TransactionReceiveGoodsService as ɵce, TransactionEventService as ɵcf, DialogTransactionHeaderDiscountModule as ɵcg, TransactionHeaderDiscountPercentageModule as ɵch, TransactionHeaderDiscountPercentageComponent as ɵci, TransactionHeaderBaseComponent as ɵcj, TransactionFilterPopupBaseComponent as ɵck, TransactionHeaderDiscountAmountModule as ɵcl, TransactionHeaderDiscountAmountComponent as ɵcm, TransactionHeaderDiscountTransactionTotalModule as ɵcn, TransactionHeaderDiscountTransactionTotalComponent as ɵco, DialogTransactionHeaderDiscountComponent as ɵcp, DialogTransactionHeaderBaseComponent as ɵcq, AvatarModule as ɵcr, AvatarComponent as ɵcs, SharedService as ɵct, SharedConnectorService as ɵcu, DeliveryTypeTileModule as ɵcv, DeliveryTypeTileComponent as ɵcw, PaymentModule as ɵcx, PaymentTileModule as ɵcy, PaymentTileComponent as ɵcz, OptionsService as ɵd, PaymentQrCodeModule as ɵda, PaymentQrCodeComponent as ɵdb, PaymentComponent as ɵdc, PaymentService as ɵdd, RelationTypeModule as ɵde, RelationTypeComponent as ɵdf, RelationGeneralModule as ɵdg, RelationSuggestionsListModule as ɵdh, RelationSuggestionsListItemModule as ɵdi, RelationSuggestionsListItemComponent as ɵdj, RelationSuggestionsListComponent as ɵdk, RelationGeneralComponent as ɵdl, RelationAddressesModule as ɵdm, RelationAddressesComponent as ɵdn, RelationContactDetailsModule as ɵdo, RelationContactDetailsComponent as ɵdp, RelationPreferencesModule as ɵdq, RelationPreferencesComponent as ɵdr, TransactionHeaderBlockModule as ɵds, TransactionHeaderBlockComponent as ɵdt, TransactionHeaderDeliveryDateModule as ɵdu, TransactionHeaderDeliveryDateComponent as ɵdv, TransactionHeaderDeliveryOptionsModule as ɵdw, TransactionHeaderDeliveryOptionsComponent as ɵdx, TransactionHeaderRemarksModule as ɵdy, TransactionHeaderRemarksComponent as ɵdz, DictionaryService as ɵe, TransactionHeaderReferenceModule as ɵea, TransactionHeaderReferenceComponent as ɵeb, TransactionHeaderRelationReferenceModule as ɵec, TransactionHeaderRelationReferenceComponent as ɵed, TransactionHeaderDeliveryMethodModule as ɵee, TransactionLineCheckboxModule as ɵef, TransactionLineCheckboxListComponent as ɵeg, TransactionHeaderDeliveryMethodComponent as ɵeh, TransactionHeaderPreferredDeliveryDateModule as ɵei, TransactionHeaderPreferredDeliveryDateComponent as ɵej, DialogTransactionHeaderDeliveryMethodModule as ɵek, DialogHeaderSearchModule as ɵel, DialogHeaderSearchComponent as ɵem, DialogTransactionHeaderDeliveryMethodComponent as ɵen, TransactionHeaderPartialDeliveryModule as ɵeo, TransactionHeaderPartialDeliveryComponent as ɵep, TransactionBaseComponent as ɵeq, TransactionHeaderDownpaymentPercentageModule as ɵer, TransactionHeaderDownpaymentPercentageComponent as ɵes, TransactionHeaderDownpaymentAmountModule as ɵet, TransactionHeaderDownpaymentAmountComponent as ɵeu, TransactionHeaderDefinitiveModule as ɵev, TransactionHeaderDefinitiveComponent as ɵew, TransactionHeaderBranchModule as ɵex, TransactionHeaderBranchComponent as ɵey, TransactionHeaderAdministrativeRelationModule as ɵez, TransactionConnectorService as ɵf, TransactionHeaderAdministrativeRelationComponent as ɵfa, TransactionHeaderMarketingModule as ɵfb, TransactionHeaderMarketingComponent as ɵfc, CheckoutOverviewRelationEditComponent as ɵfd, CheckoutOverviewDeliveryEditComponent as ɵfe, CheckoutOverviewDeliveryAddressComponent as ɵff, CheckoutOverviewPaymentComponent as ɵfg, CheckoutLoginComponent as ɵfh, TransactionFilterCategoriesModule as ɵfi, TransactionFilterCategoriesComponent as ɵfj, TransactionHeaderPaymentModule as ɵfk, TransactionHeaderPaymentComponent as ɵfl, TransactionLinesGridModule as ɵfm, TransactionBaseGridModule as ɵfn, TransactionLineSidePanelModule as ɵfo, TransactionLineSidePanelDefaultModule as ɵfp, TransactionLinePriceModule as ɵfq, TransactionLinePriceComponent as ɵfr, TransactionLineBaseComponent as ɵfs, TransactionLinePriceListModule as ɵft, TransactionLinePriceListComponent as ɵfu, TransactionLineVatModule as ɵfv, TransactionLineVatComponent as ɵfw, TransactionLineQuantityModule as ɵfx, TransactionLineQuantityComponent as ɵfy, TransactionLineLineDiscountModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLineLineDiscountComponent as ɵga, TransactionLineDeliveryMethodModule as ɵgb, TransactionLineDeliveryMethodComponent as ɵgc, TransactionLineDeliveryDateModule as ɵgd, TransactionLineDeliveryDateComponent as ɵge, TransactionLineReferenceModule as ɵgf, TransactionLineReferenceComponent as ɵgg, TransactionLineCommissionCodeModule as ɵgh, TransactionLineCommissionCodeComponent as ɵgi, TransactionLineWarehouseModule as ɵgj, TransactionLineWarehouseComponent as ɵgk, TransactionLineDiscountAmountModule as ɵgl, TransactionLineDiscountAmountComponent as ɵgm, TransactionLineQuantumDiscountModule as ɵgn, TransactionLineQuantumDiscountComponent as ɵgo, TransactionLineSpecialDiscountModule as ɵgp, TransactionLineSpecialDiscountComponent as ɵgq, TransactionLineSupplierModule as ɵgr, TransactionLineSupplierComponent as ɵgs, TransactionLineDescriptionModule as ɵgt, TransactionLineDescriptionComponent as ɵgu, TransactionLineSidePanelDefaultComponent as ɵgv, TransactionReceivingGoodsHistoryModule as ɵgw, TransactionHistoryGridModule as ɵgx, TransactionHistoryGridStatusModule as ɵgy, TransactionHistoryGridStatusComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionHistoryGridComponent as ɵha, TransactionReceivingGoodsHistoryComponent as ɵhb, TransactionReceivingGoodsDetailsModule as ɵhc, TransactionReceivingGoodsDetailsComponent as ɵhd, ArticleService as ɵhe, TransactionButtonBarModule as ɵhf, TransactionButtonBarComponent as ɵhg, TransactionButtonBarButtonComponent as ɵhh, TransactionLineSidePanelPurchaseModule as ɵhi, DefaultOkCancelButtonsModule as ɵhj, DefaultOkCancelButtonsComponent as ɵhk, TransactionLineSidePanelPurchaseComponent as ɵhl, TransactionLineSidePanelComponent as ɵhm, DynamicBaseComponent as ɵhn, TransactionLineActionButtonsModule as ɵho, TransactionArticleTextOverviewModule as ɵhp, TransactionArticleTextOverviewComponent as ɵhq, TransactionLineActionButtonsComponent as ɵhr, TransactionBaseGridComponent as ɵhs, TransactionGridBaseComponent as ɵht, TransactionImageService as ɵhu, DialogTransactionLineCommissionCodeModule as ɵhv, DialogTransactionLineCommissionCodeComponent as ɵhw, DialogTransactionLineBaseComponent as ɵhx, DialogTransactionLineWarehouseModule as ɵhy, DialogTransactionLineWarehouseComponent as ɵhz, BusinessObjectCacheManagerService as ɵi, DialogTransactionLineWarehouseCcModule as ɵia, DialogTransactionLineWarehouseCcComponent as ɵib, DialogTransactionLineDeliveryMethodModule as ɵic, DialogTransactionLineDeliveryMethodComponent as ɵid, DialogTransactionLineVatModule as ɵie, DialogTransactionLineVatComponent as ɵif, DialogTransactionLineDiscountModule as ɵig, DialogTransactionLinePriceListModule as ɵih, DialogTransactionLinePriceListComponent as ɵii, DialogTransactionLineDiscountComponent as ɵij, TransactionLinesGridComponent as ɵik, DiscountModule as ɵil, DiscountComponent as ɵim, TransactionQuickAccessOverviewModule as ɵin, TransactionQuickAccessOverviewComponent as ɵio, TransactionQuickAccessOrderDeliveryModule as ɵip, TransactionQuickAccessOrderDeliveryComponent as ɵiq, TransactionOrderConfirmationGridModule as ɵir, TransactionOrderConfirmationGridComponent as ɵis, TransactionReceivedGoodsGridModule as ɵit, DialogTransactionLineWarehouseLocationModule as ɵiu, TransactionLineWarehouseLocationModule as ɵiv, TransactionLineWarehouseLocationComponent as ɵiw, DialogTransactionLineWarehouseLocationComponent as ɵix, TransactionLineWarehouseLocationButtonModule as ɵiy, TransactionLineWarehouseLocationButtonComponent as ɵiz, CacheField as ɵj, TransactionReceivedGoodsGridComponent as ɵja, ViewModeButtonsModule as ɵjb, ViewModeButtonsComponent as ɵjc, TransactionGridModule as ɵjd, TransactionGridComponent as ɵje, TransactionTileModule as ɵjf, TransactionTileComponent as ɵjg, TransactionOverviewLineModule as ɵjh, EditableLabelModule as ɵji, EditableLabelComponent as ɵjj, TransactionBaseLineModule as ɵjk, TransactionLineImageAndDescriptionModule as ɵjl, TransactionLineImageAndDescriptionComponent as ɵjm, TransactionBaseLineComponent as ɵjn, TransactionLinesLineBaseComponent as ɵjo, TransactionLineCommissionButtonModule as ɵjp, TransactionLineCommissionButtonComponent as ɵjq, TransactionLineWarehouseButtonModule as ɵjr, TransactionLineWarehouseButtonComponent as ɵjs, TransactionLineDeliveryButtonModule as ɵjt, TransactionLineDeliveryButtonComponent as ɵju, TransactionLineDeliveryDateButtonModule as ɵjv, TransactionLineDeliveryDateButtonComponent as ɵjw, TransactionOverviewLineComponent as ɵjx, TransactionOrderDeliveryLineModule as ɵjy, TransactionOrderDeliveryLineComponent as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionReceiveGoodsLineModule as ɵka, TransactionReceiveGoodsLineComponent as ɵkb, TransactionSearchResultModule as ɵkc, TransactionSearchSalesOrderTileModule as ɵkd, TransactionSearchSalesOrderTileComponent as ɵke, TransactionSearchTileBaseComponent as ɵkf, TransactionSearchPurchaseOrderTileModule as ɵkg, TransactionSearchPurchaseOrderTileComponent as ɵkh, TransactionSearchSalesOrderGridModule as ɵki, TransactionSearchSalesOrderGridComponent as ɵkj, TransactionSearchGridBaseComponent as ɵkk, TransactionSearchPurchaseOrderGridModule as ɵkl, TransactionSearchPurchaseOrderGridComponent as ɵkm, TransactionSearchHeaderModule as ɵkn, TransactionSearchHeaderComponent as ɵko, TransactionSearchGridModule as ɵkp, TransactionSearchGridComponent as ɵkq, TransactionSearchTileModule as ɵkr, TransactionSearchTileComponent as ɵks, TransactionSearchResultComponent as ɵkt, TransactionSalesOrderFilterModule as ɵku, TransactionSalesOrderFilterContentOrderModule as ɵkv, TransactionFilterItemModule as ɵkw, TransactionFilterItemComponent as ɵkx, TransactionSalesOrderFilterContentOrderComponent as ɵky, TransactionFilterContentBaseComponent as ɵkz, ErrorService as ɵl, FilterRequestService as ɵla, TransactionSalesOrderFilterContentLogisticsModule as ɵlb, TransactionFilterHistoricStateModule as ɵlc, TransactionFilterHistoricStateComponent as ɵld, TransactionSalesOrderFilterContentLogisticsComponent as ɵle, TransactionSalesOrderFilterContentArticleModule as ɵlf, TransactionSalesOrderFilterContentArticleComponent as ɵlg, TransactionSalesOrderFilterComponent as ɵlh, TransactionFilterBaseComponent as ɵli, TransactionPurchaseOrderFilterModule as ɵlj, TransactionPurchaseOrderFilterContentOrderModule as ɵlk, TransactionPurchaseOrderFilterContentOrderComponent as ɵll, TransactionPurchaseOrderFilterContentLogisticsModule as ɵlm, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵln, TransactionPurchaseOrderFilterContentArticleModule as ɵlo, TransactionPurchaseOrderFilterContentArticleComponent as ɵlp, TransactionPurchaseOrderFilterComponent as ɵlq, TransactionFilterModule as ɵlr, TransactionFilterComponent as ɵls, SelectSingleCacheService as ɵm, ArticleConnectorService as ɵn, CoreModule as ɵo, ConfirmationDialogModule as ɵp, PipeModule as ɵq, AppendPipe as ɵr, DeliveryTimePipe as ɵs, DateDurationPipe as ɵt, LocalizePipe as ɵu, CoCurrencyPipe as ɵv, SafeStylePipe as ɵw, SafeHtmlPipe as ɵx, ConfirmationDialogComponent as ɵy, DialogBaseComponent as ɵz };
|
|
21708
22179
|
//# sourceMappingURL=colijnit-transaction.js.map
|