taxtank-core 0.33.7 → 0.33.8
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/collections/depreciation.collection.mjs +10 -4
- package/esm2022/src/lib/collections/exportable.collection.mjs +2 -6
- package/esm2022/src/lib/collections/transaction/index.mjs +2 -1
- package/esm2022/src/lib/collections/transaction/transaction-base.collection.mjs +4 -0
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
- package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +7 -2
- package/esm2022/src/lib/models/report/report.interface.mjs +1 -1
- package/esm2022/src/lib/models/report/reports.const.mjs +107 -72
- package/esm2022/src/lib/models/user/user.mjs +18 -28
- package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +3 -1
- package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +3 -1
- package/esm2022/src/lib/services/http/property/property.service.mjs +3 -2
- package/fesm2022/taxtank-core.mjs +145 -108
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/depreciation.collection.d.ts +5 -2
- package/src/lib/collections/exportable.collection.d.ts +2 -2
- package/src/lib/collections/transaction/index.d.ts +1 -0
- package/src/lib/collections/transaction/transaction-base.collection.d.ts +4 -0
- package/src/lib/collections/transaction/transaction.collection.d.ts +2 -2
- package/src/lib/forms/transaction/transaction-base-filter.form.d.ts +3 -2
- package/src/lib/models/report/report.interface.d.ts +4 -3
- package/src/lib/models/report/reports.const.d.ts +2 -2
- package/src/lib/models/user/user.d.ts +2 -14
- package/src/lib/services/http/holding/holding-sale.service.d.ts +2 -0
- package/src/lib/services/http/property/property-sale/property-sale.service.d.ts +2 -0
- package/src/lib/services/http/property/property.service.d.ts +2 -0
@@ -1,10 +1,10 @@
|
|
1
1
|
import { TankTypeEnum } from '../db/Enums/tank-type.enum';
|
2
|
-
import { Collection } from './collection';
|
3
2
|
import uniqBy from 'lodash/uniqBy';
|
4
3
|
import compact from 'lodash/compact';
|
5
4
|
import { TransactionCollection } from './transaction';
|
6
5
|
import round from 'lodash/round';
|
7
|
-
|
6
|
+
import { TransactionBaseCollection } from './transaction';
|
7
|
+
export class DepreciationCollection extends TransactionBaseCollection {
|
8
8
|
getSoleDepreciations() {
|
9
9
|
return this.filter((depreciation) => depreciation.isSoleTank());
|
10
10
|
}
|
@@ -49,7 +49,7 @@ export class DepreciationCollection extends Collection {
|
|
49
49
|
return new DepreciationCollection(this.items.filter((depreciation) => !depreciation.isBorrowingExpense()));
|
50
50
|
}
|
51
51
|
getByChartAccountsCategories(categories) {
|
52
|
-
return this.
|
52
|
+
return this.filterBy('chartAccounts.category', categories);
|
53
53
|
}
|
54
54
|
getAssets() {
|
55
55
|
return this.filter((depreciation) => depreciation.isAsset());
|
@@ -100,5 +100,11 @@ export class DepreciationCollection extends Collection {
|
|
100
100
|
// work tank may have only one vehicle claim, so we need to filter by tank type
|
101
101
|
: this.getVehicleDepreciations().filterBy('tankType', TankTypeEnum.WORK);
|
102
102
|
}
|
103
|
+
getExportBody(params) {
|
104
|
+
return [];
|
105
|
+
}
|
106
|
+
getExportHeader() {
|
107
|
+
return [];
|
108
|
+
}
|
103
109
|
}
|
104
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwcmVjaWF0aW9uLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvZGVwcmVjaWF0aW9uLmNvbGxlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzFELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFMUMsT0FBTyxNQUFNLE1BQU0sZUFBZSxDQUFDO0FBQ25DLE9BQU8sT0FBTyxNQU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bnMgYnkgdmVoaWNsZSBjbGFpbS4gT25seSB2ZWhpY2xlIGRlcHJlY2lhdGlvbnMgbWF5IGJlIHJlbGF0ZWQgdG8gdmVoaWNsZSBjbGFpbVxuICAgKi9cbiAgZ2V0QnlWZWhpY2xlQ2xhaW0odmVoaWNsZUNsYWltOiBWZWhpY2xlQ2xhaW0pOiB0aGlzIHtcbiAgICByZXR1cm4gdmVoaWNsZUNsYWltLmlzU29sZVRhbmsoKVxuICAgICAgLy8gc29sZSB0YW5rIG1heSBoYXZlIG11bHRpcGxlIHZlaGljbGUgY2xhaW1zLCBzbyB3ZSBuZWVkIHRvIGZpbHRlciBieSBidXNpbmVzcy5pZFxuICAgICAgPyB0aGlzLmdldFZlaGljbGVEZXByZWNpYXRpb25zKCkuZmlsdGVyQnkoJ2J1c2luZXNzLmlkJywgdmVoaWNsZUNsYWltLmJ1c2luZXNzLmlkKVxuICAgICAgLy8gd29yayB0YW5rIG1heSBoYXZlIG9ubHkgb25lIHZlaGljbGUgY2xhaW0sIHNvIHdlIG5lZWQgdG8gZmlsdGVyIGJ5IHRhbmsgdHlwZVxuICAgICAgOiB0aGlzLmdldFZlaGljbGVEZXByZWNpYXRpb25zKCkuZmlsdGVyQnkoJ3RhbmtUeXBlJywgVGFua1R5cGVFbnVtLldPUkspO1xuICB9XG5cbiAgZ2V0RXhwb3J0Qm9keShwYXJhbXM6IG9iamVjdCk6IEV4cG9ydENlbGxbXVtdIHtcbiAgICByZXR1cm4gW107XG4gIH1cblxuICBnZXRFeHBvcnRIZWFkZXIoKTogc3RyaW5nW10ge1xuICAgIHJldHVybiBbXTtcbiAgfVxufVxuIl19
|
@@ -6,11 +6,7 @@ export class ExportableCollection extends Collection {
|
|
6
6
|
return [];
|
7
7
|
}
|
8
8
|
getBodyAoa(exportData) {
|
9
|
-
return exportData.body.map(row =>
|
10
|
-
return row.map(cell => {
|
11
|
-
return cell.value;
|
12
|
-
});
|
13
|
-
});
|
9
|
+
return exportData.body.map(row => row.map(cell => cell.value));
|
14
10
|
}
|
15
11
|
export(params) {
|
16
12
|
return plainToClass(ExportDataTable, {
|
@@ -20,4 +16,4 @@ export class ExportableCollection extends Collection {
|
|
20
16
|
});
|
21
17
|
}
|
22
18
|
}
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0YWJsZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2V4cG9ydGFibGUuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFJckUsTUFBTSxPQUFnQixvQkFBa0QsU0FBUSxVQUFpQjtJQUsvRixlQUFlO1FBQ2IsT0FBTyxFQUFFLENBQUM7SUFDWixDQUFDO0lBRUQsVUFBVSxDQUFDLFVBQVU7UUFDbkIsT0FBTyxVQUFVLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQTtJQUNoRSxDQUFDO0lBRUQsTUFBTSxDQUFDLE1BQVk7UUFDakIsT0FBTyxZQUFZLENBQUMsZUFBZSxFQUFFO1lBQ25DLE1BQU0sRUFBRSxJQUFJLENBQUMsZUFBZSxFQUFFO1lBQzlCLElBQUksRUFBRSxJQ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RhYmxlIHtcbiAgICByZXR1cm4gcGxhaW5Ub0NsYXNzKEV4cG9ydERhdGFUYWJsZSwge1xuICAgICAgaGVhZGVyOiB0aGlzLmdldEV4cG9ydEhlYWRlcigpLFxuICAgICAgYm9keTogdGhpcy5nZXRFeHBvcnRCb2R5KHBhcmFtcyksXG4gICAgICBmb290ZXI6IFt0aGlzLmdldEV4cG9ydEZvb3RlcigpXVxuICAgIH0pO1xuICB9XG59XG4iXX0=
|
@@ -1,3 +1,4 @@
|
|
1
1
|
export * from './transaction.collection';
|
2
2
|
export * from './transaction-allocation.collection';
|
3
|
-
|
3
|
+
export * from './transaction-base.collection';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvdHJhbnNhY3Rpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGNBQWMsK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RyYW5zYWN0aW9uLmNvbGxlY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi90cmFuc2FjdGlvbi1hbGxvY2F0aW9uLmNvbGxlY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi90cmFuc2FjdGlvbi1iYXNlLmNvbGxlY3Rpb24nO1xuIl19
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { ExportableCollection } from '../exportable.collection';
|
2
|
+
export class TransactionBaseCollection extends ExportableCollection {
|
3
|
+
}
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYmFzZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL3RyYW5zYWN0aW9uL3RyYW5zYWN0aW9uLWJhc2UuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUdoRSxNQUFNLE9BQWdCLHlCQUF5RCxTQUFRLG9CQUEyQjtDQUVqSCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEV4cG9ydGFibGVDb2xsZWN0aW9uIH0gZnJvbSAnLi4vZXhwb3J0YWJsZS5jb2xsZWN0aW9uJztcbmltcG9ydCB7IFRyYW5zYWN0aW9uQmFzZSB9IGZyb20gJy4uLy4uL2RiL01vZGVscyc7XG5cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBUcmFuc2FjdGlvbkJhc2VDb2xsZWN0aW9uPE1vZGVsIGV4dGVuZHMgVHJhbnNhY3Rpb25CYXNlPiBleHRlbmRzIEV4cG9ydGFibGVDb2xsZWN0aW9uPE1vZGVsPiB7XG5cbn1cbiJdfQ==
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import { Dictionary } from '../../models';
|
2
2
|
import { ChartAccountsListEnum } from '../../db/Enums';
|
3
3
|
import { TankTypeEnum } from '../../db/Enums/tank-type.enum';
|
4
|
-
import { ExportableCollection } from '../exportable.collection';
|
5
4
|
import { plainToClass } from 'class-transformer';
|
6
5
|
import { ExportCell } from '../../models/export/export-cell';
|
7
6
|
import { ExportCellTypeEnum } from '../../models/export/export-cell-type.enum';
|
8
7
|
import { Collection } from '../collection';
|
9
8
|
import { ChartData } from '../../models/chart/chart-data';
|
10
9
|
import { FinancialYear, MONTHS } from '../../models';
|
10
|
+
import { TransactionBaseCollection } from './transaction-base.collection';
|
11
11
|
/**
|
12
12
|
* Collection of transactions
|
13
13
|
*/
|
14
|
-
export class TransactionCollection extends
|
14
|
+
export class TransactionCollection extends TransactionBaseCollection {
|
15
15
|
/**
|
16
16
|
* we use depreciations as expense transactions a lot
|
17
17
|
*/
|
@@ -228,4 +228,4 @@ export class TransactionCollection extends ExportableCollection {
|
|
228
228
|
return this.filter(transaction => transaction.claimPercent > 0);
|
229
229
|
}
|
230
230
|
}
|
231
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy90cmFuc2FjdGlvbi90cmFuc2FjdGlvbi5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxVQUFVLEVBSVgsTUFBTSxjQUFjLENBQUM7QUFFdEIsT0FBTyxFQUE2QixxQkFBcUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xGLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUM3RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDakQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzdELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDJDQUEyQyxDQUFDO0FBQy9FLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFNBQVMsRUFBRSx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PiB0cmFuc2FjdGlvbi5jbGFpbVBlcmNlbnQgPiAwKTtcbiAgfVxufVxuIl19
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
2
2
|
import { TankTypeEnum } from '../../db/Enums/tank-type.enum';
|
3
3
|
export class TransactionBaseFilterForm extends FormGroup {
|
4
|
-
constructor(tankType, business) {
|
4
|
+
constructor(tankType, business, properties) {
|
5
5
|
super({
|
6
6
|
tankType: new FormControl(tankType),
|
7
7
|
business: new FormControl({ value: business, disabled: true }),
|
8
|
+
properties: new FormControl({ value: properties, disabled: true }),
|
8
9
|
dateFrom: new FormControl(),
|
9
10
|
dateTo: new FormControl(),
|
10
11
|
});
|
@@ -13,6 +14,7 @@ export class TransactionBaseFilterForm extends FormGroup {
|
|
13
14
|
listenEvents() {
|
14
15
|
this.get('tankType').valueChanges.subscribe(tankType => {
|
15
16
|
tankType === TankTypeEnum.SOLE ? this.get('business').enable() : this.get('business').disable();
|
17
|
+
tankType === TankTypeEnum.PROPERTY ? this.get('properties').enable() : this.get('properties').disable();
|
16
18
|
});
|
17
19
|
}
|
18
20
|
filter(collection) {
|
@@ -29,7 +31,10 @@ export class TransactionBaseFilterForm extends FormGroup {
|
|
29
31
|
if (value.business) {
|
30
32
|
collection = collection.filterBy('business.id', value.business.id);
|
31
33
|
}
|
34
|
+
if (value.properties) {
|
35
|
+
collection = collection.filterBy('property.id', value.properties.map(property => property.id));
|
36
|
+
}
|
32
37
|
return collection;
|
33
38
|
}
|
34
39
|
}
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYmFzZS1maWx0ZXIuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtc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GVjdGlvbi5maWx0ZXJCeSgncHJvcGVydHkuaWQnLCB2YWx1ZS5wcm9wZXJ0aWVzLm1hcChwcm9wZXJ0eSA9PiBwcm9wZXJ0eS5pZCkpO1xuICAgIH1cblxuICAgIHJldHVybiBjb2xsZWN0aW9uO1xuICB9XG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvcmVwb3J0L3JlcG9ydC5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVJlcG9ydCB7XG4gIHRpdGxlOiBzdHJpbmc7XG4gIGRlc2NyaXB0aW9uOiBzdHJpbmc7XG4gIHJvdXRlckxpbms6IHN0cmluZztcbiAgcXVlcnlQYXJhbXM/OiB7IFtrZXk6IHN0cmluZ106IG51bWJlciB9O1xufVxuIl19
|
@@ -1,73 +1,108 @@
|
|
1
1
|
import { UserRolesEnum } from 'taxtank-core/common';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
2
|
+
export const REPORTS = {
|
3
|
+
[UserRolesEnum.CLIENT]: [
|
4
|
+
// @TODO TT-4385
|
5
|
+
// {
|
6
|
+
// title: 'Income & Expense Report',
|
7
|
+
// description: 'Income and expense report with prior year comparison and monthly view option. Filter by Tank, property, business or personal categories.',
|
8
|
+
// routerLink: './income-expense',
|
9
|
+
// },
|
10
|
+
{
|
11
|
+
title: 'Transactions Report',
|
12
|
+
description: 'Detailed report of the transactions allocated to each category. Filter by tank, property, business or your own search criteria.',
|
13
|
+
routerLink: './transactions',
|
14
|
+
},
|
15
|
+
{
|
16
|
+
title: 'MyTax Report',
|
17
|
+
description: 'Coded to the ATO\'s MyTax report, our interactive report enable you to self lodge faster, easier and more accurately online without the stress.',
|
18
|
+
routerLink: './my-tax',
|
19
|
+
},
|
20
|
+
{
|
21
|
+
title: 'Net Asset',
|
22
|
+
description: 'See your current net financial position, including a breakdown of net assets and liabilities across all tanks.',
|
23
|
+
routerLink: './net-assets',
|
24
|
+
},
|
25
|
+
],
|
26
|
+
[UserRolesEnum.WORK_TANK]: [
|
27
|
+
{
|
28
|
+
title: 'Motor Vehicle Report',
|
29
|
+
description: 'Displays work-related vehicle expenses based upon your logbook claim method or percentage.',
|
30
|
+
routerLink: './vehicle-expenses',
|
31
|
+
queryParams: { tankType: 2 }
|
32
|
+
},
|
33
|
+
{
|
34
|
+
title: 'Depreciation Report',
|
35
|
+
description: 'Register of plant & equipment depreciation including vehicles and work-related assets over $300.',
|
36
|
+
routerLink: './depreciation',
|
37
|
+
queryParams: { tankType: 2 }
|
38
|
+
},
|
39
|
+
{
|
40
|
+
title: 'Low Value Pool Report',
|
41
|
+
description: 'Register of new assets valued between $301 and $1,000 and existing assets that fall below the $1,000 threshold.',
|
42
|
+
routerLink: './low-value-pool',
|
43
|
+
queryParams: { tankType: 2 }
|
44
|
+
},
|
45
|
+
],
|
46
|
+
[UserRolesEnum.PROPERTY_TANK]: [
|
47
|
+
{
|
48
|
+
title: 'Property Schedule',
|
49
|
+
description: 'Compliant property schedule detailing incomes, expenses and depreciation for each property and ownership percentage.',
|
50
|
+
routerLink: './property-transactions',
|
51
|
+
},
|
52
|
+
{
|
53
|
+
title: 'Depreciation Report',
|
54
|
+
description: 'Register of building & improvements depreciation (capital works) and plant & equipment depreciation for each property.',
|
55
|
+
routerLink: './depreciation',
|
56
|
+
queryParams: { tankType: 1 }
|
57
|
+
},
|
58
|
+
{
|
59
|
+
title: 'Low Value Pool Report',
|
60
|
+
description: 'Register of new assets valued between $301 and $1,000 and existing assets that fall below the $1,000 threshold.',
|
61
|
+
routerLink: './low-value-pool',
|
62
|
+
queryParams: { tankType: 1 }
|
63
|
+
},
|
64
|
+
{
|
65
|
+
title: 'CGT Report',
|
66
|
+
description: 'Calculate net capital gains across all asset classes, including the application of losses and eligible concessions.',
|
67
|
+
routerLink: './cgt/property',
|
68
|
+
},
|
69
|
+
],
|
70
|
+
[UserRolesEnum.SOLE_TANK]: [
|
71
|
+
{
|
72
|
+
title: 'Business Schedule',
|
73
|
+
description: 'Compliant schedule detailing profit and loss for each primary and non-primary production business.',
|
74
|
+
routerLink: './business-schedule',
|
75
|
+
},
|
76
|
+
{
|
77
|
+
title: 'Motor Vehicle Report',
|
78
|
+
description: 'Displays work-related vehicle expenses based upon your logbook claim method or percentage.',
|
79
|
+
routerLink: './vehicle-expenses',
|
80
|
+
queryParams: { tankType: 4 }
|
81
|
+
},
|
82
|
+
{
|
83
|
+
title: 'Depreciation Report',
|
84
|
+
description: 'Track small business pool depreciation, instant asset write-offs and plant & equipment.',
|
85
|
+
routerLink: './depreciation',
|
86
|
+
queryParams: { tankType: 4 }
|
87
|
+
},
|
88
|
+
{
|
89
|
+
title: 'Low Value Pool Report',
|
90
|
+
description: 'Register of new assets valued between $301 and $1,000 and existing assets that fall below the $1,000 threshold.',
|
91
|
+
routerLink: './low-value-pool',
|
92
|
+
queryParams: { tankType: 4 }
|
93
|
+
},
|
94
|
+
{
|
95
|
+
title: 'BAS Report',
|
96
|
+
description: 'Summarises your GST obligations from applicable sales and purchases to enable accurate ATO lodgements.',
|
97
|
+
routerLink: './bas',
|
98
|
+
},
|
99
|
+
],
|
100
|
+
[UserRolesEnum.HOLDING_TANK]: [
|
101
|
+
{
|
102
|
+
title: 'CGT Report',
|
103
|
+
description: 'Calculate net capital gains across all asset classes, including the application of losses and eligible concessions.',
|
104
|
+
routerLink: './cgt/holding',
|
105
|
+
},
|
106
|
+
],
|
107
|
+
};
|
108
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0cy5jb25zdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvcmVwb3J0L3JlcG9ydHMuY29uc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBRXBELE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBOEM7SUFDaEUsQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLEVBQUU7UUFDdEIsZ0JBQWdCO1FBQ2hCLElBQUk7UUFDSixzQ0FBc0M7UUFDdEMsNkpBQTZKO1FBQzdKLG9DQUFvQztRQUNwQyxLQUFLO1FBQ0w7WUFD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