feat(patient - financial tabular view) - added

This commit is contained in:
2025-10-08 05:01:12 +05:30
parent 7e53dd0454
commit 64e338ba60
6 changed files with 554 additions and 76 deletions

View File

@@ -55,3 +55,18 @@ export const updatePatientSchema = (
});
export type UpdatePatient = z.infer<typeof updatePatientSchema>;
export type FinancialRow = {
type: "CLAIM" | "PAYMENT";
id: number;
date: string | null;
createdAt: string | null;
status: string | null;
total_billed: number;
total_paid: number;
total_adjusted: number;
total_due: number;
patient_name: string | null;
service_lines: any[];
payments: any[];
};