Type alias DashboardData

DashboardData: {
    currentMonthRevenue: number;
    invoiceStatusCounts: InvoiceStatusCounts;
    invoicesSentThisMonth: number;
    monthlyInvoiceStats: MonthlyInvoiceStats[];
    totalHours: number;
    totalOutstanding: Record<string, any>;
    unbilledHours: number;
    yearlyRevenueByMonth: MonthlyRevenue[];
}

Type declaration

  • currentMonthRevenue: number

    Total revenue generated in the current month in the default currency

  • invoiceStatusCounts: InvoiceStatusCounts

    Current count of invoices grouped by their status (paid, outstanding, pending, overdue)

  • invoicesSentThisMonth: number

    Total number of invoices that have been sent to clients in the current month

  • monthlyInvoiceStats: MonthlyInvoiceStats[]

    Monthly statistics showing the number of invoices raised and sent over the past 12 months

  • totalHours: number

    Total hours logged across all projects

  • totalOutstanding: Record<string, any>

    Total outstanding amounts mapped by currency

  • unbilledHours: number

    Total hours that have not been billed yet

  • yearlyRevenueByMonth: MonthlyRevenue[]

    Monthly revenue breakdown for the past 12 months, ordered chronologically