| id |
int(11)
|
|
|
|
| staff_id |
int(11)
|
|
|
|
| semester_id |
int(11)
|
|
|
|
| month |
tinyint(4)
|
|
|
|
| year |
smallint(6)
|
|
|
|
| total_theory_hours |
decimal(6,1)
|
|
|
|
| total_practical_hours |
decimal(6,1)
|
|
|
|
| total_extra_hours |
decimal(6,1)
|
|
|
|
| rate_theory |
decimal(10,2)
|
|
|
|
| rate_practical |
decimal(10,2)
|
|
|
|
| rate_extra |
decimal(10,2)
|
|
|
|
| amount_theory |
decimal(12,2)
|
|
|
|
| amount_practical |
decimal(12,2)
|
|
|
|
| amount_extra |
decimal(12,2)
|
|
|
|
| deductions |
decimal(12,2)
|
|
|
|
| net_amount |
decimal(12,2)
|
|
|
|
| status |
enum('draft', 'approved', 'paid')
|
utf8mb4_unicode_ci
|
|
|
| notes |
text
|
utf8mb4_unicode_ci
|
|
|
| approved_by |
int(11)
|
|
|
|
| approved_at |
timestamp
|
|
|
|
| paid_at |
timestamp
|
|
|
|
| created_at |
timestamp
|
|
|
|