added invoices and status in cockpit, created info button for contract status types
This commit is contained in:
@@ -152,6 +152,19 @@ export interface MeterReading {
|
||||
notes?: string;
|
||||
}
|
||||
|
||||
export type InvoiceType = 'INTERIM' | 'FINAL' | 'NOT_AVAILABLE';
|
||||
|
||||
export interface Invoice {
|
||||
id: number;
|
||||
energyContractDetailsId: number;
|
||||
invoiceDate: string;
|
||||
invoiceType: InvoiceType;
|
||||
documentPath?: string;
|
||||
notes?: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export type ContractTaskStatus = 'OPEN' | 'COMPLETED';
|
||||
|
||||
export interface ContractTaskSubtask {
|
||||
@@ -344,6 +357,7 @@ export interface EnergyContractDetails {
|
||||
bonus?: number;
|
||||
previousProviderName?: string;
|
||||
previousCustomerNumber?: string;
|
||||
invoices?: Invoice[]; // Rechnungen
|
||||
}
|
||||
|
||||
export interface InternetContractDetails {
|
||||
|
||||
Reference in New Issue
Block a user