Project

General

Profile

Time & Expense 1.5

Added by Dhanasingh Krishnapandian about 11 years ago

We are happy to announce the release of Time & Expense plugin version 1.5
Please download it from http://www.redmine.org/plugins/wk-time

Following are the features of 1.5:
- Detail and report capabilities for expense is introduced
- Configuration for non submission email notification
- Configuration for expense projects
- Configuration for minimum hour per day

Installation instructions for 1.5:
Starting from version 1.5, it requires the gem rufus-scheduler.
so run the following command to install the gem
bundle install

For rufus-scheduler to work , the rails application should be up all the time.
If an apache passenger module is used then make sure the following settings are made
a) PassengerMinInstances 1
b) RailsAppSpawnerIdleTime 0
c) PassengerPreStart http://rails-app-url/


Replies (48)

RE: Time & Expense 1.5 - Added by Kosuke Fudy about 11 years ago

Dhansingh,

wk_time is a brilliant plugin and helps us much in timesheet report, thanks for you job.
We encounter a problem these days when use timesheet approval system:
Usually someone reports timesheet and the project manager approve it. When a timesheet contains
several projects, then manager from any project could approve this timesheet, is it right?
Now we want a timesheet approved unless managers from all projects in it confirmed, can we achieved
this through configuration or code work is required?

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian about 11 years ago

Kosuke,
Thanks fro your comments.

Yes, we have kept it simple, any one of the managers can approve the whole timesheet.
Right now there is no configuration for project based confirmation / approval, it will require coding

Dhanasingh

RE: Time & Expense 1.5 - Added by marco deluca about 11 years ago

Hi Dhanasingh,

Plugin is brilliant, it makes reporting weekly time so easy. I have just updated to 1.5, so I havent used expenses yet. But after updating, I have one issue. When I select new timesheet, the member list is blank, there is no member name or ID available. (screenshot attached). So when I try to continue, I get a 403 error, permission denied.

Luckily, I AM able to create create new timesheets by opening an existing timesheet and then selecting the NEXT link, until I get to a new date range. This is, btw, a subtle but actually really nice feature in terms of brilliant UX in such a simple way.

I am getting no errors on the page (firefox firebug console) so... no idea what the issue might be.

Thanks again and let me know if there's a fix for this or if I can help you troubleshoot at all.

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian about 11 years ago

Marco,
Did you try changing the project and see if it is updating the mmmber dropdown ?
Do you see the same behavior in the list page ?
What version of redmine are you using ?

The prev and next link were contribution from Martin Dube, So credit should go to him.

thanks

Dhanasingh

RE: Time & Expense 1.5 - Added by marco deluca about 11 years ago

Ah okay. So yes I see that it is working, I guess it's defaulting to the first item according to alphabetical order, so the list was choosing a subproject that has no users. And coincidentally, I did try to change it once but again, chose a project that had no users.

Once I choose a project that has users, the plugin works fine. So, it's like 1% quirkiness (shouldnt default to a subproject like that) and 99% working fine (you obviously need a user to for this to work). Simple little thing could be to put a message "no users in current project selected".

Thanks for the quick reply:)

RE: Time & Expense 1.5 - Added by Martin Dubé about 11 years ago

Hi Dhanasingh,

The prev and next link were contribution from Martin Dube, So credit should go to him.

Thanks, but still you did so much work on this great plugin that my contribution is still a drop in the ocean. ;)

Regarding Marco's issue, I noticed it as well that the plugin is selecting the first project by default. I changed it to add an empty entry in the projects list and when this entry is selected I list all managed users in the users list and I select the currently logged user (manager) in that list by default. It is easy to implement. I can have a look if I can send you a patch for this, but I'd think my current code base has diverged much from yours. I can send you a complete snapshot if you want though.

Martin

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian about 11 years ago

Martin,
thats ok, if more people complain about this problem :-), then we will implement your idea.

Marco,
we will put the 'No user' message.

thanks

Dhanasingh

RE: Time & Expense 1.5 - Added by Tomas Hubik almost 11 years ago

Hi Dhanasingh,

thanks for brilliant plugin. I have one question. Is it possible to somehow change the default currency of the expenses? I see everywhere the $ sign (in the summaries etc.) and I am not able to use CZK from the dropdown menu as it is not there. I am originally Czech, so I would like to have currency CZK, but I use an english language for the Redmine as there are always some issues with translations and I have no problems with using the Redmine in english.

Thank you very much.

Best regards
Tomas

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian almost 11 years ago

Tomas,
Thanks for your feedback.
I think currently it takes the first one from the list as the default currency ($ is the first one in the drop down).
I noticed that there is no CZK currency in the cs language file. Once I added these lines within number in config/locale/cs.yml and restarted the server, I started seeing CZK in the dropdown list.

currency:
format:
format: "%u%n"
unit: "CZK"

Please check en-GB.yml on how the currency is defined for Great Britain English.

Dhanasingh

RE: Time & Expense 1.5 - Added by Tomas Hubik almost 11 years ago

Thank you very much Dhanasingh. It works. Also when I add some entry in CZK I can see the sums with CZK sign.

Is it possible to somehow influence the dropdown list? For example to use only some currencies and also influence their order? How is it built?

Thank you very much
Tomas

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian almost 11 years ago

The list is built from the language files.
Whichever language file has the currency defined,
Will show up in the list.

RE: Time & Expense 1.5 - Added by Tomas Hubik almost 11 years ago

