Open namnguyenphuong355 opened 1 year ago
I tried a solution but it doesn't work well.
-> Replace holiday = leave.holiday_id
-> holiday = leave[:1].holiday_id
However, when I generate Payslip in the above case, Only one type of leave can appear, but the total leave time is of 2 types of leave.
Is it possible to calculate the total leave time of each type ?
I have a when Generate Payslip for employee when Employee creates two leave with two time off types. For example: