taxtank-core 0.30.33 → 0.30.35

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.
@@ -299,6 +299,9 @@ class BankAccountBalance extends AbstractModel {
299
299
 
300
300
  let BankAccountProperty$1 = class BankAccountProperty extends AbstractModel {
301
301
  };
302
+ __decorate([
303
+ Type(() => Number)
304
+ ], BankAccountProperty$1.prototype, "percent", void 0);
302
305
 
303
306
  /**
304
307
  * Model, which children should be listened via event dispatcher service ising automatic events
@@ -314,6 +317,9 @@ class ObservableModel extends AbstractModel {
314
317
 
315
318
  let BankAccount$1 = class BankAccount extends ObservableModel {
316
319
  };
320
+ __decorate([
321
+ Type(() => Number)
322
+ ], BankAccount$1.prototype, "currentBalance", void 0);
317
323
 
318
324
  let BankConnection$1 = class BankConnection extends ObservableModel {
319
325
  };
@@ -533,9 +539,30 @@ let BorrowingExpense$1 = class BorrowingExpense extends AbstractModel {
533
539
 
534
540
  let LoanPayout$1 = class LoanPayout extends ObservableModel {
535
541
  };
542
+ __decorate([
543
+ Type(() => Number)
544
+ ], LoanPayout$1.prototype, "payoutAmount", void 0);
545
+ __decorate([
546
+ Type(() => Number)
547
+ ], LoanPayout$1.prototype, "fees", void 0);
536
548
 
537
549
  let Loan$1 = class Loan extends ObservableModel {
538
550
  };
551
+ __decorate([
552
+ Type(() => Number)
553
+ ], Loan$1.prototype, "amount", void 0);
554
+ __decorate([
555
+ Type(() => Number)
556
+ ], Loan$1.prototype, "availableRedraw", void 0);
557
+ __decorate([
558
+ Type(() => Number)
559
+ ], Loan$1.prototype, "interestRate", void 0);
560
+ __decorate([
561
+ Type(() => Number)
562
+ ], Loan$1.prototype, "term", void 0);
563
+ __decorate([
564
+ Type(() => Number)
565
+ ], Loan$1.prototype, "repaymentAmount", void 0);
539
566
 
540
567
  let PropertySaleTaxExemptionMetaField$1 = class PropertySaleTaxExemptionMetaField extends AbstractModel {
541
568
  };
@@ -560,15 +587,36 @@ let PropertyForecast$1 = class PropertyForecast extends AbstractModel {
560
587
 
561
588
  let PropertyShare$1 = class PropertyShare extends ObservableModel {
562
589
  };
590
+ __decorate([
591
+ Type(() => Number)
592
+ ], PropertyShare$1.prototype, "percent", void 0);
563
593
 
564
594
  let PropertySubscription$1 = class PropertySubscription extends AbstractModel {
565
595
  };
566
596
 
567
597
  let PropertyValuation$1 = class PropertyValuation extends AbstractModel {
568
598
  };
599
+ __decorate([
600
+ Type(() => Number)
601
+ ], PropertyValuation$1.prototype, "marketValue", void 0);
569
602
 
570
603
  let Property$1 = class Property extends ObservableModel {
571
604
  };
605
+ __decorate([
606
+ Type(() => Number)
607
+ ], Property$1.prototype, "purchasePrice", void 0);
608
+ __decorate([
609
+ Type(() => Number)
610
+ ], Property$1.prototype, "growthPercent", void 0);
611
+ __decorate([
612
+ Type(() => Number)
613
+ ], Property$1.prototype, "stampDuty", void 0);
614
+ __decorate([
615
+ Type(() => Number)
616
+ ], Property$1.prototype, "legalFees", void 0);
617
+ __decorate([
618
+ Type(() => Number)
619
+ ], Property$1.prototype, "otherCapitalCosts", void 0);
572
620
 
573
621
  let BasReport$1 = class BasReport extends AbstractModel {
574
622
  };
@@ -3787,6 +3835,9 @@ __decorate([
3787
3835
  __decorate([
3788
3836
  Type(() => PropertyDocument)
3789
3837
  ], PropertyValuation.prototype, "document", void 0);
3838
+ __decorate([
3839
+ Type(() => Number)
3840
+ ], PropertyValuation.prototype, "marketValue", void 0);
3790
3841
  __decorate([
3791
3842
  Exclude()
3792
3843
  ], PropertyValuation.prototype, "documentFile", void 0);
@@ -11901,6 +11952,7 @@ class BankAccountService extends RestService$1 {
11901
11952
  listenToEventDispatcherChanges() {
11902
11953
  this.eventDispatcherService.on([
11903
11954
  AppEventTypeEnum.LOAN_PAYOUT_UPDATED,
11955
+ AppEventTypeEnum.BANK_TRANSACTIONS_ADDED
11904
11956
  ]).subscribe(() => {
11905
11957
  this.resetCache();
11906
11958
  });
@@ -17945,6 +17997,10 @@ class SoleInvoiceForm extends AbstractForm {
17945
17997
  if (this.defaultTemplate) {
17946
17998
  this.updateTemplateRelatedFields(this.defaultTemplate);
17947
17999
  }
18000
+ // set tax exclusive by default if user is registered for gst
18001
+ if (this.soleDetailsGST) {
18002
+ this.commonData.get('taxType').setValue(SoleInvoiceTaxTypeEnum.TAX_EXCLUSIVE);
18003
+ }
17948
18004
  }
17949
18005
  // invoice.taxType is always NONE ('No Tax') when soleDetails.isGST === false
17950
18006
  if (!this.soleDetailsGST) {