frappe / hrms

Open Source HR and Payroll Software
https://frappehr.com
GNU General Public License v3.0
996 stars 555 forks source link

HALF DAY in TOTAL HOLIDAY (weekly off-holiday list), TOTAL WORKING DAY (salary slip), and MAX LEAVES ALLOWED (leave type) #100

Open TrumanCF01512 opened 3 years ago

TrumanCF01512 commented 3 years ago

Hello, sorry for a long report.

But all these issues are with each other so please have a look:

1) HALF DAY WEEKLY OFF in TOTAL HOLIDAY ISSUE:

image

image

2) HALF DAY IN MAX LEAVES ALLOWED OF LEAVE TYPE ISSUE:

Our case is we have 0,5 ; 1,5 ; 2,5 or 5,5 days ; etc as max leaves allowed in leave types For example, if employee need to do their paper work, he/she can select leave type: for example Paper Work Leave But he/she only allowed to have half day leave to do his/her paper work image But the system only allow max leaves allowed as Integer image

3) HALF DAY IN TOTAL WORKING DAY (salary slip) & HALF DAY ATTENDANCE ISSUE:

Number of working days per month of our company will count from first day to last day of the month For example: in August 2020 we'll count from 1st to 31th

Working day is from monday to saturday but we only work half day on saturday (HALF SATURDAY & FULL SUNDAY ARE WEEKLY OFF)

So total working day specified for August 2020 is 23,5 days Monday: 5 days ; Tuesday-Wednesday-Thursday-Friday: 4 days ; Saturday: 2,5 DAYS (we only work half day on saturday)

image

If employee is not absent in any working days in August So i'll check attendance for him/her as PRESENT or HALF DAY (saturday) in all of his/her working day specified for August (23,5 days)

There are 2 issues here:

01-08-2020 is Saturday, and we only work half day. It's not that employee has a half day leaves so we don't need leave type as mandatory field here. If we don't select any leave type, system won't allow to Save Record. (i've to import by excel file so i can skip the leave type for half day) But in Saturday, it's not that half day leave, it's our weekly off. I'll show why we need to fix it, cause it's link to salary slip of employee

With account hung.tranphuc@truongvietanh.com

image

For exp: Total salary of employee = 1000$, total working day specified for august is 23,5 days (31 days - 4 sunday - 2,5 saturday as weekly off) -> Salary per day = 1000$ / 23,5 days = 42,55$ per day

With erpattendance function right now, salary per day of employee will be 1000$ / 28,5 days = 35,08$ And it will lead to incorrect salary calculation for employees.

I have found solution on github discussion, but all of these issue are not available image

Please have a look and fix these issues, i believe many company have the same situation. Our company want to use Erp for every department, first is with HR, but without these function fixed, we wouldn't deploy.

Thanks ERPNext, Best Regards.

markvu94 commented 1 year ago

Hi, did you found solution for this? My company is currently facing this problem of Half-Day work on Saturday

TrumanCF01512 commented 1 year ago

Hi Kotori,

We have no problem with half-day work. Frappe has half day work but no half day leave so previous years, we changed our policy to adapt to it.

Regards.

On Sun, Feb 12, 2023 at 10:22 PM kotori @.***> wrote:

Hi, did you found solution for this? My company is currently facing this problem of Half-Day work on Saturday

— Reply to this email directly, view it on GitHub https://github.com/frappe/hrms/issues/100#issuecomment-1427059259, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQK43GXSGSUACCF2HKPJYS3WXD52DANCNFSM6AAAAAARN7YASA . You are receiving this because you authored the thread.Message ID: @.***>

-- Please do not hesitate to contact me if you have any queries or require further information. ‌ Trần Phúc Hưng - Truman Software Specialist

@. @.> +84 903 990 108 <+84+903+990+108> truongvietanh.com major.vn

https://truongvietanh.com/ https://hoctienganh.vn/

markvu94 commented 1 year ago

Hi Truman,

Actually, our problem is 3) HALF DAY IN TOTAL WORKING DAY (salary slip) & HALF DAY ATTENDANCE ISSUE.

For example, in 12/2022, which had 5 Saturday, must have 24,5 working day (22 normal day and 5 half-day from 5 Saturday). But in Erpnext, when we marked attendance of Saturday as Half-Day, the salary slip counts total working day as 27 (22 + 5), which is wrong. Do you have solution for this?

Btw, I am also a Vietnamese, could we meet to talk more thoroughly about this problem? I am seeking solution to deploy erp in my company

TrumanCF01512 commented 1 year ago

Hi Kotori,

Hiện tại Trường Việt Anh không còn xài Frappe nữa nhưng theo tôi nhớ Frappe không gặp vấn đề về ngày công lẻ và Việt Anh cũng k điểm danh hằng ngày nên chưa gặp lỗi với Marked Attendance. Chỉ gặp vấn đề với nửa ngày phép.

1) Về việc đã set up ngày làm việc thứ 7 là nửa ngày:

2) Về phần lỗi nửa ngày phép:

Về phần này trước Việt Anh phải đổi lại toàn bộ chính sách công ty.

Nếu tôi nhớ không nhầm vẫn có cách chỉnh xử lý bằng việc cài Leave Period nhưng tuần nào cũng phải làm => Không còn tự động hoá nữa nên tôi k làm.

Cậu có thể add Zalo: 0903.990.108 nếu cần trao đổi thêm.

On Mon, Feb 13, 2023 at 9:32 AM kotori @.***> wrote:

Hi Truman,

Actually, our problem is 3) HALF DAY IN TOTAL WORKING DAY (salary slip) & HALF DAY ATTENDANCE ISSUE.

For example, in 12/2022, which had 5 Saturday, must have 24,5 working day (22 normal day and 5 half-day from 5 Saturday). But in Erpnext, when we marked attendance of Saturday as Half-Day, the salary slip counts total working day as 27 (22 + 5), which is wrong. Do you have solution for this?

Btw, I am also a Vietnamese, could we meet to talk more thoroughly about this problem? I am seeking solution to deploy erp in my company

— Reply to this email directly, view it on GitHub https://github.com/frappe/hrms/issues/100#issuecomment-1427240733, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQK43GTAKQOELRF4LKVZJJTWXGMKPANCNFSM6AAAAAARN7YASA . You are receiving this because you authored the thread.Message ID: @.***>

-- Please do not hesitate to contact me if you have any queries or require further information. ‌ Trần Phúc Hưng - Truman Software Specialist

@. @.> +84 903 990 108 <+84+903+990+108> truongvietanh.com major.vn

https://truongvietanh.com/ https://hoctienganh.vn/