Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
mukesh kumar
Calculating the total number of earned leave and sick leave
December 19, 2012 8:59 PM
Answer

mukesh kumar

Rank: Junior Member

Posts: 57

Join Date: March 12, 2012

Recent Posts

Hi All
I have a requirement of calculating the total number of earned leave and sick leave .
Can anybody please guide me.
Thanks
Mukesh
Anonymous
RE: Calculating the total number of earned leave and sick leave
December 20, 2012 8:35 AM
Answer

Anonymous

As in make a portlet? Or Calculate in general?
mukesh kumar
RE: Calculating the total number of earned leave and sick leave
December 20, 2012 9:25 PM
Answer

mukesh kumar

Rank: Junior Member

Posts: 57

Join Date: March 12, 2012

Recent Posts

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
December 21, 2012 7:29 AM
Answer

Bart Simpson

Rank: Liferay Master

Posts: 523

Join Date: August 29, 2011

Recent Posts

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
December 22, 2012 4:30 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

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.