fix(finance): add IExpense
This commit is contained in:
parent
0044ab7b7e
commit
5b67ad1c1c
6
ts/finance/expense.ts
Normal file
6
ts/finance/expense.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import { IInvoice } from './invoice';
|
||||
|
||||
export interface IExpense {
|
||||
invoice: IInvoice,
|
||||
account: string
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
import { IContact } from '../index';
|
||||
import { IContact } from '..';
|
||||
|
||||
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
||||
|
||||
@ -10,6 +10,7 @@ export interface IInvoiceItem {
|
||||
}
|
||||
|
||||
export interface IInvoice {
|
||||
pdfFile?: any;
|
||||
billedBy: IContact;
|
||||
billedTo: IContact;
|
||||
status: TInvoiceStatus;
|
@ -2,7 +2,8 @@
|
||||
export * from './business/address';
|
||||
export * from './business/company';
|
||||
export * from './business/contact';
|
||||
export * from './business/invoice';
|
||||
export * from './finance/invoice';
|
||||
export * from './finance/expense';
|
||||
|
||||
// Cloud
|
||||
export * from './cloud/dns';
|
||||
|
Loading…
x
Reference in New Issue
Block a user