@colijnit/transaction 12.1.37 → 12.1.39
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 +132 -117
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +2 -2
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +3 -3
- package/esm2015/lib/assets/dictionary/text.properties.js +2 -2
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +2 -1
- package/esm2015/lib/component/checkout/checkout.module.js +2 -2
- package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +4 -1
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +4 -2
- package/esm2015/lib/component/transaction/transaction.component.js +1 -1
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +13 -13
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +7 -5
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +3 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +7 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-options/transaction-header-delivery-options.component.js +74 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-options/transaction-header-delivery-options.module.js +23 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-amount.component.js +2 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-preferred-delivery-date.component.js +3 -3
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +22 -19
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +3 -1
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +7 -6
- package/esm2015/lib/service/article-connector.service.js +2 -2
- package/esm2015/lib/service/dialog.service.js +4 -3
- package/fesm2015/colijnit-transaction.js +157 -132
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-delivery-edit/style/material.scss +1 -0
- package/lib/component/dialog/dialog-header-search/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.d.ts +1 -0
- package/lib/component/relation/relation-contact-details/style/_material-definition.scss +1 -1
- package/lib/component/relation/relation-general/style/_layout.scss +1 -1
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +22 -5
- package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +4 -1
- package/lib/component/transaction-header/transaction-header-delivery/style/_theme.scss +3 -3
- package/lib/component/transaction-header/transaction-header-delivery/style/material.scss +1 -0
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +29 -8
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +2 -1
- package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +19 -0
- package/lib/component/transaction-header/transaction-header-relation/style/_material-definition.scss +2 -2
- package/lib/component/transaction-header-fields/transaction-header-delivery-method.component.d.ts +1 -0
- package/lib/component/transaction-header-fields/transaction-header-delivery-options/style/_layout.scss +7 -0
- package/lib/component/transaction-header-fields/transaction-header-delivery-options/style/_material-definition.scss +1 -0
- package/lib/component/transaction-header-fields/transaction-header-delivery-options/style/_theme.scss +4 -0
- package/lib/component/transaction-header-fields/transaction-header-delivery-options/style/material.scss +4 -0
- package/lib/component/transaction-header-fields/{transaction-header-delivery-options.component.d.ts → transaction-header-delivery-options/transaction-header-delivery-options.component.d.ts} +4 -3
- package/lib/component/transaction-header-fields/{transaction-header-delivery-options.module.d.ts → transaction-header-delivery-options/transaction-header-delivery-options.module.d.ts} +0 -0
- package/lib/component/transaction-line/style/_material-definition.scss +1 -1
- package/lib/component/transaction-line-checkbox-list/style/_layout.scss +28 -33
- package/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.d.ts +5 -6
- package/lib/component/transaction-lines/style/_material-definition.scss +1 -0
- package/lib/component/transaction-lines/style/_theme.scss +7 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_material-definition.scss +1 -1
- package/lib/component/transaction-search/style/_material-definition.scss +1 -1
- package/lib/service/dialog.service.d.ts +1 -1
- package/lib/style/_variables.scss +6 -0
- package/lib/style/transaction-globals.scss +4 -0
- package/package.json +2 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-options.component.js +0 -69
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-options.module.js +0 -23
|
@@ -80,9 +80,10 @@ export class DialogService {
|
|
|
80
80
|
};
|
|
81
81
|
return this.dynamicComponentService.createComponent(DialogTransactionLineCommissionCodeComponent, data);
|
|
82
82
|
}
|
|
83
|
-
showWarehouseLocation() {
|
|
83
|
+
showWarehouseLocation(warehouseNr) {
|
|
84
84
|
const data = {
|
|
85
|
-
useModel: false
|
|
85
|
+
useModel: false,
|
|
86
|
+
warehouseNr: warehouseNr
|
|
86
87
|
};
|
|
87
88
|
return this.dynamicComponentService.createComponent(DialogTransactionLineWarehouseLocationComponent, data);
|
|
88
89
|
}
|
|
@@ -99,4 +100,4 @@ DialogService.ctorParameters = () => [
|
|
|
99
100
|
{ type: Injector },
|
|
100
101
|
{ type: DynamicComponentService }
|
|
101
102
|
];
|
|
102
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
103
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL3NlcnZpY2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hdGEpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -209,7 +209,7 @@ class Dictionary {
|
|
|
209
209
|
"AVAILABLE_STOCK": "Bechikbaar",
|
|
210
210
|
"BACK": "Terug",
|
|
211
211
|
"BACK_TO_STOCK_LINES": "Terug naar voorraadregels",
|
|
212
|
-
"BALANCE": "
|
|
212
|
+
"BALANCE": "Betaald",
|
|
213
213
|
"BATCH_NUMBER": "Batchnummer",
|
|
214
214
|
"BRANCH": "Filiaal",
|
|
215
215
|
"BRANCH_NUMBER": "Filiaalnummer",
|
|
@@ -2370,6 +2370,9 @@ class TransactionFilterPopupBaseComponent {
|
|
|
2370
2370
|
});
|
|
2371
2371
|
});
|
|
2372
2372
|
this.viewModelsFiltered = this.viewModels.slice();
|
|
2373
|
+
if (!this.useModel && this.viewModels.length > 0) {
|
|
2374
|
+
this.valueChange.next(this.viewModels[0].value);
|
|
2375
|
+
}
|
|
2373
2376
|
}
|
|
2374
2377
|
_doSearch() {
|
|
2375
2378
|
this.viewModelsFiltered = JSON.parse(JSON.stringify(this.viewModels));
|
|
@@ -2627,6 +2630,7 @@ DialogTransactionLineWarehouseLocationComponent.decorators = [
|
|
|
2627
2630
|
[useModel]="useModel"
|
|
2628
2631
|
[transactionLine]="transactionLine"
|
|
2629
2632
|
[searchText]="searchText"
|
|
2633
|
+
[warehouseNr]="warehouseNr"
|
|
2630
2634
|
(closeAfterCommit)="handleClose(buttonType.Ok)"
|
|
2631
2635
|
(valueChange)="handleValueChange($event)"
|
|
2632
2636
|
></co-transaction-line-warehouse-location>
|
|
@@ -2644,6 +2648,7 @@ DialogTransactionLineWarehouseLocationComponent.decorators = [
|
|
|
2644
2648
|
},] }
|
|
2645
2649
|
];
|
|
2646
2650
|
DialogTransactionLineWarehouseLocationComponent.propDecorators = {
|
|
2651
|
+
warehouseNr: [{ type: Input }],
|
|
2647
2652
|
showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-warehouse-location",] }]
|
|
2648
2653
|
};
|
|
2649
2654
|
|
|
@@ -2717,9 +2722,10 @@ class DialogService {
|
|
|
2717
2722
|
};
|
|
2718
2723
|
return this.dynamicComponentService.createComponent(DialogTransactionLineCommissionCodeComponent, data);
|
|
2719
2724
|
}
|
|
2720
|
-
showWarehouseLocation() {
|
|
2725
|
+
showWarehouseLocation(warehouseNr) {
|
|
2721
2726
|
const data = {
|
|
2722
|
-
useModel: false
|
|
2727
|
+
useModel: false,
|
|
2728
|
+
warehouseNr: warehouseNr
|
|
2723
2729
|
};
|
|
2724
2730
|
return this.dynamicComponentService.createComponent(DialogTransactionLineWarehouseLocationComponent, data);
|
|
2725
2731
|
}
|
|
@@ -4708,7 +4714,7 @@ class ArticleConnectorService {
|
|
|
4708
4714
|
return this.connector.getStockManagementLocations(warehouseNr).then((response) => {
|
|
4709
4715
|
if (response && response.validationResult && response.validationResult.success) {
|
|
4710
4716
|
const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(StockLocation, response.resultObjects);
|
|
4711
|
-
resolve(collection
|
|
4717
|
+
resolve(collection);
|
|
4712
4718
|
}
|
|
4713
4719
|
else {
|
|
4714
4720
|
reject(response.validationMessagesAsString);
|
|
@@ -6279,6 +6285,7 @@ CheckoutOverviewDeliveryEditComponent.decorators = [
|
|
|
6279
6285
|
<div class="checkout-data-row">
|
|
6280
6286
|
<co-transaction-header-delivery-method
|
|
6281
6287
|
[transactionInfo]="transaction.transactionInfo"
|
|
6288
|
+
[filterOnWizard]="true"
|
|
6282
6289
|
(deliveryMethodChange)="currentDeliveryMethod = $event"
|
|
6283
6290
|
></co-transaction-header-delivery-method>
|
|
6284
6291
|
</div>
|
|
@@ -9069,44 +9076,47 @@ class TransactionLineCheckboxListComponent {
|
|
|
9069
9076
|
this.readonly = false;
|
|
9070
9077
|
this.checked = new EventEmitter();
|
|
9071
9078
|
this.showClass = true;
|
|
9072
|
-
this.
|
|
9079
|
+
this.itemHeight = 1000;
|
|
9080
|
+
}
|
|
9081
|
+
ngAfterViewChecked() {
|
|
9082
|
+
if (this.scrollingItem && this.itemHeight === 1000) {
|
|
9083
|
+
this.itemHeight = this.scrollingItem.nativeElement.offsetHeight;
|
|
9084
|
+
}
|
|
9073
9085
|
}
|
|
9074
9086
|
handleChecked(event, row) {
|
|
9075
9087
|
event.preventDefault();
|
|
9076
9088
|
event.stopPropagation();
|
|
9077
9089
|
this.checked.emit(row);
|
|
9078
9090
|
}
|
|
9079
|
-
_initObserver() {
|
|
9080
|
-
}
|
|
9081
|
-
_handleVisibility() {
|
|
9082
|
-
}
|
|
9083
9091
|
}
|
|
9084
9092
|
TransactionLineCheckboxListComponent.decorators = [
|
|
9085
9093
|
{ type: Component, args: [{
|
|
9086
9094
|
selector: "co-transaction-line-checkbox-list",
|
|
9087
9095
|
template: `
|
|
9088
|
-
<
|
|
9089
|
-
<
|
|
9090
|
-
<
|
|
9096
|
+
<cdk-virtual-scroll-viewport [itemSize]="itemHeight" class="virtual-scroll-container co-transaction-small-toolbar">
|
|
9097
|
+
<div *cdkVirtualFor="let row of collection" #scrollingItem class="virtual-scroll-item">
|
|
9098
|
+
<div class="checkbox-wrapper">
|
|
9091
9099
|
<co-input-checkbox
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
|
|
9100
|
+
[model]="row.checked"
|
|
9101
|
+
[readonly]="readonly"
|
|
9102
|
+
(click)="handleChecked($event, row)"
|
|
9095
9103
|
></co-input-checkbox>
|
|
9096
|
-
</
|
|
9097
|
-
<
|
|
9098
|
-
|
|
9099
|
-
|
|
9104
|
+
</div>
|
|
9105
|
+
<div class="label-wrapper">
|
|
9106
|
+
<span *ngFor="let label of row.propsForLabel" [innerHTML]="label" class="label"></span>
|
|
9107
|
+
</div>
|
|
9108
|
+
</div>
|
|
9109
|
+
</cdk-virtual-scroll-viewport>
|
|
9100
9110
|
`,
|
|
9101
9111
|
encapsulation: ViewEncapsulation.None
|
|
9102
9112
|
},] }
|
|
9103
9113
|
];
|
|
9104
9114
|
TransactionLineCheckboxListComponent.propDecorators = {
|
|
9115
|
+
scrollingItem: [{ type: ViewChild, args: ['scrollingItem',] }],
|
|
9105
9116
|
collection: [{ type: Input }],
|
|
9106
9117
|
readonly: [{ type: Input }],
|
|
9107
9118
|
checked: [{ type: Output }],
|
|
9108
|
-
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-checkbox-list",] }]
|
|
9109
|
-
smallToolbar: [{ type: HostBinding, args: ["class.co-transaction-small-toolbar",] }]
|
|
9119
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-line-checkbox-list",] }]
|
|
9110
9120
|
};
|
|
9111
9121
|
|
|
9112
9122
|
class TransactionLineCheckboxModule {
|
|
@@ -10263,7 +10273,9 @@ TransactionLinesComponent.decorators = [
|
|
|
10263
10273
|
</div>
|
|
10264
10274
|
</div>
|
|
10265
10275
|
</div>
|
|
10276
|
+
<!--
|
|
10266
10277
|
<co-button *ngIf=!preview class="add-text-button circle" [iconData]="iconCacheService.getIcon(icons.Txt)" (click)="handleTransactionArticleText($event)"></co-button>
|
|
10278
|
+
-->
|
|
10267
10279
|
<co-transaction-article-text *ngIf="showTransactionArticleText"
|
|
10268
10280
|
[header]="'TEXT' | localize"
|
|
10269
10281
|
[transactionLine]="selectedArticleText"
|
|
@@ -11870,10 +11882,8 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
11870
11882
|
<co-icon class="header-delivery-truck-icon" [iconData]="iconService.getIcon(icons.TruckFastSolid)"></co-icon>
|
|
11871
11883
|
<span [textContent]="deliveryMethod?.description"></span>
|
|
11872
11884
|
</div>
|
|
11873
|
-
<
|
|
11874
|
-
|
|
11875
|
-
[iconData]="iconService.getIcon(icons.CalendarDayRegular)"></co-icon>
|
|
11876
|
-
</div>
|
|
11885
|
+
<co-icon class="planning-request-button" [class.co-transaction-check]="transactionInfo.deliveryDateDefinitive"
|
|
11886
|
+
[iconData]="iconService.getIcon(icons.CalendarDayRegular)"></co-icon>
|
|
11877
11887
|
</ng-template>
|
|
11878
11888
|
<ng-template #firstBlock>
|
|
11879
11889
|
<div class="header-delivery-deliverydate-label co-transaction-label" [textContent]="'DELIVERY_DATE' | localize"></div>
|
|
@@ -11902,7 +11912,7 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
11902
11912
|
<co-dialog *ngIf="showDialog" [headerTemplate]="headerTemplate" (closeClick)="showDialog = false">
|
|
11903
11913
|
<ng-template #headerTemplate>
|
|
11904
11914
|
<div class="co-transaction-dialog-header-title" [textContent]="'DELIVERY_INFORMATION' | localize"></div>
|
|
11905
|
-
<co-transaction-header-block
|
|
11915
|
+
<co-transaction-header-block class="in-dialog"
|
|
11906
11916
|
[headerBlockTemplate]="headerBlock"
|
|
11907
11917
|
[firstBlockTemplate]="firstBlock"
|
|
11908
11918
|
[secondBlockTemplate]="secondBlock"
|
|
@@ -11910,13 +11920,15 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
11910
11920
|
>
|
|
11911
11921
|
</co-transaction-header-block>
|
|
11912
11922
|
</ng-template>
|
|
11913
|
-
<co-transaction-header-delivery-
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
|
|
11917
|
-
|
|
11918
|
-
|
|
11919
|
-
|
|
11923
|
+
<div class="co-transaction-header-delivery-wrapper">
|
|
11924
|
+
<co-transaction-header-delivery-options
|
|
11925
|
+
[transactionInfo]="transactionInfo"
|
|
11926
|
+
[deliveryMethod]="deliveryMethod"
|
|
11927
|
+
></co-transaction-header-delivery-options>
|
|
11928
|
+
<co-transaction-header-remarks [transactionInfo]="transactionInfo"></co-transaction-header-remarks>
|
|
11929
|
+
<co-transaction-header-reference [transactionInfo]="transactionInfo"></co-transaction-header-reference>
|
|
11930
|
+
<co-transaction-header-relation-reference [transactionInfo]="transactionInfo"></co-transaction-header-relation-reference>
|
|
11931
|
+
</div>
|
|
11920
11932
|
</co-dialog>
|
|
11921
11933
|
<co-dialog-transaction-header-delivery-method *ngIf="showDeliveryMethodDialog"
|
|
11922
11934
|
[autoClose]="true"
|
|
@@ -12123,89 +12135,6 @@ TransactionHeaderDeliveryDateModule.decorators = [
|
|
|
12123
12135
|
},] }
|
|
12124
12136
|
];
|
|
12125
12137
|
|
|
12126
|
-
class TransactionHeaderDeliveryOptionsComponent extends TransactionHeaderBaseComponent {
|
|
12127
|
-
constructor(_transactionService) {
|
|
12128
|
-
super();
|
|
12129
|
-
this._transactionService = _transactionService;
|
|
12130
|
-
this.deliveryOptionsFromMethod = [];
|
|
12131
|
-
this.deliveryOptions = [];
|
|
12132
|
-
this.deliveryOptionFields = { text: "description", value: "code" };
|
|
12133
|
-
}
|
|
12134
|
-
set deliveryMethod(value) {
|
|
12135
|
-
if (value) {
|
|
12136
|
-
this._deliveryMethod = value;
|
|
12137
|
-
this._getDeliveryOptionsForMethod();
|
|
12138
|
-
}
|
|
12139
|
-
}
|
|
12140
|
-
get deliveryMethod() {
|
|
12141
|
-
return this._deliveryMethod;
|
|
12142
|
-
}
|
|
12143
|
-
ngOnInit() {
|
|
12144
|
-
this._transactionService.getDeliveryOptions().then((options) => {
|
|
12145
|
-
this.deliveryOptions = options;
|
|
12146
|
-
this._getDeliveryOptionsForMethod();
|
|
12147
|
-
});
|
|
12148
|
-
}
|
|
12149
|
-
commitDeliveryOptions(options) {
|
|
12150
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
12151
|
-
if (this.transactionInfo.deliveryOptions !== options) {
|
|
12152
|
-
const oldOptions = this.transactionInfo.deliveryOptions;
|
|
12153
|
-
return yield this._transactionService.updateHeaderTransactionDeliveryOptions(this.transactionInfo.uuid, options);
|
|
12154
|
-
}
|
|
12155
|
-
return true;
|
|
12156
|
-
});
|
|
12157
|
-
}
|
|
12158
|
-
transactionInfoSet() {
|
|
12159
|
-
this.readonly = this.readonly || this.transactionInfo.deliveryDateDefinitive;
|
|
12160
|
-
}
|
|
12161
|
-
_getDeliveryOptionsForMethod() {
|
|
12162
|
-
if (this.deliveryMethod) {
|
|
12163
|
-
this.deliveryOptionsFromMethod =
|
|
12164
|
-
this.deliveryOptions.filter(deliveryOption => this.deliveryMethod.deliveryOptions.indexOf(deliveryOption.code) !== -1);
|
|
12165
|
-
}
|
|
12166
|
-
}
|
|
12167
|
-
}
|
|
12168
|
-
TransactionHeaderDeliveryOptionsComponent.decorators = [
|
|
12169
|
-
{ type: Component, args: [{
|
|
12170
|
-
selector: "co-transaction-header-delivery-options",
|
|
12171
|
-
template: `
|
|
12172
|
-
<co-input-listbox
|
|
12173
|
-
[placeholder]="'DELIVERY_OPTIONS' | localize"
|
|
12174
|
-
[readonly]="readonly"
|
|
12175
|
-
[collection]="deliveryOptionsFromMethod"
|
|
12176
|
-
[fields]="deliveryOptionFields"
|
|
12177
|
-
[showCheckbox]="true"
|
|
12178
|
-
(modelChange)="commitDeliveryOptions($event)"
|
|
12179
|
-
></co-input-listbox>
|
|
12180
|
-
`,
|
|
12181
|
-
encapsulation: ViewEncapsulation.None
|
|
12182
|
-
},] }
|
|
12183
|
-
];
|
|
12184
|
-
TransactionHeaderDeliveryOptionsComponent.ctorParameters = () => [
|
|
12185
|
-
{ type: TransactionService }
|
|
12186
|
-
];
|
|
12187
|
-
TransactionHeaderDeliveryOptionsComponent.propDecorators = {
|
|
12188
|
-
deliveryMethod: [{ type: Input }]
|
|
12189
|
-
};
|
|
12190
|
-
|
|
12191
|
-
class TransactionHeaderDeliveryOptionsModule {
|
|
12192
|
-
}
|
|
12193
|
-
TransactionHeaderDeliveryOptionsModule.decorators = [
|
|
12194
|
-
{ type: NgModule, args: [{
|
|
12195
|
-
imports: [
|
|
12196
|
-
CommonModule,
|
|
12197
|
-
PipeModule,
|
|
12198
|
-
InputListboxModule
|
|
12199
|
-
],
|
|
12200
|
-
declarations: [
|
|
12201
|
-
TransactionHeaderDeliveryOptionsComponent
|
|
12202
|
-
],
|
|
12203
|
-
exports: [
|
|
12204
|
-
TransactionHeaderDeliveryOptionsComponent
|
|
12205
|
-
]
|
|
12206
|
-
},] }
|
|
12207
|
-
];
|
|
12208
|
-
|
|
12209
12138
|
class TransactionHeaderRemarksComponent extends TransactionHeaderBaseComponent {
|
|
12210
12139
|
constructor(_transactionService) {
|
|
12211
12140
|
super();
|
|
@@ -12490,6 +12419,7 @@ class TransactionHeaderDeliveryMethodComponent extends TransactionHeaderBaseComp
|
|
|
12490
12419
|
super();
|
|
12491
12420
|
this._transactionService = _transactionService;
|
|
12492
12421
|
this.showAsCarousel = true;
|
|
12422
|
+
this.filterOnWizard = false;
|
|
12493
12423
|
this.deliveryMethodChange = new EventEmitter();
|
|
12494
12424
|
this.selectedIdx = 0;
|
|
12495
12425
|
this.codeField = 'code';
|
|
@@ -12498,7 +12428,10 @@ class TransactionHeaderDeliveryMethodComponent extends TransactionHeaderBaseComp
|
|
|
12498
12428
|
}
|
|
12499
12429
|
ngOnInit() {
|
|
12500
12430
|
this._transactionService.getDeliveryMethods().then((methods) => {
|
|
12501
|
-
this.collection = methods.
|
|
12431
|
+
this.collection = methods.slice();
|
|
12432
|
+
if (this.filterOnWizard) {
|
|
12433
|
+
this.collection = methods.filter(m => m.wizard);
|
|
12434
|
+
}
|
|
12502
12435
|
if (this.transactionInfo.deliveryMethod) {
|
|
12503
12436
|
this.selectedIdx = this.collection.findIndex(d => d.code === this.transactionInfo.deliveryMethod);
|
|
12504
12437
|
}
|
|
@@ -12560,6 +12493,7 @@ TransactionHeaderDeliveryMethodComponent.ctorParameters = () => [
|
|
|
12560
12493
|
];
|
|
12561
12494
|
TransactionHeaderDeliveryMethodComponent.propDecorators = {
|
|
12562
12495
|
showAsCarousel: [{ type: Input }],
|
|
12496
|
+
filterOnWizard: [{ type: Input }],
|
|
12563
12497
|
deliveryMethodChange: [{ type: Output }]
|
|
12564
12498
|
};
|
|
12565
12499
|
|
|
@@ -12597,7 +12531,7 @@ class TransactionHeaderPreferredDeliveryDateComponent extends TransactionHeaderB
|
|
|
12597
12531
|
this.input = content;
|
|
12598
12532
|
this.input.commit = (date) => this.commitPreferredDeliveryDate(date);
|
|
12599
12533
|
if (this._editMode) {
|
|
12600
|
-
this.input.
|
|
12534
|
+
this.input.requestFocus();
|
|
12601
12535
|
}
|
|
12602
12536
|
}
|
|
12603
12537
|
}
|
|
@@ -12639,7 +12573,7 @@ TransactionHeaderPreferredDeliveryDateComponent.decorators = [
|
|
|
12639
12573
|
{ type: Component, args: [{
|
|
12640
12574
|
selector: "co-transaction-header-preferred-delivery-date",
|
|
12641
12575
|
template: `
|
|
12642
|
-
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="(transactionInfo.preferredDeliveryDate | date:'dd MMM yyyy') || '
|
|
12576
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="(transactionInfo.preferredDeliveryDate | date:'dd MMM yyyy') || '...'"></span>
|
|
12643
12577
|
<co-input-date #input *ngIf="editMode || defaultEditMode"
|
|
12644
12578
|
[placeholder]="showLabel ? ('PREFERRED_DATE' | localize) : ''"
|
|
12645
12579
|
[showSaveCancel]="!readonly"
|
|
@@ -12767,6 +12701,94 @@ DialogTransactionHeaderDeliveryMethodModule.decorators = [
|
|
|
12767
12701
|
},] }
|
|
12768
12702
|
];
|
|
12769
12703
|
|
|
12704
|
+
class TransactionHeaderDeliveryOptionsComponent extends TransactionHeaderBaseComponent {
|
|
12705
|
+
constructor(_transactionService) {
|
|
12706
|
+
super();
|
|
12707
|
+
this._transactionService = _transactionService;
|
|
12708
|
+
this.deliveryOptionsFromMethod = [];
|
|
12709
|
+
this.deliveryOptions = [];
|
|
12710
|
+
this.deliveryOptionFields = { text: "description", value: "code" };
|
|
12711
|
+
}
|
|
12712
|
+
set deliveryMethod(value) {
|
|
12713
|
+
if (value) {
|
|
12714
|
+
this._deliveryMethod = value;
|
|
12715
|
+
this._getDeliveryOptionsForMethod();
|
|
12716
|
+
}
|
|
12717
|
+
}
|
|
12718
|
+
get deliveryMethod() {
|
|
12719
|
+
return this._deliveryMethod;
|
|
12720
|
+
}
|
|
12721
|
+
showClass() {
|
|
12722
|
+
return true;
|
|
12723
|
+
}
|
|
12724
|
+
ngOnInit() {
|
|
12725
|
+
this._transactionService.getDeliveryOptions().then((options) => {
|
|
12726
|
+
this.deliveryOptions = options;
|
|
12727
|
+
this._getDeliveryOptionsForMethod();
|
|
12728
|
+
});
|
|
12729
|
+
}
|
|
12730
|
+
commitDeliveryOptions(options) {
|
|
12731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12732
|
+
if (this.transactionInfo.deliveryOptions !== options) {
|
|
12733
|
+
const oldOptions = this.transactionInfo.deliveryOptions;
|
|
12734
|
+
return yield this._transactionService.updateHeaderTransactionDeliveryOptions(this.transactionInfo.uuid, options);
|
|
12735
|
+
}
|
|
12736
|
+
return true;
|
|
12737
|
+
});
|
|
12738
|
+
}
|
|
12739
|
+
transactionInfoSet() {
|
|
12740
|
+
this.readonly = this.readonly || this.transactionInfo.deliveryDateDefinitive;
|
|
12741
|
+
}
|
|
12742
|
+
_getDeliveryOptionsForMethod() {
|
|
12743
|
+
if (this.deliveryMethod) {
|
|
12744
|
+
this.deliveryOptionsFromMethod =
|
|
12745
|
+
this.deliveryOptions.filter(deliveryOption => this.deliveryMethod.deliveryOptions.indexOf(deliveryOption.code) !== -1);
|
|
12746
|
+
}
|
|
12747
|
+
}
|
|
12748
|
+
}
|
|
12749
|
+
TransactionHeaderDeliveryOptionsComponent.decorators = [
|
|
12750
|
+
{ type: Component, args: [{
|
|
12751
|
+
selector: "co-transaction-header-delivery-options",
|
|
12752
|
+
template: `
|
|
12753
|
+
<co-input-listbox
|
|
12754
|
+
[customCssClass]="'co-transaction-small-toolbar'"
|
|
12755
|
+
[placeholder]="'DELIVERY_OPTIONS' | localize"
|
|
12756
|
+
[readonly]="readonly"
|
|
12757
|
+
[collection]="deliveryOptionsFromMethod"
|
|
12758
|
+
[fields]="deliveryOptionFields"
|
|
12759
|
+
[showCheckbox]="true"
|
|
12760
|
+
(modelChange)="commitDeliveryOptions($event)"
|
|
12761
|
+
></co-input-listbox>
|
|
12762
|
+
`,
|
|
12763
|
+
encapsulation: ViewEncapsulation.None
|
|
12764
|
+
},] }
|
|
12765
|
+
];
|
|
12766
|
+
TransactionHeaderDeliveryOptionsComponent.ctorParameters = () => [
|
|
12767
|
+
{ type: TransactionService }
|
|
12768
|
+
];
|
|
12769
|
+
TransactionHeaderDeliveryOptionsComponent.propDecorators = {
|
|
12770
|
+
deliveryMethod: [{ type: Input }],
|
|
12771
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-delivery-options",] }]
|
|
12772
|
+
};
|
|
12773
|
+
|
|
12774
|
+
class TransactionHeaderDeliveryOptionsModule {
|
|
12775
|
+
}
|
|
12776
|
+
TransactionHeaderDeliveryOptionsModule.decorators = [
|
|
12777
|
+
{ type: NgModule, args: [{
|
|
12778
|
+
imports: [
|
|
12779
|
+
CommonModule,
|
|
12780
|
+
InputListboxModule,
|
|
12781
|
+
PipeModule
|
|
12782
|
+
],
|
|
12783
|
+
declarations: [
|
|
12784
|
+
TransactionHeaderDeliveryOptionsComponent
|
|
12785
|
+
],
|
|
12786
|
+
exports: [
|
|
12787
|
+
TransactionHeaderDeliveryOptionsComponent
|
|
12788
|
+
]
|
|
12789
|
+
},] }
|
|
12790
|
+
];
|
|
12791
|
+
|
|
12770
12792
|
class TransactionHeaderDeliveryModule {
|
|
12771
12793
|
}
|
|
12772
12794
|
TransactionHeaderDeliveryModule.decorators = [
|
|
@@ -13002,7 +13024,7 @@ TransactionHeaderDownpaymentAmountComponent.decorators = [
|
|
|
13002
13024
|
{ type: Component, args: [{
|
|
13003
13025
|
selector: "co-transaction-header-downpayment-amount",
|
|
13004
13026
|
template: `
|
|
13005
|
-
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionInfo.paymentInfo?.toDownPayAmount"></span>
|
|
13027
|
+
<span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionInfo.paymentInfo?.toDownPayAmount | coCurrency"></span>
|
|
13006
13028
|
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
13007
13029
|
[type]="'number'"
|
|
13008
13030
|
[placeholder]="showLabel ? ('DOWNPAYMENT' | localize) : ''"
|
|
@@ -13882,7 +13904,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
13882
13904
|
<div class="header-relation-email" [textContent]="customer.primaryEmail"></div>
|
|
13883
13905
|
<div class="header-relation-phone" [textContent]="customer.primaryPhoneOrMobileNumber"></div>
|
|
13884
13906
|
</ng-template>
|
|
13885
|
-
<co-dialog *ngIf="showDialog" [headerTemplate]="dialogHeader" (closeClick)="showDialog = false">
|
|
13907
|
+
<co-dialog class="transaction-header-relation-dialog" [customCssClass]="'co-transaction-small-toolbar'" *ngIf="showDialog" [headerTemplate]="dialogHeader" (closeClick)="showDialog = false">
|
|
13886
13908
|
<ng-template #dialogHeader>
|
|
13887
13909
|
<div class="co-transaction-dialog-header-title" [textContent]="'CLIENT_INFORMATION' | localize"></div>
|
|
13888
13910
|
<co-transaction-header-block
|
|
@@ -13892,7 +13914,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
13892
13914
|
></co-transaction-header-block>
|
|
13893
13915
|
<co-transaction-filter-categories [categories]="categories" (categoryClick)="handleNavigationClick($event)"></co-transaction-filter-categories>
|
|
13894
13916
|
</ng-template>
|
|
13895
|
-
<div #navigationItems class="header-relation-navigation-wrapper"
|
|
13917
|
+
<div #navigationItems class="header-relation-navigation-wrapper">
|
|
13896
13918
|
<div #mainItems class="header-relation-navigation-content">
|
|
13897
13919
|
<div class="section">
|
|
13898
13920
|
<div class="label" [textContent]="'PERSONAL_DATA' | localize"></div>
|
|
@@ -14132,9 +14154,11 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
14132
14154
|
<div class="header-block-label" [textContent]="'BALANCE' | localize"></div>
|
|
14133
14155
|
<div class="header-block-balance" *ngIf="transactionInfo.transactionKind !== transactionKind.PurchaseOrder" (click)="openPayment()">
|
|
14134
14156
|
<co-icon class="payment-icon" [iconData]="iconService.getIcon(icons.CreditCardSolid)"></co-icon>
|
|
14135
|
-
<
|
|
14136
|
-
|
|
14137
|
-
|
|
14157
|
+
<div class="payment-payed-wrapper">
|
|
14158
|
+
<span class="payment-paid" [textContent]="200 | priceDisplay"></span>
|
|
14159
|
+
<span class="payment-divider" [textContent]="'/'"></span>
|
|
14160
|
+
<span class="payment-to-pay" [textContent]="100 | priceDisplay"></span>
|
|
14161
|
+
</div>
|
|
14138
14162
|
</div>
|
|
14139
14163
|
</ng-template>
|
|
14140
14164
|
<ng-template #firstBlock>
|
|
@@ -14153,7 +14177,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
14153
14177
|
[showLabel]="false"
|
|
14154
14178
|
></co-transaction-header-downpayment-amount>
|
|
14155
14179
|
</ng-template>
|
|
14156
|
-
<co-dialog class="dialog" [headerTemplate]="headerTemplate" *ngIf="showDialog" (closeClick)="showDialog = false">
|
|
14180
|
+
<co-dialog class="transaction-header-payment-dialog" [headerTemplate]="headerTemplate" *ngIf="showDialog" (closeClick)="showDialog = false">
|
|
14157
14181
|
<ng-template #headerTemplate>
|
|
14158
14182
|
<div class="co-transaction-dialog-header-title" [textContent]="'PAYMENT_INFORMATION' | localize"></div>
|
|
14159
14183
|
<co-transaction-header-block
|
|
@@ -15149,7 +15173,7 @@ class TransactionReceivingGoodsDetailsComponent {
|
|
|
15149
15173
|
}
|
|
15150
15174
|
openWarehouseLocationDialog() {
|
|
15151
15175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15152
|
-
yield this._dialogService.showWarehouseLocation().then((result) => {
|
|
15176
|
+
yield this._dialogService.showWarehouseLocation(this.receiptDetails.warehouseNr).then((result) => {
|
|
15153
15177
|
this.receiptDetails.locationNr = result;
|
|
15154
15178
|
});
|
|
15155
15179
|
});
|
|
@@ -15186,6 +15210,7 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
|
|
|
15186
15210
|
<co-input-text class="details-input"
|
|
15187
15211
|
[(model)]="request.packingSlipNr"
|
|
15188
15212
|
[placeholder]="'PACKING_SLIP' | localize"
|
|
15213
|
+
[required]="true"
|
|
15189
15214
|
[readonly]="readonly"
|
|
15190
15215
|
></co-input-text>
|
|
15191
15216
|
</div>
|
|
@@ -15197,16 +15222,16 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
|
|
|
15197
15222
|
[(model)]="request.receivedDate"
|
|
15198
15223
|
[readonly]="readonly"
|
|
15199
15224
|
></co-input-date>
|
|
15200
|
-
<co-input-text class="details-input" [(model)]="receiptDetails.batchNr"
|
|
15225
|
+
<co-input-text *ngIf="transactionLine.isBatchNrRequired" class="details-input" [(model)]="receiptDetails.batchNr"
|
|
15201
15226
|
[type]="'number'"
|
|
15202
15227
|
[hideArrowButtons]="true"
|
|
15203
|
-
[readonly]="readonly
|
|
15228
|
+
[readonly]="readonly"
|
|
15204
15229
|
[required]="transactionLine.isBatchNrRequired"
|
|
15205
15230
|
[placeholder]="'BATCH_NUMBER' | localize"></co-input-text>
|
|
15206
|
-
<co-input-text class="details-input" [(model)]="receiptDetails.serialNr"
|
|
15231
|
+
<co-input-text *ngIf="transactionLine.isSerialNrRequired" class="details-input" [(model)]="receiptDetails.serialNr"
|
|
15207
15232
|
[type]="'number'"
|
|
15208
15233
|
[hideArrowButtons]="true"
|
|
15209
|
-
[readonly]="readonly
|
|
15234
|
+
[readonly]="readonly"
|
|
15210
15235
|
[required]="transactionLine.isSerialNrRequired"
|
|
15211
15236
|
[placeholder]="'SERIAL_NUMBER' | localize"></co-input-text>
|
|
15212
15237
|
<!-- <co-input-text class="details-input" [(model)]="receiptDetails.refLineNr"-->
|
|
@@ -16112,7 +16137,7 @@ class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent
|
|
|
16112
16137
|
}
|
|
16113
16138
|
openWarehouseLocationDialog(line) {
|
|
16114
16139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16115
|
-
yield this._dialogService.showWarehouseLocation().then((result) => {
|
|
16140
|
+
yield this._dialogService.showWarehouseLocation(line.warehouseNumber).then((result) => {
|
|
16116
16141
|
this.getRowViewModel(line).location = result;
|
|
16117
16142
|
});
|
|
16118
16143
|
});
|