If the user joins in mid-month or resigns mid-month, then the remaining days are coming in unpaid days, which is wrong.