Ok, Thank you for the information.

And one more question not related to currencies. Are you planning to implement some nice filtering for your plugin? For example I am missing how to see expenses per user, or some pivot tables and so on.

Thanks.

Tomas

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian almost 11 years ago

There is actually some reporting capability like spent time.
If you go to a Project Overview page, you should see the Expense Report link
next to the Spent Time links. Using that you can run reports.

If you don't see the Expense Report link, just go to the Plugin Configuration page
and click 'Apply' once (there seems to be a bug here)

See if this would suffice your reporting needs.

Dhanasingh

RE: Time & Expense 1.5 - Added by Terence Mill almost 11 years ago

Please add more screenhots and upload this plugin to github.
Would be great to be able to comfigure daily ma work time per user and see this as default in timesheet but be able to edit it on the fly (e.g from 8 to 6 gours or to 9.5 horus..)

RE: Time & Expense 1.5 - Added by Terence Mill almost 11 years ago

There is no word about rufus and passenger requirements on ur org homepage btw.

RE: Time & Expense 1.5 - Added by roelof versteeg almost 11 years ago

I did a fresh redmine install (2.3) with time and expense 1.5, and I think I have this mostly working ok.
When I go to the time & expense module I can fill in hours per week for each project.

However, I have two questions, and if someone can help me with this that would be awesome. Hopefully these are just simple issues resulting from
me being a newbie with time and expense

a) the issues associated with each project do not show up in the drop down list (so I have a blank list of issues - actually not even a list, only a blank entry). I do have design/development to choose from in the activity

b) I can save the timesheet, but I can not submit it (so there is no submit button).

Any advice/guidance would be appreciated

Thanks

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian almost 11 years ago

Roelof.
A) when you change the project in the drop down does it try to load the
Issue drop down? Check the issue visibility under roles and permissions
See if you are assigned any issues from that project or have the visibility
To see all the issues.

B) check if you checked the 'use approval system'

Dhanasingh

RE: Time & Expense 1.5 - Added by roelof versteeg almost 11 years ago

Hi Dhanasingh

OK - that solved it. I did not have the "use approval system" selected in the configuration of the plugin.

Thanks for the quick help

Roelof

RE: Time & Expense 1.5 - Added by Kosuke Fudy almost 11 years ago

Hi Dhanasingh,

I've used this plugin for two months and it really helps us a lot. Thank you.
I think it can be perfect if following features added:
1. timesheet isn't saved to system timelog until it has been approved
2. if a timesheet contains several entries from different projects, a project manager only can
approve the entries of his project. A timesheet is wholly approved when all entries approved.
So may I ask that if there's a roadmap for upper features recently? If not, we may start the work
ourselves and would like contribute something to this plugin

Kosuke

Dhanasingh Krishnapandian wrote:

We are happy to announce the release of Time & Expense plugin version 1.5
Please download it from http://www.redmine.org/plugins/wk-time

Following are the features of 1.5:
- Detail and report capabilities for expense is introduced
- Configuration for non submission email notification
- Configuration for expense projects
- Configuration for minimum hour per day

Installation instructions for 1.5:
Starting from version 1.5, it requires the gem rufus-scheduler.
so run the following command to install the gem
bundle install

For rufus-scheduler to work , the rails application should be up all the time.
If an apache passenger module is used then make sure the following settings are made
a) PassengerMinInstances 1
b) RailsAppSpawnerIdleTime 0
c) PassengerPreStart http://rails-app-url/

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian almost 11 years ago

Kosuke,
Thanks for your feedback,
1) Right now it simply uses redmine's time_entry (time log) as is and just manages the approval system using a new table called wktimes. If we have to save only the approved time to redmine's time entry, then we will have to temporarily store them some where else. We might end up complicating it.

2) Multi-project approval has come up before, we have a constraint, right now we only store one approval per timesheet, we will take a look and see if we can implement this with some minor changes.

As of now, we are not working on any major features. so please feel free to implement them and send them over. If more people wants these features in the plugin, we can include them in the plugin.

thanks

Dhanasingh

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian almost 11 years ago

Terence,
Sorry for the delayed response.

We have put together a user guide with lot of screen shots

http://www.adhisoftware.co.in/wp-content/uploads/TE-User-Guide.pdf

please take a look and let us know your feedback.

Currently the plugin is on a svn within our server.

I have added the note on rufus scheduler to our website now, it is already mentioned on the plugin page.

Won't it be of too much maintenance if we have to maintain the max hours per user ?

Dhanasingh

RE: Time & Expense 1.5 - Added by Terence Mill almost 11 years ago

Won't it be of too much maintenance if we have to maintain the max hours per user ?

A default work time makes it optional to override it for some users.

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian almost 11 years ago

Terence,
Can you explain it a little bit more in detail

Dhanasingh

RE: Time & Expense 1.5 - Added by Dhanasingh Krishnapandian almost 11 years ago

We have released an overview presentation as well.
it is in open office format
http://www.adhisoftware.co.in/wp-content/uploads/TE-Overview.odp

It is available from our website

RE: Time & Expense 1.5 - Added by Terence Mill almost 11 years ago

Please fix that bug redmine_charts2 Incompatibility with wktime plugin

Unfortunately it is the problem of wkTime plugin.
If You delete time entry from default interface of any other plugin(I've tried with >spent_time) then charts displays correct information.

(1-25/48)