feat(report page) - collection by doctors - done
This commit is contained in:
@@ -8,4 +8,25 @@ export interface PatientBalanceRow {
|
||||
currentBalance: number;
|
||||
lastPaymentDate: string | null;
|
||||
lastAppointmentDate: string | null;
|
||||
}
|
||||
patientCreatedAt?: string | null;
|
||||
}
|
||||
|
||||
export interface GetPatientBalancesResult {
|
||||
balances: PatientBalanceRow[];
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user