@colijnit/transaction 256.1.26 → 256.1.27
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 +663 -644
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +320 -320
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +321 -321
- package/esm2015/lib/component/checkout/checkout.component.js +10 -2
- package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.js +36 -22
- package/esm2015/lib/component/core/base/service/transaction-header.service.js +3 -1
- package/esm2015/lib/component/core/base/transaction-base.component.js +4 -32
- package/esm2015/lib/component/core/base/transaction-header-base.component.js +13 -5
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-direct-sell/dialog-transaction-line-direct-sell.component.js +14 -7
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +2 -2
- package/esm2015/lib/component/transaction-card/transaction-card-footer/transaction-card-footer.component.js +1 -3
- package/esm2015/lib/component/transaction-card/transaction-card-goods-allocation/transaction-card-goods-allocation.component.js +1 -2
- package/esm2015/lib/component/transaction-card/transaction-card-header/transaction-card-header.component.js +1 -3
- package/esm2015/lib/component/transaction-card/transaction-card-margin/transaction-card-margin.component.js +1 -2
- package/esm2015/lib/component/transaction-card/transaction-card-picked/transaction-card-picked.component.js +1 -2
- package/esm2015/lib/component/transaction-card/transaction-card-planning/transaction-card-planning.component.js +1 -2
- package/esm2015/lib/component/transaction-card/transaction-card-purchase/transaction-card-purchase.component.js +1 -2
- package/esm2015/lib/component/transaction-card/transaction-card-purchase-overview/transaction-card-purchase-overview.component.js +1 -2
- package/esm2015/lib/component/transaction-card/transaction-card-sales-overview/transaction-card-sales-overview.component.js +1 -2
- package/esm2015/lib/component/transaction-card/transaction-card-to-be-picked/transaction-card-to-be-picked.component.js +1 -2
- package/esm2015/lib/component/transaction-internal/transaction-internal.component.js +11 -1
- package/esm2015/lib/component/transaction-internal/transaction-internal.module.js +12 -5
- package/esm2015/lib/component/transaction-labeled-warehouse-location-button/transaction-labeled-warehouse-location-button.component.js +48 -52
- package/esm2015/lib/component/transaction-labeled-warehouse-location-button/transaction-labeled-warehouse-location-button.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +3 -3
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line-base.component.js +37 -4
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +10 -65
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.module.js +2 -5
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +3 -1
- package/esm2015/lib/component/transaction-line/transaction-sales-order-quotation-line/transaction-sales-order-quotation-line.component.js +71 -32
- package/esm2015/lib/component/transaction-line/transaction-sales-order-quotation-line/transaction-sales-order-quotation-line.module.js +6 -2
- package/esm2015/lib/component/transaction-line/transaction-text-line/transaction-text-line.component.js +1 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-direct-sell/transaction-line-direct-sell.component.js +1 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-discount-button.component.js +3 -2
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +1 -6
- package/esm2015/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.component.js +5 -3
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +1 -2
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.component.js +1 -24
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.module.js +1 -3
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +2 -2
- package/esm2015/lib/component/transaction-print-package-sticker/transaction-print-package-sticker.component.js +5 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +40 -11
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +6 -5
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +1 -2
- package/esm2015/lib/component/transaction-reservation/service/transaction-sales-reservation.service.js +84 -0
- package/esm2015/lib/component/transaction-reservation/transaction-sales-reservation-popup/transaction-sales-reservation-popup.component.js +86 -0
- package/esm2015/lib/service/transaction-base.service.js +7 -2
- package/esm2015/lib/service/transaction.service.js +2 -2
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +463 -374
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout.component.d.ts +3 -1
- package/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.d.ts +1 -0
- package/lib/component/core/base/service/transaction-header.service.d.ts +2 -0
- package/lib/component/core/base/transaction-base.component.d.ts +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-direct-sell/style/_layout.scss +3 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-direct-sell/style/_material-definition.scss +1 -0
- package/lib/component/transaction-card/transaction-card-footer/transaction-card-footer.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-goods-allocation/transaction-card-goods-allocation.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-header/transaction-card-header.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-margin/transaction-card-margin.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-picked/transaction-card-picked.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-planning/transaction-card-planning.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-purchase/transaction-card-purchase.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-purchase-overview/transaction-card-purchase-overview.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-sales-overview/transaction-card-sales-overview.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-to-be-picked/transaction-card-to-be-picked.component.d.ts +0 -1
- package/lib/component/transaction-internal/style/_layout.scss +6 -0
- package/lib/component/transaction-internal/transaction-internal.component.d.ts +1 -0
- package/lib/component/transaction-labeled-warehouse-location-button/transaction-labeled-warehouse-location-button.component.d.ts +15 -18
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +17 -1
- package/lib/component/transaction-line/transaction-line/style/_material-definition.scss +2 -2
- package/lib/component/transaction-line/transaction-line/style/material.scss +1 -0
- package/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line-base.component.d.ts +14 -1
- package/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.d.ts +2 -30
- package/lib/component/transaction-line/transaction-sales-order-quotation-line/transaction-sales-order-quotation-line.component.d.ts +2 -0
- package/lib/component/transaction-line/transaction-text-line/transaction-text-line.component.d.ts +0 -1
- package/lib/component/transaction-line-fields/transaction-line-direct-sell/transaction-line-direct-sell.component.d.ts +0 -1
- package/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.d.ts +0 -3
- package/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.d.ts +0 -1
- package/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.component.d.ts +1 -8
- package/lib/component/transaction-print-package-sticker/transaction-print-package-sticker.component.d.ts +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.d.ts +13 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.d.ts +0 -1
- package/lib/component/transaction-reservation/service/transaction-sales-reservation.service.d.ts +17 -0
- package/lib/component/{transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation → transaction-reservation/transaction-sales-reservation-popup}/style/_layout.scss +12 -2
- package/lib/component/transaction-reservation/transaction-sales-reservation-popup/style/_theme.scss +4 -0
- package/lib/component/{transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation → transaction-reservation/transaction-sales-reservation-popup}/style/material.scss +1 -1
- package/lib/component/transaction-reservation/transaction-sales-reservation-popup/transaction-sales-reservation-popup.component.d.ts +20 -0
- package/lib/service/transaction-base.service.d.ts +3 -2
- package/lib/service/transaction.service.d.ts +1 -1
- package/package.json +2 -2
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation.component.js +0 -75
- package/esm2015/lib/service/purchase-reservation.service.js +0 -34
- package/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/style/_theme.scss +0 -4
- package/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation.component.d.ts +0 -20
- package/lib/service/purchase-reservation.service.d.ts +0 -13
- /package/lib/component/{transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation → transaction-reservation/transaction-sales-reservation-popup}/style/_material-definition.scss +0 -0
|
@@ -215,7 +215,7 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
215
215
|
updatePriceListTransactionLine(uuid: string, lineUuid: string, priceList: string): Promise<boolean>;
|
|
216
216
|
updateVatTransactionLine(uuid: string, lineUuid: string, id: number): Promise<boolean>;
|
|
217
217
|
updateCommissionCodeTransactionLine(uuid: string, lineUuid: string, code: string): Promise<boolean>;
|
|
218
|
-
|
|
218
|
+
updateDirectSellTransactionLine(transactionUuid: string, lineUuid: string, newDirectSell: boolean, newSupplierId: number, newPurchaseOrderNumber: string, newStockForecastDeliveryDate: Date): Promise<boolean>;
|
|
219
219
|
updateSupplierTransactionLine(uuid: string, lineUuid: string, id: number): Promise<boolean>;
|
|
220
220
|
updateWarehouseTransactionLine(uuid: string, lineUuid: string, warehouseNumber: number): Promise<boolean>;
|
|
221
221
|
updateDeliveryMethodTransactionLine(uuid: string, lineUuid: string, method: string): Promise<boolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "256.1.
|
|
3
|
+
"version": "256.1.27",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@colijnit/articleapi": ">=256.1.0",
|
|
13
13
|
"@colijnit/catalog": ">=256.1.7",
|
|
14
14
|
"@colijnit/corecomponents": ">=1.12.0",
|
|
15
|
-
"@colijnit/corecomponents_v12": ">=256.1.
|
|
15
|
+
"@colijnit/corecomponents_v12": ">=256.1.7",
|
|
16
16
|
"@colijnit/ioneconnector": ">=256.1.0",
|
|
17
17
|
"@colijnit/mainapi": ">=256.1.2",
|
|
18
18
|
"@colijnit/product": ">=256.1.2",
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { Component, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
3
|
-
import { PurchaseReservationService } from '../../../../service/purchase-reservation.service';
|
|
4
|
-
import { TransactionService } from '../../../../service/transaction.service';
|
|
5
|
-
import { ProcessOrderReservationRequest } from '@colijnit/transactionapi/build/model/process-order-reservation-request.bo';
|
|
6
|
-
import { TransactionEventService } from '../../../../service/transaction-event.service';
|
|
7
|
-
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
8
|
-
import { Icon } from '../../../../enum/icon.enum';
|
|
9
|
-
export class TransactionLineSidePanelSalesReservationComponent {
|
|
10
|
-
constructor(_purchaseReservationService, _transactionService, _transactionEventService, iconCacheService) {
|
|
11
|
-
this._purchaseReservationService = _purchaseReservationService;
|
|
12
|
-
this._transactionService = _transactionService;
|
|
13
|
-
this._transactionEventService = _transactionEventService;
|
|
14
|
-
this.iconCacheService = iconCacheService;
|
|
15
|
-
this.icons = Icon;
|
|
16
|
-
this.showClass = true;
|
|
17
|
-
this.reservationOrderLines = [];
|
|
18
|
-
}
|
|
19
|
-
ngOnInit() {
|
|
20
|
-
this.reservationOrderLines = this._purchaseReservationService.purchaseReservationPurchaseLines;
|
|
21
|
-
}
|
|
22
|
-
processReservation() {
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
let request = new ProcessOrderReservationRequest();
|
|
25
|
-
request.transId = this._transactionService.currentTransaction.transactionInfo.id;
|
|
26
|
-
request.lineId = this._purchaseReservationService.lineId;
|
|
27
|
-
request.reservationLines = [...this.reservationOrderLines.filter(line => line.selected)];
|
|
28
|
-
let response = yield this._transactionService.processReservation(request);
|
|
29
|
-
if (response) {
|
|
30
|
-
this._transactionService.currentTransaction = response;
|
|
31
|
-
yield this._transactionService.saveTransaction();
|
|
32
|
-
yield this._transactionService.checkRefTransaction();
|
|
33
|
-
// await this._transactionService.rememberCurrentTransaction(this._transactionService.currentTransaction);
|
|
34
|
-
this.handleCloseSidePanel();
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
handleCloseSidePanel() {
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
TransactionLineSidePanelSalesReservationComponent.decorators = [
|
|
42
|
-
{ type: Component, args: [{
|
|
43
|
-
selector: 'co-transaction-line-side-panel-sales-reservation',
|
|
44
|
-
template: `
|
|
45
|
-
<div class="wrapper">
|
|
46
|
-
<div class="reservation-title">
|
|
47
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.PalletBoxesRotate)"></co-icon>
|
|
48
|
-
<span [textContent]="'RESERVATION_PURCHASEORDER' | localize "></span>
|
|
49
|
-
</div>
|
|
50
|
-
<co-transaction-purchase-reservation-order-tile *ngFor="let line of reservationOrderLines"
|
|
51
|
-
[purchaseReservationPurchaseLine]="line"></co-transaction-purchase-reservation-order-tile>
|
|
52
|
-
</div>
|
|
53
|
-
<div class="save-cancel-wrapper">
|
|
54
|
-
<co-button [iconData]="iconCacheService.getIcon(icons.CheckDuotone)"
|
|
55
|
-
(click)="processReservation()"
|
|
56
|
-
></co-button>
|
|
57
|
-
<co-button class="cancel-button"
|
|
58
|
-
[iconData]="iconCacheService.getIcon(icons.Crossskinny)"
|
|
59
|
-
(click)="handleCloseSidePanel()"
|
|
60
|
-
></co-button>
|
|
61
|
-
</div>
|
|
62
|
-
`,
|
|
63
|
-
encapsulation: ViewEncapsulation.None
|
|
64
|
-
},] }
|
|
65
|
-
];
|
|
66
|
-
TransactionLineSidePanelSalesReservationComponent.ctorParameters = () => [
|
|
67
|
-
{ type: PurchaseReservationService },
|
|
68
|
-
{ type: TransactionService },
|
|
69
|
-
{ type: TransactionEventService },
|
|
70
|
-
{ type: IconCacheService }
|
|
71
|
-
];
|
|
72
|
-
TransactionLineSidePanelSalesReservationComponent.propDecorators = {
|
|
73
|
-
showClass: [{ type: HostBinding, args: ['class.co-transaction-line-side-panel-sales-reservation',] }]
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tbGluZS1zaWRlLXBhbmVsLXNhbGVzLXJlc2VydmF0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLWxpbmUtc2lkZS1wYW5lbC1zYWxlcy90cmFuc2FjdGlvbi1saW5lLXNpZGUtcGFuZWwtc2FsZXMtcmVzZXJ2YXRpb24vdHJhbnNhY3Rpb24tbGluZS1zaWRlLXBhbmVsLXNhbGVzLXJlc2VydmF0aW9uL3RyYW5zYWN0aW9uLWxpbmUtc2lkZS1wYW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cy5fdHJhbnNhY3Rpb25TZXJ2aWNlLmN1cnJlbnRUcmFuc2FjdGlvbiA9IHJlc3BvbnNlO1xyXG4gICAgICBhd2FpdCB0aGlzLl90cmFuc2FjdGlvblNlcnZpY2Uuc2F2ZVRyYW5zYWN0aW9uKCk7XHJcbiAgICAgIGF3YWl0IHRoaXMuX3RyYW5zYWN0aW9uU2VydmljZS5jaGVja1JlZlRyYW5zYWN0aW9uKCk7XHJcbiAgICAgIC8vIGF3YWl0IHRoaXMuX3RyYW5zYWN0aW9uU2VydmljZS5yZW1lbWJlckN1cnJlbnRUcmFuc2FjdGlvbih0aGlzLl90cmFuc2FjdGlvblNlcnZpY2UuY3VycmVudFRyYW5zYWN0aW9uKTtcclxuICAgICAgdGhpcy5oYW5kbGVDbG9zZVNpZGVQYW5lbCgpO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgcHVibGljIGhhbmRsZUNsb3NlU2lkZVBhbmVsKCk6IHZvaWQge1xyXG5cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class PurchaseReservationService {
|
|
4
|
-
constructor() {
|
|
5
|
-
this._purchaseReservations = [];
|
|
6
|
-
this._purchaseReservationPurchaseLines = [];
|
|
7
|
-
this._lineId = 0;
|
|
8
|
-
}
|
|
9
|
-
get purchaseReservations() {
|
|
10
|
-
return this._purchaseReservations;
|
|
11
|
-
}
|
|
12
|
-
get purchaseReservationPurchaseLines() {
|
|
13
|
-
return this._purchaseReservationPurchaseLines;
|
|
14
|
-
}
|
|
15
|
-
get lineId() {
|
|
16
|
-
return this._lineId;
|
|
17
|
-
}
|
|
18
|
-
set purchaseReservations(reservations) {
|
|
19
|
-
this._purchaseReservations = reservations;
|
|
20
|
-
}
|
|
21
|
-
set purchaseReservationPurchaseLines(lines) {
|
|
22
|
-
this._purchaseReservationPurchaseLines = lines;
|
|
23
|
-
}
|
|
24
|
-
set lineId(id) {
|
|
25
|
-
this._lineId = id;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
PurchaseReservationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PurchaseReservationService_Factory() { return new PurchaseReservationService(); }, token: PurchaseReservationService, providedIn: "root" });
|
|
29
|
-
PurchaseReservationService.decorators = [
|
|
30
|
-
{ type: Injectable, args: [{
|
|
31
|
-
providedIn: 'root'
|
|
32
|
-
},] }
|
|
33
|
-
];
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyY2hhc2UtcmVzZXJ2YXRpb24uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvc2VydmljZS9wdXJjaGFzZS1yZXNlcnZhdGlvbi5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBZ0J6QyxNQUFNLE9BQU8sMEJBQTBCO0lBSHZDO1FBS1UsMEJBQXFCLEdBQTBCLEVBQUUsQ0FBQztRQUNsRCxzQ0FBaUMsR0FBdUMsRUFBRSxDQUFDO1FBQzNFLFlBQU8sR0FBVyxDQUFDLENBQUM7S0F5QjdCO0lBdkJDLElBQVcsb0JBQW9CO1FBQzdCLE9BQU8sSUFBSSxDQUFDLHFCQUFxQixDQUFDO0lBQ3BDLENBQUM7SUFFRCxJQUFXLGdDQUFnQztRQUN6QyxPQUFPLElBQUksQ0FBQyxpQ0FBaUMsQ0FBQztJQUNoRCxDQUFDO0lBRUQsSUFBVyxNQUFNO1FBQ2YsT0FBTyxJQUFJLENBQUMsT0FBTyxDQUFDO0lBQ3RCLENBQUM7SUFFRCxJQUFXLG9CQUFvQixDQUFFLFlBQ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2hhc2VSZXNlcnZhdGlvblB1cmNoYXNlTGluZVtdIHtcclxuICAgIHJldHVybiB0aGlzLl9wdXJjaGFzZVJlc2VydmF0aW9uUHVyY2hhc2VMaW5lcztcclxuICB9XHJcblxyXG4gIHB1YmxpYyBnZXQgbGluZUlkKCk6IG51bWJlciB7XHJcbiAgICByZXR1cm4gdGhpcy5fbGluZUlkO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIHNldCBwdXJjaGFzZVJlc2VydmF0aW9ucyggcmVzZXJ2YXRpb25zOiBQdXJjaGFzZVJlc2VydmF0aW9uW10pIHtcclxuICAgIHRoaXMuX3B1cmNoYXNlUmVzZXJ2YXRpb25zID0gcmVzZXJ2YXRpb25zO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIHNldCBwdXJjaGFzZVJlc2VydmF0aW9uUHVyY2hhc2VMaW5lcyhsaW5lczogUHVyY2hhc2VSZXNlcnZhdGlvblB1cmNoYXNlTGluZVtdKSB7XHJcbiAgICB0aGlzLl9wdXJjaGFzZVJlc2VydmF0aW9uUHVyY2hhc2VMaW5lcyA9IGxpbmVzO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIHNldCBsaW5lSWQoaWQ6IG51bWJlcikge1xyXG4gICAgdGhpcy5fbGluZUlkID0gaWQ7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { PurchaseReservationPurchaseLine } from '@colijnit/transactionapi/build/model/purchase-reservation-purchase-line.bo';
|
|
3
|
-
import { PurchaseReservationService } from '../../../../service/purchase-reservation.service';
|
|
4
|
-
import { TransactionService } from '../../../../service/transaction.service';
|
|
5
|
-
import { TransactionEventService } from '../../../../service/transaction-event.service';
|
|
6
|
-
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
7
|
-
import { Icon } from '../../../../enum/icon.enum';
|
|
8
|
-
export declare class TransactionLineSidePanelSalesReservationComponent implements OnInit {
|
|
9
|
-
private _purchaseReservationService;
|
|
10
|
-
private _transactionService;
|
|
11
|
-
private _transactionEventService;
|
|
12
|
-
iconCacheService: IconCacheService;
|
|
13
|
-
readonly icons: typeof Icon;
|
|
14
|
-
showClass: boolean;
|
|
15
|
-
reservationOrderLines: PurchaseReservationPurchaseLine[];
|
|
16
|
-
constructor(_purchaseReservationService: PurchaseReservationService, _transactionService: TransactionService, _transactionEventService: TransactionEventService, iconCacheService: IconCacheService);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
processReservation(): Promise<void>;
|
|
19
|
-
handleCloseSidePanel(): void;
|
|
20
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PurchaseReservation } from "@colijnit/transactionapi/build/model/purchase-reservation.bo";
|
|
2
|
-
import { PurchaseReservationPurchaseLine } from "@colijnit/transactionapi/build/model/purchase-reservation-purchase-line.bo";
|
|
3
|
-
export declare class PurchaseReservationService {
|
|
4
|
-
private _purchaseReservations;
|
|
5
|
-
private _purchaseReservationPurchaseLines;
|
|
6
|
-
private _lineId;
|
|
7
|
-
get purchaseReservations(): PurchaseReservation[];
|
|
8
|
-
get purchaseReservationPurchaseLines(): PurchaseReservationPurchaseLine[];
|
|
9
|
-
get lineId(): number;
|
|
10
|
-
set purchaseReservations(reservations: PurchaseReservation[]);
|
|
11
|
-
set purchaseReservationPurchaseLines(lines: PurchaseReservationPurchaseLine[]);
|
|
12
|
-
set lineId(id: number);
|
|
13
|
-
}
|