Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
6a1fafeab7 | |||
b019cf48b5 | |||
1db0a7adec | |||
1901c57a1d | |||
5723ddd059 | |||
5b67ad1c1c | |||
0044ab7b7e | |||
e40c6b60d1 | |||
af427347d9 | |||
952103c64e | |||
65ba20253c | |||
73e90165a4 |
@ -134,8 +134,7 @@ windowsCompatibility:
|
|||||||
image: stefanscherer/node-windows:10-build-tools
|
image: stefanscherer/node-windows:10-build-tools
|
||||||
stage: metadata
|
stage: metadata
|
||||||
script:
|
script:
|
||||||
- npmci npm install
|
- npm install & npm test
|
||||||
- npmci npm test
|
|
||||||
coverage: /\d+.?\d+?\%\s*coverage/
|
coverage: /\d+.?\d+?\%\s*coverage/
|
||||||
tags:
|
tags:
|
||||||
- windows
|
- windows
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "1.0.25",
|
"version": "1.0.31",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "1.0.25",
|
"version": "1.0.31",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -12,13 +12,16 @@ export interface IContact {
|
|||||||
// =======
|
// =======
|
||||||
salutation?: TContactSalutation;
|
salutation?: TContactSalutation;
|
||||||
type: TContactType;
|
type: TContactType;
|
||||||
title: TContactTitle;
|
title?: TContactTitle;
|
||||||
name: string;
|
name: string;
|
||||||
surname?: string;
|
surname?: string;
|
||||||
legalEntity?: string;
|
legalEntity?: string;
|
||||||
address: IAddress;
|
address: IAddress;
|
||||||
description: string;
|
description: string;
|
||||||
|
customerNumber?: string;
|
||||||
|
|
||||||
|
email?: string;
|
||||||
|
phone?: string;
|
||||||
|
|
||||||
// =========
|
// =========
|
||||||
// financial
|
// financial
|
||||||
|
15
ts/finance/expense.ts
Normal file
15
ts/finance/expense.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { IInvoice } from './invoice';
|
||||||
|
import { IContact } from '../business/contact';
|
||||||
|
|
||||||
|
export interface IExpenseItem {
|
||||||
|
amount: number;
|
||||||
|
taxPercentage: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IExpense {
|
||||||
|
voucherFile?: any
|
||||||
|
expenseItems: IExpenseItem[];
|
||||||
|
pdfFile: any;
|
||||||
|
contactRef: string;
|
||||||
|
accountRef: string;
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
import { IContact } from '../index';
|
import { IContact } from '..';
|
||||||
|
|
||||||
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
||||||
|
|
@ -2,7 +2,8 @@
|
|||||||
export * from './business/address';
|
export * from './business/address';
|
||||||
export * from './business/company';
|
export * from './business/company';
|
||||||
export * from './business/contact';
|
export * from './business/contact';
|
||||||
export * from './business/invoice';
|
export * from './finance/invoice';
|
||||||
|
export * from './finance/expense';
|
||||||
|
|
||||||
// Cloud
|
// Cloud
|
||||||
export * from './cloud/dns';
|
export * from './cloud/dns';
|
||||||
|
Reference in New Issue
Block a user