@openbox/shared-types 0.2.84 → 0.2.85
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/lib/invoices/Details/index.d.ts +0 -0
- package/lib/invoices/Details/index.js +2 -0
- package/lib/invoices/Details/index.js.map +1 -0
- package/lib/invoices/Details/invoices.details.type.d.ts +25 -0
- package/lib/invoices/Details/invoices.details.type.js +3 -0
- package/lib/invoices/Details/invoices.details.type.js.map +1 -0
- package/lib/invoices/Invoices/invoices.types.d.ts +2 -0
- package/package.json +1 -1
- package/src/invoices/Details/index.ts +0 -0
- package/src/invoices/Details/invoices.details.type.ts +26 -0
- package/src/invoices/Invoices/invoices.types.ts +2 -1
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Details/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Services } from '../../services/Services/services.types';
|
|
2
|
+
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types';
|
|
3
|
+
import { Invoices } from '../Invoices';
|
|
4
|
+
export type InvoicesDetailes = {
|
|
5
|
+
id: string;
|
|
6
|
+
quantity: number;
|
|
7
|
+
unitPrice: number;
|
|
8
|
+
incIva: boolean;
|
|
9
|
+
incRenta5: boolean;
|
|
10
|
+
incRenta10: boolean;
|
|
11
|
+
ventaPrice: number;
|
|
12
|
+
totalIvaPrice: number;
|
|
13
|
+
ivaPrice: number;
|
|
14
|
+
price: number;
|
|
15
|
+
renta5Price: number;
|
|
16
|
+
renta10Price: number;
|
|
17
|
+
vNoSujeta: number;
|
|
18
|
+
vExenta: number;
|
|
19
|
+
vGravada: number;
|
|
20
|
+
chargeDescription: string;
|
|
21
|
+
NCDTotal: boolean;
|
|
22
|
+
invoice: Invoices;
|
|
23
|
+
service: Services;
|
|
24
|
+
sellingType: Pick<SystemSellingTypes, 'id' | 'name'>;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoices.details.type.js","sourceRoot":"","sources":["../../../src/invoices/Details/invoices.details.type.ts"],"names":[],"mappings":""}
|
|
@@ -2,6 +2,7 @@ import { CustomersBranches } from '../../customers/Branches/customers.branches.t
|
|
|
2
2
|
import { Customers } from '../../customers/Customers/customers.types';
|
|
3
3
|
import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
|
|
4
4
|
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
|
|
5
|
+
import { InvoicesDetailes } from '../Details/invoices.details.type';
|
|
5
6
|
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type';
|
|
6
7
|
import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type';
|
|
7
8
|
import { InvoicesSellers } from '../Sellers/invoices.sellers.type';
|
|
@@ -49,4 +50,5 @@ export type Invoices = {
|
|
|
49
50
|
personType: Pick<SystemPersonTypes, 'id' | 'name'>;
|
|
50
51
|
customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>;
|
|
51
52
|
documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
|
|
53
|
+
invoiceDetails: InvoicesDetailes[];
|
|
52
54
|
};
|
package/package.json
CHANGED
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Services } from '../../services/Services/services.types'
|
|
2
|
+
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
|
|
3
|
+
import { Invoices } from '../Invoices'
|
|
4
|
+
|
|
5
|
+
export type InvoicesDetailes = {
|
|
6
|
+
id: string
|
|
7
|
+
quantity: number
|
|
8
|
+
unitPrice: number
|
|
9
|
+
incIva: boolean
|
|
10
|
+
incRenta5: boolean
|
|
11
|
+
incRenta10: boolean
|
|
12
|
+
ventaPrice: number
|
|
13
|
+
totalIvaPrice: number
|
|
14
|
+
ivaPrice: number
|
|
15
|
+
price: number
|
|
16
|
+
renta5Price: number
|
|
17
|
+
renta10Price: number
|
|
18
|
+
vNoSujeta: number
|
|
19
|
+
vExenta: number
|
|
20
|
+
vGravada: number
|
|
21
|
+
chargeDescription: string
|
|
22
|
+
NCDTotal: boolean
|
|
23
|
+
invoice: Invoices
|
|
24
|
+
service: Services
|
|
25
|
+
sellingType: Pick<SystemSellingTypes, 'id' | 'name'>
|
|
26
|
+
}
|
|
@@ -2,6 +2,7 @@ import { CustomersBranches } from '../../customers/Branches/customers.branches.t
|
|
|
2
2
|
import { Customers } from '../../customers/Customers/customers.types'
|
|
3
3
|
import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
|
|
4
4
|
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
|
|
5
|
+
import { InvoicesDetailes } from '../Details/invoices.details.type'
|
|
5
6
|
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
|
|
6
7
|
import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type'
|
|
7
8
|
import { InvoicesSellers } from '../Sellers/invoices.sellers.type'
|
|
@@ -50,7 +51,7 @@ export type Invoices = {
|
|
|
50
51
|
personType: Pick<SystemPersonTypes, 'id' | 'name'>
|
|
51
52
|
customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>
|
|
52
53
|
documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
|
|
53
|
-
|
|
54
|
+
invoiceDetails: InvoicesDetailes[]
|
|
54
55
|
// echarges: Echarges
|
|
55
56
|
// accountingEntry: AccountingEntriesEntity
|
|
56
57
|
// relatedDocument: InvoicesEntity
|