add reports module with controller, service, and repository

This commit is contained in:
Marshal
2026-08-03 21:43:23 +00:00
parent e68bdb7a1a
commit c3979b08b6
26 changed files with 1771 additions and 136 deletions

View File

@@ -1,6 +1,8 @@
export type OverviewRange = '7d' | '30d' | '90d';
export interface IOverviewBookingKpis {
/** All bookings ever recorded (excluding deleted / GENERAL umbrella rows). */
total: number;
totalActive: number;
needsAction: number;
urgent: number;
@@ -35,6 +37,8 @@ export interface IOverviewStaffKpis {
}
export interface IOverviewContractKpis {
/** All contracts ever recorded (excluding deleted). */
total: number;
totalActive: number;
needsAction: number;
inApproval: number;
@@ -202,5 +206,6 @@ export type OverviewTabKey =
| 'contracts'
| 'billing'
| 'operations'
| 'fleet'
| 'customers'
| 'staff';