Compare commits

..

9 Commits

Author SHA1 Message Date
784bc6d956 2.0.0 2018-09-05 21:45:17 +02:00
8aac756af2 BREAKING CHANGE(IVoucher): rename IExpense to IVoucher 2018-09-05 21:45:17 +02:00
63d4561980 1.0.50 2018-09-04 00:19:59 +02:00
8befdba50a fix(core): update 2018-09-04 00:19:59 +02:00
24a0fb1a8a 1.0.49 2018-09-03 11:28:54 +02:00
b4ac1242e4 fix(IExpense): update contactRef to be of type IContact 2018-09-03 11:28:53 +02:00
fb26eec4c6 1.0.48 2018-08-07 21:54:07 +02:00
3912ed3167 fix(update IExpense): update 2018-08-07 21:54:06 +02:00
0dd921675e 1.0.47 2018-08-07 21:49:11 +02:00
3 changed files with 7 additions and 5 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@tsclass/tsclass",
"version": "1.0.46",
"version": "2.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@tsclass/tsclass",
"version": "1.0.46",
"version": "2.0.0",
"private": false,
"description": "common classes for TypeScript",
"main": "dist/index.js",

View File

@ -2,15 +2,17 @@ import { IInvoice } from './invoice';
import { IContact } from '../business/contact';
export interface IExpenseItem {
description: string,
asset?: boolean,
accountingType?: any,
amount: number;
taxPercentage: number;
}
export interface IExpense {
export interface IVoucher {
voucherFile?: any;
date: Date;
description: string;
expenseItems: IExpenseItem[];
contactRef: string;
accountRef: string;
contactRef: IContact;
}