taxtank-core 2.0.119 → 2.0.121
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 +16 -11
- 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)
|
|
@@ -21181,9 +21186,9 @@ class JsPdf extends jsPDF {
|
|
|
21181
21186
|
const FILE_SETTINGS$1 = {
|
|
21182
21187
|
margin: 10,
|
|
21183
21188
|
filename: 'export.pdf',
|
|
21184
|
-
image: { type: 'jpeg', quality:
|
|
21189
|
+
image: { type: 'jpeg', quality: 1 },
|
|
21185
21190
|
html2canvas: {
|
|
21186
|
-
scale:
|
|
21191
|
+
scale: Math.max(3, window.devicePixelRatio),
|
|
21187
21192
|
windowWidth: 1000,
|
|
21188
21193
|
windowHeight: 800,
|
|
21189
21194
|
foreignObjectRendering: false,
|
|
@@ -24971,7 +24976,7 @@ class BankAccountAllocationForm extends AbstractForm {
|
|
|
24971
24976
|
* Form is using for single manual bank account creation (not Basiq)
|
|
24972
24977
|
*/
|
|
24973
24978
|
class BankAccountForm extends BankAccountAllocationForm {
|
|
24974
|
-
static { this.accountNumberPattern = '^[0-9]{6}
|
|
24979
|
+
static { this.accountNumberPattern = '^[0-9]{6} ?[0-9]{1,}$'; }
|
|
24975
24980
|
constructor(bankAccount) {
|
|
24976
24981
|
super(bankAccount, {
|
|
24977
24982
|
type: new FormControl(bankAccount.type, Validators.required),
|
|
@@ -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
|
}
|