Constructor
# new TimeReport(data)
Model constructor
Parameters:
Name | Type | Description |
---|---|---|
data |
TimeReportLike
|
Classes
Members
Array.<('status'|'duration'|'task'|'timeTrackingNote'|'typeOfWork'|'project'|'date'|'time'|'user'|'client'|'projectType'|'projectRole')>
# availableColumns
List of shown Columns in the time report.
# billingStatuses
Filter of bill satuses of the time report.
'today'
|
'yesterday'
|
'selectDate'
|
'selectWeek'
|
'currentWeek'
|
'lastWeek'
|
'selectMonth'
|
'currentMonth'
|
'lastMonth'
|
'selectQuarter'
|
'currentQuarter'
|
'lastQuarter'
|
'selectYear'
|
'currentYear'
|
'lastYear'
|
'customRange'
|
'noFilter'
# dateMode
The date mode of the time report.
Integer
# resourceVersion
The version of the entity continuously incremented by 1 on every update of the entity.
'nearQuarter'
|
'nearHalf'
|
'nearHour'
|
'upQuarter'
|
'upHalf'
|
'upHour'
# roundBy
Rounding method of the time report.