taxtank-core 0.32.126 → 0.32.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/esm2022/lib/db/Models/incomeSource/income-source-forecast.mjs +1 -1
  2. package/esm2022/lib/db/Models/incomeSource/salary-forecast.mjs +1 -1
  3. package/esm2022/lib/db/Models/property/property-forecast.mjs +1 -1
  4. package/esm2022/lib/db/Models/sole/sole-business-loss.mjs +1 -1
  5. package/esm2022/lib/db/Models/sole/sole-forecast.mjs +1 -1
  6. package/esm2022/lib/db/Models/vehicle/vehicle-claim-details.mjs +1 -1
  7. package/esm2022/lib/models/client/capital-loss.interface.mjs +1 -1
  8. package/esm2022/lib/models/client/capital-loss.mjs +1 -5
  9. package/esm2022/lib/models/income-source/salary-forecast.mjs +1 -5
  10. package/esm2022/lib/models/income-source/sole-forecast.mjs +1 -5
  11. package/esm2022/lib/models/property/property-forecast.mjs +2 -6
  12. package/esm2022/lib/models/property/property.mjs +4 -2
  13. package/esm2022/lib/models/sole/sole-business-loss.mjs +1 -5
  14. package/fesm2022/taxtank-core.mjs +1079 -1093
  15. package/fesm2022/taxtank-core.mjs.map +1 -1
  16. package/lib/db/Models/incomeSource/income-source-forecast.d.ts +1 -1
  17. package/lib/db/Models/incomeSource/salary-forecast.d.ts +1 -2
  18. package/lib/db/Models/property/property-forecast.d.ts +1 -2
  19. package/lib/db/Models/sole/sole-business-loss.d.ts +1 -2
  20. package/lib/db/Models/sole/sole-forecast.d.ts +1 -2
  21. package/lib/db/Models/vehicle/vehicle-claim-details.d.ts +1 -1
  22. package/lib/models/client/capital-loss.d.ts +0 -2
  23. package/lib/models/client/capital-loss.interface.d.ts +1 -1
  24. package/lib/models/income-source/salary-forecast.d.ts +0 -2
  25. package/lib/models/income-source/sole-forecast.d.ts +0 -2
  26. package/lib/models/property/property-forecast.d.ts +0 -2
  27. package/lib/models/sole/sole-business-loss.d.ts +0 -2
  28. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  import { AbstractModel } from '../abstract-model';
2
2
  export class IncomeSourceForecast extends AbstractModel {
3
3
  }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jb21lLXNvdXJjZS1mb3JlY2FzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9Nb2RlbHMvaW5jb21lU291cmNlL2luY29tZS1zb3VyY2UtZm9yZWNhc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBRWxELE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxhQUFhO0NBVXREIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5jb21lU291cmNlRm9yZWNhc3RUcnVzdFR5cGVFbnVtIH0gZnJvbSAnLi4vLi4vRW51bXMvaW5jb21lLXNvdXJjZS9pbmNvbWUtc291cmNlLWZvcmVjYXN0LXRydXN0LXR5cGUuZW51bSc7XG5pbXBvcnQgeyBJbmNvbWVTb3VyY2UgfSBmcm9tICcuL2luY29tZS1zb3VyY2UnO1xuaW1wb3J0IHsgSW5jb21lU291cmNlVHlwZSB9IGZyb20gJy4vaW5jb21lLXNvdXJjZS10eXBlJztcbmltcG9ydCB7IEFic3RyYWN0TW9kZWwgfSBmcm9tICcuLi9hYnN0cmFjdC1tb2RlbCc7XG5cbmV4cG9ydCBjbGFzcyBJbmNvbWVTb3VyY2VGb3JlY2FzdCBleHRlbmRzIEFic3RyYWN0TW9kZWwge1xuICBmaW5hbmNpYWxZZWFyPzogbnVtYmVyO1xuICBhbW91bnQ/OiBudW1iZXI7XG4gIHRheD86IG51bWJlcjtcbiAgdGF4SW5zdGFsbWVudHM/OiBudW1iZXI7XG4gIGZyYW5raW5nQ3JlZGl0cz86IG51bWJlcjtcbiAgdHJ1c3RU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gIHRheD86IG51bWJlcjtcbiAgdGF4SW5zdGFsbWVudHM/OiBudW1iZXI7XG4gIGZyYW5raW5nQ3JlZGl0cz86IG51bWJlcjtcbiAgdHJ1c3RUeXBlPzogSW5jb21lU291cmNlRm9yZWNhc3RUcnVzdFR5cGVFbnVtO1xuICBpbmNvbWVTb3VyY2U/OiBJbmNvbWVTb3VyY2U7XG4gIGluY29tZVNvdXJjZVR5cGU/OiBJbmNvbWVTb3VyY2VUeXBlO1xuICBpc01hbnVhbD86IGJvb2xlYW47XG59XG4iXX0=
