feat(collection-by-doctor) - fixed query

This commit is contained in:
2025-10-27 23:18:09 +05:30
parent 827560cdfd
commit 296a77fa61
3 changed files with 110 additions and 62 deletions

View File

@@ -15,17 +15,4 @@ export interface GetPatientBalancesResult {
totalCount: number;
nextCursor: string | null;
hasMore: boolean;
}
export interface DoctorBalancesAndSummary {
balances: PatientBalanceRow[];
totalCount: number;
nextCursor: string | null;
hasMore: boolean;
summary: {
totalPatients: number;
totalOutstanding: number;
totalCollected: number;
patientsWithBalance: number;
};
}
}