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.
- package/bundles/taxtank-core.umd.js +44 -21
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/models/depreciation/depreciation.js +8 -1
- package/esm2015/lib/models/report/property/property-report-item-transaction.js +2 -2
- package/esm2015/lib/models/sole/index.js +1 -2
- package/esm2015/lib/models/transaction/transaction.js +3 -3
- package/esm2015/lib/services/http/sole/sole-invoice/sole-invoice.service.js +25 -16
- package/fesm2015/taxtank-core.js +35 -17
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/models/depreciation/depreciation.d.ts +1 -0
- package/lib/models/sole/index.d.ts +0 -1
- package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +4 -3
- package/package.json +1 -1
- package/esm2015/lib/models/sole/sole-invoice-send-data.interface.js +0 -2
- package/lib/models/sole/sole-invoice-send-data.interface.d.ts +0 -9
|
@@ -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
|
|
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
|
-
|
|
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,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
|
-
}
|