taxtank-core 2.0.119 → 2.0.120
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.
- package/fesm2022/taxtank-core.mjs +13 -8
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/package.json +1 -1
|
@@ -605,6 +605,11 @@ let SoleBusinessLoss$1 = class SoleBusinessLoss extends AbstractModel {
|
|
|
605
605
|
};
|
|
606
606
|
|
|
607
607
|
let SoleBusiness$1 = class SoleBusiness extends ObservableModel {
|
|
608
|
+
constructor() {
|
|
609
|
+
super(...arguments);
|
|
610
|
+
this.isPrimaryProduction = false;
|
|
611
|
+
this.isTaxFree = false;
|
|
612
|
+
}
|
|
608
613
|
static { this.className = 'SoleBusiness'; }
|
|
609
614
|
};
|
|
610
615
|
|
|
@@ -1757,9 +1762,9 @@ __decorate([
|
|
|
1757
1762
|
*/
|
|
1758
1763
|
var LoanMaxNumberOfPaymentsEnum;
|
|
1759
1764
|
(function (LoanMaxNumberOfPaymentsEnum) {
|
|
1760
|
-
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["WEEKLY"] =
|
|
1761
|
-
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["FORTNIGHTLY"] =
|
|
1762
|
-
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["MONTHLY"] =
|
|
1765
|
+
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["WEEKLY"] = 364] = "WEEKLY";
|
|
1766
|
+
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["FORTNIGHTLY"] = 182] = "FORTNIGHTLY";
|
|
1767
|
+
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["MONTHLY"] = 84] = "MONTHLY";
|
|
1763
1768
|
})(LoanMaxNumberOfPaymentsEnum || (LoanMaxNumberOfPaymentsEnum = {}));
|
|
1764
1769
|
|
|
1765
1770
|
// @Todo no base model from backend list
|
|
@@ -5712,7 +5717,7 @@ __decorate([
|
|
|
5712
5717
|
Type(() => IncomeSource)
|
|
5713
5718
|
], SoleBusiness.prototype, "incomeSource", void 0);
|
|
5714
5719
|
__decorate([
|
|
5715
|
-
Transform(({ value }) => value
|
|
5720
|
+
Transform(({ value }) => value)
|
|
5716
5721
|
], SoleBusiness.prototype, "isPrimaryProduction", void 0);
|
|
5717
5722
|
__decorate([
|
|
5718
5723
|
Type(() => AppFile)
|
|
@@ -5766,7 +5771,7 @@ class BasReport extends BasReport$1 {
|
|
|
5766
5771
|
}
|
|
5767
5772
|
}
|
|
5768
5773
|
__decorate([
|
|
5769
|
-
|
|
5774
|
+
TransformDate()
|
|
5770
5775
|
], BasReport.prototype, "dateFrom", void 0);
|
|
5771
5776
|
__decorate([
|
|
5772
5777
|
Type(() => Date)
|
|
@@ -26912,9 +26917,9 @@ class WorkTransactionForm extends TransactionForm {
|
|
|
26912
26917
|
})))
|
|
26913
26918
|
}));
|
|
26914
26919
|
// forbid to edit chartAccounts if it's in edit mode
|
|
26915
|
-
if (transaction.id) {
|
|
26916
|
-
|
|
26917
|
-
}
|
|
26920
|
+
// if (transaction.id) {
|
|
26921
|
+
// this.get('chartAccounts').disable({ emitEvent: false });
|
|
26922
|
+
// }
|
|
26918
26923
|
if (this.value.chartAccounts && !transaction.id) {
|
|
26919
26924
|
this.buildMetaFieldsForm();
|
|
26920
26925
|
}
|