@@ -1,4 +1,4 @@
1
1
  import { AbstractModel } from '../abstract-model';
2
2
  export class SalaryForecast extends AbstractModel {
3
3
  }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2FsYXJ5LWZvcmVjYXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL01vZGVscy9pbmNvbWVTb3VyY2Uvc2FsYXJ5LWZvcmVjYXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUdsRCxNQUFNLE9BQU8sY0FBZSxTQUFRLGFBQWE7Q0FZaEQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBTYWxhcnlGb3JlY2FzdEZyZXF1ZW5jeUVudW0gfSBmcm9tICcuLi8uLi9FbnVtcy9zYWxhcnktZm9yZWNhc3QtZnJlcXVlbmN5LmVudW0nO1xuaW1wb3J0IHsgSW5jb21lU291cmNlIH0gZnJvbSAnLi9pbmNvbWUtc291cmNlJztcbmltcG9ydCB7IEFic3RyYWN0TW9kZWwgfSBmcm9tICcuLi9hYnN0cmFjdC1tb2RlbCc7XG5pbXBvcnQgeyBVc2VyIH0gZnJvbSAnLi4vdX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RyYWN0TW9kZWwgfSBmcm9tICcuLi9hYnN0cmFjdC1tb2RlbCc7XG5cbmV4cG9ydCBjbGFzcyBTYWxhcnlGb3JlY2FzdCBleHRlbmRzIEFic3RyYWN0TW9kZWwge1xuICBmaW5hbmNpYWxZZWFyPzogbnVtYmVyO1xuICBwYXlnSW5jb21lPzogbnVtYmVyO1xuICBmcmVxdWVuY3k/OiBTYWxhcnlGb3JlY2FzdEZyZXF1ZW5jeUVudW07XG4gIG5ldFBheT86IG51bWJlcjtcbiAgdGF4PzogbnVtYmVyO1xuICBpc1RheEZyZWU/OiBib29sZWFuO1xuICBkZWxldGVkQXQ/OiBEYXRlO1xuICBjcmVhdGVkQXQ/OiBEYXRlO1xuICB1cGRhdGVkQXQ/OiBEYXRlO1xuICBpbmNvbWVTb3VyY2U/OiBJbmNvbWVTb3VyY2U7XG4gIGlzTWFudWFsPzogYm9vbGVhbjtcbn1cbiJdfQ==
@@ -1,4 +1,4 @@
1
1
  import { AbstractModel } from '../abstract-model';
2
2
  export class PropertyForecast extends AbstractModel {
3
3
  }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktZm9yZWNhc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvTW9kZWxzL3Byb3BlcnR5L3Byb3BlcnR5LWZvcmVjYXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUdsRCxNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsYUFBYTtDQWFsRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFByb3BlcnR5IH0gZnJvbSAnLi9wcm9wZXJ0eSc7XG5pbXBvcnQgeyBBYnN0cmFjdE1vZGVsIH0gZ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xuXG5leHBvcnQgY2xhc3MgUHJvcGVydHlGb3JlY2FzdCBleHRlbmRzIEFic3RyYWN0TW9kZWwge1xuICBmaW5hbmNpYWxZZWFyPzogbnVtYmVyO1xuICBtYXJrZXRWYWx1ZT86IG51bWJlcjtcbiAgZXhwZW5zZT86IG51bWJlcjtcbiAgaW5jb21lPzogbnVtYmVyO1xuICBkZXByZWNpYXRpb24/OiBudW1iZXI7XG4gIGludGVyZXN0PzogbnVtYmVyO1xuICBkZWxldGVkQXQ/OiBEYXRlO1xuICBjcmVhdGVkQXQ/OiBEYXRlO1xuICB1cGRhdGVkQXQ/OiBEYXRlO1xuICBwcm9wZXJ0eT86IFByb3BlcnR5O1xuICBjbGFpbVBlcmNlbnQ/OiBudW1iZXI7XG4gIGlzTWFudWFsPzogYm9vbGVhbjtcbn1cbiJdfQ==
