|
id
|
int(11)
|
|
|
|
|
city_id
|
int(11)
|
|
|
|
|
payroll_number
|
varchar(50)
|
|
|
|
|
payroll_month
|
date
|
|
|
|
|
currency
|
varchar(10)
|
|
|
USD
|
|
status
|
varchar(30)
|
|
|
Brouillon
|
|
employee_count
|
int(11)
|
|
|
0
|
|
total_base_salary
|
decimal(18,2)
|
|
|
0.00
|
|
total_bonus
|
decimal(18,2)
|
|
|
0.00
|
|
total_overtime
|
decimal(18,2)
|
|
|
0.00
|
|
total_allowance
|
decimal(18,2)
|
|
|
0.00
|
|
total_gross_salary
|
decimal(18,2)
|
|
|
0.00
|
|
total_employee_social
|
decimal(18,2)
|
|
|
0.00
|
|
total_employer_social
|
decimal(18,2)
|
|
|
0.00
|
|
total_income_tax
|
decimal(18,2)
|
|
|
0.00
|
|
total_advance_deduction
|
decimal(18,2)
|
|
|
0.00
|
|
total_other_deduction
|
decimal(18,2)
|
|
|
0.00
|
|
total_net_salary
|
decimal(18,2)
|
|
|
0.00
|
|
notes
|
text
|
|
|
|
|
created_by_user_id
|
int(11)
|
|
|
|
|
validated_by_user_id
|
int(11)
|
|
|
|
|
paid_by_user_id
|
int(11)
|
|
|
|
|
treasury_transaction_id
|
int(11)
|
|
|
|
|
accrual_accounting_entry_id
|
int(11)
|
|
|
|
|
payment_accounting_entry_id
|
int(11)
|
|
|
|
|
cancelled_by_user_id
|
int(11)
|
|
|
|
|
cancellation_reason
|
text
|
|
|
|
|
is_validated
|
tinyint(1)
|
|
|
0
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
validated_at
|
datetime
|
|
|
|
|
paid_at
|
datetime
|
|
|
|
|
cancelled_at
|
datetime
|
|
|
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|