taxtank-core 0.28.105 → 0.28.107
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/taxtank-core.umd.js +1289 -880
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/db/Enums/chart-accounts-salary-adjustments-list.enum.js +17 -0
- package/esm2015/lib/db/Enums/index.js +2 -1
- package/esm2015/lib/forms/depreciation/depreciation.form.js +35 -0
- package/esm2015/lib/forms/depreciation/index.js +2 -0
- package/esm2015/lib/forms/form-validations.enum.js +12 -0
- package/esm2015/lib/forms/index.js +4 -1
- package/esm2015/lib/forms/transaction/index.js +4 -0
- package/esm2015/lib/forms/transaction/messages.enum.js +5 -0
- package/esm2015/lib/forms/transaction/transaction-base.form.js +105 -0
- package/esm2015/lib/forms/transaction/transaction.form.js +12 -0
- package/esm2015/lib/forms/transaction/work-income.form.js +119 -0
- package/esm2015/lib/interceptors/basiq-client-id.interceptor.js +3 -3
- package/esm2015/lib/interceptors/basiq-token.interceptor.js +3 -3
- package/esm2015/lib/interceptors/corelogic-interceptor.js +3 -3
- package/esm2015/lib/interceptors/financial-year-interceptor.js +3 -3
- package/esm2015/lib/interceptors/interceptors.module.js +4 -4
- package/esm2015/lib/interceptors/jwt-interceptor.js +3 -3
- package/esm2015/lib/interceptors/preloader.interceptor.js +3 -3
- package/esm2015/lib/interceptors/user-switcher-interceptor.js +15 -5
- package/esm2015/lib/models/chart-accounts/chart-accounts.js +37 -1
- package/esm2015/lib/models/chart-accounts/index.js +9 -0
- package/esm2015/lib/models/document/index.js +3 -1
- package/esm2015/lib/models/income-source/salary-forecast.js +4 -1
- package/esm2015/lib/models/index.js +3 -1
- package/esm2015/lib/models/transaction/index.js +7 -0
- package/esm2015/lib/models/transaction/transaction.js +2 -3
- package/esm2015/lib/models/vehicle/vehicle-logbook.js +2 -1
- package/esm2015/lib/services/account-setup/account-setup.service.js +3 -3
- package/esm2015/lib/services/affiliate/rewardful/rewardful.service.js +3 -3
- package/esm2015/lib/services/asset/assets.service.js +3 -3
- package/esm2015/lib/services/auth/auth.service.js +3 -3
- package/esm2015/lib/services/auth/jwt.service.js +3 -3
- package/esm2015/lib/services/bank/bank-account-calculation.service.js +3 -3
- package/esm2015/lib/services/bank/bank-transaction-calculation.service.js +3 -3
- package/esm2015/lib/services/event/event-dispatcher.service.js +3 -3
- package/esm2015/lib/services/event/sse.service.js +3 -3
- package/esm2015/lib/services/export/export-formatter.service.js +3 -3
- package/esm2015/lib/services/header-title/header-title.service.js +3 -3
- package/esm2015/lib/services/http/address/address.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank.service.js +13 -9
- package/esm2015/lib/services/http/bank/basiq/basiq-token.service.js +3 -3
- package/esm2015/lib/services/http/bank/basiq/basiq.service.js +3 -3
- package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +3 -3
- package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +6 -7
- package/esm2015/lib/services/http/chat/chat.service.js +3 -3
- package/esm2015/lib/services/http/chat/message/message.service.js +3 -3
- package/esm2015/lib/services/http/chat/message-document/message-document.service.js +3 -3
- package/esm2015/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js +3 -3
- package/esm2015/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.js +3 -3
- package/esm2015/lib/services/http/depreciation/depreciation.service.js +3 -3
- package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +3 -3
- package/esm2015/lib/services/http/document/document.service.js +3 -3
- package/esm2015/lib/services/http/facebook/facebook.service.js +3 -3
- package/esm2015/lib/services/http/firm/client-income/client-income-types.service.js +3 -3
- package/esm2015/lib/services/http/firm/client-invite/client-invite.service.js +3 -3
- package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +3 -3
- package/esm2015/lib/services/http/firm/employee/employee.service.js +3 -3
- package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +3 -3
- package/esm2015/lib/services/http/firm/firm.service.js +3 -3
- package/esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js +3 -3
- package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +3 -3
- package/esm2015/lib/services/http/income-source/income-source.service.js +3 -3
- package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +3 -3
- package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +3 -3
- package/esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js +3 -3
- package/esm2015/lib/services/http/loan/loan.service.js +3 -3
- package/esm2015/lib/services/http/property/property-category/property-category.service.js +3 -3
- package/esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js +3 -3
- package/esm2015/lib/services/http/property/property-document/property-document.service.js +3 -3
- package/esm2015/lib/services/http/property/property-sale/property-sale.service.js +3 -3
- package/esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js +3 -3
- package/esm2015/lib/services/http/property/property-share/property-share.service.js +3 -3
- package/esm2015/lib/services/http/property/property.service.js +3 -3
- package/esm2015/lib/services/http/receipt/receipt.service.js +3 -3
- package/esm2015/lib/services/http/rest/rest-old.service.js +3 -3
- package/esm2015/lib/services/http/rest/rest.service.js +3 -3
- package/esm2015/lib/services/http/service-notification/service-notification.service.js +3 -3
- package/esm2015/lib/services/http/sole/bas-report/bas-report.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business/sole-business.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business-activity/sole-business-activity.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-contact/sole-contact.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-details/sole-details.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-invoice/sole-invoice.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.js +3 -3
- package/esm2015/lib/services/http/subscription/service-price.service.js +3 -3
- package/esm2015/lib/services/http/subscription/subscription.service.js +3 -3
- package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +3 -3
- package/esm2015/lib/services/http/tax-review/tax-review.service.js +3 -3
- package/esm2015/lib/services/http/tax-summary/tax-summary.service.js +3 -3
- package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +3 -3
- package/esm2015/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.js +3 -3
- package/esm2015/lib/services/http/transaction/transaction.service.js +4 -34
- package/esm2015/lib/services/http/tutorial-video/tutorial-video.service.js +3 -3
- package/esm2015/lib/services/http/user/occupation/occupation.service.js +3 -3
- package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +3 -3
- package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +3 -3
- package/esm2015/lib/services/http/user/user.service.js +3 -3
- package/esm2015/lib/services/http/user/users-invite/users-invite.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle-claim-details.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle-claim.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle-logbook.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle.service.js +3 -3
- package/esm2015/lib/services/intercom/intercom.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-table.service.js +3 -3
- package/esm2015/lib/services/preloader/preloader.service.js +3 -3
- package/esm2015/lib/services/property/corelogic/corelogic.service.js +3 -3
- package/esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js +3 -3
- package/esm2015/lib/services/property/property-calculation/property-calculation.service.js +3 -3
- package/esm2015/lib/services/report/property/property-transaction-report.service.js +3 -3
- package/esm2015/lib/services/toast/toast.service.js +3 -3
- package/esm2015/lib/services/transaction/transaction-calculation.service.js +3 -3
- package/esm2015/lib/services/user/user-switcher.service.js +3 -3
- package/esm2015/lib/services/vehicle/logbook-best-period.service.js +3 -3
- package/esm2015/lib/services/xlsx/xlsx.service.js +3 -3
- package/esm2015/lib/tt-core.module.js +4 -4
- package/esm2015/lib/validators/current-fin-year.validator.js +14 -0
- package/esm2015/lib/validators/file.validator.js +27 -0
- package/esm2015/lib/validators/index.js +3 -1
- package/fesm2015/taxtank-core.js +1246 -898
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/db/Enums/chart-accounts-salary-adjustments-list.enum.d.ts +15 -0
- package/lib/db/Enums/index.d.ts +1 -0
- package/lib/forms/depreciation/depreciation.form.d.ts +5 -0
- package/lib/forms/depreciation/index.d.ts +1 -0
- package/lib/forms/form-validations.enum.d.ts +9 -0
- package/lib/forms/index.d.ts +3 -0
- package/lib/forms/transaction/index.d.ts +3 -0
- package/lib/forms/transaction/messages.enum.d.ts +3 -0
- package/lib/forms/transaction/transaction-base.form.d.ts +28 -0
- package/lib/forms/transaction/transaction.form.d.ts +8 -0
- package/lib/forms/transaction/work-income.form.d.ts +21 -0
- package/lib/models/chart-accounts/chart-accounts.d.ts +8 -0
- package/lib/models/chart-accounts/index.d.ts +8 -0
- package/lib/models/document/index.d.ts +2 -0
- package/lib/models/income-source/salary-forecast.d.ts +1 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/transaction/index.d.ts +6 -0
- package/lib/models/transaction/transaction.d.ts +2 -2
- package/lib/services/http/bank/bank.service.d.ts +9 -5
- package/lib/services/http/chart-accounts/chart-accounts.service.d.ts +1 -2
- package/lib/services/http/transaction/transaction.service.d.ts +0 -7
- package/lib/validators/current-fin-year.validator.d.ts +5 -0
- package/lib/validators/file.validator.d.ts +6 -0
- package/lib/validators/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum ChartAccountsSalaryAdjustmentsListEnum {
|
|
2
|
+
ALLOWANCE = 4,
|
|
3
|
+
TIPS = 5,
|
|
4
|
+
REIMBURSEMENTS = 555,
|
|
5
|
+
ADVANCE = 556,
|
|
6
|
+
POST_TAX_DEDUCTIONS_OTHER = 644,
|
|
7
|
+
PRE_TAX_DEDUCTIONS_OTHER = 645,
|
|
8
|
+
PHONE_ALLOWANCE = 646,
|
|
9
|
+
UNIFORM_ALLOWANCE = 647,
|
|
10
|
+
META_ALLOWANCE = 648,
|
|
11
|
+
TRAVEL_ALLOWANCE = 649,
|
|
12
|
+
OTHER_ALLOWANCE = 650,
|
|
13
|
+
LAFH = 651,
|
|
14
|
+
WORK_PLACE_GIVING = 653
|
|
15
|
+
}
|
package/lib/db/Enums/index.d.ts
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TransactionBaseForm } from '../transaction';
|
|
2
|
+
import { Depreciation } from '../../models/depreciation/depreciation';
|
|
3
|
+
export declare class DepreciationForm extends TransactionBaseForm<Depreciation> {
|
|
4
|
+
constructor(depreciation: Depreciation, registeredForGst: boolean);
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './depreciation.form';
|
package/lib/forms/index.d.ts
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AbstractControl } from '@angular/forms';
|
|
2
|
+
import { AbstractForm } from '../abstract.form';
|
|
3
|
+
import { TransactionBase } from '../../db/Models/transaction/transaction-base';
|
|
4
|
+
/**
|
|
5
|
+
* @TODO refactor, move specific fields like property in separated forms
|
|
6
|
+
* @TODO remove useless getters
|
|
7
|
+
*/
|
|
8
|
+
export declare class TransactionBaseForm<Model extends TransactionBase> extends AbstractForm<Model> {
|
|
9
|
+
registeredForGst: boolean;
|
|
10
|
+
constructor(transaction: Model, registeredForGst: boolean, controls?: {
|
|
11
|
+
[key: string]: AbstractControl;
|
|
12
|
+
});
|
|
13
|
+
private watchIsGst;
|
|
14
|
+
private watchAmountWithGST;
|
|
15
|
+
watchChartAccounts(): void;
|
|
16
|
+
private updateGstAmount;
|
|
17
|
+
private updateAmount;
|
|
18
|
+
private isGstApplicable;
|
|
19
|
+
private get amount();
|
|
20
|
+
private get amountWithGST();
|
|
21
|
+
private get isGST();
|
|
22
|
+
/**
|
|
23
|
+
* propertyClaimPercent for propertyExpense (except platform fees, which already include claimPercent),
|
|
24
|
+
* taxablePercent for others
|
|
25
|
+
* can be adjusted only for property/sole expenses
|
|
26
|
+
*/
|
|
27
|
+
private updateClaimPercent;
|
|
28
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Transaction } from '../../models';
|
|
2
|
+
import { TransactionBaseForm } from './transaction-base.form';
|
|
3
|
+
import { AbstractControl } from '@angular/forms';
|
|
4
|
+
export declare class TransactionForm extends TransactionBaseForm<Transaction> {
|
|
5
|
+
constructor(transaction: Transaction, registeredForGst: boolean, controls?: {
|
|
6
|
+
[key: string]: AbstractControl;
|
|
7
|
+
});
|
|
8
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TransactionForm } from './transaction.form';
|
|
2
|
+
import { Transaction, TransactionAllocation } from '../../models';
|
|
3
|
+
import { IEventListener } from '../../interfaces/event-listener.interface';
|
|
4
|
+
export declare class WorkIncomeForm extends TransactionForm implements IEventListener {
|
|
5
|
+
constructor(transaction: Transaction, registeredForGst: boolean, allocations: TransactionAllocation[]);
|
|
6
|
+
listenEvents(): void;
|
|
7
|
+
private watchIncomeSource;
|
|
8
|
+
watchChartAccounts(): void;
|
|
9
|
+
/**
|
|
10
|
+
* depends on chartAccounts the form could include different extra fields
|
|
11
|
+
*/
|
|
12
|
+
private buildMetadataForm;
|
|
13
|
+
addTransactionControl(transaction?: Transaction): void;
|
|
14
|
+
removeTransactionControl(index: number): void;
|
|
15
|
+
/**
|
|
16
|
+
* salary transactions might include adjustments (child transactions), like tips or donation.
|
|
17
|
+
* Adjustments inherit most of the fields from parent transaction
|
|
18
|
+
*/
|
|
19
|
+
buildTransactions(): Transaction[];
|
|
20
|
+
submit(data?: object): Transaction;
|
|
21
|
+
}
|
|
@@ -3,6 +3,7 @@ import { ChartAccountsHeading } from './chart-accounts-heading';
|
|
|
3
3
|
import { ChartAccountsMetadata } from './chart-accounts-metadata';
|
|
4
4
|
import { TankTypeEnum } from '../../db/Enums/tank-type.enum';
|
|
5
5
|
import { ChartAccountsValue } from './chart-accounts-value';
|
|
6
|
+
import { ChartAccountsTaxLabelsEnum } from './chart-accounts-tax-labels.enum';
|
|
6
7
|
export declare class ChartAccounts extends ChartAccountsBase {
|
|
7
8
|
/**
|
|
8
9
|
* Australian GST percent value (VAT)
|
|
@@ -97,4 +98,11 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
|
97
98
|
* except vehicle expense, which is equal to vehicleClaim.workUsage and personal, which is equal to 0
|
|
98
99
|
*/
|
|
99
100
|
isClaimPercentEditable(): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* get label for transaction tax field depended on selected chart account.
|
|
103
|
+
* tax type depends on chart account heading or category.
|
|
104
|
+
*/
|
|
105
|
+
getTaxLabel(): ChartAccountsTaxLabelsEnum;
|
|
106
|
+
isETP(): boolean;
|
|
107
|
+
isSalary(): boolean;
|
|
100
108
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './chart-accounts';
|
|
2
|
+
export * from './chart-accounts-categories.const';
|
|
3
|
+
export * from './chart-accounts-category.e-collection';
|
|
4
|
+
export * from './chart-accounts-depreciation';
|
|
5
|
+
export * from './chart-accounts-heading';
|
|
6
|
+
export * from './chart-accounts-metadata';
|
|
7
|
+
export * from './chart-accounts-tax-labels.enum';
|
|
8
|
+
export * from './chart-accounts-value';
|
package/lib/models/index.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ import { TransactionOperationEnum } from '../../db/Enums/transaction-operation.e
|
|
|
4
4
|
import { ChartAccountsMetadataListEnum } from '../../db/Enums/chart-accounts-metadata-list.enum';
|
|
5
5
|
import { Property } from '../property/property';
|
|
6
6
|
import { TransactionReceipt } from './transaction-receipt';
|
|
7
|
-
import { ChartAccounts } from '../chart-accounts
|
|
7
|
+
import { ChartAccounts } from '../chart-accounts';
|
|
8
8
|
import { IncomeSource } from '../income-source/income-source';
|
|
9
9
|
import { TransactionMetadata } from './transaction-metadata';
|
|
10
10
|
import { Loan } from '../loan/loan';
|
|
11
11
|
import { TransactionAllocation } from './transaction-allocation';
|
|
12
12
|
import { IReceipt } from '../../interfaces/receipt.interface';
|
|
13
|
-
import { TransactionAllocationCollection } from '../../collections
|
|
13
|
+
import { TransactionAllocationCollection } from '../../collections';
|
|
14
14
|
import { Depreciation } from '../depreciation/depreciation';
|
|
15
15
|
import { Expense } from '../../interfaces/expense.interface';
|
|
16
16
|
export declare class Transaction extends TransactionBase implements Expense, IReceipt {
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { Bank as BankBase } from '../../../db/Models/bank/bank';
|
|
2
2
|
import { Bank } from '../../../models/bank/bank';
|
|
3
|
-
import { RestService } from '../rest
|
|
3
|
+
import { RestService } from '../rest';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
+
import { Collection } from '../../../collections';
|
|
6
|
+
import { RestMethod } from '../rest';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
/**
|
|
7
9
|
* Service that handling banks logic
|
|
8
10
|
*/
|
|
9
|
-
export declare class BankService extends RestService<BankBase, Bank
|
|
11
|
+
export declare class BankService extends RestService<BankBase, Bank, Collection<Bank>> {
|
|
10
12
|
modelClass: typeof Bank;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
collectionClass: typeof Collection;
|
|
14
|
+
entityUrl: string;
|
|
15
|
+
isApiPlatform: boolean;
|
|
16
|
+
disabledMethods: RestMethod[];
|
|
17
|
+
get(): Observable<Collection<Bank>>;
|
|
14
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BankService, never>;
|
|
15
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<BankService>;
|
|
16
20
|
}
|
|
@@ -19,9 +19,8 @@ export declare class ChartAccountsService {
|
|
|
19
19
|
getChartAccounts(): Observable<ChartAccounts[]>;
|
|
20
20
|
/**
|
|
21
21
|
* Get list of chart accounts heading
|
|
22
|
-
* @param categories
|
|
23
22
|
*/
|
|
24
|
-
getChartAccountsHeadings(categories?: ChartAccountsCategoryEnum[]): Observable<ChartAccountsHeading[]>;
|
|
23
|
+
getChartAccountsHeadings(categories?: ChartAccountsCategoryEnum[], chartAccountsIds?: number[]): Observable<ChartAccountsHeading[]>;
|
|
25
24
|
/**
|
|
26
25
|
* Get heading of chart accounts by it Id
|
|
27
26
|
* @param id
|
|
@@ -3,8 +3,6 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { Transaction as TransactionBase } from '../../../db/Models/transaction/transaction';
|
|
4
4
|
import { RestService } from '../rest/rest-old.service';
|
|
5
5
|
import { Transaction } from '../../../models/transaction/transaction';
|
|
6
|
-
import { ChartAccounts } from '../../../models/chart-accounts/chart-accounts';
|
|
7
|
-
import { ChartAccountsTaxLabelsEnum } from '../../../models/chart-accounts/chart-accounts-tax-labels.enum';
|
|
8
6
|
import { TransactionReceiptService } from './transaction-receipt/transaction-receipt.service';
|
|
9
7
|
import { HttpClient } from '@angular/common/http';
|
|
10
8
|
import { EventDispatcherService } from '../../event/event-dispatcher.service';
|
|
@@ -78,11 +76,6 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
|
|
|
78
76
|
* @param transaction Transaction instance for calculation
|
|
79
77
|
*/
|
|
80
78
|
calculateGrossAmount(transaction: Transaction): number;
|
|
81
|
-
/**
|
|
82
|
-
* get label for transaction tax field depended of selected chart account.
|
|
83
|
-
* tax type depends of chart account heading or category.
|
|
84
|
-
*/
|
|
85
|
-
getTaxLabel(chartAccounts: ChartAccounts): ChartAccountsTaxLabelsEnum;
|
|
86
79
|
/**
|
|
87
80
|
* Listen to EventDispatcherService event related to Depreciation changing
|
|
88
81
|
*/
|