@@ -1,4 +1,4 @@
1
1
  import { AbstractModel } from '../abstract-model';
2
2
  export class SoleBusinessLoss extends AbstractModel {
3
3
  }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1idXNpbmVzcy1sb3NzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL01vZGVscy9zb2xlL3NvbGUtYnVzaW5lc3MtbG9zcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFHbEQsTUFBTSxPQUFPLGdCQUFpQixTQUFRLGFBQWE7Q0FNbEQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBTb2xlQnVzaW5lc3MgfSBmcm9tICcuL3NvbGUtYnVzaW5lc3MnO1xuaW1wb3J0IHsgU29sZUJ1c2luZXNzTG9zc09mZnNldFJ1bGUgfSBmcm9tICcuL3NvbGUtYnVzaW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QtbW9kZWwnO1xuXG5leHBvcnQgY2xhc3MgU29sZUJ1c2luZXNzTG9zcyBleHRlbmRzIEFic3RyYWN0TW9kZWwge1xuICBvcGVuQmFsYW5jZT86IG51bWJlcjtcbiAgZmluYW5jaWFsWWVhcj86IG51bWJlcjtcbiAgYnVzaW5lc3M/OiBTb2xlQnVzaW5lc3M7XG4gIG9mZnNldFJ1bGU/OiBTb2xlQnVzaW5lc3NMb3NzT2Zmc2V0UnVsZTtcbiAgaXNNYW51YWw/OiBib29sZWFuO1xufVxuIl19
@@ -1,4 +1,4 @@
1
1
  import { AbstractModel } from '../abstract-model';
2
2
  export class SoleForecast extends AbstractModel {
3
3
  }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1mb3JlY2FzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9Nb2RlbHMvc29sZS9zb2xlLWZvcmVjYXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUdsRCxNQUFNLE9BQU8sWUFBYSxTQUFRLGFBQWE7Q0FNOUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmNvbWVTb3VyY2UgfSBmcm9tICcuLi9pbmNvbWVTb3VyY2UvaW5jb21lLXNvdXJjZSc7XG5pbXBvcnQgeyBBYnN0cmFjdE1vZGVsIH0gZnJvbSAnLi4vYWJzdHJhY3QtbW9kZWwnO1xuaW1wb3J0IHsgVXNlciB9IGZyb20gJy4uL3VzZXIvdXNlcic7XG5cbmV4cG9ydCBjbGFzcyBTb2xlRm9yZWNhc3QgZXh0ZW5kcyBBYnN0cmFjdE1vZGVsIHtcbiAgZmluYW5jaWFsWWVhcj86IG51bWJlcjtcbiAgYW1vdW50PzogbnVtYmVyO1xuICB0YXhJbnN0YWxtZW50cz86IG51bWJlcjtcbiAgaW5jb21lU291cmNlPzogSW5jb21lU291cmNlO1xuICB1cGRhdGVkQnk/OiBVc2VyO1xufVxuIl19
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1mb3JlY2FzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9Nb2RlbHMvc29sZS9zb2xlLWZvcmVjYXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUVsRCxNQUFNLE9BQU8sWUFBYSxTQUFRLGFBQWE7Q0FNOUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmNvbWVTb3VyY2UgfSBmcm9tICcuLi9pbmNvbWVTb3VyY2UvaW5jb21lLXNvdXJjZSc7XG5pbXBvcnQgeyBBYnN0cmFjdE1vZGVsIH0gZnJvbSAnLi4vYWJzdHJhY3QtbW9kZWwnO1xuXG5leHBvcnQgY2xhc3MgU29sZUZvcmVjYXN0IGV4dGVuZHMgQWJzdHJhY3RNb2RlbCB7XG4gIGZpbmFuY2lhbFllYXI/OiBudW1iZXI7XG4gIGFtb3VudD86IG51bWJlcjtcbiAgdGF4SW5zdGFsbWVudHM/OiBudW1iZXI7XG4gIGluY29tZVNvdXJjZT86IEluY29tZVNvdXJjZTtcbiAgaXNNYW51YWw/OiBib29sZWFuO1xufVxuIl19
@@ -1,4 +1,4 @@
1
1
  import { AbstractModel } from '../abstract-model';
