|
id
|
int(11)
|
|
|
|
|
opd_patient_id
|
int(11)
|
|
|
Browse foreign values
|
|
doctor_id
|
int(11)
|
|
|
|
|
appointment_id
|
int(11)
|
|
|
|
|
treatment_datetime
|
datetime
|
|
|
2026-06-28 19:43:07.000000
|
|
total_amount
|
decimal(12,2)
|
|
|
0.00
|
|
total_doctor_commission
|
decimal(10,2)
|
|
|
0.00
|
|
total_staff_commission
|
decimal(10,2)
|
|
|
0.00
|
|
payment_method
|
enum
|
-- |
|
|
|
payment_method_other
|
varchar(100)
|
|
|
|
|
payment_status
|
enum
|
-- |
|
Unpaid
|
|
invoice_id
|
int(11)
|
|
|
|
|
amount_paid
|
decimal(12,2)
|
|
|
0.00
|
|
notes
|
text
|
|
|
|
|
created_at
|
timestamp
|
|
|
current_timestamp()
|
|
updated_at
|
timestamp
|
|
|
current_timestamp()
|
|
created_by
|
int(11)
|
|
|
|