From 8c0f05f05edb745bec1dd16ff7fcc5a715d6b9ac Mon Sep 17 00:00:00 2001 From: frakarr Date: Thu, 11 Dec 2025 21:13:01 +0100 Subject: [PATCH] Update types.ts --- types.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/types.ts b/types.ts index abcaa09..faf6074 100644 --- a/types.ts +++ b/types.ts @@ -53,6 +53,7 @@ export interface AppFeatures { notices: boolean; reports: boolean; extraordinaryExpenses: boolean; + condoFinancialsView: boolean; // Toggle for User read-only access to Condo Expenses } export interface AlertDefinition { @@ -213,3 +214,20 @@ export interface ExtraordinaryExpense { attachments?: { id: string, fileName: string, fileType: string, data: 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 }[]; +}