2
2
  export class VehicleClaimDetails extends AbstractModel {
3
3
  }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm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G4gIGZpbmFuY2lhbFllYXI6IG51bWJlcjtcbiAgYmFsYW5jZTogbnVtYmVyO1xuICB1cGRhdGVkQnk6IG9iamVjdDtcbn1cbiJdfQ==
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FwaXRhbC1sb3NzLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvY2xpZW50L2NhcGl0YWwtbG9zcy5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgQ2FwaXRhbExvc3NJbnRlcmZhY2Uge1xuICBjbGllbnREZXRhaWxzOiBvYmplY3Q7XG4gIGZpbmFuY2lhbFllYXI6IG51bWJlcjtcbiAgYmFsYW5jZTogbnVtYmVyO1xuICBpc01hbnVhbDogYm9vbGVhbjtcbn1cbiJdfQ==
@@ -3,7 +3,6 @@ import { Type } from 'class-transformer';
3
3
  import { ClientDetails } from './client-details';
4
4
  import { AbstractModel } from '../../db/Models';
5
5
  import { FinancialYear } from '../financial-year';
6
- import { User } from '../user';
7
6
  export class CapitalLoss extends AbstractModel {
8
7
  constructor() {
9
8
  super(...arguments);
@@ -13,7 +12,4 @@ export class CapitalLoss extends AbstractModel {
13
12
  __decorate([
14
13
  Type(() => ClientDetails)
15
14
  ], CapitalLoss.prototype, "clientDetails", void 0);
16
- __decorate([
17
- Type(() => User)
18
- ], CapitalLoss.prototype, "updatedBy", void 0);
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FwaXRhbC1sb3NzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS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vbnRlbnQiOlsiaW1wb3J0IHsgQ2FwaXRhbExvc3NJbnRlcmZhY2UgfSBmcm9tICcuL2NhcGl0YWwtbG9zcy5pbnRlcmZhY2UnO1xuaW1wb3J0IHsgVHlwZSB9IGZyb20gJ2NsYXNzLXRyYW5zZm9ybWVyJztcbmltcG9ydCB7IENsaWVudERldGFpbHMgfSBmcm9tICcuL2NsaWVudC1kZXRhaWxzJztcbmltcG9ydCB7IEFic3RyYWN0TW9kZWwgfSBmcm9tICcuLi8uLi9kYi9Nb2RlbHMnO1xuaW1wb3J0IHsgRmluYW5jaWFsWWVhciB9IGZyb20gJy4uL2ZpbmFuY2lhbC15ZWFyJztcbmltcG9ydCB7IFVzZXIgfSBmcm9tICcuLi91c2VyJztcblxuZXhwb3J0IGNsYXNzIENhcGl0YWxMb3NzIGV4dGVuZHMgQWJzdHJhY3RNb2RlbCBpbXBsZW1lbnRzIENhcGl0YWxMb3NzSW50ZXJmYWNlIHtcbiAgQFR5cGUoKCkgPT4gQ2xpZW50RGV0YWlscylcbiAgY2xpZW50RGV0YWlsczogQ2xpZW50RGV0YWlscztcblxuICBmaW5hbmNpYWxZZWFyID0gbmV3IEZpbmFuY2lhbFllYXIoKS55ZWFyO1xuICBiYWxhbmNlOiBudW1iZXI7XG4gIGlzTWFudWFsOiBib29sZWFuO1xufVxuIl19
@@ -4,7 +4,6 @@ import { IncomeSource } from './income-source';
4
4
  import { Type } from 'class-transformer';
5
5
  import { SalaryForecastFrequencyEnum } from '../../db/Enums/salary-forecast-frequency.enum';
6
6
  import { FinancialYear } from '../financial-year';
7
- import { User } from '../user';
8
7
  export class SalaryForecast extends SalaryForecastBase {
9
8
  get grossAmount() {
10
9
  return this.netPay + this.tax;
@@ -34,7 +33,4 @@ __decorate([
34
33
  __decorate([
35
34
  Type(() => IncomeSource)
36
35
  ], SalaryForecast.prototype, "incomeSource", void 0);
37
- __decorate([
38
- Type(() => User)
39
- ], SalaryForecast.prototype, "updatedBy", void 0);
40
- //# source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lhbFllYXIubW9udGhzSW5ZZWFyO1xuICAgICAgY2FzZSBTYWxhcnlGb3JlY2FzdEZyZXF1ZW5jeUVudW0uRk9SVE5JR0hUTFk6XG4gICAgICAgIHJldHVybiB0aGlzLm5ldFBheSAqIEZpbmFuY2lhbFllYXIud2Vla3NJblllYXIgLyBGaW5hbmNpYWxZZWFyLm1vbnRoc0luWWVhciAvIDI7XG4gICAgICBjYXNlIFNhbGFyeUZvcmVjYXN0RnJlcXVlbmN5RW51bS5XRUVLTFk6XG4gICAgICAgIHJldHVybiB0aGlzLm5ldFBheSAqIEZpbmFuY2lhbFllYXIud2Vla3NJblllYXIgLyBGaW5hbmNpYWxZZWFyLm1vbnRoc0luWWVhcjtcbiAgICAgIGRlZmF1bHQ6XG4gICAgICAgIHJldHVybiB0aGlzLm5ldFBheTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -2,7 +2,6 @@ import { __decorate } from "tslib";
2
2
  import { IncomeSource } from './income-source';
3
3
  import { SoleForecast as SoleForecastBase } from '../../db/Models/sole/sole-forecast';
4
4
  import { Type } from 'class-transformer';
5
- import { User } from '../user';
6
5
  export class SoleForecast extends SoleForecastBase {
7
6
  get netPay() {
8
7
  return this.amount;
@@ -11,7 +10,4 @@ export class SoleForecast extends SoleForecastBase {
11
10
  __decorate([
12
11
  Type(() => IncomeSource)
13
12
  ], SoleForecast.prototype, "incomeSource", void 0);
14
- __decorate([
15
- Type(() => User)
16
- ], SoleForecast.prototype, "updatedBy", void 0);
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1mb3JlY2FzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvaW5jb21lLXNvdXJjZS9zb2xlLWZvcmVjYXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QU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gZnJvbSAnY2xhc3MtdHJhbnNmb3JtZXInO1xuaW1wb3J0IHsgSUluY29tZVNvdXJjZUZvcmVjYXN0IH0gZnJvbSAnLi4vLi4vaW50ZXJmYWNlcyc7XG5pbXBvcnQgeyBVc2VyIH0gZnJvbSAnLi4vdXNlcic7XG5cbmV4cG9ydCBjbGFzcyBTb2xlRm9yZWNhc3QgZXh0ZW5kcyBTb2xlRm9yZWNhc3RCYXNlICBpbXBsZW1lbnRzIElJbmNvbWVTb3VyY2VGb3JlY2FzdCB7XG4gIEBUeXBlKCgpID0+IEluY29tZVNvdXJjZSlcbiAgaW5jb21lU291cmNlOiBJbmNvbWVTb3VyY2U7XG5cbiAgZ2V0IG5ldFBheSgpOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLmFtb3VudDtcbiAgfVxufVxuIl19
@@ -1,8 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { PropertyForecast as PropertyForecastBase } from '../../db/Models/property/property-forecast';
3
3
  import { FinancialYear } from '../financial-year';
4
- import { Transform, Type } from 'class-transformer';
5
- import { User } from '../user';
4
+ import { Transform } from 'class-transformer';
6
5
  export class PropertyForecast extends PropertyForecastBase {
7
6
  constructor() {
8
7
  super(...arguments);
@@ -48,7 +47,4 @@ __decorate([
48
47
  __decorate([
49
48
  Transform(({ value }) => +value)
50
49
  ], PropertyForecast.prototype, "marketValue", void 0);
51
- __decorate([
52
- Type(() => User)
53
- ], PropertyForecast.prototype, "updatedBy", void 0);
54
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktZm9yZWNhc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3Byb3BlcnR5L3Byb3BlcnR5LWZvcmVjYXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUF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XJlc3RcbiAgICovXG4gIGdldCBjYXNoUG9zaXRpb24oKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy5pbmNvbWUgKyB0aGlzLmV4cGVuc2UgKyB0aGlzLmludGVyZXN0O1xuICB9XG5cblxuICAvKipcbiAgICogR2V0IHRheCBwb3NpdGlvblxuICAgKiBUYXggUG9zaXRpb24gPSBJbmNvbWUgLSBFeHBlbnNlIC0gSW50ZXJlc3QgLSBEZXByZWNpYXRpb25cbiAgICovXG4gIGdldCB0YXhQb3NpdGlvbigpOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLmNhc2hQb3NpdGlvbiArIHRoaXMuZGVwcmVjaWF0aW9uO1xuICB9XG5cbiAgLyoqXG4gICAqIEdldCByZW50YWwgcmV0dXJuIHBlcmNlbnRcbiAgICogUmVudGFsIFJldHVybiA9IEluY29tZSAvIE1hcmtldCBWYWx1ZVxuICAgKi9cbiAgZ2V0IHJlbnRhbFJldHVybigpOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLmluY29tZSAvIHRoaXMubWFya2V0VmFsdWU7XG4gIH1cbn1cbiJdfQ==
@@ -16,6 +16,7 @@ import round from 'lodash/round';
16
16
  import { AppFile } from '../file';
17
17
  import { PropertyCategoryMovement } from './property-category-movement';
18
18
  import { FinancialYear } from '../financial-year';
19
+ import { plainToClass } from 'class-transformer';
19
20
  /**
20
21
  * propertySale docs - https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4209508353/Property+Sold+button
21
22
  */
@@ -48,7 +49,8 @@ export class Property extends PropertyBase {
48
49
  }
49
50
  get currentYearForecast() {
50
51
  const year = new FinancialYear().year;
51
- return this.forecasts.find((forecast) => forecast.financialYear === year);
52
+ return this.forecasts.find((forecast) => forecast.financialYear === year)
53
+ ?? plainToClass(PropertyForecast, {});
52
54
  }
53
55
  get forecastedRentalReturn() {
54
56
  return this.currentYearForecast?.rentalReturn || 0;
@@ -248,4 +250,4 @@ __decorate([
248
250
  __decorate([
249
251
  Exclude()
250
252
  ], Property.prototype, "documentFile", void 0);
251
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3Byb3BlcnR5L3Byb3BlcnR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsUUFBUSxJQUFJLFlBQVksRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQzdFLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNoRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFDckMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdkQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDekQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdkQsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUMvQixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwwREFBMEQsQ0FBQztBQUM1RixPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxxREFBcUQsQ0FBQztBQUMvRixPQUFPLE1BQU0sTUFBTSxRQUFRLENBQUM7QUFHNUIsT0FBTyxFQUNtQiwyQ0FBMkMsRUFDcEUsTUFBTSxtQkFBbUIsQ0FBQztBQUMzQixPQUFPLEt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XIge1xuICAgIHJldHVybiB0cmFuc2FjdGlvbnMuZ3Jvc3NDbGFpbUFtb3VudCAtIE1hdGguYWJzKGRlcHJlY2lhdGlvbnMuY2xhaW1BbW91bnQpO1xuICB9XG5cbiAgZ2V0IG1vbnRobHlJbmNvbWUoKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy5jdXJyZW50WWVhckZvcmVjYXN0LmluY29tZSAvIDEyO1xuICB9XG5cbiAgZ2V0IG1vbnRobHlFeHBlbnNlKCk6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMuY3VycmVudFllYXJGb3JlY2FzdC5leHBlbnNlIC8gMTI7XG4gIH1cbn1cbiJdfQ==
@@ -4,7 +4,6 @@ import { SoleBusiness } from './sole-business';
4
4
  import { Type } from 'class-transformer';
5
5
  import { SoleBusinessLossOffsetRule } from './sole-business-loss-offset-rule';
6
6
  import { FinancialYear } from '../financial-year/financial-year';
7
- import { User } from '../user';
8
7
  /**
9
8
  * If a sole trader business makes a tax loss in a current year, you can generally carry forward that loss and offset profit in future years.
10
9
  * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4641357930/Rules+when+a+business+makes+a+loss+Tax+Summary#Offsetting-current-year-business-losses
@@ -25,7 +24,4 @@ __decorate([
25
24
  __decorate([
26
25
  Type(() => SoleBusinessLossOffsetRule)
27
26
  ], SoleBusinessLoss.prototype, "offsetRule", void 0);
28
- __decorate([
29
- Type(() => User)
30
- ], SoleBusinessLoss.prototype, "updatedBy", void 0);
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1idXNpbmVzcy1sb3NzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9zb2xlL3NvbGUtYnVzaW5lc3MtbG9zcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEs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