taxtank-core 0.28.77 → 0.28.79

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.
@@ -65,6 +65,7 @@ export declare class Depreciation extends DepreciationBase implements Expense, I
65
65
  */
66
66
  get claimAmount(): number;
67
67
  get amountWithGst(): number;
68
+ get gstClaimAmount(): number;
68
69
  /**
69
70
  * assets purchased in the current financial year
70
71
  */
@@ -8,6 +8,5 @@ export * from './sole-depreciation-method';
8
8
  export * from './sole-details';
9
9
  export * from './sole-invoice';
10
10
  export * from './sole-invoice-item';
11
- export * from './sole-invoice-send-data.interface';
12
11
  export * from './sole-invoice-template';
13
12
  export * from './bas-report';
@@ -1,6 +1,6 @@
1
1
  import { RestService } from '../../rest/rest.service';
2
2
  import { SoleInvoice as SoleInvoiceBase } from '../../../../db/Models/sole/sole-invoice';
3
- import { SoleInvoice, Document } from '../../../../models';
3
+ import { SoleInvoice } from '../../../../models';
4
4
  import { SoleInvoiceStatusesEnum } from '../../../../db/Enums/sole-invoice-statuses.enum';
5
5
  import { Observable } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
@@ -8,10 +8,11 @@ export declare class SoleInvoiceService extends RestService<SoleInvoiceBase, Sol
8
8
  modelClass: typeof SoleInvoice;
9
9
  url: string;
10
10
  isHydra: boolean;
11
+ add(invoice: SoleInvoice): Observable<SoleInvoice>;
11
12
  updateStatus(invoice: SoleInvoice, status: SoleInvoiceStatusesEnum): Observable<SoleInvoice>;
12
- publish(invoice: SoleInvoice, document: Document): Observable<SoleInvoice>;
13
- sendEmail(invoice: SoleInvoice): Observable<Object>;
13
+ send(invoice: SoleInvoice, file: File): Observable<Object>;
14
14
  /**
15
+ * @TODO use backend
15
16
  * Return the next number from the last invoice.
16
17
  * Basically needed to create a new invoice to show its number when the invoice has not yet been sent to the backend
17
18
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.77",
3
+ "version": "0.28.79",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLXNlbmQtZGF0YS5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3NvbGUvc29sZS1pbnZvaWNlLXNlbmQtZGF0YS5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNvbGVJbnZvaWNlIH0gZnJvbSAnLi9zb2xlLWludm9pY2UnO1xuXG4vKipcbiAqIERhdGEgcmVxdWlyZWQgdG8gc2VuZGluZyBhbiBpbnZvaWNlLlxuICogc2VuZEJ5RW1haWwgZmxhZyBpbmRpY2F0ZXMgd2hldGhlciB0aGUgaW52b2ljZSBzaG91bGQgYmUgbWFpbGVkIG9yIG5vdFxuICovXG5leHBvcnQgaW50ZXJmYWNlIFNvbGVJbnZvaWNlU2VuZERhdGEge1xuICBpbnZvaWNlOiBTb2xlSW52b2ljZTtcbiAgc2VuZEJ5RW1haWw6IGJvb2xlYW47XG59XG4iXX0=
@@ -1,9 +0,0 @@
1
- import { SoleInvoice } from './sole-invoice';
2
- /**
3
- * Data required to sending an invoice.
4
- * sendByEmail flag indicates whether the invoice should be mailed or not
5
- */
6
- export interface SoleInvoiceSendData {
7
- invoice: SoleInvoice;
8
- sendByEmail: boolean;
9
- }