taxtank-core 0.29.12 → 0.29.13
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 +124 -138
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/db/Models/sole/sole-invoice-template.js +1 -1
- package/esm2015/lib/forms/sole/sole-invoice-template.form.js +1 -2
- package/esm2015/lib/models/sole/sole-invoice-template.js +2 -13
- package/esm2015/lib/models/sole/sole-invoice.js +5 -10
- package/fesm2015/taxtank-core.js +92 -106
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/db/Models/sole/sole-invoice-template.d.ts +0 -2
- package/lib/models/sole/sole-invoice-template.d.ts +2 -7
- package/lib/models/sole/sole-invoice.d.ts +3 -5
- package/package.json +1 -1
|
@@ -2,7 +2,6 @@ import { SoleBusiness } from './sole-business';
|
|
|
2
2
|
import { BankAccount } from '../bank/bank-account';
|
|
3
3
|
import { AbstractModel } from '../abstract-model';
|
|
4
4
|
import { SoleInvoiceTemplateTaxTypeEnum } from '../../Enums/sole-invoice-template-tax-type.enum';
|
|
5
|
-
import { File } from '../file';
|
|
6
5
|
export declare class SoleInvoiceTemplate extends AbstractModel {
|
|
7
6
|
name?: string;
|
|
8
7
|
taxType?: SoleInvoiceTemplateTaxTypeEnum;
|
|
@@ -10,5 +9,4 @@ export declare class SoleInvoiceTemplate extends AbstractModel {
|
|
|
10
9
|
id?: number;
|
|
11
10
|
business?: SoleBusiness;
|
|
12
11
|
bankAccount?: BankAccount;
|
|
13
|
-
file?: File;
|
|
14
12
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { SoleBusiness } from './sole-business';
|
|
2
|
-
import { BankAccount } from '../bank
|
|
2
|
+
import { BankAccount } from '../bank';
|
|
3
3
|
import { SoleInvoiceTemplate as SoleInvoiceTemplateBase } from '../../db/Models/sole/sole-invoice-template';
|
|
4
4
|
import { SoleInvoiceTemplateTaxTypeEnum } from '../../db/Enums/sole-invoice-template-tax-type.enum';
|
|
5
|
-
|
|
6
|
-
import { Photoable } from '../../interfaces';
|
|
7
|
-
export declare class SoleInvoiceTemplate extends SoleInvoiceTemplateBase implements Photoable {
|
|
5
|
+
export declare class SoleInvoiceTemplate extends SoleInvoiceTemplateBase {
|
|
8
6
|
business: SoleBusiness;
|
|
9
7
|
bankAccount: BankAccount;
|
|
10
|
-
file: AppFile;
|
|
11
8
|
/**
|
|
12
9
|
* Affects to SoleInvoiceItem.isGST flag availability.
|
|
13
10
|
* When NONE: isGST is unavailable
|
|
@@ -19,6 +16,4 @@ export declare class SoleInvoiceTemplate extends SoleInvoiceTemplateBase impleme
|
|
|
19
16
|
* Get term duration in milliseconds
|
|
20
17
|
*/
|
|
21
18
|
get termTime(): number;
|
|
22
|
-
getPhoto(): string;
|
|
23
|
-
getPhotoPlaceholder(): string;
|
|
24
19
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { SoleInvoice as SoleInvoiceBase } from '../../db/Models/sole/sole-invoice';
|
|
2
|
-
import { User } from '../user
|
|
2
|
+
import { User } from '../user';
|
|
3
3
|
import { SoleBusiness } from './sole-business';
|
|
4
4
|
import { SoleInvoiceItem } from './sole-invoice-item';
|
|
5
5
|
import { SoleContact } from './sole-contact';
|
|
6
|
-
import { SoleInvoiceTemplate } from './sole-invoice-template';
|
|
7
6
|
import { SoleInvoiceStatusesEnum } from '../../db/Enums/sole-invoice-statuses.enum';
|
|
8
|
-
import { BankAccount } from '../bank
|
|
7
|
+
import { BankAccount } from '../bank';
|
|
9
8
|
import { SoleInvoiceTaxTypeEnum } from '../../db/Enums/sole-invoice-tax-type.enum';
|
|
10
|
-
import { SoleInvoiceItemCollection } from '../../collections
|
|
9
|
+
import { SoleInvoiceItemCollection } from '../../collections';
|
|
11
10
|
export declare class SoleInvoice extends SoleInvoiceBase {
|
|
12
11
|
static NUMBER_LENGTH: number;
|
|
13
12
|
dateFrom: Date;
|
|
@@ -16,7 +15,6 @@ export declare class SoleInvoice extends SoleInvoiceBase {
|
|
|
16
15
|
business: SoleBusiness;
|
|
17
16
|
items: SoleInvoiceItem[];
|
|
18
17
|
payer: SoleContact;
|
|
19
|
-
template: SoleInvoiceTemplate;
|
|
20
18
|
bankAccount: BankAccount;
|
|
21
19
|
status: SoleInvoiceStatusesEnum;
|
|
22
20
|
taxType: SoleInvoiceTaxTypeEnum;
|