taxtank-core 0.33.52 → 0.33.54
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/collections/depreciation.collection.mjs +2 -2
- package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +2 -2
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
- package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +2 -2
- package/esm2022/src/lib/db/Enums/tank-type.enum.mjs +6 -6
- package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +6 -6
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +3 -3
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-properties.form.mjs +2 -2
- package/esm2022/src/lib/forms/sole/sole-business-allocations.form.mjs +2 -2
- package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +11 -11
- package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +3 -3
- package/esm2022/src/lib/models/bank/allocation-group.mjs +2 -2
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +2 -2
- package/esm2022/src/lib/models/transaction/allocation-rule.mjs +4 -4
- package/esm2022/src/lib/models/user/user.mjs +5 -5
- package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +2 -2
- package/esm2022/src/lib/models/vehicle/vehicle-logbook.mjs +3 -3
- package/esm2022/src/lib/services/http/home-office/home-office-log.service.mjs +15 -7
- package/fesm2022/taxtank-core.mjs +55 -47
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/db/Enums/tank-type.enum.d.ts +5 -5
- package/src/lib/services/http/home-office/home-office-log.service.d.ts +5 -1
@@ -110,13 +110,13 @@ export class AllocationRuleForm extends AbstractForm {
|
|
110
110
|
}
|
111
111
|
get tankTypeLabel() {
|
112
112
|
switch (this.transactionFormGroup.get('tankType').value) {
|
113
|
-
case TankTypeEnum.
|
113
|
+
case TankTypeEnum.WORK:
|
114
114
|
return 'work';
|
115
|
-
case TankTypeEnum.
|
115
|
+
case TankTypeEnum.PROPERTY:
|
116
116
|
return 'property';
|
117
|
-
case TankTypeEnum.
|
117
|
+
case TankTypeEnum.SOLE:
|
118
118
|
return 'sole';
|
119
|
-
case TankTypeEnum.
|
119
|
+
case TankTypeEnum.HOLDING:
|
120
120
|
return 'holding';
|
121
121
|
default:
|
122
122
|
return 'personal';
|
@@ -146,13 +146,13 @@ export class AllocationRuleForm extends AbstractForm {
|
|
146
146
|
this.transactionFormGroup.get('business').disable({ emitEvent: false });
|
147
147
|
this.transactionFormGroup.get('incomeSource').disable({ emitEvent: false });
|
148
148
|
switch (tankType) {
|
149
|
-
case TankTypeEnum.
|
149
|
+
case TankTypeEnum.WORK:
|
150
150
|
this.transactionFormGroup.get('incomeSource').enable({ emitEvent: false });
|
151
151
|
break;
|
152
|
-
case TankTypeEnum.
|
152
|
+
case TankTypeEnum.PROPERTY:
|
153
153
|
this.transactionFormGroup.get('property').enable({ emitEvent: false });
|
154
154
|
break;
|
155
|
-
case TankTypeEnum.
|
155
|
+
case TankTypeEnum.SOLE:
|
156
156
|
this.transactionFormGroup.get('business').enable({ emitEvent: false });
|
157
157
|
break;
|
158
158
|
}
|
@@ -167,13 +167,13 @@ export class AllocationRuleForm extends AbstractForm {
|
|
167
167
|
return this.get('type').value === AllocationRuleTypeEnum.TRANSFER;
|
168
168
|
}
|
169
169
|
isPropertyTank() {
|
170
|
-
return this.get('transaction').get('tankType').value === TankTypeEnum.
|
170
|
+
return this.get('transaction').get('tankType').value === TankTypeEnum.PROPERTY;
|
171
171
|
}
|
172
172
|
isWorkTank() {
|
173
|
-
return this.get('transaction').get('tankType').value === TankTypeEnum.
|
173
|
+
return this.get('transaction').get('tankType').value === TankTypeEnum.WORK;
|
174
174
|
}
|
175
175
|
isSoleTank() {
|
176
|
-
return this.get('transaction').get('tankType').value === TankTypeEnum.
|
176
|
+
return this.get('transaction').get('tankType').value === TankTypeEnum.SOLE;
|
177
177
|
}
|
178
178
|
isPropertyIncome() {
|
179
179
|
return this.isIncome() && this.isPropertyTank();
|
@@ -185,4 +185,4 @@ export class AllocationRuleForm extends AbstractForm {
|
|
185
185
|
return this.isIncome() && this.isSoleTank();
|
186
186
|
}
|
187
187
|
}
|
188
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ydWxlLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvdHJhbnNhY3Rpb24vYWxsb2NhdGlvbi1ydWxlLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hELE9BQU8sRUFBa0IseUJBQXlCLEVBQUUseUJBQXlCLEVBQWlCLE1BQU0sY0FBYyxDQUFDO0FBQ25ILE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNwRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxvREFBb0QsQ0FBQztBQUM3RixPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUMvRSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNuRixPQUFPLEVBQUUsc0JBQXNCLEVBQTZCLE1BQU0sZ0JBQWdCLENBQUM7QUFDbkYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBRTdELE9BQU8sWUFBWSxNQUFNLHFCQUFxQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVB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KCd0eXBlJykudmFsdWUgPT09IEFsbG9jYXRpb25SdWxlVHlwZUVudW0uVFJBTlNGRVI7XG4gIH1cblxuICBpc1Byb3BlcnR5VGFuaygpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5nZXQoJ3RyYW5zYWN0aW9uJykuZ2V0KCd0YW5rVHlwZScpLnZhbHVlID09PSBUYW5rVHlwZUVudW0uUFJPUEVSVFk7XG4gIH1cblxuICBpc1dvcmtUYW5rKCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmdldCgndHJhbnNhY3Rpb24nKS5nZXQoJ3RhbmtUeXBlJykudmFsdWUgPT09IFRhbmtUeXBlRW51bS5XT1JLO1xuICB9XG5cbiAgaXNTb2xlVGFuaygpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5nZXQoJ3RyYW5zYWN0aW9uJykuZ2V0KCd0YW5rVHlwZScpLnZhbHVlID09PSBUYW5rVHlwZUVudW0uU09MRTtcbiAgfVxuXG4gIGlzUHJvcGVydHlJbmNvbWUoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuaXNJbmNvbWUoKSAmJiB0aGlzLmlzUHJvcGVydHlUYW5rKCk7XG4gIH1cblxuICBpc1dvcmtJbmNvbWUoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuaXNJbmNvbWUoKSAmJiB0aGlzLmlzV29ya1RhbmsoKTtcbiAgfVxuXG4gIGlzU29sZUluY29tZSgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5pc0luY29tZSgpICYmIHRoaXMuaXNTb2xlVGFuaygpO1xuICB9XG59XG4iXX0=
|
@@ -14,8 +14,8 @@ export class TransactionBaseFilterForm extends FormGroup {
|
|
14
14
|
}
|
15
15
|
listenEvents() {
|
16
16
|
this.get('tankType').valueChanges.subscribe(tankType => {
|
17
|
-
tankType === TankTypeEnum.
|
18
|
-
tankType === TankTypeEnum.
|
17
|
+
tankType === TankTypeEnum.SOLE ? this.get('business').enable() : this.get('business').disable();
|
18
|
+
tankType === TankTypeEnum.PROPERTY ? this.get('properties').enable() : this.get('properties').disable();
|
19
19
|
});
|
20
20
|
}
|
21
21
|
filter(collection) {
|
@@ -45,4 +45,4 @@ export class TransactionBaseFilterForm extends FormGroup {
|
|
45
45
|
return collection;
|
46
46
|
}
|
47
47
|
}
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYmFzZS1maWx0ZXIuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy90cmFuc2FjdGlvbi90cmFuc2FjdGlvbi1iYXNlLWZpbHRlci5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHeEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBYzdELE1BQU0sT0FBTyx5QkFBMEIsU0FBUSxTQUF5QztJQUN0RixZQUFZLFFBQXVCLEVBQUUsUUFBdUIsRUFBRSxVQUF1QjtRQUNuRixLQUFLLENBQUM7WUFDSixRQUFRLEVBQUUsSUFBSSxXQUFXLENBQUMsUUFBUSxDQUFDO1lBQ25DLFFBQVEsRUFBRSxJQUFJLFdBQVcsQ0FBQyxFQUFFLEtBQUssRUFBRSxRQUFRLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBRSxDQUFDO1lBQzlELFVBQVUsRUFBRSxJQUFJLFdBQVcsQ0FBQyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBRSxDQUFDO1lBQ2xFLFFBQV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b24uZmlsdGVyQnkoJ3Byb3BlcnR5LmlkJywgdmFsdWUucHJvcGVydGllcy5tYXAocHJvcGVydHkgPT4gcHJvcGVydHkuaWQpKTtcbiAgICB9XG4gICAgaWYgKHZhbHVlLmNoYXJ0QWNjb3VudHMpIHtcbiAgICAgIGNvbnN0IHNlYXJjaFF1ZXJ5OiBzdHJpbmcgPSB2YWx1ZS5jaGFydEFjY291bnRzLnRvTG93ZXJDYXNlKCkudHJpbSgpO1xuICAgICAgY29sbGVjdGlvbiA9IGNvbGxlY3Rpb24uZmlsdGVyKHRyYW5zYWN0aW9uID0+IHRyYW5zYWN0aW9uLmNoYXJ0QWNjb3VudHMubmFtZS50b0xvd2VyQ2FzZSgpLmluY2x1ZGVzKHNlYXJjaFF1ZXJ5KSk7XG4gICAgfVxuXG4gICAgcmV0dXJuIGNvbGxlY3Rpb247XG4gIH1cbn1cbiJdfQ==
|
@@ -15,7 +15,7 @@ export class AllocationGroup extends AbstractModel {
|
|
15
15
|
operation: TransactionOperationEnum.ALLOCATE_INVOICE,
|
16
16
|
description: invoice.reference,
|
17
17
|
invoiceNumber: invoice.getNumber(),
|
18
|
-
tankType: TankTypeEnum.
|
18
|
+
tankType: TankTypeEnum.SOLE,
|
19
19
|
amount: invoice.grossPrice,
|
20
20
|
allocations,
|
21
21
|
bankTransactions
|
@@ -54,4 +54,4 @@ export class AllocationGroup extends AbstractModel {
|
|
54
54
|
return this.allocations.first?.isAutoAllocated;
|
55
55
|
}
|
56
56
|
}
|
57
|
-
//# sourceMappingURL=data:application/json;base64,
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ncm91cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvYmFuay9hbGxvY2F0aW9uLWdyb3VwLnRzIl0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YWN0aW9uT3BlcmF0aW9uRW51bS5GSU5EX0FORF9NQVRDSDtcbiAgfVxuXG4gIGlzVHJhbnNmZXIoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMub3BlcmF0aW9uID09PSBUcmFuc2FjdGlvbk9wZXJhdGlvbkVudW0uVFJBTlNGRVI7XG4gIH1cblxuICBpc0FsbG9jYXRlKCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLm9wZXJhdGlvbiA9PT0gVHJhbnNhY3Rpb25PcGVyYXRpb25FbnVtLkFMTE9DQVRFO1xuICB9XG5cbiAgLyoqXG4gICAqIHVzZXIgY2FuIGVkaXQvZGVsZXRlICh2aWEgcmVkbyBhbGwpIHRyYW5zYWN0aW9uIG9ubHkgZm9yIGFsbG9jYXRlIGFuZCBmaW5kIGFuZCBtYXRjaCBvcGVyYXRpb25zXG4gICAqL1xuICBpc1RyYW5zYWN0aW9uQ2hhbmdlYWJsZSgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5pc0FsbG9jYXRlKCkgfHwgdGhpcy5pc0ZpbmRNYXRjaCgpO1xuICB9XG5cbiAgZ2V0IGlzQXV0b0FsbG9jYXRlZCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5hbGxvY2F0aW9ucy5maXJzdD8uaXNBdXRvQWxsb2NhdGVkO1xuICB9XG59XG4iXX0=
|
@@ -36,7 +36,7 @@ export class MyTaxDeductions {
|
|
36
36
|
this.workRelatedSelfEducationType = this.workRelatedSelfEducationExpenses.length ?
|
37
37
|
DeductionSelfEducationTypeEnum.IMPROVE_SKILLS_FOR_CURRENT_EARNINGS_K : null;
|
38
38
|
this.workRelatedSelfEducationTotalAmount = this.calculateWorkRelatedSelfEducationTotalAmount();
|
39
|
-
this.lowValuePoolDeductionTotalAmount = this.depreciations.getByTankType(TankTypeEnum.
|
39
|
+
this.lowValuePoolDeductionTotalAmount = this.depreciations.getByTankType(TankTypeEnum.WORK)
|
40
40
|
.getLVPDepreciations().sumBy('claimAmount');
|
41
41
|
this.interestExpensesTotalAmount = this.transactions
|
42
42
|
.filterBy('chartAccounts.heading.id', DEDUCTION_CATEGORIES.interestExpenses)
|
@@ -93,4 +93,4 @@ export class MyTaxDeductions {
|
|
93
93
|
return this.workRelatedSelfEducationExpenses ? this.workRelatedSelfEducationExpenses.sumBy('claimAmount') - MyTaxDeductions.selfEducationNotDeductibleAmount : 0;
|
94
94
|
}
|
95
95
|
}
|
96
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktdGF4LWRlZHVjdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3JlcG9ydC9teS10YXgvbXktdGF4LWRlZHVjdGlvbnMvbXktdGF4LWRlZHVjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFFaEUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDaEUsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDcEUsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDM0UsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFDdEYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBR25FLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUV4RCxNQUFNLE9BQU8sZUFBZTtJQUMxQjs7T0FFRzthQUNJLHFDQUFnQyxHQUFHLElBQUksYUFBYSxFQUFFLENBQUM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uaWQnLCBDaGFydEFjY291bnRzSGVhZGluZ0xpc3RFbnVtLlRPT0xTX0VRVUlQTUVOVCkuc3VtQnkoJ2NsYWltQW1vdW50Jyk7XG4gIH1cblxuICBwcml2YXRlIGNhbGN1bGF0ZVdvcmtSZWxhdGVkU2VsZkVkdWNhdGlvblRvdGFsQW1vdW50KCk6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMud29ya1JlbGF0ZWRTZWxmRWR1Y2F0aW9uRXhwZW5zZXMgPyB0aGlzLndvcmtSZWxhdGVkU2VsZkVkdWNhdGlvbkV4cGVuc2VzLnN1bUJ5KCdjbGFpbUFtb3VudCcpIC0gTXlUYXhEZWR1Y3Rpb25zLnNlbGZFZHVjYXRpb25Ob3REZWR1Y3RpYmxlQW1vdW50IDogMDtcbiAgfVxufVxuIl19
|
@@ -36,13 +36,13 @@ export class AllocationRule extends AllocationRuleBase {
|
|
36
36
|
return this.type === AllocationRuleTypeEnum.TRANSFER;
|
37
37
|
}
|
38
38
|
isPropertyTank() {
|
39
|
-
return this.transaction.tankType === TankTypeEnum.
|
39
|
+
return this.transaction.tankType === TankTypeEnum.PROPERTY;
|
40
40
|
}
|
41
41
|
isWorkTank() {
|
42
|
-
return this.transaction.tankType === TankTypeEnum.
|
42
|
+
return this.transaction.tankType === TankTypeEnum.WORK;
|
43
43
|
}
|
44
44
|
isSoleTank() {
|
45
|
-
return this.transaction.tankType === TankTypeEnum.
|
45
|
+
return this.transaction.tankType === TankTypeEnum.SOLE;
|
46
46
|
}
|
47
47
|
isPropertyIncome() {
|
48
48
|
return this.isIncome() && this.isPropertyTank();
|
@@ -128,4 +128,4 @@ __decorate([
|
|
128
128
|
__decorate([
|
129
129
|
Type(() => BankAccount)
|
130
130
|
], AllocationRule.prototype, "transferBankAccount", void 0);
|
131
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ydWxlLmpzIiwic291cmNlUm9vdCI6IiI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XRpb25SdWxlQ29uZGl0aW9uQ29tcGFyaXNvbk9wZXJhdG9yRW51bS5FUVVBTFMsXG4gICAgICAgICAgdmFsdWU6IGJhbmtUcmFuc2FjdGlvbi5kZXNjcmlwdGlvblxuICAgICAgICB9KVxuICAgICAgXVxuICAgIH0pO1xuICB9XG59XG4iXX0=
|
@@ -65,16 +65,16 @@ export class User extends BaseUser {
|
|
65
65
|
getTankTypes() {
|
66
66
|
const tankTypes = [];
|
67
67
|
if (this.roles.includes(UserRolesEnum.WORK_TANK)) {
|
68
|
-
tankTypes.push(TankTypeEnum.
|
68
|
+
tankTypes.push(TankTypeEnum.WORK);
|
69
69
|
}
|
70
70
|
if (this.roles.includes(UserRolesEnum.PROPERTY_TANK)) {
|
71
|
-
tankTypes.push(TankTypeEnum.
|
71
|
+
tankTypes.push(TankTypeEnum.PROPERTY);
|
72
72
|
}
|
73
73
|
if (this.roles.includes(UserRolesEnum.SOLE_TANK)) {
|
74
|
-
tankTypes.push(TankTypeEnum.
|
74
|
+
tankTypes.push(TankTypeEnum.SOLE);
|
75
75
|
}
|
76
76
|
if (this.roles.includes(UserRolesEnum.HOLDING_TANK)) {
|
77
|
-
tankTypes.push(TankTypeEnum.
|
77
|
+
tankTypes.push(TankTypeEnum.HOLDING);
|
78
78
|
}
|
79
79
|
tankTypes.push(TankTypeEnum.PERSONAL);
|
80
80
|
return tankTypes;
|
@@ -162,4 +162,4 @@ __decorate([
|
|
162
162
|
__decorate([
|
163
163
|
Type(() => AccountSetupItem)
|
164
164
|
], User.prototype, "blacklistSetupItems", void 0);
|
165
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvdXNlci91c2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3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jaWFsWWVhci50b0ZpblllYXIodGhpcy5jcmVhdGVkQXQpIC0gMSwgMjAyMiksXG4gICAgICBGaW5hbmNpYWxZZWFyLnRvRmluWWVhcihuZXcgRGF0ZSgpKSArIDFcbiAgICApO1xuICB9XG5cbiAgZ2V0IGZpcm1CcmFuY2hOYW1lcygpOiBzdHJpbmcge1xuICAgIHJldHVybiB0aGlzLmVtcGxveWVlRGV0YWlscy5maXJtQnJhbmNoTmFtZXM7XG4gIH1cbn1cblxuIl19
|
@@ -27,7 +27,7 @@ export class VehicleClaim extends VehicleClaimBase {
|
|
27
27
|
return !!this.business;
|
28
28
|
}
|
29
29
|
get tankType() {
|
30
|
-
return this.isSoleTank() ? TankTypeEnum.
|
30
|
+
return this.isSoleTank() ? TankTypeEnum.SOLE : TankTypeEnum.WORK;
|
31
31
|
}
|
32
32
|
/**
|
33
33
|
* Claim amount for KMs method. Exists only for KMs method.
|
@@ -57,4 +57,4 @@ __decorate([
|
|
57
57
|
__decorate([
|
58
58
|
Type(() => SoleBusiness)
|
59
59
|
], VehicleClaim.prototype, "business", void 0);
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1jbGFpbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvdmVoaWNsZS92ZWhpY2xlLWNsYWltLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsWUFBWSxJQUFJLGdCQUFnQixFQUFFLE1BQU0sdUNBQXVDLENBQUM7QUFDekYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzdELE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQ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aWNsZUNsYWltUmF0ZSwgMik7XG4gIH1cblxuICAvKipcbiAgICogR2V0IGxvZ2Jvb2sgY2xhaW0gYW1vdW50LiBFeGlzdHMgb25seSBmb3IgbG9nYm9vayBtZXRob2QuXG4gICAqIENsYWltQW1vdW50ID0gV29ya1VzYWdlICogdHJhbnNhY3Rpb24vZGVwcmVjaWF0aW9uIGFtb3VudFxuICAgKi9cbiAgZ2V0TG9nYm9va0NsYWltQW1vdW50KHRyYW5zYWN0aW9uczogVHJhbnNhY3Rpb25Db2xsZWN0aW9uKTogbnVtYmVyIHtcblxuICAgIGNvbnN0IHRyYW5zYWN0aW9uc0Ftb3VudDogbnVtYmVyID0gdHJhbnNhY3Rpb25zXG4gICAgICAuZ2V0QnlWZWhpY2xlQ2xhaW0odGhpcylcbiAgICAgIC5nZXRMb2dib29rVHJhbnNhY3Rpb25zKClcbiAgICAgIC5zdW1CeSgnYW1vdW50Jyk7XG5cbiAgICAvLyBNYXRoLmFicyBiZWNhdXNlIGFtb3VudCB3aWxsIGJlIG5lZ2F0aXZlIChiZWNhdXNlIHdlIHN1bSBleHBlbnNlcyksIGJ1dCB3ZSBkb24ndCB3YW50IG5lZ2F0aXZlIHBlcmNlbnQgdmFsdWVcbiAgICByZXR1cm4gTWF0aC5hYnModHJhbnNhY3Rpb25zQW1vdW50KSAqIHRoaXMud29ya1VzYWdlIC8gMTAwO1xuICB9XG5cbiAgZ2V0QXZlcmFnZVdlZWtseUtNUygpOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLmtpbG9tZXRlcnMgLyBGaW5hbmNpYWxZZWFyLndlZWtzSW5ZZWFyO1xuICB9XG59XG4iXX0=
|
@@ -10,11 +10,11 @@ export class VehicleLogbook extends VehicleLogbookBase {
|
|
10
10
|
get tankType() {
|
11
11
|
switch (true) {
|
12
12
|
case !!this.business:
|
13
|
-
return TankTypeEnum.
|
13
|
+
return TankTypeEnum.SOLE;
|
14
14
|
case this.isPersonal:
|
15
15
|
return TankTypeEnum.PERSONAL;
|
16
16
|
default:
|
17
|
-
return TankTypeEnum.
|
17
|
+
return TankTypeEnum.WORK;
|
18
18
|
}
|
19
19
|
}
|
20
20
|
}
|
@@ -24,4 +24,4 @@ __decorate([
|
|
24
24
|
__decorate([
|
25
25
|
Type(() => SoleBusiness)
|
26
26
|
], VehicleLogbook.prototype, "business", void 0);
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1sb2dib29rLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy92ZWhpY2xlL3ZlaGljbGUtbG9nYm9vay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGNBQWMsSUFBSSxrQkFBa0IsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBQy9GLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ3ZDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUU3RCxNQUFNLE9BQU8sY0FBZSxTQUFRLGtCQUFrQjtJQU9wRCxJQUFJLFVBQVU7UUFDWixPQUFPLElBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxDQUFDLGFBQWEsQ0FBQztJQUMvQyxDQUFDO0lBRUQsSUFBSSxRQUFRO1FBQ1YsUUFBUSxJQUFJLEVBQUU7WUFDWixLQUFLLENBQUMsQ0FBQyxJQUFJLENBQUMsUUFBUTtnQkFDbEIsT0FBTyxZQUFZLENBQUMsSUFBSSxDQUFDO1lBQzNCLEtBQUssSUFBSSxDQUFDLFVBQVU7Z0JBQ2x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