feat(payment): add payment detail endpoint and update payment model with order_id and patient_name
feat(appointment): enhance appointment detail page with time formatting and additional info fix(payment): update payment query to fetch from the correct endpoint and adjust response structure docs(api): add search parameter to payments API documentation and detail response structure test(payment): add unit test for MellatGateway to verify null credentials handling
This commit is contained in:
@@ -122,6 +122,9 @@ export interface Payment {
|
||||
appointment_uuid: string | null;
|
||||
paid_at: string | null;
|
||||
created_at: string;
|
||||
order_id?: string;
|
||||
patient_name?: string | null;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export type SettlementStatus = "pending" | "approved" | "rejected";
|
||||
|
||||
Reference in New Issue
Block a user