added invoices and status in cockpit, created info button for contract status types
This commit is contained in:
+40
@@ -242,6 +242,16 @@ export declare function getContractById(id: number, decryptPassword?: boolean):
|
||||
meterNumber: string;
|
||||
location: string | null;
|
||||
}) | null;
|
||||
invoices: {
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
notes: string | null;
|
||||
documentPath: string | null;
|
||||
energyContractDetailsId: number;
|
||||
invoiceDate: Date;
|
||||
invoiceType: import(".prisma/client").$Enums.InvoiceType;
|
||||
}[];
|
||||
} & {
|
||||
id: number;
|
||||
meterId: number | null;
|
||||
@@ -421,6 +431,16 @@ export declare function getContractById(id: number, decryptPassword?: boolean):
|
||||
meterNumber: string;
|
||||
location: string | null;
|
||||
}) | null;
|
||||
invoices: {
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
notes: string | null;
|
||||
documentPath: string | null;
|
||||
energyContractDetailsId: number;
|
||||
invoiceDate: Date;
|
||||
invoiceType: import(".prisma/client").$Enums.InvoiceType;
|
||||
}[];
|
||||
} & {
|
||||
id: number;
|
||||
meterId: number | null;
|
||||
@@ -974,6 +994,16 @@ export declare function updateContract(id: number, data: Partial<ContractCreateD
|
||||
meterNumber: string;
|
||||
location: string | null;
|
||||
}) | null;
|
||||
invoices: {
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
notes: string | null;
|
||||
documentPath: string | null;
|
||||
energyContractDetailsId: number;
|
||||
invoiceDate: Date;
|
||||
invoiceType: import(".prisma/client").$Enums.InvoiceType;
|
||||
}[];
|
||||
} & {
|
||||
id: number;
|
||||
meterId: number | null;
|
||||
@@ -1153,6 +1183,16 @@ export declare function updateContract(id: number, data: Partial<ContractCreateD
|
||||
meterNumber: string;
|
||||
location: string | null;
|
||||
}) | null;
|
||||
invoices: {
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
notes: string | null;
|
||||
documentPath: string | null;
|
||||
energyContractDetailsId: number;
|
||||
invoiceDate: Date;
|
||||
invoiceType: import(".prisma/client").$Enums.InvoiceType;
|
||||
}[];
|
||||
} & {
|
||||
id: number;
|
||||
meterId: number | null;
|
||||
|
||||
Reference in New Issue
Block a user