@colijnit/transaction 255.1.22 → 255.1.24
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 +58 -137
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/core/base/transaction-payment-base.component.js +6 -1
- package/esm2015/lib/component/payment/payment.component.js +2 -63
- package/esm2015/lib/component/purchase-confirmation-lines/purchase-confirmation-lines.component.js +2 -2
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +6 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-sales-quotation/transaction-quick-access-sales-quotation.component.js +4 -19
- package/esm2015/lib/service/transaction-creation.service.js +3 -4
- package/esm2015/lib/service/transaction-payment.service.js +22 -4
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +40 -88
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/transaction-payment-base.component.d.ts +1 -0
- package/lib/component/payment/payment.component.d.ts +1 -12
- package/lib/component/purchase-confirmation-lines/style/_layout.scss +3 -0
- package/lib/component/transaction-line-side-panel/style/_layout.scss +12 -0
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +1 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-sales-quotation/transaction-quick-access-sales-quotation.component.d.ts +0 -1
- package/lib/service/transaction-creation.service.d.ts +1 -1
- package/lib/service/transaction-payment.service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -79,6 +79,7 @@ export declare abstract class TransactionPaymentBaseComponent implements OnInit,
|
|
|
79
79
|
handlePayment(): Promise<void>;
|
|
80
80
|
handleKeyPadModelChange(model: number): void;
|
|
81
81
|
protected paymentInfoReady(): void;
|
|
82
|
+
protected prepareCashDrawers(group: number): void;
|
|
82
83
|
/**
|
|
83
84
|
*
|
|
84
85
|
* @private
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { TransactionPaymentBaseComponent } from '../core/base/transaction-payment-base.component';
|
|
3
|
-
import { CashDrawer } from "@colijnit/transactionapi/build/model/cash-drawer.bo";
|
|
4
2
|
import { CashRegister } from "@colijnit/transactionapi/build/model/cash-register";
|
|
5
|
-
export declare class PaymentComponent extends TransactionPaymentBaseComponent
|
|
3
|
+
export declare class PaymentComponent extends TransactionPaymentBaseComponent {
|
|
6
4
|
showClass: boolean;
|
|
7
|
-
cashRegisters: any[];
|
|
8
5
|
activeCashRegister: CashRegister;
|
|
9
|
-
cashDrawers: CashDrawer[];
|
|
10
|
-
activeCashDrawer: CashDrawer;
|
|
11
|
-
ngOnInit(): Promise<void>;
|
|
12
|
-
handleDrawerChanged(cashDrawer: CashDrawer): void;
|
|
13
6
|
cashRegisterSelected(cashRegister: CashRegister, index: number): void;
|
|
14
|
-
private _getCashDrawers;
|
|
15
|
-
private _checkDefaultParameters;
|
|
16
|
-
private _prepareCashRegister;
|
|
17
|
-
private _getCashRegistersDrawers;
|
|
18
7
|
}
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
right: $tp-transaction-line-side-panel-close-icon-right;
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
}
|
|
54
|
+
|
|
54
55
|
.transaction-line-side-panel-nav-bar {
|
|
55
56
|
display: flex;
|
|
56
57
|
justify-content: center;
|
|
@@ -60,6 +61,17 @@
|
|
|
60
61
|
border-width: $tp-transaction-line-side-panel-panel-nav-bar-border-width;
|
|
61
62
|
}
|
|
62
63
|
|
|
64
|
+
.total-amount {
|
|
65
|
+
display: flex;
|
|
66
|
+
justify-content: space-between;
|
|
67
|
+
align-items: center;
|
|
68
|
+
font-weight: bold;
|
|
69
|
+
padding: $tp-transaction-line-side-panel-panel-nav-bar-padding;
|
|
70
|
+
border-color: $tp-transaction-line-side-panel-panel-nav-bar-border-color;
|
|
71
|
+
border-style: solid;
|
|
72
|
+
border-width: $tp-transaction-line-side-panel-panel-nav-bar-border-width;
|
|
73
|
+
}
|
|
74
|
+
|
|
63
75
|
.transaction-line-side-panel-content {
|
|
64
76
|
display: flex;
|
|
65
77
|
flex-direction: column;
|
package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare class TransactionLineSidePanelComponent implements OnInit, OnDest
|
|
|
18
18
|
readonly icons: typeof Icon;
|
|
19
19
|
readonly categories: typeof TransactionTypeCategory;
|
|
20
20
|
readonly transactionTypes: typeof TransactionKind;
|
|
21
|
+
readonly TransactionTypeCategory: typeof TransactionTypeCategory;
|
|
21
22
|
wide: boolean;
|
|
22
23
|
transaction: TransactionInfoResponse;
|
|
23
24
|
transactionLine: TransactionLineInfo;
|
|
@@ -48,5 +48,4 @@ export declare class TransactionQuickAccessSalesQuotationComponent extends Trans
|
|
|
48
48
|
createSalesOrder(): Promise<void>;
|
|
49
49
|
handleSalesOrderNavigation(transNr: string): void;
|
|
50
50
|
getCurrentRefTransactions(): TransactionRefTransaction[];
|
|
51
|
-
getNewestCurrentRefTransactions(): TransactionRefTransaction;
|
|
52
51
|
}
|
|
@@ -4,7 +4,7 @@ import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/tr
|
|
|
4
4
|
import { ResolveLinePendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo";
|
|
5
5
|
import { ResolveHeaderPendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo";
|
|
6
6
|
export declare class TransactionCreationService extends TransactionService {
|
|
7
|
-
createSalesOrderThroughQuotation(request: CopyTransactionRequest): Promise<
|
|
7
|
+
createSalesOrderThroughQuotation(request: CopyTransactionRequest): Promise<number>;
|
|
8
8
|
copySalesOrder(request: CopyTransactionRequest): Promise<TransactionInfoResponse>;
|
|
9
9
|
copyPurchaseOrder(request: CopyTransactionRequest): Promise<TransactionInfoResponse>;
|
|
10
10
|
copySalesQuotation(request: CopyTransactionRequest): Promise<TransactionInfoResponse>;
|
|
@@ -7,10 +7,12 @@ import { DictionaryService } from './dictionary.service';
|
|
|
7
7
|
import { HttpClient } from '@angular/common/http';
|
|
8
8
|
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
9
9
|
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
10
|
+
import { DialogService } from "./dialog.service";
|
|
10
11
|
export declare class TransactionPaymentService implements OnDestroy {
|
|
11
12
|
private _transactionEventService;
|
|
12
13
|
private _paymentConnectorService;
|
|
13
14
|
private _dictionaryService;
|
|
15
|
+
private _dialogService;
|
|
14
16
|
private _http;
|
|
15
17
|
amount: number;
|
|
16
18
|
amountToPay: number;
|
|
@@ -43,7 +45,7 @@ export declare class TransactionPaymentService implements OnDestroy {
|
|
|
43
45
|
private _paymentStatusPollIntervalMs;
|
|
44
46
|
private _paymentStatusMaxPollInterval;
|
|
45
47
|
private _paymentStatusPollIntervalCount;
|
|
46
|
-
constructor(_transactionEventService: TransactionEventService, _paymentConnectorService: TransactionPaymentConnectorService, _dictionaryService: DictionaryService, _http: HttpClient);
|
|
48
|
+
constructor(_transactionEventService: TransactionEventService, _paymentConnectorService: TransactionPaymentConnectorService, _dictionaryService: DictionaryService, _dialogService: DialogService, _http: HttpClient);
|
|
47
49
|
ngOnDestroy(): void;
|
|
48
50
|
handlePayment(): Promise<void>;
|
|
49
51
|
cancelPayment(): void;
|