Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
mukesh kumar
Calculating the total number of earned leave and sick leave
19. Dezember 2012 20:59
Antwort

mukesh kumar

Rang: Junior Member

Nachrichten: 57

Eintrittsdatum: 12. März 2012

Neue Beiträge

Hi All
I have a requirement of calculating the total number of earned leave and sick leave .
Can anybody please guide me.
Thanks
Mukesh
Anonym
RE: Calculating the total number of earned leave and sick leave
20. Dezember 2012 08:35
Antwort

Anonym

As in make a portlet? Or Calculate in general?
mukesh kumar
RE: Calculating the total number of earned leave and sick leave
20. Dezember 2012 21:25
Antwort

mukesh kumar

Rang: Junior Member

Nachrichten: 57

Eintrittsdatum: 12. März 2012

Neue Beiträge

Calculating in general , make sure that it should be incremented by one day if you are present for first twenty days from the start of the month..
Bart Simpson
RE: Calculating the total number of earned leave and sick leave
21. Dezember 2012 07:29
Antwort

Bart Simpson

Rang: Liferay Master

Nachrichten: 524

Eintrittsdatum: 29. August 2011

Neue Beiträge

Calculating in general ,

I really don't understand you want to learn how to calculate leaves ? on liferay forum ? Seriously ?
Hitoshi Ozawa
RE: Calculating the total number of earned leave and sick leave
22. Dezember 2012 04:30
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

Create a timecard portlet and modify the calendar portlet so it'll be able to recognize holidays including company holidays.

Now, the difficult part is if your company supports working from home. If not, you can just setup liferay internally and calculate hours worked from the time an user logins and sign off the portal. You can calculate the total number of earned leave by counting how many times an employee has logged in and looking at the modified calendar.