taxtank-core 2.0.26 → 2.0.28
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 +8 -5
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +6 -4
- package/index.d.ts.map +1 -0
- package/package.json +1 -1
@@ -10567,14 +10567,17 @@ var BankTransactionSummaryFieldsEnum;
|
|
10567
10567
|
class BankTransactionComment extends AbstractModel {
|
10568
10568
|
}
|
10569
10569
|
__decorate([
|
10570
|
-
Type(() =>
|
10571
|
-
], BankTransactionComment.prototype, "
|
10570
|
+
Type(() => BankTransaction)
|
10571
|
+
], BankTransactionComment.prototype, "bankTransaction", void 0);
|
10572
|
+
__decorate([
|
10573
|
+
Type(() => User)
|
10574
|
+
], BankTransactionComment.prototype, "createdBy", void 0);
|
10572
10575
|
__decorate([
|
10573
10576
|
Type(() => Date)
|
10574
10577
|
], BankTransactionComment.prototype, "createdAt", void 0);
|
10575
10578
|
__decorate([
|
10576
|
-
Type(() =>
|
10577
|
-
], BankTransactionComment.prototype, "
|
10579
|
+
Type(() => Date)
|
10580
|
+
], BankTransactionComment.prototype, "updatedAt", void 0);
|
10578
10581
|
|
10579
10582
|
class BorrowingExpenseLoan extends BorrowingExpenseLoan$1 {
|
10580
10583
|
}
|
@@ -25966,7 +25969,7 @@ class HoldingTradeForm extends AbstractForm {
|
|
25966
25969
|
}
|
25967
25970
|
listenEvents() {
|
25968
25971
|
this.controlsChanges(['quantity', 'price', 'fee']).subscribe(([quantity, price, fee]) => {
|
25969
|
-
this.purchaseValue = quantity * price + fee;
|
25972
|
+
this.purchaseValue = quantity * price + (this.model.isPurchase() ? fee : -fee);
|
25970
25973
|
});
|
25971
25974
|
this.get('category').valueChanges.subscribe(category => {
|
25972
25975
|
this.get('holdingType').reset();
|