feat: Add reports feature
Enables a new reports section in the application. This includes: - Adding a `reports` flag to `AppFeatures` and `AppSettings`. - Including a new "Reportistica" link in the main navigation for privileged users. - Adding a `getCondoPayments` endpoint to the mock DB service. - Updating the backend to support filtering payments by `condoId`. - Providing a basic `ReportsPage` component.
This commit is contained in:
3
types.ts
3
types.ts
@@ -51,6 +51,7 @@ export interface AppFeatures {
|
||||
tickets: boolean;
|
||||
payPal: boolean;
|
||||
notices: boolean;
|
||||
reports: boolean;
|
||||
}
|
||||
|
||||
export interface AlertDefinition {
|
||||
@@ -164,4 +165,4 @@ export interface Ticket {
|
||||
attachments?: TicketAttachment[];
|
||||
userName?: string; // Joined field
|
||||
userEmail?: string; // Joined field
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user