taxtank-core 0.33.46 → 0.33.48
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/collections/chart-accounts/chart-accounts-value.collection.mjs +20 -0
- package/esm2022/src/lib/collections/chart-accounts/index.mjs +2 -0
- package/esm2022/src/lib/collections/chart-accounts.collection.mjs +2 -2
- package/esm2022/src/lib/collections/collection.mjs +2 -2
- package/esm2022/src/lib/collections/home-office/home-office-claim.collection.mjs +7 -0
- package/esm2022/src/lib/collections/home-office/index.mjs +2 -0
- package/esm2022/src/lib/collections/index.mjs +3 -1
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
- package/esm2022/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.mjs} +1 -1
- package/esm2022/src/lib/db/Enums/{allocation-rule-condition-field.enum.mjs → bank/allocation-rule/allocation-rule-condition-field.enum.mjs} +1 -1
- package/esm2022/src/lib/db/Enums/{allocation-rule-condition-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-operator.enum.mjs} +1 -1
- package/esm2022/src/lib/db/Enums/bank/allocation-rule/allocation-rule-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/allocation-rule/index.mjs +5 -0
- package/esm2022/src/lib/db/Enums/bank/index.mjs +2 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.mjs +48 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +25 -66
- package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +2 -3
- package/esm2022/src/lib/db/Enums/home-office/home-office-claim-method.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/home-office/index.mjs +2 -0
- package/esm2022/src/lib/db/Enums/index.mjs +2 -6
- package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +2 -2
- package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +1 -2
- package/esm2022/src/lib/db/Models/sole/sole-business.mjs +2 -1
- package/esm2022/src/lib/db/Models/sole/sole-details.mjs +2 -1
- package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
- package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +2 -1
- package/esm2022/src/lib/forms/abstract.form.mjs +36 -4
- package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
- package/esm2022/src/lib/forms/home-office/home-office-calculator.form.mjs +25 -0
- package/esm2022/src/lib/forms/home-office/home-office-claim.form.mjs +47 -0
- package/esm2022/src/lib/forms/home-office/home-office-log.form.mjs +15 -0
- package/esm2022/src/lib/forms/home-office/index.mjs +4 -0
- package/esm2022/src/lib/forms/index.mjs +2 -1
- package/esm2022/src/lib/forms/transaction/work/work-expense.form.mjs +15 -2
- package/esm2022/src/lib/models/bank/bank-transaction-chart-data.mjs +2 -3
- package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +36 -11
- package/esm2022/src/lib/models/dictionary/dictionary.mjs +3 -2
- package/esm2022/src/lib/models/endpoint/endpoint.mjs +1 -1
- package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +8 -1
- package/esm2022/src/lib/models/home-office/home-office-claim.interface.mjs +2 -0
- package/esm2022/src/lib/models/home-office/home-office-claim.mjs +46 -0
- package/esm2022/src/lib/models/home-office/home-office-log.interface.mjs +2 -0
- package/esm2022/src/lib/models/home-office/home-office-log.mjs +14 -0
- package/esm2022/src/lib/models/home-office/index.mjs +5 -0
- package/esm2022/src/lib/models/index.mjs +2 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +14 -14
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +18 -18
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +12 -12
- package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +25 -2
- package/esm2022/src/lib/models/transaction/transaction.mjs +10 -4
- package/esm2022/src/lib/services/data.service.mjs +2 -2
- package/esm2022/src/lib/services/http/home-office/home-office-claim-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/home-office/home-office-claim.service.mjs +23 -0
- package/esm2022/src/lib/services/http/home-office/home-office-log-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/home-office/home-office-log.service.mjs +23 -0
- package/esm2022/src/lib/services/http/home-office/index.mjs +5 -0
- package/esm2022/src/lib/services/http/index.mjs +3 -1
- package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +8 -1
- package/esm2022/src/lib/services/http/rest/rest.service.mjs +24 -5
- package/esm2022/src/lib/services/http/rest-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +9 -5
- package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +4 -12
- package/esm2022/src/lib/validators/current-fin-year.validator.mjs +3 -2
- package/fesm2022/taxtank-core.mjs +485 -170
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/chart-accounts/chart-accounts-value.collection.d.ts +12 -0
- package/src/lib/collections/chart-accounts/index.d.ts +1 -0
- package/src/lib/collections/collection.d.ts +1 -1
- package/src/lib/collections/home-office/home-office-claim.collection.d.ts +5 -0
- package/src/lib/collections/home-office/index.d.ts +1 -0
- package/src/lib/collections/index.d.ts +2 -0
- package/src/lib/db/Enums/bank/allocation-rule/index.d.ts +4 -0
- package/src/lib/db/Enums/bank/index.d.ts +1 -0
- package/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.d.ts +46 -0
- package/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +24 -65
- package/src/lib/db/Enums/chart-accounts/index.d.ts +1 -2
- package/src/lib/db/Enums/home-office/home-office-claim-method.enum.d.ts +5 -0
- package/src/lib/db/Enums/home-office/index.d.ts +1 -0
- package/src/lib/db/Enums/index.d.ts +1 -4
- package/src/lib/db/Models/depreciation/depreciation.d.ts +0 -1
- package/src/lib/db/Models/sole/sole-business.d.ts +1 -0
- package/src/lib/db/Models/sole/sole-details.d.ts +1 -0
- package/src/lib/db/Models/user/user.d.ts +1 -1
- package/src/lib/db/Models/vehicle/vehicle-claim.d.ts +1 -0
- package/src/lib/forms/abstract.form.d.ts +11 -1
- package/src/lib/forms/home-office/home-office-calculator.form.d.ts +8 -0
- package/src/lib/forms/home-office/home-office-claim.form.d.ts +12 -0
- package/src/lib/forms/home-office/home-office-log.form.d.ts +5 -0
- package/src/lib/forms/home-office/index.d.ts +3 -0
- package/src/lib/forms/index.d.ts +1 -0
- package/src/lib/forms/transaction/work/work-expense.form.d.ts +4 -2
- package/src/lib/models/bank/bank-transaction-chart-data.d.ts +2 -2
- package/src/lib/models/chart-accounts/chart-accounts.d.ts +5 -1
- package/src/lib/models/dictionary/dictionary.d.ts +2 -2
- package/src/lib/models/home-office/home-office-claim.d.ts +26 -0
- package/src/lib/models/home-office/home-office-claim.interface.d.ts +20 -0
- package/src/lib/models/home-office/home-office-log.d.ts +11 -0
- package/src/lib/models/home-office/home-office-log.interface.d.ts +9 -0
- package/src/lib/models/home-office/index.d.ts +4 -0
- package/src/lib/models/index.d.ts +1 -0
- package/src/lib/models/sole/sole-invoice-item.d.ts +2 -1
- package/src/lib/models/transaction/transaction.d.ts +3 -1
- package/src/lib/services/http/home-office/home-office-claim-messages.enum.d.ts +6 -0
- package/src/lib/services/http/home-office/home-office-claim.service.d.ts +12 -0
- package/src/lib/services/http/home-office/home-office-log-messages.enum.d.ts +6 -0
- package/src/lib/services/http/home-office/home-office-log.service.d.ts +12 -0
- package/src/lib/services/http/home-office/index.d.ts +4 -0
- package/src/lib/services/http/index.d.ts +2 -0
- package/src/lib/services/http/rest/rest-old.service.d.ts +4 -0
- package/src/lib/services/http/rest/rest.service.d.ts +1 -0
- package/src/lib/services/http/rest-messages.enum.d.ts +5 -0
- package/src/lib/services/http/transaction/transaction.service.d.ts +1 -0
- package/src/lib/services/json/chart-accounts/chart-accounts-value.service.d.ts +3 -7
- package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +0 -7
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +0 -25
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +0 -6
- package/esm2022/src/lib/validators/address-corelogic.validator.mjs +0 -19
- package/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.d.ts +0 -23
- package/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +0 -4
- package/src/lib/validators/address-corelogic.validator.d.ts +0 -6
- /package/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.d.ts} +0 -0
- /package/src/lib/db/Enums/{allocation-rule-condition-field.enum.d.ts → bank/allocation-rule/allocation-rule-condition-field.enum.d.ts} +0 -0
- /package/src/lib/db/Enums/{allocation-rule-condition-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-operator.enum.d.ts} +0 -0
- /package/src/lib/db/Enums/{allocation-rule-type.enum.d.ts → bank/allocation-rule/allocation-rule-type.enum.d.ts} +0 -0
@@ -112,6 +112,10 @@ export declare abstract class RestService<BaseModel, Model extends BaseModel> {
|
|
112
112
|
* @param model instance that we will use as constructor options
|
113
113
|
*/
|
114
114
|
protected createModelInstance(model: BaseModel | object): Model;
|
115
|
+
/**
|
116
|
+
* never return cache directly to prevent update
|
117
|
+
*/
|
118
|
+
getCache(): Model[];
|
115
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService<any, any>, never>;
|
116
120
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService<any, any>>;
|
117
121
|
}
|
@@ -10,6 +10,7 @@ import { UserRolesEnum } from 'taxtank-core/common';
|
|
10
10
|
import { ToastService } from '../../toast';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
/**
|
13
|
+
* @TODO refactor to behavior subject?
|
13
14
|
* Abstract base service that implements common services functionality
|
14
15
|
* and describe abstract methods/properties that have to be implemented in child services
|
15
16
|
* Model - entity service is working with
|
@@ -72,6 +72,7 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
|
|
72
72
|
*/
|
73
73
|
private listenDepreciationChange;
|
74
74
|
private listenVehicleClaimChanges;
|
75
|
+
private listenHomeOfficeClaim;
|
75
76
|
/**
|
76
77
|
* property forecast includes claimPercent which affects property related expenses
|
77
78
|
* @TODO Alex move to forecast api instead of property
|
@@ -1,16 +1,12 @@
|
|
1
1
|
import { ChartAccountsValue as ChartAccountsValueBase } from '../../../db/Models';
|
2
|
-
import {
|
2
|
+
import { ChartAccountsValueCollection } from '../../../collections';
|
3
3
|
import { ChartAccountsValue } from '../../../models';
|
4
4
|
import { DataService } from '../../data.service';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class ChartAccountsValueService extends DataService<ChartAccountsValueBase, ChartAccountsValue,
|
6
|
+
export declare class ChartAccountsValueService extends DataService<ChartAccountsValueBase, ChartAccountsValue, ChartAccountsValueCollection> {
|
7
7
|
modelClass: typeof ChartAccountsValue;
|
8
|
-
collectionClass: typeof
|
8
|
+
collectionClass: typeof ChartAccountsValueCollection;
|
9
9
|
constructor();
|
10
|
-
/**
|
11
|
-
* $ amount u can claim per 1km
|
12
|
-
*/
|
13
|
-
getKmsRate(isSole: boolean): number;
|
14
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChartAccountsValueService, never>;
|
15
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<ChartAccountsValueService>;
|
16
12
|
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export var AllocationRuleTypeEnum;
|
2
|
-
(function (AllocationRuleTypeEnum) {
|
3
|
-
AllocationRuleTypeEnum[AllocationRuleTypeEnum["EXPENSE"] = 1] = "EXPENSE";
|
4
|
-
AllocationRuleTypeEnum[AllocationRuleTypeEnum["INCOME"] = 2] = "INCOME";
|
5
|
-
AllocationRuleTypeEnum[AllocationRuleTypeEnum["TRANSFER"] = 3] = "TRANSFER";
|
6
|
-
})(AllocationRuleTypeEnum || (AllocationRuleTypeEnum = {}));
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ydWxlLXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9FbnVtcy9hbGxvY2F0aW9uLXJ1bGUtdHlwZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLHNCQUlYO0FBSkQsV0FBWSxzQkFBc0I7SUFDakMseUVBQVcsQ0FBQTtJQUNYLHVFQUFVLENBQUE7SUFDViwyRUFBWSxDQUFBO0FBQ2IsQ0FBQyxFQUpXLHNCQUFzQixLQUF0QixzQkFBc0IsUUFJakMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBBbGxvY2F0aW9uUnVsZVR5cGVFbnVtIHtcblx0RVhQRU5TRSA9IDEsXG5cdElOQ09NRSA9IDIsXG5cdFRSQU5TRkVSID0gMyxcbn1cbiJdfQ==
|
@@ -1,25 +0,0 @@
|
|
1
|
-
export var ChartAccountsInvoiceEnum;
|
2
|
-
(function (ChartAccountsInvoiceEnum) {
|
3
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PSI_ABN_NOT_QUOTED_N"] = 294] = "PSI_ABN_NOT_QUOTED_N";
|
4
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PSI_LABOUR_HIRE_OR_OTHER_O"] = 295] = "PSI_LABOUR_HIRE_OR_OTHER_O";
|
5
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PSI_VOLUNTARY_AGREEMENT_M"] = 296] = "PSI_VOLUNTARY_AGREEMENT_M";
|
6
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["SALES"] = 665] = "SALES";
|
7
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["LABOUR"] = 666] = "LABOUR";
|
8
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["UBER_INCOME"] = 667] = "UBER_INCOME";
|
9
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["COMMISSION"] = 668] = "COMMISSION";
|
10
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PARTS_CONSUMABLES"] = 669] = "PARTS_CONSUMABLES";
|
11
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["OTHER_BUSINESS_INCOME"] = 670] = "OTHER_BUSINESS_INCOME";
|
12
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["ASSESSIBLE_GOVERNMENT_PAYMENTS"] = 671] = "ASSESSIBLE_GOVERNMENT_PAYMENTS";
|
13
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["GROSS_PAYMENTS_NO_ABN_GIVEN"] = 672] = "GROSS_PAYMENTS_NO_ABN_GIVEN";
|
14
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["GROSS_PAYMENTS_VOLUNTARY_AGREEMENT"] = 673] = "GROSS_PAYMENTS_VOLUNTARY_AGREEMENT";
|
15
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS"] = 674] = "GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS";
|
16
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PSI_OTHER_J"] = 858] = "PSI_OTHER_J";
|
17
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["OTHER_ASSESSABLE_PAYMENTS"] = 861] = "OTHER_ASSESSABLE_PAYMENTS";
|
18
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["JOBKEEPER"] = 862] = "JOBKEEPER";
|
19
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["GST_REFUND"] = 864] = "GST_REFUND";
|
20
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["INTEREST_EARNED"] = 879] = "INTEREST_EARNED";
|
21
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["PAYG_INSTALLMENTS"] = 878] = "PAYG_INSTALLMENTS";
|
22
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["CONTRACTORS_COMMISSION"] = 676] = "CONTRACTORS_COMMISSION";
|
23
|
-
ChartAccountsInvoiceEnum[ChartAccountsInvoiceEnum["SUPPERANNUATION"] = 677] = "SUPPERANNUATION";
|
24
|
-
})(ChartAccountsInvoiceEnum || (ChartAccountsInvoiceEnum = {}));
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtYWNjb3VudHMtaW52b2ljZS5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL0VudW1zL2NoYXJ0LWFjY291bnRzL2NoYXJ0LWFjY291bnRzLWludm9pY2UuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSx3QkFzQlg7QUF0QkQsV0FBWSx3QkFBd0I7SUFDbEMseUdBQTBCLENBQUE7SUFDMUIscUhBQWdDLENBQUE7SUFDaEMsbUhBQStCLENBQUE7SUFDL0IsMkVBQVcsQ0FBQTtJQUNYLDZFQUFZLENBQUE7SUFDWix1RkFBaUIsQ0FBQTtJQUNqQixxRkFBZ0IsQ0FBQTtJQUNoQixtR0FBdUIsQ0FBQTtJQUN2QiwyR0FBMkIsQ0FBQTtJQUMzQiw2SE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ODYxLFxuICBKT0JLRUVQRVIgPSA4NjIsXG4gIEdTVF9SRUZVTkQgPSA4NjQsXG4gIElOVEVSRVNUX0VBUk5FRCA9IDg3OSxcbiAgUEFZR19JTlNUQUxMTUVOVFMgPSA4NzgsXG4gIENPTlRSQUNUT1JTX0NPTU1JU1NJT04gPSA2NzYsXG4gIFNVUFBFUkFOTlVBVElPTiA9IDY3Nyxcbn1cbiJdfQ==
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export var ChartAccountsUnallocatableListEnum;
|
2
|
-
(function (ChartAccountsUnallocatableListEnum) {
|
3
|
-
ChartAccountsUnallocatableListEnum[ChartAccountsUnallocatableListEnum["HOME_OFFICE_WORK_HOURS"] = 103] = "HOME_OFFICE_WORK_HOURS";
|
4
|
-
ChartAccountsUnallocatableListEnum[ChartAccountsUnallocatableListEnum["HOME_OFFICE_SOLE_HOURS"] = 888] = "HOME_OFFICE_SOLE_HOURS";
|
5
|
-
})(ChartAccountsUnallocatableListEnum || (ChartAccountsUnallocatableListEnum = {}));
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtYWNjb3VudHMtdW5hbGxvY2F0YWJsZS1saXN0LmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvY2hhcnQtYWNjb3VudHMvY2hhcnQtYWNjb3VudHMtdW5hbGxvY2F0YWJsZS1saXN0LmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksa0NBR1g7QUFIRCxXQUFZLGtDQUFrQztJQUM1QyxpSUFBNEIsQ0FBQTtJQUM1QixpSUFBNEIsQ0FBQTtBQUM5QixDQUFDLEVBSFcsa0NBQWtDLEtBQWxDLGtDQUFrQyxRQUc3QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIENoYXJ0QWNjb3VudHNVbmFsbG9jYXRhYmxlTGlzdEVudW0ge1xuICBIT01FX09GRklDRV9XT1JLX0hPVVJTID0gMTAzLFxuICBIT01FX09GRklDRV9TT0xFX0hPVVJTID0gODg4LFxufVxuIl19
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @TODO not used temporary, waiting for corelogic support response why it can't find some suburbs (like Hamilton Island)
|
3
|
-
* Validator for address, check if corelogic suggestion selected correctly
|
4
|
-
*/
|
5
|
-
export function addressCorelogicValidator() {
|
6
|
-
return (form) => {
|
7
|
-
// we are interested in corelogic ids only for Australian addresses
|
8
|
-
if (!form.isAustraliaSelected()) {
|
9
|
-
return null;
|
10
|
-
}
|
11
|
-
// we need at least corelogic locality id to get growth percent
|
12
|
-
const locIdControl = form.get('corelogicLocId');
|
13
|
-
if (locIdControl.enabled && locIdControl.hasError('required')) {
|
14
|
-
return { address: 'City, state or postal code not specified' };
|
15
|
-
}
|
16
|
-
return null;
|
17
|
-
};
|
18
|
-
}
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkcmVzcy1jb3JlbG9naWMudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3ZhbGlkYXRvcnMvYWRkcmVzcy1jb3JlbG9naWMudmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBOzs7R0FHRztBQUNILE1BQU0sVUFBVSx5QkFBeUI7SUFDdkMsT0FBTyxDQUFDLElBQWlCLEVBQW9CLEVBQUU7UUFDN0MsbUVBQW1FO1FBQ25FLElBQUksQ0FBQyxJQUFJLENBQUMsbUJBQW1CLEVBQUUsRUFBRTtZQUMvQixPQUFPLElBQUksQ0FBQztTQUNiO1FBRUQs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TZWxlY3RlZCgpKSB7XG4gICAgICByZXR1cm4gbnVsbDtcbiAgICB9XG5cbiAgICAvLyB3ZSBuZWVkIGF0IGxlYXN0IGNvcmVsb2dpYyBsb2NhbGl0eSBpZCB0byBnZXQgZ3Jvd3RoIHBlcmNlbnRcbiAgICBjb25zdCBsb2NJZENvbnRyb2w6IEZvcm1Db250cm9sID0gZm9ybS5nZXQoJ2NvcmVsb2dpY0xvY0lkJykgYXMgRm9ybUNvbnRyb2w7XG5cbiAgICBpZiAobG9jSWRDb250cm9sLmVuYWJsZWQgJiYgbG9jSWRDb250cm9sLmhhc0Vycm9yKCdyZXF1aXJlZCcpKSB7XG4gICAgICByZXR1cm4geyBhZGRyZXNzOiAnQ2l0eSwgc3RhdGUgb3IgcG9zdGFsIGNvZGUgbm90IHNwZWNpZmllZCcgfTtcbiAgICB9XG5cbiAgICByZXR1cm4gbnVsbDtcbiAgfTtcbn1cbiJdfQ==
|
@@ -1,23 +0,0 @@
|
|
1
|
-
export declare enum ChartAccountsInvoiceEnum {
|
2
|
-
PSI_ABN_NOT_QUOTED_N = 294,
|
3
|
-
PSI_LABOUR_HIRE_OR_OTHER_O = 295,
|
4
|
-
PSI_VOLUNTARY_AGREEMENT_M = 296,
|
5
|
-
SALES = 665,
|
6
|
-
LABOUR = 666,
|
7
|
-
UBER_INCOME = 667,
|
8
|
-
COMMISSION = 668,
|
9
|
-
PARTS_CONSUMABLES = 669,
|
10
|
-
OTHER_BUSINESS_INCOME = 670,
|
11
|
-
ASSESSIBLE_GOVERNMENT_PAYMENTS = 671,
|
12
|
-
GROSS_PAYMENTS_NO_ABN_GIVEN = 672,
|
13
|
-
GROSS_PAYMENTS_VOLUNTARY_AGREEMENT = 673,
|
14
|
-
GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS = 674,
|
15
|
-
PSI_OTHER_J = 858,
|
16
|
-
OTHER_ASSESSABLE_PAYMENTS = 861,
|
17
|
-
JOBKEEPER = 862,
|
18
|
-
GST_REFUND = 864,
|
19
|
-
INTEREST_EARNED = 879,
|
20
|
-
PAYG_INSTALLMENTS = 878,
|
21
|
-
CONTRACTORS_COMMISSION = 676,
|
22
|
-
SUPPERANNUATION = 677
|
23
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
2
|
-
/**
|
3
|
-
* @TODO not used temporary, waiting for corelogic support response why it can't find some suburbs (like Hamilton Island)
|
4
|
-
* Validator for address, check if corelogic suggestion selected correctly
|
5
|
-
*/
|
6
|
-
export declare function addressCorelogicValidator(): ValidatorFn;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|