taxtank-core 0.28.9 → 0.28.10

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.
@@ -0,0 +1,3 @@
1
+ export * from './depreciation-lvp-asset-type.enum';
2
+ export * from './depreciation-lvp-report-item';
3
+ export * from './depreciation-report-item';
@@ -0,0 +1,5 @@
1
+ export * from './depreciation';
2
+ export * from './my-tax';
3
+ export * from './property';
4
+ export * from './sole';
5
+ export * from './vehicle-expense/vehicle-expense';
@@ -0,0 +1,3 @@
1
+ export * from './property-report-item';
2
+ export * from './property-report-item-depreciation';
3
+ export * from './property-report-item-transaction';
@@ -0,0 +1 @@
1
+ export * from './sole-business/sole-business-loss-report';
@@ -0,0 +1,25 @@
1
+ import { SoleBusinessLoss } from '../../../sole';
2
+ import { TransactionCollection } from '../../../../collections/transaction/transaction.collection';
3
+ import { DepreciationCollection } from '../../../../collections/depreciation.collection';
4
+ import { AbstractModel } from '../../../../db/Models/abstract-model';
5
+ /**
6
+ * Class with business loss details
7
+ * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4641357930/Rules+when+a+business+makes+a+loss+Tax+Summary
8
+ */
9
+ export declare class SoleBusinessLossReport extends AbstractModel {
10
+ /**
11
+ * Business prior year losses
12
+ */
13
+ openBalance: number;
14
+ /**
15
+ * Net income reduced by the opening balance amount, that will be carried over to the next year, if it is positive
16
+ */
17
+ closeBalance: number;
18
+ /**
19
+ * Net income reduced by the opening balance amount
20
+ */
21
+ taxableIncome: number;
22
+ netIncome: number;
23
+ constructor(loss: SoleBusinessLoss, transactions: TransactionCollection, depreciations: DepreciationCollection);
24
+ calculateTaxableIncome(): number;
25
+ }
@@ -1,5 +1,6 @@
1
1
  export * from './sole-business/sole-business.service';
2
2
  export * from './sole-business-activity/sole-business-activity.service';
3
+ export * from './sole-business-loss/sole-business-loss.service';
3
4
  export * from './sole-contact/sole-contact.service';
4
5
  export * from './sole-depreciation-method/sole-depreciation-method.service';
5
6
  export * from './sole-details/sole-details.service';
@@ -0,0 +1,11 @@
1
+ import { RestService } from '../../rest/rest.service';
2
+ import { SoleBusinessLoss as SoleBusinessLossBase } from '../../../../db/Models/sole/sole-business-loss';
3
+ import { SoleBusinessLoss } from '../../../../models';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SoleBusinessLossService extends RestService<SoleBusinessLossBase, SoleBusinessLoss> {
6
+ modelClass: typeof SoleBusinessLoss;
7
+ url: string;
8
+ isHydra: boolean;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SoleBusinessLossService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<SoleBusinessLossService>;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.9",
3
+ "version": "0.28.10",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",
package/public-api.d.ts CHANGED
@@ -245,13 +245,7 @@ export * from './lib/models/property/property-sale';
245
245
  export * from './lib/models/property/property-subscription';
246
246
  export * from './lib/models/property/property-valuation';
247
247
  export * from './lib/models/registration-invite/registration-invite';
248
- export * from './lib/models/report/depreciation/depreciation-lvp-report-item';
249
- export * from './lib/models/report/depreciation/depreciation-report-item';
250
- export * from './lib/models/report/depreciation/depreciation-lvp-asset-type.enum';
251
- export * from './lib/models/report/my-tax';
252
- export * from './lib/models/report/property/property-report-item';
253
- export * from './lib/models/report/property/property-report-item-transaction';
254
- export * from './lib/models/report/vehicle-expense/vehicle-expense';
248
+ export * from './lib/models/report';
255
249
  export * from './lib/models/service-subscription/module-url-list.const';
256
250
  export * from './lib/models/service-subscription/service-payment';
257
251
  export * from './lib/models/service-subscription/service-price';