Update types.ts
This commit is contained in:
18
types.ts
18
types.ts
@@ -53,6 +53,7 @@ export interface AppFeatures {
|
|||||||
notices: boolean;
|
notices: boolean;
|
||||||
reports: boolean;
|
reports: boolean;
|
||||||
extraordinaryExpenses: boolean;
|
extraordinaryExpenses: boolean;
|
||||||
|
condoFinancialsView: boolean; // Toggle for User read-only access to Condo Expenses
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AlertDefinition {
|
export interface AlertDefinition {
|
||||||
@@ -213,3 +214,20 @@ export interface ExtraordinaryExpense {
|
|||||||
attachments?: { id: string, fileName: string, fileType: string, data: string }[];
|
attachments?: { id: string, fileName: string, fileType: string, data: string }[];
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// --- CONDO ORDINARY EXPENSES (USCITE) ---
|
||||||
|
|
||||||
|
export interface CondoExpense {
|
||||||
|
id: string;
|
||||||
|
condoId: string;
|
||||||
|
description: string;
|
||||||
|
supplierName: string;
|
||||||
|
amount: number;
|
||||||
|
paymentDate: string | null; // Null if not paid yet
|
||||||
|
status: 'PAID' | 'UNPAID' | 'SUSPENDED';
|
||||||
|
paymentMethod?: string;
|
||||||
|
invoiceNumber?: string;
|
||||||
|
notes?: string;
|
||||||
|
createdAt: string;
|
||||||
|
attachments?: { id: string, fileName: string, fileType: string, data: string }[];
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user