论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
mukesh kumar
Calculating the total number of earned leave and sick leave
2012年12月19日 下午8:59
答复

mukesh kumar

等级: Junior Member

帖子: 57

加入日期: 2012年3月12日

最近的帖子

Hi All
I have a requirement of calculating the total number of earned leave and sick leave .
Can anybody please guide me.
Thanks
Mukesh
匿名
RE: Calculating the total number of earned leave and sick leave
2012年12月20日 上午8:35
答复

匿名

As in make a portlet? Or Calculate in general?
mukesh kumar
RE: Calculating the total number of earned leave and sick leave
2012年12月20日 下午9:25
答复

mukesh kumar

等级: Junior Member

帖子: 57

加入日期: 2012年3月12日

最近的帖子

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
2012年12月21日 上午7:29
答复

Bart Simpson

等级: Liferay Master

帖子: 524

加入日期: 2011年8月29日

最近的帖子

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
2012年12月22日 上午4:30
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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.