taxtank-core 0.33.46 → 0.33.47
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/index.mjs +2 -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 +39 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +20 -66
- package/esm2022/src/lib/db/Enums/chart-accounts/home-office-chart-accounts.enum.mjs +18 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +3 -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 +34 -2
- package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
- 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 +3 -0
- package/esm2022/src/lib/forms/index.mjs +2 -1
- package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +17 -11
- package/esm2022/src/lib/models/endpoint/endpoint.mjs +1 -1
- package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +4 -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 +26 -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 +6 -3
- 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-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/fesm2022/taxtank-core.mjs +368 -161
- 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/index.d.ts +1 -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 +37 -0
- package/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +20 -66
- package/src/lib/db/Enums/chart-accounts/home-office-chart-accounts.enum.d.ts +16 -0
- package/src/lib/db/Enums/chart-accounts/index.d.ts +2 -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 +10 -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 +2 -0
- package/src/lib/forms/index.d.ts +1 -0
- package/src/lib/models/chart-accounts/chart-accounts.d.ts +3 -1
- package/src/lib/models/home-office/home-office-claim.d.ts +22 -0
- package/src/lib/models/home-office/home-office-claim.interface.d.ts +17 -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 +1 -0
- 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-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
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkcmVzcy1jb3JlbG9naWMudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3ZhbGlkYXRvcnMvYWRkcmVzcy1jb3JlbG9naWMudmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBOzs7R0FHRztBQUNILE1BQU0sVUFBVSx5QkFBeUI7SUFDdkMsT0FBTyxDQUFDLElBQWlCLEVBQW9CLEVBQUU7UUFDN0MsbUVBQW1FO1FBQ25FLElBQUksQ0FBQyxJQUFJLENBQUMsbUJBQW1CLEVBQUUsRUFBRTtZQUMvQixPQUFPLElBQUksQ0FBQztTQUNiO1FBRUQsK0RBQStEO1FBQy9ELE1BQU0sWUFBWSxHQUFnQixJQUFJLENBQUMsR0FBRyxDQUFDLGdCQUFnQixDQUFnQ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IGxlYXN0IGNvcmVsb2dpYyBsb2NhbGl0eSBpZCB0byBnZXQgZ3Jvd3RoIHBlcmNlbnRcbiAgICBjb25zdCBsb2NJZENvbnRyb2w6IEZvcm1Db250cm9sID0gZm9ybS5nZXQoJ2NvcmVsb2dpY0xvY0lkJykgYXMgRm9ybUNvbnRyb2w7XG5cbiAgICBpZiAobG9jSWRDb250cm9sLmVuYWJsZWQgJiYgbG9jSWRDb250cm9sLmhhc0Vycm9yKCdyZXF1aXJlZCcpKSB7XG4gICAgICByZXR1cm4geyBhZGRyZXNzOiAnQ2l0eSwgc3RhdGUgb3IgcG9zdGFsIGNvZGUgbm90IHNwZWNpZmllZCcgfTtcbiAgICB9XG5cbiAgICByZXR1cm4gbnVsbDtcbiAgfTtcbn1cbiJdfQ==
|
@@ -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
|