Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1595 closed defect (fixed)

Setting Start/End Billing date does not work

Reported by: durchanek@… Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

I tried to assign almost everything there but it did not work at all. All the time, it is set to the current date and time (as it appeared in drop-down after submit). So no way to get reports for specified month etc. Using Trac 0.10.3 with Python 2.4

Attachments (0)

Change History (4)

comment:1 Changed 17 years ago by Russ Tyndall

Which reports?

Time only works for the reports listed in the billing reports section (as mentioned in the manual).

What does the url you are sent to look like, and what is the response from trac? Is it that it is ignoring time, or is it giving you and error of some kind?

comment:2 Changed 17 years ago by anonymous

Hi, thanks for reply.
[[BR] Yes I am mentioning billing reports, like Ticket Work Summary or Developer Work Summary. I tried to set billing time from 05/01/(20)07 to 05/31/(20)07. Both MM/DD/YY and MM/DD/YYYY format, but it actually does not matter, it is always set to current time.
URL for report looks like this: http://trac.terminal8.cz/emtc.cz/report/11?BILLABLE=1&UNBILLABLE=1&NEW=new&ASSIGNED=assigned&REOPENED=reopened&CLOSED=closed&STARTDATE=0&ENDDATE=2000000000 so I guess that STARTDATE and ENDDATE should be set to something else. Report is printed ok but it contains all tickets.

Btw. I tried this also on !demo instance on https://trac.acceleration.net/TestForTimingAndEstimation with same effect.

comment:3 Changed 17 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

Ahhh... I understand now. I was a little confused when you mentioned submitting earlier, but did not put it together. The set date, just adds the current date to the list of saved bill times (aas you noticed), so that it shows up in the dropdown lists under start and end time. Currently there is no way to add a previous date as a billing time.

This feature is mostly there as a reminder of when you last ran billing. (So that you could select the most recent bill-date as the start-date easily).

In order to have it actually use those dates, you must either type something into the start-date box, or select a value from the drop down. If you are trying to permanently store old values in the database, you should be able to do this from sql, by interacting with the bill_date table.

Hope this helps and sorry for the confusion
Russ

comment:4 Changed 17 years ago by durchanek@…

Ok, I understand it now too, thanks for clarification, it works as you are saying.

Btw. also thanks for nice plugin, my developers love it as it eliminated all time-tracking-papers-and-spreadsheets stuff :-)
Láďa

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.