taxtank-core 0.32.49 → 0.32.51

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.
@@ -8,3 +8,4 @@ export * from './sole-invoice.form';
8
8
  export * from './sole-invoice-item.form';
9
9
  export * from './sole-invoice-template.form';
10
10
  export * from './bas-report.form';
11
+ export * from './invoice-payment.form';
@@ -0,0 +1,7 @@
1
+ import { AbstractForm } from '../abstract.form';
2
+ export declare class InvoicePaymentForm extends AbstractForm<{
3
+ date: Date;
4
+ amount: number;
5
+ }> {
6
+ constructor(date: Date, amount: number);
7
+ }
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Transaction as TransactionBase } from '../../../db/Models/transaction/transaction';
4
4
  import { RestService } from '../rest/rest-old.service';
5
- import { Transaction } from '../../../models';
5
+ import { FinancialYear, Transaction } from '../../../models';
6
6
  import { HttpClient } from '@angular/common/http';
7
7
  import { EventDispatcherService } from '../../event';
8
8
  import { IEventListener } from '../../../interfaces';
@@ -26,6 +26,7 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
26
26
  * get list of all user's TaxTank transactions
27
27
  */
28
28
  get(): Observable<Transaction[]>;
29
+ getByYear(year?: FinancialYear): Observable<Transaction[]>;
29
30
  /**
30
31
  * Add single new transaction
31
32
  * @param model New Transaction instance for saving
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.32.49",
3
+ "version": "0.32.51",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^16.2.12",