Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
794 Lượt xem

HI all
I have a challenge on  Condition Based on on Python Expression on Salary Rules Form

I have one variable by
worked_days.GLOBAL.number_of_days - for Public Holidays

and I want to calculate this if has quantity.

EXP:
in my calculation I paid salary according to attendance time
so if we have a public holiday we dont have attendance record but need to pay salary

accordingly, on one months maybe we dont have public holiday and one months we have
so I need one condition that this calculation works on that:

computation:
result =(contract.wage/30)*worked_days.GLOBAL.number_of_days

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 24
1760
1
thg 2 22
3515
1
thg 7 24
7293
0
thg 11 15
3801
0
thg 3 15
4555