Skip to main content

Module timereport

Module timereport 

Source
Expand description

Time spent, as the Time page and a project’s page show it: a bar per day (per month over a year), the hours of each project, and for work done for someone, what is left to bill. A session counts for its own project when it names one, else for its task’s project for a client, else its task’s first project.

Structs§

Bar
One bar: a day, or a month over a year.
Entry
One stretch of time, its project and task found.
EntryView
One stretch of time, as listed.
ProjectTime
One project’s time.
TimeView
The Time page, for a week, a month or a year.

Functions§

amount
What minutes at rate an hour come to, to the cent.
billable_csv
A project’s billable time from from to to (both included), as a spreadsheet reads it: what was done, how many hours, at what rate, for how much, one line per task (or note), then the total. Nothing else: a full invoice is the invoice’s (invoice.rs). In French, ; between fields and a decimal comma, as French spreadsheets expect; else , and a point.
bounds
The first and last day of period (“week”, “month”, “year”) around anchor.
duration
“45 min”, “2 h”, “2 h 30”.
entries
Each session with its project and title.
view
What the Time page shows for period around anchor, every project or one.