@tomei/finance 0.6.90 → 0.6.92
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/dist/finance-company/finance-company.js +1 -1
- package/dist/finance-company/finance-company.js.map +1 -1
- package/dist/interfaces/account-system.interface.d.ts +6 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/finance-company/finance-company.ts +1 -1
- package/src/interfaces/account-system.interface.ts +8 -8
package/package.json
CHANGED
|
@@ -505,7 +505,7 @@ export default class FinanceCompany extends ObjectBase {
|
|
|
505
505
|
|
|
506
506
|
// Retrieve & validate accountNoLength from finance config file
|
|
507
507
|
const accountNoLength = ComponentConfig.getComponentConfigValue(
|
|
508
|
-
'finance
|
|
508
|
+
'@tomei/finance',
|
|
509
509
|
'accountNoLength',
|
|
510
510
|
);
|
|
511
511
|
|
|
@@ -6,23 +6,23 @@ import Document from '../document/document';
|
|
|
6
6
|
|
|
7
7
|
export interface IAccountSystem {
|
|
8
8
|
createAccount(Account: Account, dbTransaction?: any): Promise<string>;
|
|
9
|
-
createInvoice
|
|
10
|
-
customer:
|
|
9
|
+
createInvoice(payload: {
|
|
10
|
+
customer: FinanceCustomerBase;
|
|
11
11
|
invoice: Document;
|
|
12
12
|
paymentMode: "cash" | "credit";
|
|
13
13
|
}, dbTransaction?: any): Promise<string>;
|
|
14
14
|
createDebitNote(payload: any, dbTransaction?: any): Promise<any>;
|
|
15
15
|
createCreditNote(payload: any, dbTransaction?: any): Promise<any>;
|
|
16
16
|
postTransaction(journalEntry: JournalEntry, dbTransaction?: any): Promise<any>;
|
|
17
|
-
createCustomer
|
|
18
|
-
updateCustomer
|
|
19
|
-
makePayment
|
|
20
|
-
customer:
|
|
17
|
+
createCustomer(customer: FinanceCustomerBase, dbTransaction?: any): Promise<string>;
|
|
18
|
+
updateCustomer(customer: FinanceCustomerBase, dbTransaction?: any): Promise<any>;
|
|
19
|
+
makePayment(
|
|
20
|
+
customer: FinanceCustomerBase,
|
|
21
21
|
paymentInfo: Payment,
|
|
22
22
|
dbTransaction?: any
|
|
23
23
|
): Promise<string>;
|
|
24
|
-
collectPayments
|
|
25
|
-
customer:
|
|
24
|
+
collectPayments(
|
|
25
|
+
customer: FinanceCustomerBase,
|
|
26
26
|
paymentInfo: Payment,
|
|
27
27
|
dbTransaction?: any
|
|
28
28
|
): Promise<string>;
|