| id |
int(11)
|
|
|
|
| opd_patient_id |
int(11)
|
|
|
Browse foreign values
|
| doctor_id |
int(11)
|
|
|
|
| appointment_id |
int(11)
|
|
|
|
| treatment_datetime |
datetime
|
|
|
|
| total_amount |
decimal(12,2)
|
|
|
|
| total_doctor_commission |
decimal(10,2)
|
|
|
|
| total_staff_commission |
decimal(10,2)
|
|
|
|
| payment_method |
enum('Cash', 'Credit Card', 'Bank Transfer', 'PayPal', 'Loan', 'Other')
|
utf8mb4_general_ci
|
|
|
| payment_method_other |
varchar(100)
|
utf8mb4_general_ci
|
|
|
| payment_status |
enum('Unpaid', 'Partially Paid', 'Paid')
|
utf8mb4_general_ci
|
|
|
| invoice_id |
int(11)
|
|
|
|
| amount_paid |
decimal(12,2)
|
|
|
|
| notes |
text
|
utf8mb4_general_ci
|
|
|
| created_at |
timestamp
|
|
|
|
| updated_at |
timestamp
|
|
|
|
| created_by |
int(11)
|
|
|
|