using ROLAC.API.DTOs.Finance;
namespace ROLAC.API.Services;
public interface IFinanceDashboardService
{
/// All-time balance: total Givings minus total Paid+Approved expenses.
Task GetSummaryAsync();
/// Income (Givings) vs expense (Paid+Approved) totals within the date range.
Task GetIncomeExpenseAsync(DateOnly? from, DateOnly? to);
///
/// Expense totals grouped by the drill level implied by the supplied ids:
/// none -> by Ministry; ministryId -> by CategoryGroup; ministryId+categoryGroupId -> by SubCategory.
///
Task> GetExpenseBreakdownAsync(
DateOnly? from, DateOnly? to, int? ministryId, int? categoryGroupId);
}