Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ

i created a salary rule called Unpaid leave and it depends on a python code like this:

result= worked_days.Unpaid and worked_days.Unpaid.number_of_days*(contract.wage/31) or 0

and the employee took 2 days unpaid leaves

i added the rule to the salay structure of the employee

then in the payslips i compute sheet and show the salary computation tab but the Unpaid leave show as zero inspite of the 2 days leave of that emplayee

is the unpaid number of days is zero? and if not zero why it is not computed in the employee payslip?


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to calculate Pay Slip automatically แก้ไขแล้ว
12
ธ.ค. 23
32774
0
พ.ย. 16
4998
0
ก.ค. 15
7579
0
มี.ค. 15
4432
1
มี.ค. 15
12837